1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1342 #define SWIGTYPE_p_wxSizer swig_types[1]
1343 #define SWIGTYPE_p_wxCheckBox swig_types[2]
1344 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
1345 #define SWIGTYPE_p_wxEvent swig_types[4]
1346 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
1347 #define SWIGTYPE_p_bool swig_types[6]
1348 #define SWIGTYPE_p_wxItemContainer swig_types[7]
1349 #define SWIGTYPE_p_wxPyListCtrl swig_types[8]
1350 #define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
1351 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
1352 #define SWIGTYPE_p_wxStaticLine swig_types[11]
1353 #define SWIGTYPE_p_wxControl swig_types[12]
1354 #define SWIGTYPE_p_wxPyControl swig_types[13]
1355 #define SWIGTYPE_p_wxGauge swig_types[14]
1356 #define SWIGTYPE_p_wxToolBarBase swig_types[15]
1357 #define SWIGTYPE_p_wxFont swig_types[16]
1358 #define SWIGTYPE_p_wxToggleButton swig_types[17]
1359 #define SWIGTYPE_p_wxRadioButton swig_types[18]
1360 #define SWIGTYPE_p_wxChoice swig_types[19]
1361 #define SWIGTYPE_p_wxMemoryDC swig_types[20]
1362 #define SWIGTYPE_ptrdiff_t swig_types[21]
1363 #define SWIGTYPE_std__ptrdiff_t swig_types[22]
1364 #define SWIGTYPE_p_wxListItemAttr swig_types[23]
1365 #define SWIGTYPE_p_void swig_types[24]
1366 #define SWIGTYPE_p_int swig_types[25]
1367 #define SWIGTYPE_p_wxSize swig_types[26]
1368 #define SWIGTYPE_p_wxDC swig_types[27]
1369 #define SWIGTYPE_p_wxListView swig_types[28]
1370 #define SWIGTYPE_p_wxIcon swig_types[29]
1371 #define SWIGTYPE_p_wxVisualAttributes swig_types[30]
1372 #define SWIGTYPE_p_wxTextCtrl swig_types[31]
1373 #define SWIGTYPE_p_wxNotebook swig_types[32]
1374 #define SWIGTYPE_p_wxChoicebook swig_types[33]
1375 #define SWIGTYPE_p_wxNotifyEvent swig_types[34]
1376 #define SWIGTYPE_p_wxArrayString swig_types[35]
1377 #define SWIGTYPE_p_form_ops_t swig_types[36]
1378 #define SWIGTYPE_p_wxListbook swig_types[37]
1379 #define SWIGTYPE_p_wxStaticBitmap swig_types[38]
1380 #define SWIGTYPE_p_wxSlider swig_types[39]
1381 #define SWIGTYPE_p_wxStaticBox swig_types[40]
1382 #define SWIGTYPE_p_wxArrayInt swig_types[41]
1383 #define SWIGTYPE_p_wxContextHelp swig_types[42]
1384 #define SWIGTYPE_p_long swig_types[43]
1385 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
1386 #define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
1387 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
1388 #define SWIGTYPE_p_wxListEvent swig_types[47]
1389 #define SWIGTYPE_p_wxCheckListBox swig_types[48]
1390 #define SWIGTYPE_p_wxListBox swig_types[49]
1391 #define SWIGTYPE_p_wxSpinButton swig_types[50]
1392 #define SWIGTYPE_p_wxButton swig_types[51]
1393 #define SWIGTYPE_p_wxBitmapButton swig_types[52]
1394 #define SWIGTYPE_p_wxRect swig_types[53]
1395 #define SWIGTYPE_p_wxContextHelpButton swig_types[54]
1396 #define SWIGTYPE_p_wxRadioBox swig_types[55]
1397 #define SWIGTYPE_p_wxScrollBar swig_types[56]
1398 #define SWIGTYPE_p_char swig_types[57]
1399 #define SWIGTYPE_p_wxComboBox swig_types[58]
1400 #define SWIGTYPE_p_wxTreeItemId swig_types[59]
1401 #define SWIGTYPE_p_wxHelpEvent swig_types[60]
1402 #define SWIGTYPE_p_wxListItem swig_types[61]
1403 #define SWIGTYPE_p_wxNotebookSizer swig_types[62]
1404 #define SWIGTYPE_p_wxSpinEvent swig_types[63]
1405 #define SWIGTYPE_p_wxGenericDragImage swig_types[64]
1406 #define SWIGTYPE_p_wxSpinCtrl swig_types[65]
1407 #define SWIGTYPE_p_wxPaperSize swig_types[66]
1408 #define SWIGTYPE_p_wxImageList swig_types[67]
1409 #define SWIGTYPE_p_wxHelpProvider swig_types[68]
1410 #define SWIGTYPE_p_wxTextAttr swig_types[69]
1411 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
1412 #define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
1413 #define SWIGTYPE_p_wxListbookEvent swig_types[72]
1414 #define SWIGTYPE_p_wxNotebookEvent swig_types[73]
1415 #define SWIGTYPE_p_wxPoint swig_types[74]
1416 #define SWIGTYPE_p_wxObject swig_types[75]
1417 #define SWIGTYPE_p_wxCursor swig_types[76]
1418 #define SWIGTYPE_p_wxDateTime swig_types[77]
1419 #define SWIGTYPE_p_wxKeyEvent swig_types[78]
1420 #define SWIGTYPE_p_unsigned_long swig_types[79]
1421 #define SWIGTYPE_p_wxWindow swig_types[80]
1422 #define SWIGTYPE_p_wxString swig_types[81]
1423 #define SWIGTYPE_p_wxBitmap swig_types[82]
1424 #define SWIGTYPE_unsigned_int swig_types[83]
1425 #define SWIGTYPE_p_unsigned_int swig_types[84]
1426 #define SWIGTYPE_p_unsigned_char swig_types[85]
1427 #define SWIGTYPE_p_wxMouseEvent swig_types[86]
1428 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[87]
1429 #define SWIGTYPE_p_wxTreeEvent swig_types[88]
1430 #define SWIGTYPE_p_wxCommandEvent swig_types[89]
1431 #define SWIGTYPE_p_wxStaticText swig_types[90]
1432 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[91]
1433 #define SWIGTYPE_p_wxControlWithItems swig_types[92]
1434 #define SWIGTYPE_p_wxToolBarToolBase swig_types[93]
1435 #define SWIGTYPE_p_wxColour swig_types[94]
1436 #define SWIGTYPE_p_wxToolBar swig_types[95]
1437 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[96]
1438 #define SWIGTYPE_p_wxValidator swig_types[97]
1439 static swig_type_info
*swig_types
[99];
1441 /* -------- TYPES TABLE (END) -------- */
1444 /*-----------------------------------------------
1445 @(target):= _controls_.so
1446 ------------------------------------------------*/
1447 #define SWIG_init init_controls_
1449 #define SWIG_name "_controls_"
1451 #include "wx/wxPython/wxPython.h"
1452 #include "wx/wxPython/pyclasses.h"
1454 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1455 static const wxString
wxPyEmptyString(wxEmptyString
);
1456 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1458 const wxArrayString wxPyEmptyStringArray
;
1460 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
1462 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1463 #define SWIG_From_int PyInt_FromLong
1471 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1474 if (value
< min_value
) {
1476 PyErr_Format(PyExc_OverflowError
,
1477 "value %ld is less than '%s' minimum %ld",
1478 value
, errmsg
, min_value
);
1481 } else if (value
> max_value
) {
1483 PyErr_Format(PyExc_OverflowError
,
1484 "value %ld is greater than '%s' maximum %ld",
1485 value
, errmsg
, max_value
);
1494 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1496 if (PyNumber_Check(obj
)) {
1497 if (val
) *val
= PyInt_AsLong(obj
);
1501 SWIG_type_error("number", obj
);
1507 #if INT_MAX != LONG_MAX
1509 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1511 const char* errmsg
= val
? "int" : (char*)0;
1513 if (SWIG_AsVal_long(obj
, &v
)) {
1514 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1515 if (val
) *val
= (int)(v
);
1524 SWIG_type_error(errmsg
, obj
);
1530 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1532 return SWIG_AsVal_long(obj
,(long*)val
);
1538 SWIG_As_int(PyObject
* obj
)
1541 if (!SWIG_AsVal_int(obj
, &v
)) {
1543 this is needed to make valgrind/purify happier.
1545 memset((void*)&v
, 0, sizeof(int));
1551 SWIGINTERNSHORT
long
1552 SWIG_As_long(PyObject
* obj
)
1555 if (!SWIG_AsVal_long(obj
, &v
)) {
1557 this is needed to make valgrind/purify happier.
1559 memset((void*)&v
, 0, sizeof(long));
1566 SWIG_Check_int(PyObject
* obj
)
1568 return SWIG_AsVal_int(obj
, (int*)0);
1573 SWIG_Check_long(PyObject
* obj
)
1575 return SWIG_AsVal_long(obj
, (long*)0);
1578 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
1581 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1583 if (obj
== Py_True
) {
1584 if (val
) *val
= true;
1587 if (obj
== Py_False
) {
1588 if (val
) *val
= false;
1592 if (SWIG_AsVal_int(obj
, &res
)) {
1593 if (val
) *val
= res
? true : false;
1599 SWIG_type_error("bool", obj
);
1605 SWIGINTERNSHORT
bool
1606 SWIG_As_bool(PyObject
* obj
)
1609 if (!SWIG_AsVal_bool(obj
, &v
)) {
1611 this is needed to make valgrind/purify happier.
1613 memset((void*)&v
, 0, sizeof(bool));
1620 SWIG_Check_bool(PyObject
* obj
)
1622 return SWIG_AsVal_bool(obj
, (bool*)0);
1625 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
1626 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
1628 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1629 #define SWIG_From_long PyInt_FromLong
1632 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
1633 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
1634 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
1635 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
1637 #include <wx/checklst.h>
1640 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
1641 static void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
1643 wxPyClientData
* data
= new wxPyClientData(clientData
);
1644 self
->Insert(item
, pos
, data
);
1646 self
->Insert(item
, pos
);
1648 static PyObject
*wxListBox_GetSelections(wxListBox
*self
){
1650 self
->GetSelections(lst
);
1651 PyObject
*tup
= PyTuple_New(lst
.GetCount());
1652 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
1653 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
1657 static void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1659 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1660 self
->GetItem(item
)->SetTextColour(c
);
1663 static void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1665 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1666 self
->GetItem(item
)->SetBackgroundColour(c
);
1669 static void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
1671 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1672 self
->GetItem(item
)->SetFont(f
);
1675 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
1677 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1683 } else if (target
== Py_None
) {
1687 if (!PyTuple_Check(target
)) {
1689 target
= PyTuple_New(1);
1690 PyTuple_SetItem(target
, 0, o2
);
1692 o3
= PyTuple_New(1);
1693 PyTuple_SetItem(o3
, 0, o
);
1696 target
= PySequence_Concat(o2
, o3
);
1706 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1709 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1710 SWIG_type_error("unsigned number", obj
);
1713 *val
= (unsigned long)v
;
1718 SWIGINTERNSHORT
unsigned long
1719 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1722 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1724 this is needed to make valgrind/purify happier.
1726 memset((void*)&v
, 0, sizeof(unsigned long));
1733 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1735 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1738 static void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
1739 self
->AppendText(text
);
1741 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
1742 return self
->GetValue().Mid(from
, to
- from
);
1744 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
1745 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
1746 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1747 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
1748 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
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 bool 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 bool 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 bool 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 bool 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 bool 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 bool 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_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4791 PyObject
*resultobj
;
4792 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4793 wxString
*arg2
= 0 ;
4795 bool temp2
= false ;
4796 PyObject
* obj0
= 0 ;
4797 PyObject
* obj1
= 0 ;
4799 (char *) "self",(char *) "string", NULL
4802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4804 if (SWIG_arg_fail(1)) SWIG_fail
;
4806 arg2
= wxString_in_helper(obj1
);
4807 if (arg2
== NULL
) SWIG_fail
;
4811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4812 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
4814 wxPyEndAllowThreads(__tstate
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4834 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4835 PyObject
*resultobj
;
4836 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4838 wxString
*arg3
= 0 ;
4839 bool temp3
= false ;
4840 PyObject
* obj0
= 0 ;
4841 PyObject
* obj1
= 0 ;
4842 PyObject
* obj2
= 0 ;
4844 (char *) "self",(char *) "n",(char *) "string", NULL
4847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4849 if (SWIG_arg_fail(1)) SWIG_fail
;
4851 arg2
= (int)(SWIG_As_int(obj1
));
4852 if (SWIG_arg_fail(2)) SWIG_fail
;
4855 arg3
= wxString_in_helper(obj2
);
4856 if (arg3
== NULL
) SWIG_fail
;
4860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4861 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
4863 wxPyEndAllowThreads(__tstate
);
4864 if (PyErr_Occurred()) SWIG_fail
;
4866 Py_INCREF(Py_None
); resultobj
= Py_None
;
4881 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4882 PyObject
*resultobj
;
4883 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4885 PyObject
* obj0
= 0 ;
4886 PyObject
* obj1
= 0 ;
4888 (char *) "self",(char *) "editable", NULL
4891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
4892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4893 if (SWIG_arg_fail(1)) SWIG_fail
;
4895 arg2
= (bool)(SWIG_As_bool(obj1
));
4896 if (SWIG_arg_fail(2)) SWIG_fail
;
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 (arg1
)->SetEditable(arg2
);
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4905 Py_INCREF(Py_None
); resultobj
= Py_None
;
4912 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4913 PyObject
*resultobj
;
4914 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4915 PyObject
* obj0
= 0 ;
4917 (char *) "self", NULL
4920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
4921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4922 if (SWIG_arg_fail(1)) SWIG_fail
;
4924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4925 (arg1
)->SetInsertionPointEnd();
4927 wxPyEndAllowThreads(__tstate
);
4928 if (PyErr_Occurred()) SWIG_fail
;
4930 Py_INCREF(Py_None
); resultobj
= Py_None
;
4937 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4938 PyObject
*resultobj
;
4939 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4942 PyObject
* obj0
= 0 ;
4943 PyObject
* obj1
= 0 ;
4944 PyObject
* obj2
= 0 ;
4946 (char *) "self",(char *) "from",(char *) "to", NULL
4949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4951 if (SWIG_arg_fail(1)) SWIG_fail
;
4953 arg2
= (long)(SWIG_As_long(obj1
));
4954 if (SWIG_arg_fail(2)) SWIG_fail
;
4957 arg3
= (long)(SWIG_As_long(obj2
));
4958 if (SWIG_arg_fail(3)) SWIG_fail
;
4961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4962 (arg1
)->Remove(arg2
,arg3
);
4964 wxPyEndAllowThreads(__tstate
);
4965 if (PyErr_Occurred()) SWIG_fail
;
4967 Py_INCREF(Py_None
); resultobj
= Py_None
;
4974 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4975 PyObject
*resultobj
;
4976 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4978 PyObject
* obj0
= 0 ;
4980 (char *) "self", NULL
4983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
4984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4985 if (SWIG_arg_fail(1)) SWIG_fail
;
4987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4988 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
4990 wxPyEndAllowThreads(__tstate
);
4991 if (PyErr_Occurred()) SWIG_fail
;
4994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5002 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5003 PyObject
*resultobj
;
5004 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5005 PyObject
* obj0
= 0 ;
5007 (char *) "self", NULL
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
5011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5012 if (SWIG_arg_fail(1)) SWIG_fail
;
5014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5017 wxPyEndAllowThreads(__tstate
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5020 Py_INCREF(Py_None
); resultobj
= Py_None
;
5027 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5028 PyObject
*resultobj
;
5029 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5030 PyObject
* obj0
= 0 ;
5032 (char *) "self", NULL
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5037 if (SWIG_arg_fail(1)) SWIG_fail
;
5039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5042 wxPyEndAllowThreads(__tstate
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5045 Py_INCREF(Py_None
); resultobj
= Py_None
;
5052 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5053 PyObject
*resultobj
;
5054 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5055 PyObject
* obj0
= 0 ;
5057 (char *) "self", NULL
5060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5062 if (SWIG_arg_fail(1)) SWIG_fail
;
5064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5065 (arg1
)->SelectAll();
5067 wxPyEndAllowThreads(__tstate
);
5068 if (PyErr_Occurred()) SWIG_fail
;
5070 Py_INCREF(Py_None
); resultobj
= Py_None
;
5077 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5078 PyObject
*resultobj
;
5079 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5081 PyObject
* obj0
= 0 ;
5083 (char *) "self", NULL
5086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
5087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5088 if (SWIG_arg_fail(1)) SWIG_fail
;
5090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5091 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
5093 wxPyEndAllowThreads(__tstate
);
5094 if (PyErr_Occurred()) SWIG_fail
;
5097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5105 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5106 PyObject
*resultobj
;
5107 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5109 PyObject
* obj0
= 0 ;
5111 (char *) "self", NULL
5114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5116 if (SWIG_arg_fail(1)) SWIG_fail
;
5118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5119 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5121 wxPyEndAllowThreads(__tstate
);
5122 if (PyErr_Occurred()) SWIG_fail
;
5125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5133 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5134 PyObject
*resultobj
;
5135 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5137 PyObject
* obj0
= 0 ;
5139 (char *) "self", NULL
5142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5144 if (SWIG_arg_fail(1)) SWIG_fail
;
5146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5147 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5149 wxPyEndAllowThreads(__tstate
);
5150 if (PyErr_Occurred()) SWIG_fail
;
5153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5161 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5162 PyObject
*resultobj
;
5163 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5165 PyObject
* obj0
= 0 ;
5167 (char *) "self", NULL
5170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5172 if (SWIG_arg_fail(1)) SWIG_fail
;
5174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5175 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5177 wxPyEndAllowThreads(__tstate
);
5178 if (PyErr_Occurred()) SWIG_fail
;
5181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5189 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5190 PyObject
*resultobj
;
5191 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5193 PyObject
* obj0
= 0 ;
5195 (char *) "self", NULL
5198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
5199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5200 if (SWIG_arg_fail(1)) SWIG_fail
;
5202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5203 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
5205 wxPyEndAllowThreads(__tstate
);
5206 if (PyErr_Occurred()) SWIG_fail
;
5209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5217 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5218 PyObject
*resultobj
;
5219 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5220 wxVisualAttributes result
;
5221 PyObject
* obj0
= 0 ;
5223 (char *) "variant", NULL
5226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5229 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5230 if (SWIG_arg_fail(1)) SWIG_fail
;
5234 if (!wxPyCheckForApp()) SWIG_fail
;
5235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5236 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5238 wxPyEndAllowThreads(__tstate
);
5239 if (PyErr_Occurred()) SWIG_fail
;
5242 wxVisualAttributes
* resultptr
;
5243 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5244 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5252 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5254 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5255 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5257 return Py_BuildValue((char *)"");
5259 static int _wrap_GaugeNameStr_set(PyObject
*) {
5260 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5265 static PyObject
*_wrap_GaugeNameStr_get(void) {
5270 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5272 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5279 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5280 PyObject
*resultobj
;
5281 wxWindow
*arg1
= (wxWindow
*) 0 ;
5282 int arg2
= (int) -1 ;
5283 int arg3
= (int) 100 ;
5284 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5285 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5286 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5287 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5288 long arg6
= (long) wxGA_HORIZONTAL
;
5289 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5290 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5291 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5292 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5296 bool temp8
= false ;
5297 PyObject
* obj0
= 0 ;
5298 PyObject
* obj1
= 0 ;
5299 PyObject
* obj2
= 0 ;
5300 PyObject
* obj3
= 0 ;
5301 PyObject
* obj4
= 0 ;
5302 PyObject
* obj5
= 0 ;
5303 PyObject
* obj6
= 0 ;
5304 PyObject
* obj7
= 0 ;
5306 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5311 if (SWIG_arg_fail(1)) SWIG_fail
;
5314 arg2
= (int)(SWIG_As_int(obj1
));
5315 if (SWIG_arg_fail(2)) SWIG_fail
;
5320 arg3
= (int)(SWIG_As_int(obj2
));
5321 if (SWIG_arg_fail(3)) SWIG_fail
;
5327 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5333 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5338 arg6
= (long)(SWIG_As_long(obj5
));
5339 if (SWIG_arg_fail(6)) SWIG_fail
;
5344 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5345 if (SWIG_arg_fail(7)) SWIG_fail
;
5347 SWIG_null_ref("wxValidator");
5349 if (SWIG_arg_fail(7)) SWIG_fail
;
5354 arg8
= wxString_in_helper(obj7
);
5355 if (arg8
== NULL
) SWIG_fail
;
5360 if (!wxPyCheckForApp()) SWIG_fail
;
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5362 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5367 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5382 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5383 PyObject
*resultobj
;
5389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5391 if (!wxPyCheckForApp()) SWIG_fail
;
5392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5393 result
= (wxGauge
*)new wxGauge();
5395 wxPyEndAllowThreads(__tstate
);
5396 if (PyErr_Occurred()) SWIG_fail
;
5398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5405 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5406 PyObject
*resultobj
;
5407 wxGauge
*arg1
= (wxGauge
*) 0 ;
5408 wxWindow
*arg2
= (wxWindow
*) 0 ;
5409 int arg3
= (int) -1 ;
5410 int arg4
= (int) 100 ;
5411 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5412 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5413 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5414 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5415 long arg7
= (long) wxGA_HORIZONTAL
;
5416 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5417 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5418 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5419 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5423 bool temp9
= false ;
5424 PyObject
* obj0
= 0 ;
5425 PyObject
* obj1
= 0 ;
5426 PyObject
* obj2
= 0 ;
5427 PyObject
* obj3
= 0 ;
5428 PyObject
* obj4
= 0 ;
5429 PyObject
* obj5
= 0 ;
5430 PyObject
* obj6
= 0 ;
5431 PyObject
* obj7
= 0 ;
5432 PyObject
* obj8
= 0 ;
5434 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5439 if (SWIG_arg_fail(1)) SWIG_fail
;
5440 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5441 if (SWIG_arg_fail(2)) SWIG_fail
;
5444 arg3
= (int)(SWIG_As_int(obj2
));
5445 if (SWIG_arg_fail(3)) SWIG_fail
;
5450 arg4
= (int)(SWIG_As_int(obj3
));
5451 if (SWIG_arg_fail(4)) SWIG_fail
;
5457 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5463 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5468 arg7
= (long)(SWIG_As_long(obj6
));
5469 if (SWIG_arg_fail(7)) SWIG_fail
;
5474 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5475 if (SWIG_arg_fail(8)) SWIG_fail
;
5477 SWIG_null_ref("wxValidator");
5479 if (SWIG_arg_fail(8)) SWIG_fail
;
5484 arg9
= wxString_in_helper(obj8
);
5485 if (arg9
== NULL
) SWIG_fail
;
5490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5491 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) SWIG_fail
;
5497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5513 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5514 PyObject
*resultobj
;
5515 wxGauge
*arg1
= (wxGauge
*) 0 ;
5517 PyObject
* obj0
= 0 ;
5518 PyObject
* obj1
= 0 ;
5520 (char *) "self",(char *) "range", NULL
5523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5525 if (SWIG_arg_fail(1)) SWIG_fail
;
5527 arg2
= (int)(SWIG_As_int(obj1
));
5528 if (SWIG_arg_fail(2)) SWIG_fail
;
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 (arg1
)->SetRange(arg2
);
5534 wxPyEndAllowThreads(__tstate
);
5535 if (PyErr_Occurred()) SWIG_fail
;
5537 Py_INCREF(Py_None
); resultobj
= Py_None
;
5544 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5545 PyObject
*resultobj
;
5546 wxGauge
*arg1
= (wxGauge
*) 0 ;
5548 PyObject
* obj0
= 0 ;
5550 (char *) "self", NULL
5553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5555 if (SWIG_arg_fail(1)) SWIG_fail
;
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5564 resultobj
= SWIG_From_int((int)(result
));
5572 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5573 PyObject
*resultobj
;
5574 wxGauge
*arg1
= (wxGauge
*) 0 ;
5576 PyObject
* obj0
= 0 ;
5577 PyObject
* obj1
= 0 ;
5579 (char *) "self",(char *) "pos", NULL
5582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5584 if (SWIG_arg_fail(1)) SWIG_fail
;
5586 arg2
= (int)(SWIG_As_int(obj1
));
5587 if (SWIG_arg_fail(2)) SWIG_fail
;
5590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5591 (arg1
)->SetValue(arg2
);
5593 wxPyEndAllowThreads(__tstate
);
5594 if (PyErr_Occurred()) SWIG_fail
;
5596 Py_INCREF(Py_None
); resultobj
= Py_None
;
5603 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
*resultobj
;
5605 wxGauge
*arg1
= (wxGauge
*) 0 ;
5607 PyObject
* obj0
= 0 ;
5609 (char *) "self", NULL
5612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5614 if (SWIG_arg_fail(1)) SWIG_fail
;
5616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5617 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5623 resultobj
= SWIG_From_int((int)(result
));
5631 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5632 PyObject
*resultobj
;
5633 wxGauge
*arg1
= (wxGauge
*) 0 ;
5635 PyObject
* obj0
= 0 ;
5637 (char *) "self", NULL
5640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5642 if (SWIG_arg_fail(1)) SWIG_fail
;
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5647 wxPyEndAllowThreads(__tstate
);
5648 if (PyErr_Occurred()) SWIG_fail
;
5651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5659 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
*resultobj
;
5661 wxGauge
*arg1
= (wxGauge
*) 0 ;
5663 PyObject
* obj0
= 0 ;
5664 PyObject
* obj1
= 0 ;
5666 (char *) "self",(char *) "w", NULL
5669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5671 if (SWIG_arg_fail(1)) SWIG_fail
;
5673 arg2
= (int)(SWIG_As_int(obj1
));
5674 if (SWIG_arg_fail(2)) SWIG_fail
;
5677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5678 (arg1
)->SetShadowWidth(arg2
);
5680 wxPyEndAllowThreads(__tstate
);
5681 if (PyErr_Occurred()) SWIG_fail
;
5683 Py_INCREF(Py_None
); resultobj
= Py_None
;
5690 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5691 PyObject
*resultobj
;
5692 wxGauge
*arg1
= (wxGauge
*) 0 ;
5694 PyObject
* obj0
= 0 ;
5696 (char *) "self", NULL
5699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
5700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5701 if (SWIG_arg_fail(1)) SWIG_fail
;
5703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
5706 wxPyEndAllowThreads(__tstate
);
5707 if (PyErr_Occurred()) SWIG_fail
;
5710 resultobj
= SWIG_From_int((int)(result
));
5718 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5719 PyObject
*resultobj
;
5720 wxGauge
*arg1
= (wxGauge
*) 0 ;
5722 PyObject
* obj0
= 0 ;
5723 PyObject
* obj1
= 0 ;
5725 (char *) "self",(char *) "w", NULL
5728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
5729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5730 if (SWIG_arg_fail(1)) SWIG_fail
;
5732 arg2
= (int)(SWIG_As_int(obj1
));
5733 if (SWIG_arg_fail(2)) SWIG_fail
;
5736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5737 (arg1
)->SetBezelFace(arg2
);
5739 wxPyEndAllowThreads(__tstate
);
5740 if (PyErr_Occurred()) SWIG_fail
;
5742 Py_INCREF(Py_None
); resultobj
= Py_None
;
5749 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5750 PyObject
*resultobj
;
5751 wxGauge
*arg1
= (wxGauge
*) 0 ;
5753 PyObject
* obj0
= 0 ;
5755 (char *) "self", NULL
5758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
5759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5760 if (SWIG_arg_fail(1)) SWIG_fail
;
5762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5763 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
5765 wxPyEndAllowThreads(__tstate
);
5766 if (PyErr_Occurred()) SWIG_fail
;
5769 resultobj
= SWIG_From_int((int)(result
));
5777 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
;
5779 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5780 wxVisualAttributes result
;
5781 PyObject
* obj0
= 0 ;
5783 (char *) "variant", NULL
5786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5789 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5790 if (SWIG_arg_fail(1)) SWIG_fail
;
5794 if (!wxPyCheckForApp()) SWIG_fail
;
5795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5796 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5798 wxPyEndAllowThreads(__tstate
);
5799 if (PyErr_Occurred()) SWIG_fail
;
5802 wxVisualAttributes
* resultptr
;
5803 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5804 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5812 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
5814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5815 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
5817 return Py_BuildValue((char *)"");
5819 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
5820 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
5825 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
5830 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5832 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5839 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
5840 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
5845 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
5850 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5852 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5859 static int _wrap_StaticTextNameStr_set(PyObject
*) {
5860 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
5865 static PyObject
*_wrap_StaticTextNameStr_get(void) {
5870 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5872 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5879 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5880 PyObject
*resultobj
;
5881 wxWindow
*arg1
= (wxWindow
*) 0 ;
5882 int arg2
= (int) -1 ;
5883 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5884 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5885 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5886 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5887 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5888 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5889 long arg6
= (long) 0 ;
5890 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
5891 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5892 wxStaticBox
*result
;
5893 bool temp3
= false ;
5896 bool temp7
= false ;
5897 PyObject
* obj0
= 0 ;
5898 PyObject
* obj1
= 0 ;
5899 PyObject
* obj2
= 0 ;
5900 PyObject
* obj3
= 0 ;
5901 PyObject
* obj4
= 0 ;
5902 PyObject
* obj5
= 0 ;
5903 PyObject
* obj6
= 0 ;
5905 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5910 if (SWIG_arg_fail(1)) SWIG_fail
;
5913 arg2
= (int)(SWIG_As_int(obj1
));
5914 if (SWIG_arg_fail(2)) SWIG_fail
;
5919 arg3
= wxString_in_helper(obj2
);
5920 if (arg3
== NULL
) SWIG_fail
;
5927 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5933 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5938 arg6
= (long)(SWIG_As_long(obj5
));
5939 if (SWIG_arg_fail(6)) SWIG_fail
;
5944 arg7
= wxString_in_helper(obj6
);
5945 if (arg7
== NULL
) SWIG_fail
;
5950 if (!wxPyCheckForApp()) SWIG_fail
;
5951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5952 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5954 wxPyEndAllowThreads(__tstate
);
5955 if (PyErr_Occurred()) SWIG_fail
;
5957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
5980 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
*resultobj
;
5982 wxStaticBox
*result
;
5987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
5989 if (!wxPyCheckForApp()) SWIG_fail
;
5990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5991 result
= (wxStaticBox
*)new wxStaticBox();
5993 wxPyEndAllowThreads(__tstate
);
5994 if (PyErr_Occurred()) SWIG_fail
;
5996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6003 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
*resultobj
;
6005 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
6006 wxWindow
*arg2
= (wxWindow
*) 0 ;
6007 int arg3
= (int) -1 ;
6008 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6009 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6010 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6011 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6012 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6013 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6014 long arg7
= (long) 0 ;
6015 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
6016 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6018 bool temp4
= false ;
6021 bool temp8
= false ;
6022 PyObject
* obj0
= 0 ;
6023 PyObject
* obj1
= 0 ;
6024 PyObject
* obj2
= 0 ;
6025 PyObject
* obj3
= 0 ;
6026 PyObject
* obj4
= 0 ;
6027 PyObject
* obj5
= 0 ;
6028 PyObject
* obj6
= 0 ;
6029 PyObject
* obj7
= 0 ;
6031 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6036 if (SWIG_arg_fail(1)) SWIG_fail
;
6037 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6038 if (SWIG_arg_fail(2)) SWIG_fail
;
6041 arg3
= (int)(SWIG_As_int(obj2
));
6042 if (SWIG_arg_fail(3)) SWIG_fail
;
6047 arg4
= wxString_in_helper(obj3
);
6048 if (arg4
== NULL
) SWIG_fail
;
6055 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6061 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6066 arg7
= (long)(SWIG_As_long(obj6
));
6067 if (SWIG_arg_fail(7)) SWIG_fail
;
6072 arg8
= wxString_in_helper(obj7
);
6073 if (arg8
== NULL
) SWIG_fail
;
6078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6079 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6081 wxPyEndAllowThreads(__tstate
);
6082 if (PyErr_Occurred()) SWIG_fail
;
6085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6109 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6110 PyObject
*resultobj
;
6111 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6112 wxVisualAttributes result
;
6113 PyObject
* obj0
= 0 ;
6115 (char *) "variant", NULL
6118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6121 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6122 if (SWIG_arg_fail(1)) SWIG_fail
;
6126 if (!wxPyCheckForApp()) SWIG_fail
;
6127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6128 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6130 wxPyEndAllowThreads(__tstate
);
6131 if (PyErr_Occurred()) SWIG_fail
;
6134 wxVisualAttributes
* resultptr
;
6135 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6136 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6144 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6147 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6149 return Py_BuildValue((char *)"");
6151 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6152 PyObject
*resultobj
;
6153 wxWindow
*arg1
= (wxWindow
*) 0 ;
6154 int arg2
= (int) -1 ;
6155 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6156 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6157 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6158 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6159 long arg5
= (long) wxLI_HORIZONTAL
;
6160 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6161 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6162 wxStaticLine
*result
;
6165 bool temp6
= false ;
6166 PyObject
* obj0
= 0 ;
6167 PyObject
* obj1
= 0 ;
6168 PyObject
* obj2
= 0 ;
6169 PyObject
* obj3
= 0 ;
6170 PyObject
* obj4
= 0 ;
6171 PyObject
* obj5
= 0 ;
6173 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6178 if (SWIG_arg_fail(1)) SWIG_fail
;
6181 arg2
= (int)(SWIG_As_int(obj1
));
6182 if (SWIG_arg_fail(2)) SWIG_fail
;
6188 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6194 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6199 arg5
= (long)(SWIG_As_long(obj4
));
6200 if (SWIG_arg_fail(5)) SWIG_fail
;
6205 arg6
= wxString_in_helper(obj5
);
6206 if (arg6
== NULL
) SWIG_fail
;
6211 if (!wxPyCheckForApp()) SWIG_fail
;
6212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6213 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6215 wxPyEndAllowThreads(__tstate
);
6216 if (PyErr_Occurred()) SWIG_fail
;
6218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6233 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6234 PyObject
*resultobj
;
6235 wxStaticLine
*result
;
6240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6242 if (!wxPyCheckForApp()) SWIG_fail
;
6243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6244 result
= (wxStaticLine
*)new wxStaticLine();
6246 wxPyEndAllowThreads(__tstate
);
6247 if (PyErr_Occurred()) SWIG_fail
;
6249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6256 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
*resultobj
;
6258 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6259 wxWindow
*arg2
= (wxWindow
*) 0 ;
6260 int arg3
= (int) -1 ;
6261 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6262 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6263 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6264 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6265 long arg6
= (long) wxLI_HORIZONTAL
;
6266 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6267 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6271 bool temp7
= false ;
6272 PyObject
* obj0
= 0 ;
6273 PyObject
* obj1
= 0 ;
6274 PyObject
* obj2
= 0 ;
6275 PyObject
* obj3
= 0 ;
6276 PyObject
* obj4
= 0 ;
6277 PyObject
* obj5
= 0 ;
6278 PyObject
* obj6
= 0 ;
6280 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6285 if (SWIG_arg_fail(1)) SWIG_fail
;
6286 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6287 if (SWIG_arg_fail(2)) SWIG_fail
;
6290 arg3
= (int)(SWIG_As_int(obj2
));
6291 if (SWIG_arg_fail(3)) SWIG_fail
;
6297 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6303 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6308 arg6
= (long)(SWIG_As_long(obj5
));
6309 if (SWIG_arg_fail(6)) SWIG_fail
;
6314 arg7
= wxString_in_helper(obj6
);
6315 if (arg7
== NULL
) SWIG_fail
;
6320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6321 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6323 wxPyEndAllowThreads(__tstate
);
6324 if (PyErr_Occurred()) SWIG_fail
;
6327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6343 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6344 PyObject
*resultobj
;
6345 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6347 PyObject
* obj0
= 0 ;
6349 (char *) "self", NULL
6352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6354 if (SWIG_arg_fail(1)) SWIG_fail
;
6356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6357 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6359 wxPyEndAllowThreads(__tstate
);
6360 if (PyErr_Occurred()) SWIG_fail
;
6363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6371 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6372 PyObject
*resultobj
;
6378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6381 result
= (int)wxStaticLine::GetDefaultSize();
6383 wxPyEndAllowThreads(__tstate
);
6384 if (PyErr_Occurred()) SWIG_fail
;
6387 resultobj
= SWIG_From_int((int)(result
));
6395 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6396 PyObject
*resultobj
;
6397 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6398 wxVisualAttributes result
;
6399 PyObject
* obj0
= 0 ;
6401 (char *) "variant", NULL
6404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6407 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6408 if (SWIG_arg_fail(1)) SWIG_fail
;
6412 if (!wxPyCheckForApp()) SWIG_fail
;
6413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6414 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6416 wxPyEndAllowThreads(__tstate
);
6417 if (PyErr_Occurred()) SWIG_fail
;
6420 wxVisualAttributes
* resultptr
;
6421 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6430 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6433 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6435 return Py_BuildValue((char *)"");
6437 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6438 PyObject
*resultobj
;
6439 wxWindow
*arg1
= (wxWindow
*) 0 ;
6440 int arg2
= (int) -1 ;
6441 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6442 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6443 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6444 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6445 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6446 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6447 long arg6
= (long) 0 ;
6448 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6449 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6450 wxStaticText
*result
;
6451 bool temp3
= false ;
6454 bool temp7
= false ;
6455 PyObject
* obj0
= 0 ;
6456 PyObject
* obj1
= 0 ;
6457 PyObject
* obj2
= 0 ;
6458 PyObject
* obj3
= 0 ;
6459 PyObject
* obj4
= 0 ;
6460 PyObject
* obj5
= 0 ;
6461 PyObject
* obj6
= 0 ;
6463 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6468 if (SWIG_arg_fail(1)) SWIG_fail
;
6471 arg2
= (int)(SWIG_As_int(obj1
));
6472 if (SWIG_arg_fail(2)) SWIG_fail
;
6477 arg3
= wxString_in_helper(obj2
);
6478 if (arg3
== NULL
) SWIG_fail
;
6485 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6491 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6496 arg6
= (long)(SWIG_As_long(obj5
));
6497 if (SWIG_arg_fail(6)) SWIG_fail
;
6502 arg7
= wxString_in_helper(obj6
);
6503 if (arg7
== NULL
) SWIG_fail
;
6508 if (!wxPyCheckForApp()) SWIG_fail
;
6509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6510 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6512 wxPyEndAllowThreads(__tstate
);
6513 if (PyErr_Occurred()) SWIG_fail
;
6515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6538 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6539 PyObject
*resultobj
;
6540 wxStaticText
*result
;
6545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6547 if (!wxPyCheckForApp()) SWIG_fail
;
6548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6549 result
= (wxStaticText
*)new wxStaticText();
6551 wxPyEndAllowThreads(__tstate
);
6552 if (PyErr_Occurred()) SWIG_fail
;
6554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6561 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
*resultobj
;
6563 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6564 wxWindow
*arg2
= (wxWindow
*) 0 ;
6565 int arg3
= (int) -1 ;
6566 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6567 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6568 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6569 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6570 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6571 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6572 long arg7
= (long) 0 ;
6573 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6574 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6576 bool temp4
= false ;
6579 bool temp8
= false ;
6580 PyObject
* obj0
= 0 ;
6581 PyObject
* obj1
= 0 ;
6582 PyObject
* obj2
= 0 ;
6583 PyObject
* obj3
= 0 ;
6584 PyObject
* obj4
= 0 ;
6585 PyObject
* obj5
= 0 ;
6586 PyObject
* obj6
= 0 ;
6587 PyObject
* obj7
= 0 ;
6589 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6594 if (SWIG_arg_fail(1)) SWIG_fail
;
6595 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6596 if (SWIG_arg_fail(2)) SWIG_fail
;
6599 arg3
= (int)(SWIG_As_int(obj2
));
6600 if (SWIG_arg_fail(3)) SWIG_fail
;
6605 arg4
= wxString_in_helper(obj3
);
6606 if (arg4
== NULL
) SWIG_fail
;
6613 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6619 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6624 arg7
= (long)(SWIG_As_long(obj6
));
6625 if (SWIG_arg_fail(7)) SWIG_fail
;
6630 arg8
= wxString_in_helper(obj7
);
6631 if (arg8
== NULL
) SWIG_fail
;
6636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6637 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6639 wxPyEndAllowThreads(__tstate
);
6640 if (PyErr_Occurred()) SWIG_fail
;
6643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6667 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6668 PyObject
*resultobj
;
6669 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6670 wxVisualAttributes result
;
6671 PyObject
* obj0
= 0 ;
6673 (char *) "variant", NULL
6676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6679 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6680 if (SWIG_arg_fail(1)) SWIG_fail
;
6684 if (!wxPyCheckForApp()) SWIG_fail
;
6685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6686 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6688 wxPyEndAllowThreads(__tstate
);
6689 if (PyErr_Occurred()) SWIG_fail
;
6692 wxVisualAttributes
* resultptr
;
6693 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6694 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6702 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
6704 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6705 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
6707 return Py_BuildValue((char *)"");
6709 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6710 PyObject
*resultobj
;
6711 wxWindow
*arg1
= (wxWindow
*) 0 ;
6712 int arg2
= (int) -1 ;
6713 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
6714 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
6715 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6716 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6717 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6718 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6719 long arg6
= (long) 0 ;
6720 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
6721 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6722 wxStaticBitmap
*result
;
6725 bool temp7
= false ;
6726 PyObject
* obj0
= 0 ;
6727 PyObject
* obj1
= 0 ;
6728 PyObject
* obj2
= 0 ;
6729 PyObject
* obj3
= 0 ;
6730 PyObject
* obj4
= 0 ;
6731 PyObject
* obj5
= 0 ;
6732 PyObject
* obj6
= 0 ;
6734 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6739 if (SWIG_arg_fail(1)) SWIG_fail
;
6742 arg2
= (int)(SWIG_As_int(obj1
));
6743 if (SWIG_arg_fail(2)) SWIG_fail
;
6748 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6749 if (SWIG_arg_fail(3)) SWIG_fail
;
6751 SWIG_null_ref("wxBitmap");
6753 if (SWIG_arg_fail(3)) SWIG_fail
;
6759 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6765 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6770 arg6
= (long)(SWIG_As_long(obj5
));
6771 if (SWIG_arg_fail(6)) SWIG_fail
;
6776 arg7
= wxString_in_helper(obj6
);
6777 if (arg7
== NULL
) SWIG_fail
;
6782 if (!wxPyCheckForApp()) SWIG_fail
;
6783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6784 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6786 wxPyEndAllowThreads(__tstate
);
6787 if (PyErr_Occurred()) SWIG_fail
;
6789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6804 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
*resultobj
;
6806 wxStaticBitmap
*result
;
6811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
6813 if (!wxPyCheckForApp()) SWIG_fail
;
6814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6815 result
= (wxStaticBitmap
*)new wxStaticBitmap();
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) SWIG_fail
;
6820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6827 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6828 PyObject
*resultobj
;
6829 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6830 wxWindow
*arg2
= (wxWindow
*) 0 ;
6831 int arg3
= (int) -1 ;
6832 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
6833 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
6834 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6835 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6836 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6837 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6838 long arg7
= (long) 0 ;
6839 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
6840 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6844 bool temp8
= false ;
6845 PyObject
* obj0
= 0 ;
6846 PyObject
* obj1
= 0 ;
6847 PyObject
* obj2
= 0 ;
6848 PyObject
* obj3
= 0 ;
6849 PyObject
* obj4
= 0 ;
6850 PyObject
* obj5
= 0 ;
6851 PyObject
* obj6
= 0 ;
6852 PyObject
* obj7
= 0 ;
6854 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6859 if (SWIG_arg_fail(1)) SWIG_fail
;
6860 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6861 if (SWIG_arg_fail(2)) SWIG_fail
;
6864 arg3
= (int)(SWIG_As_int(obj2
));
6865 if (SWIG_arg_fail(3)) SWIG_fail
;
6870 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6871 if (SWIG_arg_fail(4)) SWIG_fail
;
6873 SWIG_null_ref("wxBitmap");
6875 if (SWIG_arg_fail(4)) SWIG_fail
;
6881 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6887 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6892 arg7
= (long)(SWIG_As_long(obj6
));
6893 if (SWIG_arg_fail(7)) SWIG_fail
;
6898 arg8
= wxString_in_helper(obj7
);
6899 if (arg8
== NULL
) SWIG_fail
;
6904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6905 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6907 wxPyEndAllowThreads(__tstate
);
6908 if (PyErr_Occurred()) SWIG_fail
;
6911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6927 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6928 PyObject
*resultobj
;
6929 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6931 PyObject
* obj0
= 0 ;
6933 (char *) "self", NULL
6936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
6937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6938 if (SWIG_arg_fail(1)) SWIG_fail
;
6940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6941 result
= (arg1
)->GetBitmap();
6943 wxPyEndAllowThreads(__tstate
);
6944 if (PyErr_Occurred()) SWIG_fail
;
6947 wxBitmap
* resultptr
;
6948 resultptr
= new wxBitmap((wxBitmap
&)(result
));
6949 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6957 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
*resultobj
;
6959 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6960 wxBitmap
*arg2
= 0 ;
6961 PyObject
* obj0
= 0 ;
6962 PyObject
* obj1
= 0 ;
6964 (char *) "self",(char *) "bitmap", NULL
6967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6969 if (SWIG_arg_fail(1)) SWIG_fail
;
6971 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6972 if (SWIG_arg_fail(2)) SWIG_fail
;
6974 SWIG_null_ref("wxBitmap");
6976 if (SWIG_arg_fail(2)) SWIG_fail
;
6979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6980 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6982 wxPyEndAllowThreads(__tstate
);
6983 if (PyErr_Occurred()) SWIG_fail
;
6985 Py_INCREF(Py_None
); resultobj
= Py_None
;
6992 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6993 PyObject
*resultobj
;
6994 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6996 PyObject
* obj0
= 0 ;
6997 PyObject
* obj1
= 0 ;
6999 (char *) "self",(char *) "icon", NULL
7002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
7003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7004 if (SWIG_arg_fail(1)) SWIG_fail
;
7006 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
7007 if (SWIG_arg_fail(2)) SWIG_fail
;
7009 SWIG_null_ref("wxIcon");
7011 if (SWIG_arg_fail(2)) SWIG_fail
;
7014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7015 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
7017 wxPyEndAllowThreads(__tstate
);
7018 if (PyErr_Occurred()) SWIG_fail
;
7020 Py_INCREF(Py_None
); resultobj
= Py_None
;
7027 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7028 PyObject
*resultobj
;
7029 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7030 wxVisualAttributes result
;
7031 PyObject
* obj0
= 0 ;
7033 (char *) "variant", NULL
7036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7039 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7040 if (SWIG_arg_fail(1)) SWIG_fail
;
7044 if (!wxPyCheckForApp()) SWIG_fail
;
7045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7046 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7048 wxPyEndAllowThreads(__tstate
);
7049 if (PyErr_Occurred()) SWIG_fail
;
7052 wxVisualAttributes
* resultptr
;
7053 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7054 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7062 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7065 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7067 return Py_BuildValue((char *)"");
7069 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7070 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7075 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7080 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7082 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7089 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
*resultobj
;
7091 wxWindow
*arg1
= (wxWindow
*) 0 ;
7092 int arg2
= (int) -1 ;
7093 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7094 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7095 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7096 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7097 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7098 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7099 long arg6
= (long) 0 ;
7100 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7101 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7102 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7103 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7107 bool temp5
= false ;
7108 bool temp8
= false ;
7109 PyObject
* obj0
= 0 ;
7110 PyObject
* obj1
= 0 ;
7111 PyObject
* obj2
= 0 ;
7112 PyObject
* obj3
= 0 ;
7113 PyObject
* obj4
= 0 ;
7114 PyObject
* obj5
= 0 ;
7115 PyObject
* obj6
= 0 ;
7116 PyObject
* obj7
= 0 ;
7118 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7123 if (SWIG_arg_fail(1)) SWIG_fail
;
7126 arg2
= (int)(SWIG_As_int(obj1
));
7127 if (SWIG_arg_fail(2)) SWIG_fail
;
7133 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7139 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7144 if (! PySequence_Check(obj4
)) {
7145 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7148 arg5
= new wxArrayString
;
7150 int i
, len
=PySequence_Length(obj4
);
7151 for (i
=0; i
<len
; i
++) {
7152 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7154 PyObject
* str
= PyObject_Unicode(item
);
7156 PyObject
* str
= PyObject_Str(item
);
7158 if (PyErr_Occurred()) SWIG_fail
;
7159 arg5
->Add(Py2wxString(str
));
7167 arg6
= (long)(SWIG_As_long(obj5
));
7168 if (SWIG_arg_fail(6)) SWIG_fail
;
7173 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7174 if (SWIG_arg_fail(7)) SWIG_fail
;
7176 SWIG_null_ref("wxValidator");
7178 if (SWIG_arg_fail(7)) SWIG_fail
;
7183 arg8
= wxString_in_helper(obj7
);
7184 if (arg8
== NULL
) SWIG_fail
;
7189 if (!wxPyCheckForApp()) SWIG_fail
;
7190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7191 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7193 wxPyEndAllowThreads(__tstate
);
7194 if (PyErr_Occurred()) SWIG_fail
;
7196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7198 if (temp5
) delete arg5
;
7207 if (temp5
) delete arg5
;
7217 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
*resultobj
;
7224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7226 if (!wxPyCheckForApp()) SWIG_fail
;
7227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7228 result
= (wxListBox
*)new wxListBox();
7230 wxPyEndAllowThreads(__tstate
);
7231 if (PyErr_Occurred()) SWIG_fail
;
7233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7240 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7241 PyObject
*resultobj
;
7242 wxListBox
*arg1
= (wxListBox
*) 0 ;
7243 wxWindow
*arg2
= (wxWindow
*) 0 ;
7244 int arg3
= (int) -1 ;
7245 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7246 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7247 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7248 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7249 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7250 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7251 long arg7
= (long) 0 ;
7252 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7253 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7254 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7255 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7259 bool temp6
= false ;
7260 bool temp9
= false ;
7261 PyObject
* obj0
= 0 ;
7262 PyObject
* obj1
= 0 ;
7263 PyObject
* obj2
= 0 ;
7264 PyObject
* obj3
= 0 ;
7265 PyObject
* obj4
= 0 ;
7266 PyObject
* obj5
= 0 ;
7267 PyObject
* obj6
= 0 ;
7268 PyObject
* obj7
= 0 ;
7269 PyObject
* obj8
= 0 ;
7271 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7276 if (SWIG_arg_fail(1)) SWIG_fail
;
7277 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7278 if (SWIG_arg_fail(2)) SWIG_fail
;
7281 arg3
= (int)(SWIG_As_int(obj2
));
7282 if (SWIG_arg_fail(3)) SWIG_fail
;
7288 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7294 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7299 if (! PySequence_Check(obj5
)) {
7300 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7303 arg6
= new wxArrayString
;
7305 int i
, len
=PySequence_Length(obj5
);
7306 for (i
=0; i
<len
; i
++) {
7307 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7309 PyObject
* str
= PyObject_Unicode(item
);
7311 PyObject
* str
= PyObject_Str(item
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7314 arg6
->Add(Py2wxString(str
));
7322 arg7
= (long)(SWIG_As_long(obj6
));
7323 if (SWIG_arg_fail(7)) SWIG_fail
;
7328 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7329 if (SWIG_arg_fail(8)) SWIG_fail
;
7331 SWIG_null_ref("wxValidator");
7333 if (SWIG_arg_fail(8)) SWIG_fail
;
7338 arg9
= wxString_in_helper(obj8
);
7339 if (arg9
== NULL
) SWIG_fail
;
7344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7345 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7354 if (temp6
) delete arg6
;
7363 if (temp6
) delete arg6
;
7373 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
*resultobj
;
7375 wxListBox
*arg1
= (wxListBox
*) 0 ;
7376 wxString
*arg2
= 0 ;
7378 PyObject
*arg4
= (PyObject
*) NULL
;
7379 bool temp2
= false ;
7380 PyObject
* obj0
= 0 ;
7381 PyObject
* obj1
= 0 ;
7382 PyObject
* obj2
= 0 ;
7383 PyObject
* obj3
= 0 ;
7385 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7390 if (SWIG_arg_fail(1)) SWIG_fail
;
7392 arg2
= wxString_in_helper(obj1
);
7393 if (arg2
== NULL
) SWIG_fail
;
7397 arg3
= (int)(SWIG_As_int(obj2
));
7398 if (SWIG_arg_fail(3)) SWIG_fail
;
7404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7405 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7407 wxPyEndAllowThreads(__tstate
);
7408 if (PyErr_Occurred()) SWIG_fail
;
7410 Py_INCREF(Py_None
); resultobj
= Py_None
;
7425 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7426 PyObject
*resultobj
;
7427 wxListBox
*arg1
= (wxListBox
*) 0 ;
7428 wxArrayString
*arg2
= 0 ;
7430 bool temp2
= false ;
7431 PyObject
* obj0
= 0 ;
7432 PyObject
* obj1
= 0 ;
7433 PyObject
* obj2
= 0 ;
7435 (char *) "self",(char *) "items",(char *) "pos", NULL
7438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7440 if (SWIG_arg_fail(1)) SWIG_fail
;
7442 if (! PySequence_Check(obj1
)) {
7443 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7446 arg2
= new wxArrayString
;
7448 int i
, len
=PySequence_Length(obj1
);
7449 for (i
=0; i
<len
; i
++) {
7450 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7452 PyObject
* str
= PyObject_Unicode(item
);
7454 PyObject
* str
= PyObject_Str(item
);
7456 if (PyErr_Occurred()) SWIG_fail
;
7457 arg2
->Add(Py2wxString(str
));
7463 arg3
= (int)(SWIG_As_int(obj2
));
7464 if (SWIG_arg_fail(3)) SWIG_fail
;
7467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7468 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7470 wxPyEndAllowThreads(__tstate
);
7471 if (PyErr_Occurred()) SWIG_fail
;
7473 Py_INCREF(Py_None
); resultobj
= Py_None
;
7475 if (temp2
) delete arg2
;
7480 if (temp2
) delete arg2
;
7486 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7487 PyObject
*resultobj
;
7488 wxListBox
*arg1
= (wxListBox
*) 0 ;
7489 wxArrayString
*arg2
= 0 ;
7490 bool temp2
= false ;
7491 PyObject
* obj0
= 0 ;
7492 PyObject
* obj1
= 0 ;
7494 (char *) "self",(char *) "items", NULL
7497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7499 if (SWIG_arg_fail(1)) SWIG_fail
;
7501 if (! PySequence_Check(obj1
)) {
7502 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7505 arg2
= new wxArrayString
;
7507 int i
, len
=PySequence_Length(obj1
);
7508 for (i
=0; i
<len
; i
++) {
7509 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7511 PyObject
* str
= PyObject_Unicode(item
);
7513 PyObject
* str
= PyObject_Str(item
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7516 arg2
->Add(Py2wxString(str
));
7522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7523 (arg1
)->Set((wxArrayString
const &)*arg2
);
7525 wxPyEndAllowThreads(__tstate
);
7526 if (PyErr_Occurred()) SWIG_fail
;
7528 Py_INCREF(Py_None
); resultobj
= Py_None
;
7530 if (temp2
) delete arg2
;
7535 if (temp2
) delete arg2
;
7541 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7542 PyObject
*resultobj
;
7543 wxListBox
*arg1
= (wxListBox
*) 0 ;
7546 PyObject
* obj0
= 0 ;
7547 PyObject
* obj1
= 0 ;
7549 (char *) "self",(char *) "n", NULL
7552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
7553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7554 if (SWIG_arg_fail(1)) SWIG_fail
;
7556 arg2
= (int)(SWIG_As_int(obj1
));
7557 if (SWIG_arg_fail(2)) SWIG_fail
;
7560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7561 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7563 wxPyEndAllowThreads(__tstate
);
7564 if (PyErr_Occurred()) SWIG_fail
;
7567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7575 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7576 PyObject
*resultobj
;
7577 wxListBox
*arg1
= (wxListBox
*) 0 ;
7579 bool arg3
= (bool) true ;
7580 PyObject
* obj0
= 0 ;
7581 PyObject
* obj1
= 0 ;
7582 PyObject
* obj2
= 0 ;
7584 (char *) "self",(char *) "n",(char *) "select", NULL
7587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7589 if (SWIG_arg_fail(1)) SWIG_fail
;
7591 arg2
= (int)(SWIG_As_int(obj1
));
7592 if (SWIG_arg_fail(2)) SWIG_fail
;
7596 arg3
= (bool)(SWIG_As_bool(obj2
));
7597 if (SWIG_arg_fail(3)) SWIG_fail
;
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7602 (arg1
)->SetSelection(arg2
,arg3
);
7604 wxPyEndAllowThreads(__tstate
);
7605 if (PyErr_Occurred()) SWIG_fail
;
7607 Py_INCREF(Py_None
); resultobj
= Py_None
;
7614 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7615 PyObject
*resultobj
;
7616 wxListBox
*arg1
= (wxListBox
*) 0 ;
7618 PyObject
* obj0
= 0 ;
7619 PyObject
* obj1
= 0 ;
7621 (char *) "self",(char *) "n", NULL
7624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) 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
;
7632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7633 (arg1
)->Select(arg2
);
7635 wxPyEndAllowThreads(__tstate
);
7636 if (PyErr_Occurred()) SWIG_fail
;
7638 Py_INCREF(Py_None
); resultobj
= Py_None
;
7645 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7646 PyObject
*resultobj
;
7647 wxListBox
*arg1
= (wxListBox
*) 0 ;
7649 PyObject
* obj0
= 0 ;
7650 PyObject
* obj1
= 0 ;
7652 (char *) "self",(char *) "n", NULL
7655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
7656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7657 if (SWIG_arg_fail(1)) SWIG_fail
;
7659 arg2
= (int)(SWIG_As_int(obj1
));
7660 if (SWIG_arg_fail(2)) SWIG_fail
;
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 (arg1
)->Deselect(arg2
);
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7669 Py_INCREF(Py_None
); resultobj
= Py_None
;
7676 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7677 PyObject
*resultobj
;
7678 wxListBox
*arg1
= (wxListBox
*) 0 ;
7679 int arg2
= (int) -1 ;
7680 PyObject
* obj0
= 0 ;
7681 PyObject
* obj1
= 0 ;
7683 (char *) "self",(char *) "itemToLeaveSelected", NULL
7686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
7687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7688 if (SWIG_arg_fail(1)) SWIG_fail
;
7691 arg2
= (int)(SWIG_As_int(obj1
));
7692 if (SWIG_arg_fail(2)) SWIG_fail
;
7696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7697 (arg1
)->DeselectAll(arg2
);
7699 wxPyEndAllowThreads(__tstate
);
7700 if (PyErr_Occurred()) SWIG_fail
;
7702 Py_INCREF(Py_None
); resultobj
= Py_None
;
7709 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
*resultobj
;
7711 wxListBox
*arg1
= (wxListBox
*) 0 ;
7712 wxString
*arg2
= 0 ;
7713 bool arg3
= (bool) true ;
7715 bool temp2
= false ;
7716 PyObject
* obj0
= 0 ;
7717 PyObject
* obj1
= 0 ;
7718 PyObject
* obj2
= 0 ;
7720 (char *) "self",(char *) "s",(char *) "select", NULL
7723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7725 if (SWIG_arg_fail(1)) SWIG_fail
;
7727 arg2
= wxString_in_helper(obj1
);
7728 if (arg2
== NULL
) SWIG_fail
;
7733 arg3
= (bool)(SWIG_As_bool(obj2
));
7734 if (SWIG_arg_fail(3)) SWIG_fail
;
7738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7739 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
7741 wxPyEndAllowThreads(__tstate
);
7742 if (PyErr_Occurred()) SWIG_fail
;
7745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7761 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7762 PyObject
*resultobj
;
7763 wxListBox
*arg1
= (wxListBox
*) 0 ;
7765 PyObject
* obj0
= 0 ;
7767 (char *) "self", NULL
7770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
7771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7772 if (SWIG_arg_fail(1)) SWIG_fail
;
7774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7775 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
7777 wxPyEndAllowThreads(__tstate
);
7778 if (PyErr_Occurred()) SWIG_fail
;
7787 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7788 PyObject
*resultobj
;
7789 wxListBox
*arg1
= (wxListBox
*) 0 ;
7791 PyObject
* obj0
= 0 ;
7792 PyObject
* obj1
= 0 ;
7794 (char *) "self",(char *) "n", NULL
7797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
7798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7799 if (SWIG_arg_fail(1)) SWIG_fail
;
7801 arg2
= (int)(SWIG_As_int(obj1
));
7802 if (SWIG_arg_fail(2)) SWIG_fail
;
7805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7806 (arg1
)->SetFirstItem(arg2
);
7808 wxPyEndAllowThreads(__tstate
);
7809 if (PyErr_Occurred()) SWIG_fail
;
7811 Py_INCREF(Py_None
); resultobj
= Py_None
;
7818 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7819 PyObject
*resultobj
;
7820 wxListBox
*arg1
= (wxListBox
*) 0 ;
7821 wxString
*arg2
= 0 ;
7822 bool temp2
= false ;
7823 PyObject
* obj0
= 0 ;
7824 PyObject
* obj1
= 0 ;
7826 (char *) "self",(char *) "s", NULL
7829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
7830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7831 if (SWIG_arg_fail(1)) SWIG_fail
;
7833 arg2
= wxString_in_helper(obj1
);
7834 if (arg2
== NULL
) SWIG_fail
;
7838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7839 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
7841 wxPyEndAllowThreads(__tstate
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7844 Py_INCREF(Py_None
); resultobj
= Py_None
;
7859 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7860 PyObject
*resultobj
;
7861 wxListBox
*arg1
= (wxListBox
*) 0 ;
7863 PyObject
* obj0
= 0 ;
7864 PyObject
* obj1
= 0 ;
7866 (char *) "self",(char *) "n", NULL
7869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7871 if (SWIG_arg_fail(1)) SWIG_fail
;
7873 arg2
= (int)(SWIG_As_int(obj1
));
7874 if (SWIG_arg_fail(2)) SWIG_fail
;
7877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7878 (arg1
)->EnsureVisible(arg2
);
7880 wxPyEndAllowThreads(__tstate
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7883 Py_INCREF(Py_None
); resultobj
= Py_None
;
7890 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7891 PyObject
*resultobj
;
7892 wxListBox
*arg1
= (wxListBox
*) 0 ;
7893 wxString
*arg2
= 0 ;
7894 bool temp2
= false ;
7895 PyObject
* obj0
= 0 ;
7896 PyObject
* obj1
= 0 ;
7898 (char *) "self",(char *) "s", NULL
7901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7903 if (SWIG_arg_fail(1)) SWIG_fail
;
7905 arg2
= wxString_in_helper(obj1
);
7906 if (arg2
== NULL
) SWIG_fail
;
7910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7911 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
7913 wxPyEndAllowThreads(__tstate
);
7914 if (PyErr_Occurred()) SWIG_fail
;
7916 Py_INCREF(Py_None
); resultobj
= Py_None
;
7931 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7932 PyObject
*resultobj
;
7933 wxListBox
*arg1
= (wxListBox
*) 0 ;
7935 PyObject
* obj0
= 0 ;
7937 (char *) "self", NULL
7940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
7941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7942 if (SWIG_arg_fail(1)) SWIG_fail
;
7944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7945 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
7947 wxPyEndAllowThreads(__tstate
);
7948 if (PyErr_Occurred()) SWIG_fail
;
7951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7959 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7960 PyObject
*resultobj
;
7961 wxListBox
*arg1
= (wxListBox
*) 0 ;
7963 wxColour
*arg3
= 0 ;
7965 PyObject
* obj0
= 0 ;
7966 PyObject
* obj1
= 0 ;
7967 PyObject
* obj2
= 0 ;
7969 (char *) "self",(char *) "item",(char *) "c", NULL
7972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7974 if (SWIG_arg_fail(1)) SWIG_fail
;
7976 arg2
= (int)(SWIG_As_int(obj1
));
7977 if (SWIG_arg_fail(2)) SWIG_fail
;
7981 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7985 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
7987 wxPyEndAllowThreads(__tstate
);
7988 if (PyErr_Occurred()) SWIG_fail
;
7990 Py_INCREF(Py_None
); resultobj
= Py_None
;
7997 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7998 PyObject
*resultobj
;
7999 wxListBox
*arg1
= (wxListBox
*) 0 ;
8001 wxColour
*arg3
= 0 ;
8003 PyObject
* obj0
= 0 ;
8004 PyObject
* obj1
= 0 ;
8005 PyObject
* obj2
= 0 ;
8007 (char *) "self",(char *) "item",(char *) "c", NULL
8010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8012 if (SWIG_arg_fail(1)) SWIG_fail
;
8014 arg2
= (int)(SWIG_As_int(obj1
));
8015 if (SWIG_arg_fail(2)) SWIG_fail
;
8019 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8023 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8025 wxPyEndAllowThreads(__tstate
);
8026 if (PyErr_Occurred()) SWIG_fail
;
8028 Py_INCREF(Py_None
); resultobj
= Py_None
;
8035 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8036 PyObject
*resultobj
;
8037 wxListBox
*arg1
= (wxListBox
*) 0 ;
8040 PyObject
* obj0
= 0 ;
8041 PyObject
* obj1
= 0 ;
8042 PyObject
* obj2
= 0 ;
8044 (char *) "self",(char *) "item",(char *) "f", NULL
8047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",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
;
8055 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8056 if (SWIG_arg_fail(3)) SWIG_fail
;
8058 SWIG_null_ref("wxFont");
8060 if (SWIG_arg_fail(3)) SWIG_fail
;
8063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8064 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8066 wxPyEndAllowThreads(__tstate
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8069 Py_INCREF(Py_None
); resultobj
= Py_None
;
8076 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8077 PyObject
*resultobj
;
8078 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8079 wxVisualAttributes result
;
8080 PyObject
* obj0
= 0 ;
8082 (char *) "variant", NULL
8085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8088 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8089 if (SWIG_arg_fail(1)) SWIG_fail
;
8093 if (!wxPyCheckForApp()) SWIG_fail
;
8094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8095 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8097 wxPyEndAllowThreads(__tstate
);
8098 if (PyErr_Occurred()) SWIG_fail
;
8101 wxVisualAttributes
* resultptr
;
8102 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8103 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8111 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8114 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8116 return Py_BuildValue((char *)"");
8118 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8119 PyObject
*resultobj
;
8120 wxWindow
*arg1
= (wxWindow
*) 0 ;
8121 int arg2
= (int) -1 ;
8122 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8123 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8124 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8125 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8126 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8127 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8128 long arg6
= (long) 0 ;
8129 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8130 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8131 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8132 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8133 wxCheckListBox
*result
;
8136 bool temp5
= false ;
8137 bool temp8
= false ;
8138 PyObject
* obj0
= 0 ;
8139 PyObject
* obj1
= 0 ;
8140 PyObject
* obj2
= 0 ;
8141 PyObject
* obj3
= 0 ;
8142 PyObject
* obj4
= 0 ;
8143 PyObject
* obj5
= 0 ;
8144 PyObject
* obj6
= 0 ;
8145 PyObject
* obj7
= 0 ;
8147 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8152 if (SWIG_arg_fail(1)) SWIG_fail
;
8155 arg2
= (int)(SWIG_As_int(obj1
));
8156 if (SWIG_arg_fail(2)) SWIG_fail
;
8162 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8168 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8173 if (! PySequence_Check(obj4
)) {
8174 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8177 arg5
= new wxArrayString
;
8179 int i
, len
=PySequence_Length(obj4
);
8180 for (i
=0; i
<len
; i
++) {
8181 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8183 PyObject
* str
= PyObject_Unicode(item
);
8185 PyObject
* str
= PyObject_Str(item
);
8187 if (PyErr_Occurred()) SWIG_fail
;
8188 arg5
->Add(Py2wxString(str
));
8196 arg6
= (long)(SWIG_As_long(obj5
));
8197 if (SWIG_arg_fail(6)) SWIG_fail
;
8202 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8203 if (SWIG_arg_fail(7)) SWIG_fail
;
8205 SWIG_null_ref("wxValidator");
8207 if (SWIG_arg_fail(7)) SWIG_fail
;
8212 arg8
= wxString_in_helper(obj7
);
8213 if (arg8
== NULL
) SWIG_fail
;
8218 if (!wxPyCheckForApp()) SWIG_fail
;
8219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8220 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8222 wxPyEndAllowThreads(__tstate
);
8223 if (PyErr_Occurred()) SWIG_fail
;
8225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8227 if (temp5
) delete arg5
;
8236 if (temp5
) delete arg5
;
8246 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8247 PyObject
*resultobj
;
8248 wxCheckListBox
*result
;
8253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8255 if (!wxPyCheckForApp()) SWIG_fail
;
8256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8257 result
= (wxCheckListBox
*)new wxCheckListBox();
8259 wxPyEndAllowThreads(__tstate
);
8260 if (PyErr_Occurred()) SWIG_fail
;
8262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8269 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8270 PyObject
*resultobj
;
8271 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8272 wxWindow
*arg2
= (wxWindow
*) 0 ;
8273 int arg3
= (int) -1 ;
8274 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8275 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8276 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8277 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8278 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8279 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8280 long arg7
= (long) 0 ;
8281 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8282 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8283 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8284 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8288 bool temp6
= false ;
8289 bool temp9
= false ;
8290 PyObject
* obj0
= 0 ;
8291 PyObject
* obj1
= 0 ;
8292 PyObject
* obj2
= 0 ;
8293 PyObject
* obj3
= 0 ;
8294 PyObject
* obj4
= 0 ;
8295 PyObject
* obj5
= 0 ;
8296 PyObject
* obj6
= 0 ;
8297 PyObject
* obj7
= 0 ;
8298 PyObject
* obj8
= 0 ;
8300 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8305 if (SWIG_arg_fail(1)) SWIG_fail
;
8306 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8307 if (SWIG_arg_fail(2)) SWIG_fail
;
8310 arg3
= (int)(SWIG_As_int(obj2
));
8311 if (SWIG_arg_fail(3)) SWIG_fail
;
8317 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8323 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8328 if (! PySequence_Check(obj5
)) {
8329 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8332 arg6
= new wxArrayString
;
8334 int i
, len
=PySequence_Length(obj5
);
8335 for (i
=0; i
<len
; i
++) {
8336 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8338 PyObject
* str
= PyObject_Unicode(item
);
8340 PyObject
* str
= PyObject_Str(item
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8343 arg6
->Add(Py2wxString(str
));
8351 arg7
= (long)(SWIG_As_long(obj6
));
8352 if (SWIG_arg_fail(7)) SWIG_fail
;
8357 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8358 if (SWIG_arg_fail(8)) SWIG_fail
;
8360 SWIG_null_ref("wxValidator");
8362 if (SWIG_arg_fail(8)) SWIG_fail
;
8367 arg9
= wxString_in_helper(obj8
);
8368 if (arg9
== NULL
) SWIG_fail
;
8373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8374 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8376 wxPyEndAllowThreads(__tstate
);
8377 if (PyErr_Occurred()) SWIG_fail
;
8380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8383 if (temp6
) delete arg6
;
8392 if (temp6
) delete arg6
;
8402 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8403 PyObject
*resultobj
;
8404 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8407 PyObject
* obj0
= 0 ;
8408 PyObject
* obj1
= 0 ;
8410 (char *) "self",(char *) "index", NULL
8413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
8414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8415 if (SWIG_arg_fail(1)) SWIG_fail
;
8417 arg2
= (int)(SWIG_As_int(obj1
));
8418 if (SWIG_arg_fail(2)) SWIG_fail
;
8421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8422 result
= (bool)(arg1
)->IsChecked(arg2
);
8424 wxPyEndAllowThreads(__tstate
);
8425 if (PyErr_Occurred()) SWIG_fail
;
8428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8436 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8437 PyObject
*resultobj
;
8438 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8440 int arg3
= (int) true ;
8441 PyObject
* obj0
= 0 ;
8442 PyObject
* obj1
= 0 ;
8443 PyObject
* obj2
= 0 ;
8445 (char *) "self",(char *) "index",(char *) "check", NULL
8448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8450 if (SWIG_arg_fail(1)) SWIG_fail
;
8452 arg2
= (int)(SWIG_As_int(obj1
));
8453 if (SWIG_arg_fail(2)) SWIG_fail
;
8457 arg3
= (int)(SWIG_As_int(obj2
));
8458 if (SWIG_arg_fail(3)) SWIG_fail
;
8462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8463 (arg1
)->Check(arg2
,arg3
);
8465 wxPyEndAllowThreads(__tstate
);
8466 if (PyErr_Occurred()) SWIG_fail
;
8468 Py_INCREF(Py_None
); resultobj
= Py_None
;
8475 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8476 PyObject
*resultobj
;
8477 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8479 PyObject
* obj0
= 0 ;
8481 (char *) "self", NULL
8484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
8485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8486 if (SWIG_arg_fail(1)) SWIG_fail
;
8488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8489 result
= (int)(arg1
)->GetItemHeight();
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8495 resultobj
= SWIG_From_int((int)(result
));
8503 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8504 PyObject
*resultobj
;
8505 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8509 PyObject
* obj0
= 0 ;
8510 PyObject
* obj1
= 0 ;
8512 (char *) "self",(char *) "pt", NULL
8515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8517 if (SWIG_arg_fail(1)) SWIG_fail
;
8520 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8524 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8526 wxPyEndAllowThreads(__tstate
);
8527 if (PyErr_Occurred()) SWIG_fail
;
8530 resultobj
= SWIG_From_int((int)(result
));
8538 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8539 PyObject
*resultobj
;
8540 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8544 PyObject
* obj0
= 0 ;
8545 PyObject
* obj1
= 0 ;
8546 PyObject
* obj2
= 0 ;
8548 (char *) "self",(char *) "x",(char *) "y", NULL
8551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8553 if (SWIG_arg_fail(1)) SWIG_fail
;
8555 arg2
= (int)(SWIG_As_int(obj1
));
8556 if (SWIG_arg_fail(2)) SWIG_fail
;
8559 arg3
= (int)(SWIG_As_int(obj2
));
8560 if (SWIG_arg_fail(3)) SWIG_fail
;
8563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8564 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8566 wxPyEndAllowThreads(__tstate
);
8567 if (PyErr_Occurred()) SWIG_fail
;
8570 resultobj
= SWIG_From_int((int)(result
));
8578 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8581 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8583 return Py_BuildValue((char *)"");
8585 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8586 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8591 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8596 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8598 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8605 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8606 PyObject
*resultobj
;
8607 wxColour
const &arg1_defvalue
= wxNullColour
;
8608 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8609 wxColour
const &arg2_defvalue
= wxNullColour
;
8610 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8611 wxFont
const &arg3_defvalue
= wxNullFont
;
8612 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8613 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8617 PyObject
* obj0
= 0 ;
8618 PyObject
* obj1
= 0 ;
8619 PyObject
* obj2
= 0 ;
8620 PyObject
* obj3
= 0 ;
8622 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8629 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8635 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8640 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8641 if (SWIG_arg_fail(3)) SWIG_fail
;
8643 SWIG_null_ref("wxFont");
8645 if (SWIG_arg_fail(3)) SWIG_fail
;
8650 arg4
= (wxTextAttrAlignment
)(SWIG_As_int(obj3
));
8651 if (SWIG_arg_fail(4)) SWIG_fail
;
8655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8656 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
8658 wxPyEndAllowThreads(__tstate
);
8659 if (PyErr_Occurred()) SWIG_fail
;
8661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8668 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8669 PyObject
*resultobj
;
8670 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8671 PyObject
* obj0
= 0 ;
8673 (char *) "self", NULL
8676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
8677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8678 if (SWIG_arg_fail(1)) SWIG_fail
;
8680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8683 wxPyEndAllowThreads(__tstate
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8686 Py_INCREF(Py_None
); resultobj
= Py_None
;
8693 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
*resultobj
;
8695 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8696 PyObject
* obj0
= 0 ;
8698 (char *) "self", NULL
8701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
8702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8703 if (SWIG_arg_fail(1)) SWIG_fail
;
8705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8708 wxPyEndAllowThreads(__tstate
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8711 Py_INCREF(Py_None
); resultobj
= Py_None
;
8718 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8719 PyObject
*resultobj
;
8720 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8721 wxColour
*arg2
= 0 ;
8723 PyObject
* obj0
= 0 ;
8724 PyObject
* obj1
= 0 ;
8726 (char *) "self",(char *) "colText", NULL
8729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8731 if (SWIG_arg_fail(1)) SWIG_fail
;
8734 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8738 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8743 Py_INCREF(Py_None
); resultobj
= Py_None
;
8750 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8751 PyObject
*resultobj
;
8752 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8753 wxColour
*arg2
= 0 ;
8755 PyObject
* obj0
= 0 ;
8756 PyObject
* obj1
= 0 ;
8758 (char *) "self",(char *) "colBack", NULL
8761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8763 if (SWIG_arg_fail(1)) SWIG_fail
;
8766 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8770 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8772 wxPyEndAllowThreads(__tstate
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8775 Py_INCREF(Py_None
); resultobj
= Py_None
;
8782 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
*resultobj
;
8784 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8786 long arg3
= (long) wxTEXT_ATTR_FONT
;
8787 PyObject
* obj0
= 0 ;
8788 PyObject
* obj1
= 0 ;
8789 PyObject
* obj2
= 0 ;
8791 (char *) "self",(char *) "font",(char *) "flags", NULL
8794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8796 if (SWIG_arg_fail(1)) SWIG_fail
;
8798 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8799 if (SWIG_arg_fail(2)) SWIG_fail
;
8801 SWIG_null_ref("wxFont");
8803 if (SWIG_arg_fail(2)) SWIG_fail
;
8807 arg3
= (long)(SWIG_As_long(obj2
));
8808 if (SWIG_arg_fail(3)) SWIG_fail
;
8812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8813 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
8815 wxPyEndAllowThreads(__tstate
);
8816 if (PyErr_Occurred()) SWIG_fail
;
8818 Py_INCREF(Py_None
); resultobj
= Py_None
;
8825 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8826 PyObject
*resultobj
;
8827 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8828 wxTextAttrAlignment arg2
;
8829 PyObject
* obj0
= 0 ;
8830 PyObject
* obj1
= 0 ;
8832 (char *) "self",(char *) "alignment", NULL
8835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8837 if (SWIG_arg_fail(1)) SWIG_fail
;
8839 arg2
= (wxTextAttrAlignment
)(SWIG_As_int(obj1
));
8840 if (SWIG_arg_fail(2)) SWIG_fail
;
8843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8844 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
8846 wxPyEndAllowThreads(__tstate
);
8847 if (PyErr_Occurred()) SWIG_fail
;
8849 Py_INCREF(Py_None
); resultobj
= Py_None
;
8856 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8857 PyObject
*resultobj
;
8858 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8859 wxArrayInt
*arg2
= 0 ;
8860 bool temp2
= false ;
8861 PyObject
* obj0
= 0 ;
8862 PyObject
* obj1
= 0 ;
8864 (char *) "self",(char *) "tabs", NULL
8867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
8868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8869 if (SWIG_arg_fail(1)) SWIG_fail
;
8871 if (! PySequence_Check(obj1
)) {
8872 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
8875 arg2
= new wxArrayInt
;
8877 int i
, len
=PySequence_Length(obj1
);
8878 for (i
=0; i
<len
; i
++) {
8879 PyObject
* item
= PySequence_GetItem(obj1
, i
);
8880 PyObject
* number
= PyNumber_Int(item
);
8881 arg2
->Add(PyInt_AS_LONG(number
));
8887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8888 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
8890 wxPyEndAllowThreads(__tstate
);
8891 if (PyErr_Occurred()) SWIG_fail
;
8893 Py_INCREF(Py_None
); resultobj
= Py_None
;
8895 if (temp2
) delete arg2
;
8900 if (temp2
) delete arg2
;
8906 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8907 PyObject
*resultobj
;
8908 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8910 int arg3
= (int) 0 ;
8911 PyObject
* obj0
= 0 ;
8912 PyObject
* obj1
= 0 ;
8913 PyObject
* obj2
= 0 ;
8915 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
8918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8920 if (SWIG_arg_fail(1)) SWIG_fail
;
8922 arg2
= (int)(SWIG_As_int(obj1
));
8923 if (SWIG_arg_fail(2)) SWIG_fail
;
8927 arg3
= (int)(SWIG_As_int(obj2
));
8928 if (SWIG_arg_fail(3)) SWIG_fail
;
8932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8933 (arg1
)->SetLeftIndent(arg2
,arg3
);
8935 wxPyEndAllowThreads(__tstate
);
8936 if (PyErr_Occurred()) SWIG_fail
;
8938 Py_INCREF(Py_None
); resultobj
= Py_None
;
8945 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8946 PyObject
*resultobj
;
8947 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8949 PyObject
* obj0
= 0 ;
8950 PyObject
* obj1
= 0 ;
8952 (char *) "self",(char *) "indent", NULL
8955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) 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
;
8963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8964 (arg1
)->SetRightIndent(arg2
);
8966 wxPyEndAllowThreads(__tstate
);
8967 if (PyErr_Occurred()) SWIG_fail
;
8969 Py_INCREF(Py_None
); resultobj
= Py_None
;
8976 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8977 PyObject
*resultobj
;
8978 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8980 PyObject
* obj0
= 0 ;
8981 PyObject
* obj1
= 0 ;
8983 (char *) "self",(char *) "flags", NULL
8986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8988 if (SWIG_arg_fail(1)) SWIG_fail
;
8990 arg2
= (long)(SWIG_As_long(obj1
));
8991 if (SWIG_arg_fail(2)) SWIG_fail
;
8994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8995 (arg1
)->SetFlags(arg2
);
8997 wxPyEndAllowThreads(__tstate
);
8998 if (PyErr_Occurred()) SWIG_fail
;
9000 Py_INCREF(Py_None
); resultobj
= Py_None
;
9007 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9008 PyObject
*resultobj
;
9009 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9011 PyObject
* obj0
= 0 ;
9013 (char *) "self", NULL
9016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
9017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9018 if (SWIG_arg_fail(1)) SWIG_fail
;
9020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9021 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
9023 wxPyEndAllowThreads(__tstate
);
9024 if (PyErr_Occurred()) SWIG_fail
;
9027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9035 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9036 PyObject
*resultobj
;
9037 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9039 PyObject
* obj0
= 0 ;
9041 (char *) "self", NULL
9044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
9045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9046 if (SWIG_arg_fail(1)) SWIG_fail
;
9048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9049 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
9051 wxPyEndAllowThreads(__tstate
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9063 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9064 PyObject
*resultobj
;
9065 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9067 PyObject
* obj0
= 0 ;
9069 (char *) "self", NULL
9072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
9073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9074 if (SWIG_arg_fail(1)) SWIG_fail
;
9076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9077 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
9079 wxPyEndAllowThreads(__tstate
);
9080 if (PyErr_Occurred()) SWIG_fail
;
9083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9091 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9092 PyObject
*resultobj
;
9093 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9095 PyObject
* obj0
= 0 ;
9097 (char *) "self", NULL
9100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
9101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9102 if (SWIG_arg_fail(1)) SWIG_fail
;
9104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9105 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
9107 wxPyEndAllowThreads(__tstate
);
9108 if (PyErr_Occurred()) SWIG_fail
;
9111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9119 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9120 PyObject
*resultobj
;
9121 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9123 PyObject
* obj0
= 0 ;
9125 (char *) "self", NULL
9128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
9129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9130 if (SWIG_arg_fail(1)) SWIG_fail
;
9132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9133 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
9135 wxPyEndAllowThreads(__tstate
);
9136 if (PyErr_Occurred()) SWIG_fail
;
9139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9147 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9148 PyObject
*resultobj
;
9149 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9151 PyObject
* obj0
= 0 ;
9153 (char *) "self", NULL
9156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
9157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9158 if (SWIG_arg_fail(1)) SWIG_fail
;
9160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9161 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
9163 wxPyEndAllowThreads(__tstate
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9175 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9176 PyObject
*resultobj
;
9177 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9179 PyObject
* obj0
= 0 ;
9181 (char *) "self", NULL
9184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
9185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9186 if (SWIG_arg_fail(1)) SWIG_fail
;
9188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9189 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9191 wxPyEndAllowThreads(__tstate
);
9192 if (PyErr_Occurred()) SWIG_fail
;
9195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9203 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9204 PyObject
*resultobj
;
9205 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9208 PyObject
* obj0
= 0 ;
9209 PyObject
* obj1
= 0 ;
9211 (char *) "self",(char *) "flag", NULL
9214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9216 if (SWIG_arg_fail(1)) SWIG_fail
;
9218 arg2
= (long)(SWIG_As_long(obj1
));
9219 if (SWIG_arg_fail(2)) SWIG_fail
;
9222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9223 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9225 wxPyEndAllowThreads(__tstate
);
9226 if (PyErr_Occurred()) SWIG_fail
;
9229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9237 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9238 PyObject
*resultobj
;
9239 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9241 PyObject
* obj0
= 0 ;
9243 (char *) "self", NULL
9246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9248 if (SWIG_arg_fail(1)) SWIG_fail
;
9250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9252 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9253 result
= (wxColour
*) &_result_ref
;
9256 wxPyEndAllowThreads(__tstate
);
9257 if (PyErr_Occurred()) SWIG_fail
;
9259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9266 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9267 PyObject
*resultobj
;
9268 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9270 PyObject
* obj0
= 0 ;
9272 (char *) "self", NULL
9275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9277 if (SWIG_arg_fail(1)) SWIG_fail
;
9279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9281 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9282 result
= (wxColour
*) &_result_ref
;
9285 wxPyEndAllowThreads(__tstate
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9295 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9296 PyObject
*resultobj
;
9297 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9299 PyObject
* obj0
= 0 ;
9301 (char *) "self", NULL
9304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9306 if (SWIG_arg_fail(1)) SWIG_fail
;
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9310 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9311 result
= (wxFont
*) &_result_ref
;
9314 wxPyEndAllowThreads(__tstate
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9318 wxFont
* resultptr
= new wxFont(*result
);
9319 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9327 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9328 PyObject
*resultobj
;
9329 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9330 wxTextAttrAlignment result
;
9331 PyObject
* obj0
= 0 ;
9333 (char *) "self", NULL
9336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
9337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9338 if (SWIG_arg_fail(1)) SWIG_fail
;
9340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9341 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9343 wxPyEndAllowThreads(__tstate
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9346 resultobj
= SWIG_From_int((result
));
9353 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9354 PyObject
*resultobj
;
9355 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9357 PyObject
* obj0
= 0 ;
9359 (char *) "self", NULL
9362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
9363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9364 if (SWIG_arg_fail(1)) SWIG_fail
;
9366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9368 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9369 result
= (wxArrayInt
*) &_result_ref
;
9372 wxPyEndAllowThreads(__tstate
);
9373 if (PyErr_Occurred()) SWIG_fail
;
9376 resultobj
= PyList_New(0);
9378 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9379 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9380 PyList_Append(resultobj
, val
);
9390 static PyObject
*_wrap_TextAttr_GetLeftIndent(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_GetLeftIndent",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();
9404 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
9406 wxPyEndAllowThreads(__tstate
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9410 resultobj
= SWIG_From_long((long)(result
));
9418 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9419 PyObject
*resultobj
;
9420 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9422 PyObject
* obj0
= 0 ;
9424 (char *) "self", NULL
9427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
9428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9429 if (SWIG_arg_fail(1)) SWIG_fail
;
9431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9432 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
9434 wxPyEndAllowThreads(__tstate
);
9435 if (PyErr_Occurred()) SWIG_fail
;
9438 resultobj
= SWIG_From_long((long)(result
));
9446 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9447 PyObject
*resultobj
;
9448 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9450 PyObject
* obj0
= 0 ;
9452 (char *) "self", NULL
9455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
9456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9457 if (SWIG_arg_fail(1)) SWIG_fail
;
9459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9460 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
9462 wxPyEndAllowThreads(__tstate
);
9463 if (PyErr_Occurred()) SWIG_fail
;
9466 resultobj
= SWIG_From_long((long)(result
));
9474 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9475 PyObject
*resultobj
;
9476 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9478 PyObject
* obj0
= 0 ;
9480 (char *) "self", NULL
9483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
9484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9485 if (SWIG_arg_fail(1)) SWIG_fail
;
9487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9490 wxPyEndAllowThreads(__tstate
);
9491 if (PyErr_Occurred()) SWIG_fail
;
9494 resultobj
= SWIG_From_long((long)(result
));
9502 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9503 PyObject
*resultobj
;
9504 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9506 PyObject
* obj0
= 0 ;
9508 (char *) "self", NULL
9511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9513 if (SWIG_arg_fail(1)) SWIG_fail
;
9515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9516 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9518 wxPyEndAllowThreads(__tstate
);
9519 if (PyErr_Occurred()) SWIG_fail
;
9522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9530 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9531 PyObject
*resultobj
;
9532 wxTextAttr
*arg1
= 0 ;
9533 wxTextAttr
*arg2
= 0 ;
9534 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9536 PyObject
* obj0
= 0 ;
9537 PyObject
* obj1
= 0 ;
9538 PyObject
* obj2
= 0 ;
9540 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9546 if (SWIG_arg_fail(1)) SWIG_fail
;
9548 SWIG_null_ref("wxTextAttr");
9550 if (SWIG_arg_fail(1)) SWIG_fail
;
9553 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9554 if (SWIG_arg_fail(2)) SWIG_fail
;
9556 SWIG_null_ref("wxTextAttr");
9558 if (SWIG_arg_fail(2)) SWIG_fail
;
9560 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9561 if (SWIG_arg_fail(3)) SWIG_fail
;
9563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9564 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9566 wxPyEndAllowThreads(__tstate
);
9567 if (PyErr_Occurred()) SWIG_fail
;
9570 wxTextAttr
* resultptr
;
9571 resultptr
= new wxTextAttr((wxTextAttr
&)(result
));
9572 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9580 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9583 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9585 return Py_BuildValue((char *)"");
9587 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9588 PyObject
*resultobj
;
9589 wxWindow
*arg1
= (wxWindow
*) 0 ;
9590 int arg2
= (int) -1 ;
9591 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9592 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9593 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9594 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9595 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9596 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9597 long arg6
= (long) 0 ;
9598 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9599 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9600 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9601 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9603 bool temp3
= false ;
9606 bool temp8
= false ;
9607 PyObject
* obj0
= 0 ;
9608 PyObject
* obj1
= 0 ;
9609 PyObject
* obj2
= 0 ;
9610 PyObject
* obj3
= 0 ;
9611 PyObject
* obj4
= 0 ;
9612 PyObject
* obj5
= 0 ;
9613 PyObject
* obj6
= 0 ;
9614 PyObject
* obj7
= 0 ;
9616 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9621 if (SWIG_arg_fail(1)) SWIG_fail
;
9624 arg2
= (int)(SWIG_As_int(obj1
));
9625 if (SWIG_arg_fail(2)) SWIG_fail
;
9630 arg3
= wxString_in_helper(obj2
);
9631 if (arg3
== NULL
) SWIG_fail
;
9638 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9644 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9649 arg6
= (long)(SWIG_As_long(obj5
));
9650 if (SWIG_arg_fail(6)) SWIG_fail
;
9655 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9656 if (SWIG_arg_fail(7)) SWIG_fail
;
9658 SWIG_null_ref("wxValidator");
9660 if (SWIG_arg_fail(7)) SWIG_fail
;
9665 arg8
= wxString_in_helper(obj7
);
9666 if (arg8
== NULL
) SWIG_fail
;
9671 if (!wxPyCheckForApp()) SWIG_fail
;
9672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9673 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9675 wxPyEndAllowThreads(__tstate
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9701 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9702 PyObject
*resultobj
;
9708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
9710 if (!wxPyCheckForApp()) SWIG_fail
;
9711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9712 result
= (wxTextCtrl
*)new wxTextCtrl();
9714 wxPyEndAllowThreads(__tstate
);
9715 if (PyErr_Occurred()) SWIG_fail
;
9717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9724 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9725 PyObject
*resultobj
;
9726 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9727 wxWindow
*arg2
= (wxWindow
*) 0 ;
9728 int arg3
= (int) -1 ;
9729 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9730 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9731 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9732 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9733 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9734 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9735 long arg7
= (long) 0 ;
9736 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9737 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9738 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
9739 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9741 bool temp4
= false ;
9744 bool temp9
= false ;
9745 PyObject
* obj0
= 0 ;
9746 PyObject
* obj1
= 0 ;
9747 PyObject
* obj2
= 0 ;
9748 PyObject
* obj3
= 0 ;
9749 PyObject
* obj4
= 0 ;
9750 PyObject
* obj5
= 0 ;
9751 PyObject
* obj6
= 0 ;
9752 PyObject
* obj7
= 0 ;
9753 PyObject
* obj8
= 0 ;
9755 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
9759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9760 if (SWIG_arg_fail(1)) SWIG_fail
;
9761 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9762 if (SWIG_arg_fail(2)) SWIG_fail
;
9765 arg3
= (int)(SWIG_As_int(obj2
));
9766 if (SWIG_arg_fail(3)) SWIG_fail
;
9771 arg4
= wxString_in_helper(obj3
);
9772 if (arg4
== NULL
) SWIG_fail
;
9779 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9785 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9790 arg7
= (long)(SWIG_As_long(obj6
));
9791 if (SWIG_arg_fail(7)) SWIG_fail
;
9796 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9797 if (SWIG_arg_fail(8)) SWIG_fail
;
9799 SWIG_null_ref("wxValidator");
9801 if (SWIG_arg_fail(8)) SWIG_fail
;
9806 arg9
= wxString_in_helper(obj8
);
9807 if (arg9
== NULL
) SWIG_fail
;
9812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9813 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9815 wxPyEndAllowThreads(__tstate
);
9816 if (PyErr_Occurred()) SWIG_fail
;
9819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9843 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9844 PyObject
*resultobj
;
9845 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9847 PyObject
* obj0
= 0 ;
9849 (char *) "self", NULL
9852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9854 if (SWIG_arg_fail(1)) SWIG_fail
;
9856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9857 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
9859 wxPyEndAllowThreads(__tstate
);
9860 if (PyErr_Occurred()) SWIG_fail
;
9864 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9866 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9875 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9876 PyObject
*resultobj
;
9877 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9878 wxString
*arg2
= 0 ;
9879 bool temp2
= false ;
9880 PyObject
* obj0
= 0 ;
9881 PyObject
* obj1
= 0 ;
9883 (char *) "self",(char *) "value", NULL
9886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9888 if (SWIG_arg_fail(1)) SWIG_fail
;
9890 arg2
= wxString_in_helper(obj1
);
9891 if (arg2
== NULL
) SWIG_fail
;
9895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9896 (arg1
)->SetValue((wxString
const &)*arg2
);
9898 wxPyEndAllowThreads(__tstate
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9901 Py_INCREF(Py_None
); resultobj
= Py_None
;
9916 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9917 PyObject
*resultobj
;
9918 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9922 PyObject
* obj0
= 0 ;
9923 PyObject
* obj1
= 0 ;
9924 PyObject
* obj2
= 0 ;
9926 (char *) "self",(char *) "from",(char *) "to", NULL
9929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9931 if (SWIG_arg_fail(1)) SWIG_fail
;
9933 arg2
= (long)(SWIG_As_long(obj1
));
9934 if (SWIG_arg_fail(2)) SWIG_fail
;
9937 arg3
= (long)(SWIG_As_long(obj2
));
9938 if (SWIG_arg_fail(3)) SWIG_fail
;
9941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9942 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
9944 wxPyEndAllowThreads(__tstate
);
9945 if (PyErr_Occurred()) SWIG_fail
;
9949 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9951 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9960 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9961 PyObject
*resultobj
;
9962 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9965 PyObject
* obj0
= 0 ;
9966 PyObject
* obj1
= 0 ;
9968 (char *) "self",(char *) "lineNo", NULL
9971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9973 if (SWIG_arg_fail(1)) SWIG_fail
;
9975 arg2
= (long)(SWIG_As_long(obj1
));
9976 if (SWIG_arg_fail(2)) SWIG_fail
;
9979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9980 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
9982 wxPyEndAllowThreads(__tstate
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9986 resultobj
= SWIG_From_int((int)(result
));
9994 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9995 PyObject
*resultobj
;
9996 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9999 PyObject
* obj0
= 0 ;
10000 PyObject
* obj1
= 0 ;
10001 char *kwnames
[] = {
10002 (char *) "self",(char *) "lineNo", NULL
10005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
10006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10007 if (SWIG_arg_fail(1)) SWIG_fail
;
10009 arg2
= (long)(SWIG_As_long(obj1
));
10010 if (SWIG_arg_fail(2)) SWIG_fail
;
10013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10014 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
10016 wxPyEndAllowThreads(__tstate
);
10017 if (PyErr_Occurred()) SWIG_fail
;
10021 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10023 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10032 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10033 PyObject
*resultobj
;
10034 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10036 PyObject
* obj0
= 0 ;
10037 char *kwnames
[] = {
10038 (char *) "self", NULL
10041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
10042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10043 if (SWIG_arg_fail(1)) SWIG_fail
;
10045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10046 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
10048 wxPyEndAllowThreads(__tstate
);
10049 if (PyErr_Occurred()) SWIG_fail
;
10052 resultobj
= SWIG_From_int((int)(result
));
10060 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10061 PyObject
*resultobj
;
10062 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10064 PyObject
* obj0
= 0 ;
10065 char *kwnames
[] = {
10066 (char *) "self", NULL
10069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
10070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10071 if (SWIG_arg_fail(1)) SWIG_fail
;
10073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10074 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
10076 wxPyEndAllowThreads(__tstate
);
10077 if (PyErr_Occurred()) SWIG_fail
;
10080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10088 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10089 PyObject
*resultobj
;
10090 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10092 PyObject
* obj0
= 0 ;
10093 char *kwnames
[] = {
10094 (char *) "self", NULL
10097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
10098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10099 if (SWIG_arg_fail(1)) SWIG_fail
;
10101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10116 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10117 PyObject
*resultobj
;
10118 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10120 PyObject
* obj0
= 0 ;
10121 char *kwnames
[] = {
10122 (char *) "self", NULL
10125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
10126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10127 if (SWIG_arg_fail(1)) SWIG_fail
;
10129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10130 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
10132 wxPyEndAllowThreads(__tstate
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10144 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10145 PyObject
*resultobj
;
10146 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10148 PyObject
* obj0
= 0 ;
10149 char *kwnames
[] = {
10150 (char *) "self", NULL
10153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
10154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10155 if (SWIG_arg_fail(1)) SWIG_fail
;
10157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10158 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10160 wxPyEndAllowThreads(__tstate
);
10161 if (PyErr_Occurred()) SWIG_fail
;
10164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10172 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10173 PyObject
*resultobj
;
10174 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10175 long *arg2
= (long *) 0 ;
10176 long *arg3
= (long *) 0 ;
10181 PyObject
* obj0
= 0 ;
10182 char *kwnames
[] = {
10183 (char *) "self", NULL
10186 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10187 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10190 if (SWIG_arg_fail(1)) SWIG_fail
;
10192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10193 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10195 wxPyEndAllowThreads(__tstate
);
10196 if (PyErr_Occurred()) SWIG_fail
;
10198 Py_INCREF(Py_None
); resultobj
= Py_None
;
10199 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10200 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10201 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10202 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10209 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10210 PyObject
*resultobj
;
10211 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10213 PyObject
* obj0
= 0 ;
10214 char *kwnames
[] = {
10215 (char *) "self", NULL
10218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10220 if (SWIG_arg_fail(1)) SWIG_fail
;
10222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10223 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10225 wxPyEndAllowThreads(__tstate
);
10226 if (PyErr_Occurred()) SWIG_fail
;
10230 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10232 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10241 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10242 PyObject
*resultobj
;
10243 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10244 PyObject
* obj0
= 0 ;
10245 char *kwnames
[] = {
10246 (char *) "self", NULL
10249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
10250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10251 if (SWIG_arg_fail(1)) SWIG_fail
;
10253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10259 Py_INCREF(Py_None
); resultobj
= Py_None
;
10266 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10267 PyObject
*resultobj
;
10268 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10271 wxString
*arg4
= 0 ;
10272 bool temp4
= false ;
10273 PyObject
* obj0
= 0 ;
10274 PyObject
* obj1
= 0 ;
10275 PyObject
* obj2
= 0 ;
10276 PyObject
* obj3
= 0 ;
10277 char *kwnames
[] = {
10278 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10283 if (SWIG_arg_fail(1)) SWIG_fail
;
10285 arg2
= (long)(SWIG_As_long(obj1
));
10286 if (SWIG_arg_fail(2)) SWIG_fail
;
10289 arg3
= (long)(SWIG_As_long(obj2
));
10290 if (SWIG_arg_fail(3)) SWIG_fail
;
10293 arg4
= wxString_in_helper(obj3
);
10294 if (arg4
== NULL
) SWIG_fail
;
10298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10299 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10301 wxPyEndAllowThreads(__tstate
);
10302 if (PyErr_Occurred()) SWIG_fail
;
10304 Py_INCREF(Py_None
); resultobj
= Py_None
;
10319 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10320 PyObject
*resultobj
;
10321 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10324 PyObject
* obj0
= 0 ;
10325 PyObject
* obj1
= 0 ;
10326 PyObject
* obj2
= 0 ;
10327 char *kwnames
[] = {
10328 (char *) "self",(char *) "from",(char *) "to", NULL
10331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10333 if (SWIG_arg_fail(1)) SWIG_fail
;
10335 arg2
= (long)(SWIG_As_long(obj1
));
10336 if (SWIG_arg_fail(2)) SWIG_fail
;
10339 arg3
= (long)(SWIG_As_long(obj2
));
10340 if (SWIG_arg_fail(3)) SWIG_fail
;
10343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10344 (arg1
)->Remove(arg2
,arg3
);
10346 wxPyEndAllowThreads(__tstate
);
10347 if (PyErr_Occurred()) SWIG_fail
;
10349 Py_INCREF(Py_None
); resultobj
= Py_None
;
10356 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10357 PyObject
*resultobj
;
10358 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10359 wxString
*arg2
= 0 ;
10361 bool temp2
= false ;
10362 PyObject
* obj0
= 0 ;
10363 PyObject
* obj1
= 0 ;
10364 char *kwnames
[] = {
10365 (char *) "self",(char *) "file", NULL
10368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) 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
= wxString_in_helper(obj1
);
10373 if (arg2
== NULL
) SWIG_fail
;
10377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10378 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10380 wxPyEndAllowThreads(__tstate
);
10381 if (PyErr_Occurred()) SWIG_fail
;
10384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10400 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10401 PyObject
*resultobj
;
10402 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10403 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10404 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10406 bool temp2
= false ;
10407 PyObject
* obj0
= 0 ;
10408 PyObject
* obj1
= 0 ;
10409 char *kwnames
[] = {
10410 (char *) "self",(char *) "file", NULL
10413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10415 if (SWIG_arg_fail(1)) SWIG_fail
;
10418 arg2
= wxString_in_helper(obj1
);
10419 if (arg2
== NULL
) SWIG_fail
;
10424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10425 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10427 wxPyEndAllowThreads(__tstate
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10447 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10448 PyObject
*resultobj
;
10449 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10450 PyObject
* obj0
= 0 ;
10451 char *kwnames
[] = {
10452 (char *) "self", NULL
10455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10457 if (SWIG_arg_fail(1)) SWIG_fail
;
10459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10460 (arg1
)->MarkDirty();
10462 wxPyEndAllowThreads(__tstate
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10465 Py_INCREF(Py_None
); resultobj
= Py_None
;
10472 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10473 PyObject
*resultobj
;
10474 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10475 PyObject
* obj0
= 0 ;
10476 char *kwnames
[] = {
10477 (char *) "self", NULL
10480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10482 if (SWIG_arg_fail(1)) SWIG_fail
;
10484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10485 (arg1
)->DiscardEdits();
10487 wxPyEndAllowThreads(__tstate
);
10488 if (PyErr_Occurred()) SWIG_fail
;
10490 Py_INCREF(Py_None
); resultobj
= Py_None
;
10497 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10498 PyObject
*resultobj
;
10499 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10500 unsigned long arg2
;
10501 PyObject
* obj0
= 0 ;
10502 PyObject
* obj1
= 0 ;
10503 char *kwnames
[] = {
10504 (char *) "self",(char *) "len", NULL
10507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10509 if (SWIG_arg_fail(1)) SWIG_fail
;
10511 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10512 if (SWIG_arg_fail(2)) SWIG_fail
;
10515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10516 (arg1
)->SetMaxLength(arg2
);
10518 wxPyEndAllowThreads(__tstate
);
10519 if (PyErr_Occurred()) SWIG_fail
;
10521 Py_INCREF(Py_None
); resultobj
= Py_None
;
10528 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10529 PyObject
*resultobj
;
10530 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10531 wxString
*arg2
= 0 ;
10532 bool temp2
= false ;
10533 PyObject
* obj0
= 0 ;
10534 PyObject
* obj1
= 0 ;
10535 char *kwnames
[] = {
10536 (char *) "self",(char *) "text", NULL
10539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10541 if (SWIG_arg_fail(1)) SWIG_fail
;
10543 arg2
= wxString_in_helper(obj1
);
10544 if (arg2
== NULL
) SWIG_fail
;
10548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10549 (arg1
)->WriteText((wxString
const &)*arg2
);
10551 wxPyEndAllowThreads(__tstate
);
10552 if (PyErr_Occurred()) SWIG_fail
;
10554 Py_INCREF(Py_None
); resultobj
= Py_None
;
10569 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10570 PyObject
*resultobj
;
10571 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10572 wxString
*arg2
= 0 ;
10573 bool temp2
= false ;
10574 PyObject
* obj0
= 0 ;
10575 PyObject
* obj1
= 0 ;
10576 char *kwnames
[] = {
10577 (char *) "self",(char *) "text", NULL
10580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
10581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10582 if (SWIG_arg_fail(1)) SWIG_fail
;
10584 arg2
= wxString_in_helper(obj1
);
10585 if (arg2
== NULL
) SWIG_fail
;
10589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 (arg1
)->AppendText((wxString
const &)*arg2
);
10592 wxPyEndAllowThreads(__tstate
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10595 Py_INCREF(Py_None
); resultobj
= Py_None
;
10610 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10611 PyObject
*resultobj
;
10612 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10613 wxKeyEvent
*arg2
= 0 ;
10615 PyObject
* obj0
= 0 ;
10616 PyObject
* obj1
= 0 ;
10617 char *kwnames
[] = {
10618 (char *) "self",(char *) "event", NULL
10621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
10622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10623 if (SWIG_arg_fail(1)) SWIG_fail
;
10625 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10626 if (SWIG_arg_fail(2)) SWIG_fail
;
10627 if (arg2
== NULL
) {
10628 SWIG_null_ref("wxKeyEvent");
10630 if (SWIG_arg_fail(2)) SWIG_fail
;
10633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10634 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10636 wxPyEndAllowThreads(__tstate
);
10637 if (PyErr_Occurred()) SWIG_fail
;
10640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10648 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10649 PyObject
*resultobj
;
10650 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10653 wxTextAttr
*arg4
= 0 ;
10655 PyObject
* obj0
= 0 ;
10656 PyObject
* obj1
= 0 ;
10657 PyObject
* obj2
= 0 ;
10658 PyObject
* obj3
= 0 ;
10659 char *kwnames
[] = {
10660 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10665 if (SWIG_arg_fail(1)) SWIG_fail
;
10667 arg2
= (long)(SWIG_As_long(obj1
));
10668 if (SWIG_arg_fail(2)) SWIG_fail
;
10671 arg3
= (long)(SWIG_As_long(obj2
));
10672 if (SWIG_arg_fail(3)) SWIG_fail
;
10675 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10676 if (SWIG_arg_fail(4)) SWIG_fail
;
10677 if (arg4
== NULL
) {
10678 SWIG_null_ref("wxTextAttr");
10680 if (SWIG_arg_fail(4)) SWIG_fail
;
10683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10684 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
10686 wxPyEndAllowThreads(__tstate
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10698 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10699 PyObject
*resultobj
;
10700 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10702 wxTextAttr
*arg3
= 0 ;
10704 PyObject
* obj0
= 0 ;
10705 PyObject
* obj1
= 0 ;
10706 PyObject
* obj2
= 0 ;
10707 char *kwnames
[] = {
10708 (char *) "self",(char *) "position",(char *) "style", NULL
10711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10713 if (SWIG_arg_fail(1)) SWIG_fail
;
10715 arg2
= (long)(SWIG_As_long(obj1
));
10716 if (SWIG_arg_fail(2)) SWIG_fail
;
10719 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10720 if (SWIG_arg_fail(3)) SWIG_fail
;
10721 if (arg3
== NULL
) {
10722 SWIG_null_ref("wxTextAttr");
10724 if (SWIG_arg_fail(3)) SWIG_fail
;
10727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10728 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
10730 wxPyEndAllowThreads(__tstate
);
10731 if (PyErr_Occurred()) SWIG_fail
;
10734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10742 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10743 PyObject
*resultobj
;
10744 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10745 wxTextAttr
*arg2
= 0 ;
10747 PyObject
* obj0
= 0 ;
10748 PyObject
* obj1
= 0 ;
10749 char *kwnames
[] = {
10750 (char *) "self",(char *) "style", NULL
10753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10755 if (SWIG_arg_fail(1)) SWIG_fail
;
10757 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10758 if (SWIG_arg_fail(2)) SWIG_fail
;
10759 if (arg2
== NULL
) {
10760 SWIG_null_ref("wxTextAttr");
10762 if (SWIG_arg_fail(2)) SWIG_fail
;
10765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10766 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
10768 wxPyEndAllowThreads(__tstate
);
10769 if (PyErr_Occurred()) SWIG_fail
;
10772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10780 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10781 PyObject
*resultobj
;
10782 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10783 wxTextAttr
*result
;
10784 PyObject
* obj0
= 0 ;
10785 char *kwnames
[] = {
10786 (char *) "self", NULL
10789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
10790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10791 if (SWIG_arg_fail(1)) SWIG_fail
;
10793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10795 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
10796 result
= (wxTextAttr
*) &_result_ref
;
10799 wxPyEndAllowThreads(__tstate
);
10800 if (PyErr_Occurred()) SWIG_fail
;
10802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
10809 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10810 PyObject
*resultobj
;
10811 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10815 PyObject
* obj0
= 0 ;
10816 PyObject
* obj1
= 0 ;
10817 PyObject
* obj2
= 0 ;
10818 char *kwnames
[] = {
10819 (char *) "self",(char *) "x",(char *) "y", NULL
10822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10824 if (SWIG_arg_fail(1)) SWIG_fail
;
10826 arg2
= (long)(SWIG_As_long(obj1
));
10827 if (SWIG_arg_fail(2)) SWIG_fail
;
10830 arg3
= (long)(SWIG_As_long(obj2
));
10831 if (SWIG_arg_fail(3)) SWIG_fail
;
10834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10835 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
10837 wxPyEndAllowThreads(__tstate
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10841 resultobj
= SWIG_From_long((long)(result
));
10849 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10850 PyObject
*resultobj
;
10851 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10853 long *arg3
= (long *) 0 ;
10854 long *arg4
= (long *) 0 ;
10859 PyObject
* obj0
= 0 ;
10860 PyObject
* obj1
= 0 ;
10861 char *kwnames
[] = {
10862 (char *) "self",(char *) "pos", NULL
10865 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10866 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
10868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10869 if (SWIG_arg_fail(1)) SWIG_fail
;
10871 arg2
= (long)(SWIG_As_long(obj1
));
10872 if (SWIG_arg_fail(2)) SWIG_fail
;
10875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10876 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
10878 wxPyEndAllowThreads(__tstate
);
10879 if (PyErr_Occurred()) SWIG_fail
;
10881 Py_INCREF(Py_None
); resultobj
= Py_None
;
10882 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10883 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10884 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10885 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10892 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10893 PyObject
*resultobj
;
10894 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10896 PyObject
* obj0
= 0 ;
10897 PyObject
* obj1
= 0 ;
10898 char *kwnames
[] = {
10899 (char *) "self",(char *) "pos", NULL
10902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10904 if (SWIG_arg_fail(1)) SWIG_fail
;
10906 arg2
= (long)(SWIG_As_long(obj1
));
10907 if (SWIG_arg_fail(2)) SWIG_fail
;
10910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10911 (arg1
)->ShowPosition(arg2
);
10913 wxPyEndAllowThreads(__tstate
);
10914 if (PyErr_Occurred()) SWIG_fail
;
10916 Py_INCREF(Py_None
); resultobj
= Py_None
;
10923 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10924 PyObject
*resultobj
;
10925 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10926 wxPoint
*arg2
= 0 ;
10927 long *arg3
= (long *) 0 ;
10928 long *arg4
= (long *) 0 ;
10929 wxTextCtrlHitTestResult result
;
10935 PyObject
* obj0
= 0 ;
10936 PyObject
* obj1
= 0 ;
10937 char *kwnames
[] = {
10938 (char *) "self",(char *) "pt", NULL
10941 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10942 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
10944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10945 if (SWIG_arg_fail(1)) SWIG_fail
;
10948 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10952 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
10954 wxPyEndAllowThreads(__tstate
);
10955 if (PyErr_Occurred()) SWIG_fail
;
10957 resultobj
= SWIG_From_int((result
));
10958 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10959 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10960 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10961 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10968 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10969 PyObject
*resultobj
;
10970 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10971 wxPoint
*arg2
= 0 ;
10972 long *arg3
= (long *) 0 ;
10973 wxTextCtrlHitTestResult result
;
10977 PyObject
* obj0
= 0 ;
10978 PyObject
* obj1
= 0 ;
10979 char *kwnames
[] = {
10980 (char *) "self",(char *) "pt", NULL
10983 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
10985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10986 if (SWIG_arg_fail(1)) SWIG_fail
;
10989 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10993 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
10995 wxPyEndAllowThreads(__tstate
);
10996 if (PyErr_Occurred()) SWIG_fail
;
10998 resultobj
= SWIG_From_int((result
));
10999 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11000 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11007 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11008 PyObject
*resultobj
;
11009 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11010 PyObject
* obj0
= 0 ;
11011 char *kwnames
[] = {
11012 (char *) "self", NULL
11015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
11016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11017 if (SWIG_arg_fail(1)) SWIG_fail
;
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11022 wxPyEndAllowThreads(__tstate
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11025 Py_INCREF(Py_None
); resultobj
= Py_None
;
11032 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11033 PyObject
*resultobj
;
11034 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11035 PyObject
* obj0
= 0 ;
11036 char *kwnames
[] = {
11037 (char *) "self", NULL
11040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
11041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11042 if (SWIG_arg_fail(1)) SWIG_fail
;
11044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11047 wxPyEndAllowThreads(__tstate
);
11048 if (PyErr_Occurred()) SWIG_fail
;
11050 Py_INCREF(Py_None
); resultobj
= Py_None
;
11057 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11058 PyObject
*resultobj
;
11059 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11060 PyObject
* obj0
= 0 ;
11061 char *kwnames
[] = {
11062 (char *) "self", NULL
11065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
11066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11067 if (SWIG_arg_fail(1)) SWIG_fail
;
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11072 wxPyEndAllowThreads(__tstate
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11075 Py_INCREF(Py_None
); resultobj
= Py_None
;
11082 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11083 PyObject
*resultobj
;
11084 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11086 PyObject
* obj0
= 0 ;
11087 char *kwnames
[] = {
11088 (char *) "self", NULL
11091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
11092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11093 if (SWIG_arg_fail(1)) SWIG_fail
;
11095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11096 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
11098 wxPyEndAllowThreads(__tstate
);
11099 if (PyErr_Occurred()) SWIG_fail
;
11102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11110 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11111 PyObject
*resultobj
;
11112 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11114 PyObject
* obj0
= 0 ;
11115 char *kwnames
[] = {
11116 (char *) "self", NULL
11119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
11120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11121 if (SWIG_arg_fail(1)) SWIG_fail
;
11123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11124 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
11126 wxPyEndAllowThreads(__tstate
);
11127 if (PyErr_Occurred()) SWIG_fail
;
11130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11138 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11139 PyObject
*resultobj
;
11140 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11142 PyObject
* obj0
= 0 ;
11143 char *kwnames
[] = {
11144 (char *) "self", NULL
11147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11149 if (SWIG_arg_fail(1)) SWIG_fail
;
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11154 wxPyEndAllowThreads(__tstate
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11166 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11167 PyObject
*resultobj
;
11168 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11169 PyObject
* obj0
= 0 ;
11170 char *kwnames
[] = {
11171 (char *) "self", NULL
11174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11176 if (SWIG_arg_fail(1)) SWIG_fail
;
11178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11181 wxPyEndAllowThreads(__tstate
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11184 Py_INCREF(Py_None
); resultobj
= Py_None
;
11191 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11192 PyObject
*resultobj
;
11193 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11194 PyObject
* obj0
= 0 ;
11195 char *kwnames
[] = {
11196 (char *) "self", NULL
11199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11201 if (SWIG_arg_fail(1)) SWIG_fail
;
11203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11206 wxPyEndAllowThreads(__tstate
);
11207 if (PyErr_Occurred()) SWIG_fail
;
11209 Py_INCREF(Py_None
); resultobj
= Py_None
;
11216 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11217 PyObject
*resultobj
;
11218 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11220 PyObject
* obj0
= 0 ;
11221 char *kwnames
[] = {
11222 (char *) "self", NULL
11225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
11226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11227 if (SWIG_arg_fail(1)) SWIG_fail
;
11229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11230 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
11232 wxPyEndAllowThreads(__tstate
);
11233 if (PyErr_Occurred()) SWIG_fail
;
11236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11244 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11245 PyObject
*resultobj
;
11246 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11248 PyObject
* obj0
= 0 ;
11249 char *kwnames
[] = {
11250 (char *) "self", NULL
11253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11255 if (SWIG_arg_fail(1)) SWIG_fail
;
11257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11258 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11260 wxPyEndAllowThreads(__tstate
);
11261 if (PyErr_Occurred()) SWIG_fail
;
11264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11272 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11273 PyObject
*resultobj
;
11274 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11276 PyObject
* obj0
= 0 ;
11277 PyObject
* obj1
= 0 ;
11278 char *kwnames
[] = {
11279 (char *) "self",(char *) "pos", NULL
11282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11284 if (SWIG_arg_fail(1)) SWIG_fail
;
11286 arg2
= (long)(SWIG_As_long(obj1
));
11287 if (SWIG_arg_fail(2)) SWIG_fail
;
11290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11291 (arg1
)->SetInsertionPoint(arg2
);
11293 wxPyEndAllowThreads(__tstate
);
11294 if (PyErr_Occurred()) SWIG_fail
;
11296 Py_INCREF(Py_None
); resultobj
= Py_None
;
11303 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11304 PyObject
*resultobj
;
11305 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11306 PyObject
* obj0
= 0 ;
11307 char *kwnames
[] = {
11308 (char *) "self", NULL
11311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11313 if (SWIG_arg_fail(1)) SWIG_fail
;
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11316 (arg1
)->SetInsertionPointEnd();
11318 wxPyEndAllowThreads(__tstate
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11321 Py_INCREF(Py_None
); resultobj
= Py_None
;
11328 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11329 PyObject
*resultobj
;
11330 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11332 PyObject
* obj0
= 0 ;
11333 char *kwnames
[] = {
11334 (char *) "self", NULL
11337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
11338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11339 if (SWIG_arg_fail(1)) SWIG_fail
;
11341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11342 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
11344 wxPyEndAllowThreads(__tstate
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11348 resultobj
= SWIG_From_long((long)(result
));
11356 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11357 PyObject
*resultobj
;
11358 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11360 PyObject
* obj0
= 0 ;
11361 char *kwnames
[] = {
11362 (char *) "self", NULL
11365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
11366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11367 if (SWIG_arg_fail(1)) SWIG_fail
;
11369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11370 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11372 wxPyEndAllowThreads(__tstate
);
11373 if (PyErr_Occurred()) SWIG_fail
;
11376 resultobj
= SWIG_From_long((long)(result
));
11384 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11385 PyObject
*resultobj
;
11386 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11389 PyObject
* obj0
= 0 ;
11390 PyObject
* obj1
= 0 ;
11391 PyObject
* obj2
= 0 ;
11392 char *kwnames
[] = {
11393 (char *) "self",(char *) "from",(char *) "to", NULL
11396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11398 if (SWIG_arg_fail(1)) SWIG_fail
;
11400 arg2
= (long)(SWIG_As_long(obj1
));
11401 if (SWIG_arg_fail(2)) SWIG_fail
;
11404 arg3
= (long)(SWIG_As_long(obj2
));
11405 if (SWIG_arg_fail(3)) SWIG_fail
;
11408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11409 (arg1
)->SetSelection(arg2
,arg3
);
11411 wxPyEndAllowThreads(__tstate
);
11412 if (PyErr_Occurred()) SWIG_fail
;
11414 Py_INCREF(Py_None
); resultobj
= Py_None
;
11421 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11422 PyObject
*resultobj
;
11423 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11424 PyObject
* obj0
= 0 ;
11425 char *kwnames
[] = {
11426 (char *) "self", NULL
11429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
11430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11431 if (SWIG_arg_fail(1)) SWIG_fail
;
11433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11434 (arg1
)->SelectAll();
11436 wxPyEndAllowThreads(__tstate
);
11437 if (PyErr_Occurred()) SWIG_fail
;
11439 Py_INCREF(Py_None
); resultobj
= Py_None
;
11446 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11447 PyObject
*resultobj
;
11448 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11450 PyObject
* obj0
= 0 ;
11451 PyObject
* obj1
= 0 ;
11452 char *kwnames
[] = {
11453 (char *) "self",(char *) "editable", NULL
11456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11458 if (SWIG_arg_fail(1)) SWIG_fail
;
11460 arg2
= (bool)(SWIG_As_bool(obj1
));
11461 if (SWIG_arg_fail(2)) SWIG_fail
;
11464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11465 (arg1
)->SetEditable(arg2
);
11467 wxPyEndAllowThreads(__tstate
);
11468 if (PyErr_Occurred()) SWIG_fail
;
11470 Py_INCREF(Py_None
); resultobj
= Py_None
;
11477 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11478 PyObject
*resultobj
;
11479 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11480 wxString
*arg2
= 0 ;
11481 bool temp2
= false ;
11482 PyObject
* obj0
= 0 ;
11483 PyObject
* obj1
= 0 ;
11484 char *kwnames
[] = {
11485 (char *) "self",(char *) "text", NULL
11488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11490 if (SWIG_arg_fail(1)) SWIG_fail
;
11492 arg2
= wxString_in_helper(obj1
);
11493 if (arg2
== NULL
) SWIG_fail
;
11497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11498 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11500 wxPyEndAllowThreads(__tstate
);
11501 if (PyErr_Occurred()) SWIG_fail
;
11503 Py_INCREF(Py_None
); resultobj
= Py_None
;
11518 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11519 PyObject
*resultobj
;
11520 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11524 PyObject
* obj0
= 0 ;
11525 PyObject
* obj1
= 0 ;
11526 PyObject
* obj2
= 0 ;
11527 char *kwnames
[] = {
11528 (char *) "self",(char *) "from",(char *) "to", NULL
11531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11533 if (SWIG_arg_fail(1)) SWIG_fail
;
11535 arg2
= (long)(SWIG_As_long(obj1
));
11536 if (SWIG_arg_fail(2)) SWIG_fail
;
11539 arg3
= (long)(SWIG_As_long(obj2
));
11540 if (SWIG_arg_fail(3)) SWIG_fail
;
11543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11544 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11546 wxPyEndAllowThreads(__tstate
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11551 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11553 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11562 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11563 PyObject
*resultobj
;
11564 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11565 wxVisualAttributes result
;
11566 PyObject
* obj0
= 0 ;
11567 char *kwnames
[] = {
11568 (char *) "variant", NULL
11571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11574 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
11575 if (SWIG_arg_fail(1)) SWIG_fail
;
11579 if (!wxPyCheckForApp()) SWIG_fail
;
11580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11581 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11583 wxPyEndAllowThreads(__tstate
);
11584 if (PyErr_Occurred()) SWIG_fail
;
11587 wxVisualAttributes
* resultptr
;
11588 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
11589 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11597 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11599 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11600 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11602 return Py_BuildValue((char *)"");
11604 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11605 PyObject
*resultobj
;
11607 wxMouseEvent
*arg2
= 0 ;
11610 wxTextUrlEvent
*result
;
11611 PyObject
* obj0
= 0 ;
11612 PyObject
* obj1
= 0 ;
11613 PyObject
* obj2
= 0 ;
11614 PyObject
* obj3
= 0 ;
11615 char *kwnames
[] = {
11616 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11621 arg1
= (int)(SWIG_As_int(obj0
));
11622 if (SWIG_arg_fail(1)) SWIG_fail
;
11625 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
11626 if (SWIG_arg_fail(2)) SWIG_fail
;
11627 if (arg2
== NULL
) {
11628 SWIG_null_ref("wxMouseEvent");
11630 if (SWIG_arg_fail(2)) SWIG_fail
;
11633 arg3
= (long)(SWIG_As_long(obj2
));
11634 if (SWIG_arg_fail(3)) SWIG_fail
;
11637 arg4
= (long)(SWIG_As_long(obj3
));
11638 if (SWIG_arg_fail(4)) SWIG_fail
;
11641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11642 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
11644 wxPyEndAllowThreads(__tstate
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
11654 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11655 PyObject
*resultobj
;
11656 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11657 wxMouseEvent
*result
;
11658 PyObject
* obj0
= 0 ;
11659 char *kwnames
[] = {
11660 (char *) "self", NULL
11663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
11664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11665 if (SWIG_arg_fail(1)) SWIG_fail
;
11667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11669 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
11670 result
= (wxMouseEvent
*) &_result_ref
;
11673 wxPyEndAllowThreads(__tstate
);
11674 if (PyErr_Occurred()) SWIG_fail
;
11676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
11683 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11684 PyObject
*resultobj
;
11685 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11687 PyObject
* obj0
= 0 ;
11688 char *kwnames
[] = {
11689 (char *) "self", NULL
11692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
11693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11694 if (SWIG_arg_fail(1)) SWIG_fail
;
11696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11697 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
11699 wxPyEndAllowThreads(__tstate
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11703 resultobj
= SWIG_From_long((long)(result
));
11711 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11712 PyObject
*resultobj
;
11713 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11715 PyObject
* obj0
= 0 ;
11716 char *kwnames
[] = {
11717 (char *) "self", NULL
11720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
11721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11722 if (SWIG_arg_fail(1)) SWIG_fail
;
11724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11725 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
11727 wxPyEndAllowThreads(__tstate
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11731 resultobj
= SWIG_From_long((long)(result
));
11739 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
11741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11742 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
11744 return Py_BuildValue((char *)"");
11746 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
11747 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
11752 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
11757 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11759 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11766 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11767 PyObject
*resultobj
;
11768 wxWindow
*arg1
= (wxWindow
*) 0 ;
11769 int arg2
= (int) -1 ;
11770 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11771 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11772 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11773 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11774 long arg5
= (long) wxSB_HORIZONTAL
;
11775 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
11776 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
11777 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
11778 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11779 wxScrollBar
*result
;
11782 bool temp7
= false ;
11783 PyObject
* obj0
= 0 ;
11784 PyObject
* obj1
= 0 ;
11785 PyObject
* obj2
= 0 ;
11786 PyObject
* obj3
= 0 ;
11787 PyObject
* obj4
= 0 ;
11788 PyObject
* obj5
= 0 ;
11789 PyObject
* obj6
= 0 ;
11790 char *kwnames
[] = {
11791 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11796 if (SWIG_arg_fail(1)) SWIG_fail
;
11799 arg2
= (int)(SWIG_As_int(obj1
));
11800 if (SWIG_arg_fail(2)) SWIG_fail
;
11806 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11812 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11817 arg5
= (long)(SWIG_As_long(obj4
));
11818 if (SWIG_arg_fail(5)) SWIG_fail
;
11823 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11824 if (SWIG_arg_fail(6)) SWIG_fail
;
11825 if (arg6
== NULL
) {
11826 SWIG_null_ref("wxValidator");
11828 if (SWIG_arg_fail(6)) SWIG_fail
;
11833 arg7
= wxString_in_helper(obj6
);
11834 if (arg7
== NULL
) SWIG_fail
;
11839 if (!wxPyCheckForApp()) SWIG_fail
;
11840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11841 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
11843 wxPyEndAllowThreads(__tstate
);
11844 if (PyErr_Occurred()) SWIG_fail
;
11846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11861 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11862 PyObject
*resultobj
;
11863 wxScrollBar
*result
;
11864 char *kwnames
[] = {
11868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
11870 if (!wxPyCheckForApp()) SWIG_fail
;
11871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11872 result
= (wxScrollBar
*)new wxScrollBar();
11874 wxPyEndAllowThreads(__tstate
);
11875 if (PyErr_Occurred()) SWIG_fail
;
11877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11884 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11885 PyObject
*resultobj
;
11886 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11887 wxWindow
*arg2
= (wxWindow
*) 0 ;
11888 int arg3
= (int) -1 ;
11889 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11890 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11891 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11892 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11893 long arg6
= (long) wxSB_HORIZONTAL
;
11894 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11895 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11896 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
11897 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11901 bool temp8
= false ;
11902 PyObject
* obj0
= 0 ;
11903 PyObject
* obj1
= 0 ;
11904 PyObject
* obj2
= 0 ;
11905 PyObject
* obj3
= 0 ;
11906 PyObject
* obj4
= 0 ;
11907 PyObject
* obj5
= 0 ;
11908 PyObject
* obj6
= 0 ;
11909 PyObject
* obj7
= 0 ;
11910 char *kwnames
[] = {
11911 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11916 if (SWIG_arg_fail(1)) SWIG_fail
;
11917 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11918 if (SWIG_arg_fail(2)) SWIG_fail
;
11921 arg3
= (int)(SWIG_As_int(obj2
));
11922 if (SWIG_arg_fail(3)) SWIG_fail
;
11928 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11934 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11939 arg6
= (long)(SWIG_As_long(obj5
));
11940 if (SWIG_arg_fail(6)) SWIG_fail
;
11945 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11946 if (SWIG_arg_fail(7)) SWIG_fail
;
11947 if (arg7
== NULL
) {
11948 SWIG_null_ref("wxValidator");
11950 if (SWIG_arg_fail(7)) SWIG_fail
;
11955 arg8
= wxString_in_helper(obj7
);
11956 if (arg8
== NULL
) SWIG_fail
;
11961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11962 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11964 wxPyEndAllowThreads(__tstate
);
11965 if (PyErr_Occurred()) SWIG_fail
;
11968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11984 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11985 PyObject
*resultobj
;
11986 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11988 PyObject
* obj0
= 0 ;
11989 char *kwnames
[] = {
11990 (char *) "self", NULL
11993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
11994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11995 if (SWIG_arg_fail(1)) SWIG_fail
;
11997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11998 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
12000 wxPyEndAllowThreads(__tstate
);
12001 if (PyErr_Occurred()) SWIG_fail
;
12004 resultobj
= SWIG_From_int((int)(result
));
12012 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12013 PyObject
*resultobj
;
12014 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12016 PyObject
* obj0
= 0 ;
12017 char *kwnames
[] = {
12018 (char *) "self", NULL
12021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
12022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12023 if (SWIG_arg_fail(1)) SWIG_fail
;
12025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12026 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
12028 wxPyEndAllowThreads(__tstate
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12032 resultobj
= SWIG_From_int((int)(result
));
12040 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12041 PyObject
*resultobj
;
12042 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12044 PyObject
* obj0
= 0 ;
12045 char *kwnames
[] = {
12046 (char *) "self", NULL
12049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
12050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12051 if (SWIG_arg_fail(1)) SWIG_fail
;
12053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12054 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
12056 wxPyEndAllowThreads(__tstate
);
12057 if (PyErr_Occurred()) SWIG_fail
;
12060 resultobj
= SWIG_From_int((int)(result
));
12068 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12069 PyObject
*resultobj
;
12070 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12072 PyObject
* obj0
= 0 ;
12073 char *kwnames
[] = {
12074 (char *) "self", NULL
12077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12079 if (SWIG_arg_fail(1)) SWIG_fail
;
12081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12082 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12084 wxPyEndAllowThreads(__tstate
);
12085 if (PyErr_Occurred()) SWIG_fail
;
12088 resultobj
= SWIG_From_int((int)(result
));
12096 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12097 PyObject
*resultobj
;
12098 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12100 PyObject
* obj0
= 0 ;
12101 char *kwnames
[] = {
12102 (char *) "self", NULL
12105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12107 if (SWIG_arg_fail(1)) SWIG_fail
;
12109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12110 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12112 wxPyEndAllowThreads(__tstate
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12124 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12125 PyObject
*resultobj
;
12126 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12128 PyObject
* obj0
= 0 ;
12129 PyObject
* obj1
= 0 ;
12130 char *kwnames
[] = {
12131 (char *) "self",(char *) "viewStart", NULL
12134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12136 if (SWIG_arg_fail(1)) SWIG_fail
;
12138 arg2
= (int)(SWIG_As_int(obj1
));
12139 if (SWIG_arg_fail(2)) SWIG_fail
;
12142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12143 (arg1
)->SetThumbPosition(arg2
);
12145 wxPyEndAllowThreads(__tstate
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12148 Py_INCREF(Py_None
); resultobj
= Py_None
;
12155 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12156 PyObject
*resultobj
;
12157 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12162 bool arg6
= (bool) true ;
12163 PyObject
* obj0
= 0 ;
12164 PyObject
* obj1
= 0 ;
12165 PyObject
* obj2
= 0 ;
12166 PyObject
* obj3
= 0 ;
12167 PyObject
* obj4
= 0 ;
12168 PyObject
* obj5
= 0 ;
12169 char *kwnames
[] = {
12170 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12175 if (SWIG_arg_fail(1)) SWIG_fail
;
12177 arg2
= (int)(SWIG_As_int(obj1
));
12178 if (SWIG_arg_fail(2)) SWIG_fail
;
12181 arg3
= (int)(SWIG_As_int(obj2
));
12182 if (SWIG_arg_fail(3)) SWIG_fail
;
12185 arg4
= (int)(SWIG_As_int(obj3
));
12186 if (SWIG_arg_fail(4)) SWIG_fail
;
12189 arg5
= (int)(SWIG_As_int(obj4
));
12190 if (SWIG_arg_fail(5)) SWIG_fail
;
12194 arg6
= (bool)(SWIG_As_bool(obj5
));
12195 if (SWIG_arg_fail(6)) SWIG_fail
;
12199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12200 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12202 wxPyEndAllowThreads(__tstate
);
12203 if (PyErr_Occurred()) SWIG_fail
;
12205 Py_INCREF(Py_None
); resultobj
= Py_None
;
12212 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12213 PyObject
*resultobj
;
12214 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12215 wxVisualAttributes result
;
12216 PyObject
* obj0
= 0 ;
12217 char *kwnames
[] = {
12218 (char *) "variant", NULL
12221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12224 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12225 if (SWIG_arg_fail(1)) SWIG_fail
;
12229 if (!wxPyCheckForApp()) SWIG_fail
;
12230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12231 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12233 wxPyEndAllowThreads(__tstate
);
12234 if (PyErr_Occurred()) SWIG_fail
;
12237 wxVisualAttributes
* resultptr
;
12238 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12239 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12247 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12250 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12252 return Py_BuildValue((char *)"");
12254 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12255 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12260 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12265 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12267 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12274 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12275 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12280 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12285 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12287 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12294 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12295 PyObject
*resultobj
;
12296 wxWindow
*arg1
= (wxWindow
*) 0 ;
12297 int arg2
= (int) -1 ;
12298 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12299 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12300 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12301 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12302 long arg5
= (long) wxSP_HORIZONTAL
;
12303 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12304 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12305 wxSpinButton
*result
;
12308 bool temp6
= false ;
12309 PyObject
* obj0
= 0 ;
12310 PyObject
* obj1
= 0 ;
12311 PyObject
* obj2
= 0 ;
12312 PyObject
* obj3
= 0 ;
12313 PyObject
* obj4
= 0 ;
12314 PyObject
* obj5
= 0 ;
12315 char *kwnames
[] = {
12316 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12321 if (SWIG_arg_fail(1)) SWIG_fail
;
12324 arg2
= (int)(SWIG_As_int(obj1
));
12325 if (SWIG_arg_fail(2)) SWIG_fail
;
12331 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12337 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12342 arg5
= (long)(SWIG_As_long(obj4
));
12343 if (SWIG_arg_fail(5)) SWIG_fail
;
12348 arg6
= wxString_in_helper(obj5
);
12349 if (arg6
== NULL
) SWIG_fail
;
12354 if (!wxPyCheckForApp()) SWIG_fail
;
12355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12356 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12358 wxPyEndAllowThreads(__tstate
);
12359 if (PyErr_Occurred()) SWIG_fail
;
12361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12376 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12377 PyObject
*resultobj
;
12378 wxSpinButton
*result
;
12379 char *kwnames
[] = {
12383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12385 if (!wxPyCheckForApp()) SWIG_fail
;
12386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12387 result
= (wxSpinButton
*)new wxSpinButton();
12389 wxPyEndAllowThreads(__tstate
);
12390 if (PyErr_Occurred()) SWIG_fail
;
12392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12399 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12400 PyObject
*resultobj
;
12401 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12402 wxWindow
*arg2
= (wxWindow
*) 0 ;
12403 int arg3
= (int) -1 ;
12404 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12405 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12406 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12407 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12408 long arg6
= (long) wxSP_HORIZONTAL
;
12409 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12410 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12414 bool temp7
= false ;
12415 PyObject
* obj0
= 0 ;
12416 PyObject
* obj1
= 0 ;
12417 PyObject
* obj2
= 0 ;
12418 PyObject
* obj3
= 0 ;
12419 PyObject
* obj4
= 0 ;
12420 PyObject
* obj5
= 0 ;
12421 PyObject
* obj6
= 0 ;
12422 char *kwnames
[] = {
12423 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12428 if (SWIG_arg_fail(1)) SWIG_fail
;
12429 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12430 if (SWIG_arg_fail(2)) SWIG_fail
;
12433 arg3
= (int)(SWIG_As_int(obj2
));
12434 if (SWIG_arg_fail(3)) SWIG_fail
;
12440 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12446 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12451 arg6
= (long)(SWIG_As_long(obj5
));
12452 if (SWIG_arg_fail(6)) SWIG_fail
;
12457 arg7
= wxString_in_helper(obj6
);
12458 if (arg7
== NULL
) SWIG_fail
;
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12466 wxPyEndAllowThreads(__tstate
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12486 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12487 PyObject
*resultobj
;
12488 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12490 PyObject
* obj0
= 0 ;
12491 char *kwnames
[] = {
12492 (char *) "self", NULL
12495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12497 if (SWIG_arg_fail(1)) SWIG_fail
;
12499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12500 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12502 wxPyEndAllowThreads(__tstate
);
12503 if (PyErr_Occurred()) SWIG_fail
;
12506 resultobj
= SWIG_From_int((int)(result
));
12514 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12515 PyObject
*resultobj
;
12516 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12518 PyObject
* obj0
= 0 ;
12519 char *kwnames
[] = {
12520 (char *) "self", NULL
12523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12525 if (SWIG_arg_fail(1)) SWIG_fail
;
12527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12528 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12530 wxPyEndAllowThreads(__tstate
);
12531 if (PyErr_Occurred()) SWIG_fail
;
12534 resultobj
= SWIG_From_int((int)(result
));
12542 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12543 PyObject
*resultobj
;
12544 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12546 PyObject
* obj0
= 0 ;
12547 char *kwnames
[] = {
12548 (char *) "self", NULL
12551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12553 if (SWIG_arg_fail(1)) SWIG_fail
;
12555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12556 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12558 wxPyEndAllowThreads(__tstate
);
12559 if (PyErr_Occurred()) SWIG_fail
;
12562 resultobj
= SWIG_From_int((int)(result
));
12570 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12571 PyObject
*resultobj
;
12572 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12574 PyObject
* obj0
= 0 ;
12575 PyObject
* obj1
= 0 ;
12576 char *kwnames
[] = {
12577 (char *) "self",(char *) "val", NULL
12580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12582 if (SWIG_arg_fail(1)) SWIG_fail
;
12584 arg2
= (int)(SWIG_As_int(obj1
));
12585 if (SWIG_arg_fail(2)) SWIG_fail
;
12588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12589 (arg1
)->SetValue(arg2
);
12591 wxPyEndAllowThreads(__tstate
);
12592 if (PyErr_Occurred()) SWIG_fail
;
12594 Py_INCREF(Py_None
); resultobj
= Py_None
;
12601 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12602 PyObject
*resultobj
;
12603 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12605 PyObject
* obj0
= 0 ;
12606 PyObject
* obj1
= 0 ;
12607 char *kwnames
[] = {
12608 (char *) "self",(char *) "minVal", NULL
12611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12613 if (SWIG_arg_fail(1)) SWIG_fail
;
12615 arg2
= (int)(SWIG_As_int(obj1
));
12616 if (SWIG_arg_fail(2)) SWIG_fail
;
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 (arg1
)->SetMin(arg2
);
12622 wxPyEndAllowThreads(__tstate
);
12623 if (PyErr_Occurred()) SWIG_fail
;
12625 Py_INCREF(Py_None
); resultobj
= Py_None
;
12632 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12633 PyObject
*resultobj
;
12634 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12636 PyObject
* obj0
= 0 ;
12637 PyObject
* obj1
= 0 ;
12638 char *kwnames
[] = {
12639 (char *) "self",(char *) "maxVal", NULL
12642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12644 if (SWIG_arg_fail(1)) SWIG_fail
;
12646 arg2
= (int)(SWIG_As_int(obj1
));
12647 if (SWIG_arg_fail(2)) SWIG_fail
;
12650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12651 (arg1
)->SetMax(arg2
);
12653 wxPyEndAllowThreads(__tstate
);
12654 if (PyErr_Occurred()) SWIG_fail
;
12656 Py_INCREF(Py_None
); resultobj
= Py_None
;
12663 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12664 PyObject
*resultobj
;
12665 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12668 PyObject
* obj0
= 0 ;
12669 PyObject
* obj1
= 0 ;
12670 PyObject
* obj2
= 0 ;
12671 char *kwnames
[] = {
12672 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12677 if (SWIG_arg_fail(1)) SWIG_fail
;
12679 arg2
= (int)(SWIG_As_int(obj1
));
12680 if (SWIG_arg_fail(2)) SWIG_fail
;
12683 arg3
= (int)(SWIG_As_int(obj2
));
12684 if (SWIG_arg_fail(3)) SWIG_fail
;
12687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12688 (arg1
)->SetRange(arg2
,arg3
);
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12693 Py_INCREF(Py_None
); resultobj
= Py_None
;
12700 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12701 PyObject
*resultobj
;
12702 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12704 PyObject
* obj0
= 0 ;
12705 char *kwnames
[] = {
12706 (char *) "self", NULL
12709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
12710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12711 if (SWIG_arg_fail(1)) SWIG_fail
;
12713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12714 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
12716 wxPyEndAllowThreads(__tstate
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12728 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12729 PyObject
*resultobj
;
12730 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12731 wxVisualAttributes result
;
12732 PyObject
* obj0
= 0 ;
12733 char *kwnames
[] = {
12734 (char *) "variant", NULL
12737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12740 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12741 if (SWIG_arg_fail(1)) SWIG_fail
;
12745 if (!wxPyCheckForApp()) SWIG_fail
;
12746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12747 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12749 wxPyEndAllowThreads(__tstate
);
12750 if (PyErr_Occurred()) SWIG_fail
;
12753 wxVisualAttributes
* resultptr
;
12754 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12755 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12763 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
12765 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12766 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
12768 return Py_BuildValue((char *)"");
12770 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12771 PyObject
*resultobj
;
12772 wxWindow
*arg1
= (wxWindow
*) 0 ;
12773 int arg2
= (int) -1 ;
12774 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12775 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12776 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12777 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12778 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12779 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12780 long arg6
= (long) wxSP_ARROW_KEYS
;
12781 int arg7
= (int) 0 ;
12782 int arg8
= (int) 100 ;
12783 int arg9
= (int) 0 ;
12784 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
12785 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12786 wxSpinCtrl
*result
;
12787 bool temp3
= false ;
12790 bool temp10
= false ;
12791 PyObject
* obj0
= 0 ;
12792 PyObject
* obj1
= 0 ;
12793 PyObject
* obj2
= 0 ;
12794 PyObject
* obj3
= 0 ;
12795 PyObject
* obj4
= 0 ;
12796 PyObject
* obj5
= 0 ;
12797 PyObject
* obj6
= 0 ;
12798 PyObject
* obj7
= 0 ;
12799 PyObject
* obj8
= 0 ;
12800 PyObject
* obj9
= 0 ;
12801 char *kwnames
[] = {
12802 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12807 if (SWIG_arg_fail(1)) SWIG_fail
;
12810 arg2
= (int)(SWIG_As_int(obj1
));
12811 if (SWIG_arg_fail(2)) SWIG_fail
;
12816 arg3
= wxString_in_helper(obj2
);
12817 if (arg3
== NULL
) SWIG_fail
;
12824 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12830 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12835 arg6
= (long)(SWIG_As_long(obj5
));
12836 if (SWIG_arg_fail(6)) SWIG_fail
;
12841 arg7
= (int)(SWIG_As_int(obj6
));
12842 if (SWIG_arg_fail(7)) SWIG_fail
;
12847 arg8
= (int)(SWIG_As_int(obj7
));
12848 if (SWIG_arg_fail(8)) SWIG_fail
;
12853 arg9
= (int)(SWIG_As_int(obj8
));
12854 if (SWIG_arg_fail(9)) SWIG_fail
;
12859 arg10
= wxString_in_helper(obj9
);
12860 if (arg10
== NULL
) SWIG_fail
;
12865 if (!wxPyCheckForApp()) SWIG_fail
;
12866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12867 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
12869 wxPyEndAllowThreads(__tstate
);
12870 if (PyErr_Occurred()) SWIG_fail
;
12872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12895 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12896 PyObject
*resultobj
;
12897 wxSpinCtrl
*result
;
12898 char *kwnames
[] = {
12902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
12904 if (!wxPyCheckForApp()) SWIG_fail
;
12905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12906 result
= (wxSpinCtrl
*)new wxSpinCtrl();
12908 wxPyEndAllowThreads(__tstate
);
12909 if (PyErr_Occurred()) SWIG_fail
;
12911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12918 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12919 PyObject
*resultobj
;
12920 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
12921 wxWindow
*arg2
= (wxWindow
*) 0 ;
12922 int arg3
= (int) -1 ;
12923 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12924 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12925 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12926 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12927 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12928 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12929 long arg7
= (long) wxSP_ARROW_KEYS
;
12930 int arg8
= (int) 0 ;
12931 int arg9
= (int) 100 ;
12932 int arg10
= (int) 0 ;
12933 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
12934 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12936 bool temp4
= false ;
12939 bool temp11
= false ;
12940 PyObject
* obj0
= 0 ;
12941 PyObject
* obj1
= 0 ;
12942 PyObject
* obj2
= 0 ;
12943 PyObject
* obj3
= 0 ;
12944 PyObject
* obj4
= 0 ;
12945 PyObject
* obj5
= 0 ;
12946 PyObject
* obj6
= 0 ;
12947 PyObject
* obj7
= 0 ;
12948 PyObject
* obj8
= 0 ;
12949 PyObject
* obj9
= 0 ;
12950 PyObject
* obj10
= 0 ;
12951 char *kwnames
[] = {
12952 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
12957 if (SWIG_arg_fail(1)) SWIG_fail
;
12958 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12959 if (SWIG_arg_fail(2)) SWIG_fail
;
12962 arg3
= (int)(SWIG_As_int(obj2
));
12963 if (SWIG_arg_fail(3)) SWIG_fail
;
12968 arg4
= wxString_in_helper(obj3
);
12969 if (arg4
== NULL
) SWIG_fail
;
12976 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12982 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12987 arg7
= (long)(SWIG_As_long(obj6
));
12988 if (SWIG_arg_fail(7)) SWIG_fail
;
12993 arg8
= (int)(SWIG_As_int(obj7
));
12994 if (SWIG_arg_fail(8)) SWIG_fail
;
12999 arg9
= (int)(SWIG_As_int(obj8
));
13000 if (SWIG_arg_fail(9)) SWIG_fail
;
13005 arg10
= (int)(SWIG_As_int(obj9
));
13006 if (SWIG_arg_fail(10)) SWIG_fail
;
13011 arg11
= wxString_in_helper(obj10
);
13012 if (arg11
== NULL
) SWIG_fail
;
13017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13018 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
13020 wxPyEndAllowThreads(__tstate
);
13021 if (PyErr_Occurred()) SWIG_fail
;
13024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13048 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13049 PyObject
*resultobj
;
13050 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13052 PyObject
* obj0
= 0 ;
13053 char *kwnames
[] = {
13054 (char *) "self", NULL
13057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
13058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13059 if (SWIG_arg_fail(1)) SWIG_fail
;
13061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13062 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
13064 wxPyEndAllowThreads(__tstate
);
13065 if (PyErr_Occurred()) SWIG_fail
;
13068 resultobj
= SWIG_From_int((int)(result
));
13076 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13077 PyObject
*resultobj
;
13078 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13080 PyObject
* obj0
= 0 ;
13081 PyObject
* obj1
= 0 ;
13082 char *kwnames
[] = {
13083 (char *) "self",(char *) "value", NULL
13086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13088 if (SWIG_arg_fail(1)) SWIG_fail
;
13090 arg2
= (int)(SWIG_As_int(obj1
));
13091 if (SWIG_arg_fail(2)) SWIG_fail
;
13094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13095 (arg1
)->SetValue(arg2
);
13097 wxPyEndAllowThreads(__tstate
);
13098 if (PyErr_Occurred()) SWIG_fail
;
13100 Py_INCREF(Py_None
); resultobj
= Py_None
;
13107 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13108 PyObject
*resultobj
;
13109 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13110 wxString
*arg2
= 0 ;
13111 bool temp2
= false ;
13112 PyObject
* obj0
= 0 ;
13113 PyObject
* obj1
= 0 ;
13114 char *kwnames
[] = {
13115 (char *) "self",(char *) "text", NULL
13118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
13119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13120 if (SWIG_arg_fail(1)) SWIG_fail
;
13122 arg2
= wxString_in_helper(obj1
);
13123 if (arg2
== NULL
) SWIG_fail
;
13127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13128 (arg1
)->SetValue((wxString
const &)*arg2
);
13130 wxPyEndAllowThreads(__tstate
);
13131 if (PyErr_Occurred()) SWIG_fail
;
13133 Py_INCREF(Py_None
); resultobj
= Py_None
;
13148 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13149 PyObject
*resultobj
;
13150 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13153 PyObject
* obj0
= 0 ;
13154 PyObject
* obj1
= 0 ;
13155 PyObject
* obj2
= 0 ;
13156 char *kwnames
[] = {
13157 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13162 if (SWIG_arg_fail(1)) SWIG_fail
;
13164 arg2
= (int)(SWIG_As_int(obj1
));
13165 if (SWIG_arg_fail(2)) SWIG_fail
;
13168 arg3
= (int)(SWIG_As_int(obj2
));
13169 if (SWIG_arg_fail(3)) SWIG_fail
;
13172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13173 (arg1
)->SetRange(arg2
,arg3
);
13175 wxPyEndAllowThreads(__tstate
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13178 Py_INCREF(Py_None
); resultobj
= Py_None
;
13185 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13186 PyObject
*resultobj
;
13187 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13189 PyObject
* obj0
= 0 ;
13190 char *kwnames
[] = {
13191 (char *) "self", NULL
13194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13196 if (SWIG_arg_fail(1)) SWIG_fail
;
13198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13199 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13201 wxPyEndAllowThreads(__tstate
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13205 resultobj
= SWIG_From_int((int)(result
));
13213 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13214 PyObject
*resultobj
;
13215 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13217 PyObject
* obj0
= 0 ;
13218 char *kwnames
[] = {
13219 (char *) "self", NULL
13222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
13223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13224 if (SWIG_arg_fail(1)) SWIG_fail
;
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13227 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13229 wxPyEndAllowThreads(__tstate
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13233 resultobj
= SWIG_From_int((int)(result
));
13241 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13242 PyObject
*resultobj
;
13243 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13246 PyObject
* obj0
= 0 ;
13247 PyObject
* obj1
= 0 ;
13248 PyObject
* obj2
= 0 ;
13249 char *kwnames
[] = {
13250 (char *) "self",(char *) "from",(char *) "to", NULL
13253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13255 if (SWIG_arg_fail(1)) SWIG_fail
;
13257 arg2
= (long)(SWIG_As_long(obj1
));
13258 if (SWIG_arg_fail(2)) SWIG_fail
;
13261 arg3
= (long)(SWIG_As_long(obj2
));
13262 if (SWIG_arg_fail(3)) SWIG_fail
;
13265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13266 (arg1
)->SetSelection(arg2
,arg3
);
13268 wxPyEndAllowThreads(__tstate
);
13269 if (PyErr_Occurred()) SWIG_fail
;
13271 Py_INCREF(Py_None
); resultobj
= Py_None
;
13278 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13279 PyObject
*resultobj
;
13280 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13281 wxVisualAttributes result
;
13282 PyObject
* obj0
= 0 ;
13283 char *kwnames
[] = {
13284 (char *) "variant", NULL
13287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13290 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
13291 if (SWIG_arg_fail(1)) SWIG_fail
;
13295 if (!wxPyCheckForApp()) SWIG_fail
;
13296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13299 wxPyEndAllowThreads(__tstate
);
13300 if (PyErr_Occurred()) SWIG_fail
;
13303 wxVisualAttributes
* resultptr
;
13304 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
13305 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13313 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13316 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13318 return Py_BuildValue((char *)"");
13320 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13321 PyObject
*resultobj
;
13322 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13323 int arg2
= (int) 0 ;
13324 wxSpinEvent
*result
;
13325 PyObject
* obj0
= 0 ;
13326 PyObject
* obj1
= 0 ;
13327 char *kwnames
[] = {
13328 (char *) "commandType",(char *) "winid", NULL
13331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13334 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13335 if (SWIG_arg_fail(1)) SWIG_fail
;
13340 arg2
= (int)(SWIG_As_int(obj1
));
13341 if (SWIG_arg_fail(2)) SWIG_fail
;
13345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13346 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13348 wxPyEndAllowThreads(__tstate
);
13349 if (PyErr_Occurred()) SWIG_fail
;
13351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13358 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13359 PyObject
*resultobj
;
13360 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13362 PyObject
* obj0
= 0 ;
13363 char *kwnames
[] = {
13364 (char *) "self", NULL
13367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13369 if (SWIG_arg_fail(1)) SWIG_fail
;
13371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13372 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13374 wxPyEndAllowThreads(__tstate
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13378 resultobj
= SWIG_From_int((int)(result
));
13386 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13387 PyObject
*resultobj
;
13388 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13390 PyObject
* obj0
= 0 ;
13391 PyObject
* obj1
= 0 ;
13392 char *kwnames
[] = {
13393 (char *) "self",(char *) "pos", NULL
13396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13398 if (SWIG_arg_fail(1)) SWIG_fail
;
13400 arg2
= (int)(SWIG_As_int(obj1
));
13401 if (SWIG_arg_fail(2)) SWIG_fail
;
13404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13405 (arg1
)->SetPosition(arg2
);
13407 wxPyEndAllowThreads(__tstate
);
13408 if (PyErr_Occurred()) SWIG_fail
;
13410 Py_INCREF(Py_None
); resultobj
= Py_None
;
13417 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13420 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13422 return Py_BuildValue((char *)"");
13424 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13425 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13430 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13435 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13437 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13444 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13445 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13450 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13455 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13457 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13464 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13465 PyObject
*resultobj
;
13466 wxWindow
*arg1
= (wxWindow
*) 0 ;
13467 int arg2
= (int) -1 ;
13468 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13469 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13470 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13471 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13472 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13473 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13474 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13475 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13476 int arg7
= (int) 0 ;
13477 long arg8
= (long) wxRA_HORIZONTAL
;
13478 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13479 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13480 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13481 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13482 wxRadioBox
*result
;
13483 bool temp3
= false ;
13486 bool temp6
= false ;
13487 bool temp10
= false ;
13488 PyObject
* obj0
= 0 ;
13489 PyObject
* obj1
= 0 ;
13490 PyObject
* obj2
= 0 ;
13491 PyObject
* obj3
= 0 ;
13492 PyObject
* obj4
= 0 ;
13493 PyObject
* obj5
= 0 ;
13494 PyObject
* obj6
= 0 ;
13495 PyObject
* obj7
= 0 ;
13496 PyObject
* obj8
= 0 ;
13497 PyObject
* obj9
= 0 ;
13498 char *kwnames
[] = {
13499 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13504 if (SWIG_arg_fail(1)) SWIG_fail
;
13507 arg2
= (int)(SWIG_As_int(obj1
));
13508 if (SWIG_arg_fail(2)) SWIG_fail
;
13513 arg3
= wxString_in_helper(obj2
);
13514 if (arg3
== NULL
) SWIG_fail
;
13521 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13527 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13532 if (! PySequence_Check(obj5
)) {
13533 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13536 arg6
= new wxArrayString
;
13538 int i
, len
=PySequence_Length(obj5
);
13539 for (i
=0; i
<len
; i
++) {
13540 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13542 PyObject
* str
= PyObject_Unicode(item
);
13544 PyObject
* str
= PyObject_Str(item
);
13546 if (PyErr_Occurred()) SWIG_fail
;
13547 arg6
->Add(Py2wxString(str
));
13555 arg7
= (int)(SWIG_As_int(obj6
));
13556 if (SWIG_arg_fail(7)) SWIG_fail
;
13561 arg8
= (long)(SWIG_As_long(obj7
));
13562 if (SWIG_arg_fail(8)) SWIG_fail
;
13567 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13568 if (SWIG_arg_fail(9)) SWIG_fail
;
13569 if (arg9
== NULL
) {
13570 SWIG_null_ref("wxValidator");
13572 if (SWIG_arg_fail(9)) SWIG_fail
;
13577 arg10
= wxString_in_helper(obj9
);
13578 if (arg10
== NULL
) SWIG_fail
;
13583 if (!wxPyCheckForApp()) SWIG_fail
;
13584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13585 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
);
13587 wxPyEndAllowThreads(__tstate
);
13588 if (PyErr_Occurred()) SWIG_fail
;
13590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13596 if (temp6
) delete arg6
;
13609 if (temp6
) delete arg6
;
13619 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13620 PyObject
*resultobj
;
13621 wxRadioBox
*result
;
13622 char *kwnames
[] = {
13626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
13628 if (!wxPyCheckForApp()) SWIG_fail
;
13629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13630 result
= (wxRadioBox
*)new wxRadioBox();
13632 wxPyEndAllowThreads(__tstate
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13642 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13643 PyObject
*resultobj
;
13644 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13645 wxWindow
*arg2
= (wxWindow
*) 0 ;
13646 int arg3
= (int) -1 ;
13647 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13648 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13649 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13650 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13651 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13652 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13653 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
13654 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
13655 int arg8
= (int) 0 ;
13656 long arg9
= (long) wxRA_HORIZONTAL
;
13657 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13658 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13659 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
13660 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13662 bool temp4
= false ;
13665 bool temp7
= false ;
13666 bool temp11
= false ;
13667 PyObject
* obj0
= 0 ;
13668 PyObject
* obj1
= 0 ;
13669 PyObject
* obj2
= 0 ;
13670 PyObject
* obj3
= 0 ;
13671 PyObject
* obj4
= 0 ;
13672 PyObject
* obj5
= 0 ;
13673 PyObject
* obj6
= 0 ;
13674 PyObject
* obj7
= 0 ;
13675 PyObject
* obj8
= 0 ;
13676 PyObject
* obj9
= 0 ;
13677 PyObject
* obj10
= 0 ;
13678 char *kwnames
[] = {
13679 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13684 if (SWIG_arg_fail(1)) SWIG_fail
;
13685 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13686 if (SWIG_arg_fail(2)) SWIG_fail
;
13689 arg3
= (int)(SWIG_As_int(obj2
));
13690 if (SWIG_arg_fail(3)) SWIG_fail
;
13695 arg4
= wxString_in_helper(obj3
);
13696 if (arg4
== NULL
) SWIG_fail
;
13703 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13709 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13714 if (! PySequence_Check(obj6
)) {
13715 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13718 arg7
= new wxArrayString
;
13720 int i
, len
=PySequence_Length(obj6
);
13721 for (i
=0; i
<len
; i
++) {
13722 PyObject
* item
= PySequence_GetItem(obj6
, i
);
13724 PyObject
* str
= PyObject_Unicode(item
);
13726 PyObject
* str
= PyObject_Str(item
);
13728 if (PyErr_Occurred()) SWIG_fail
;
13729 arg7
->Add(Py2wxString(str
));
13737 arg8
= (int)(SWIG_As_int(obj7
));
13738 if (SWIG_arg_fail(8)) SWIG_fail
;
13743 arg9
= (long)(SWIG_As_long(obj8
));
13744 if (SWIG_arg_fail(9)) SWIG_fail
;
13749 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13750 if (SWIG_arg_fail(10)) SWIG_fail
;
13751 if (arg10
== NULL
) {
13752 SWIG_null_ref("wxValidator");
13754 if (SWIG_arg_fail(10)) SWIG_fail
;
13759 arg11
= wxString_in_helper(obj10
);
13760 if (arg11
== NULL
) SWIG_fail
;
13765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13766 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
);
13768 wxPyEndAllowThreads(__tstate
);
13769 if (PyErr_Occurred()) SWIG_fail
;
13772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13779 if (temp7
) delete arg7
;
13792 if (temp7
) delete arg7
;
13802 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13803 PyObject
*resultobj
;
13804 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13806 PyObject
* obj0
= 0 ;
13807 PyObject
* obj1
= 0 ;
13808 char *kwnames
[] = {
13809 (char *) "self",(char *) "n", NULL
13812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13814 if (SWIG_arg_fail(1)) SWIG_fail
;
13816 arg2
= (int)(SWIG_As_int(obj1
));
13817 if (SWIG_arg_fail(2)) SWIG_fail
;
13820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13821 (arg1
)->SetSelection(arg2
);
13823 wxPyEndAllowThreads(__tstate
);
13824 if (PyErr_Occurred()) SWIG_fail
;
13826 Py_INCREF(Py_None
); resultobj
= Py_None
;
13833 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13834 PyObject
*resultobj
;
13835 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13837 PyObject
* obj0
= 0 ;
13838 char *kwnames
[] = {
13839 (char *) "self", NULL
13842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
13843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13844 if (SWIG_arg_fail(1)) SWIG_fail
;
13846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13847 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
13849 wxPyEndAllowThreads(__tstate
);
13850 if (PyErr_Occurred()) SWIG_fail
;
13853 resultobj
= SWIG_From_int((int)(result
));
13861 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13862 PyObject
*resultobj
;
13863 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13865 PyObject
* obj0
= 0 ;
13866 char *kwnames
[] = {
13867 (char *) "self", NULL
13870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13872 if (SWIG_arg_fail(1)) SWIG_fail
;
13874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13875 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
13877 wxPyEndAllowThreads(__tstate
);
13878 if (PyErr_Occurred()) SWIG_fail
;
13882 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13884 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13893 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13894 PyObject
*resultobj
;
13895 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13896 wxString
*arg2
= 0 ;
13898 bool temp2
= false ;
13899 PyObject
* obj0
= 0 ;
13900 PyObject
* obj1
= 0 ;
13901 char *kwnames
[] = {
13902 (char *) "self",(char *) "s", NULL
13905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13907 if (SWIG_arg_fail(1)) SWIG_fail
;
13909 arg2
= wxString_in_helper(obj1
);
13910 if (arg2
== NULL
) SWIG_fail
;
13914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13915 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
13917 wxPyEndAllowThreads(__tstate
);
13918 if (PyErr_Occurred()) SWIG_fail
;
13921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13937 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13938 PyObject
*resultobj
;
13939 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13941 PyObject
* obj0
= 0 ;
13942 char *kwnames
[] = {
13943 (char *) "self", NULL
13946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
13947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13948 if (SWIG_arg_fail(1)) SWIG_fail
;
13950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13951 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
13953 wxPyEndAllowThreads(__tstate
);
13954 if (PyErr_Occurred()) SWIG_fail
;
13957 resultobj
= SWIG_From_int((int)(result
));
13965 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13966 PyObject
*resultobj
;
13967 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13968 wxString
*arg2
= 0 ;
13970 bool temp2
= false ;
13971 PyObject
* obj0
= 0 ;
13972 PyObject
* obj1
= 0 ;
13973 char *kwnames
[] = {
13974 (char *) "self",(char *) "s", NULL
13977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13979 if (SWIG_arg_fail(1)) SWIG_fail
;
13981 arg2
= wxString_in_helper(obj1
);
13982 if (arg2
== NULL
) SWIG_fail
;
13986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13987 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
13989 wxPyEndAllowThreads(__tstate
);
13990 if (PyErr_Occurred()) SWIG_fail
;
13993 resultobj
= SWIG_From_int((int)(result
));
14009 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14010 PyObject
*resultobj
;
14011 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14014 PyObject
* obj0
= 0 ;
14015 PyObject
* obj1
= 0 ;
14016 char *kwnames
[] = {
14017 (char *) "self",(char *) "n", NULL
14020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14022 if (SWIG_arg_fail(1)) SWIG_fail
;
14024 arg2
= (int)(SWIG_As_int(obj1
));
14025 if (SWIG_arg_fail(2)) SWIG_fail
;
14028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14029 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
14031 wxPyEndAllowThreads(__tstate
);
14032 if (PyErr_Occurred()) SWIG_fail
;
14036 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14038 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14047 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14048 PyObject
*resultobj
;
14049 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14051 wxString
*arg3
= 0 ;
14052 bool temp3
= false ;
14053 PyObject
* obj0
= 0 ;
14054 PyObject
* obj1
= 0 ;
14055 PyObject
* obj2
= 0 ;
14056 char *kwnames
[] = {
14057 (char *) "self",(char *) "n",(char *) "label", NULL
14060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14062 if (SWIG_arg_fail(1)) SWIG_fail
;
14064 arg2
= (int)(SWIG_As_int(obj1
));
14065 if (SWIG_arg_fail(2)) SWIG_fail
;
14068 arg3
= wxString_in_helper(obj2
);
14069 if (arg3
== NULL
) SWIG_fail
;
14073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14074 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
14076 wxPyEndAllowThreads(__tstate
);
14077 if (PyErr_Occurred()) SWIG_fail
;
14079 Py_INCREF(Py_None
); resultobj
= Py_None
;
14094 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14095 PyObject
*resultobj
;
14096 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14098 bool arg3
= (bool) true ;
14099 PyObject
* obj0
= 0 ;
14100 PyObject
* obj1
= 0 ;
14101 PyObject
* obj2
= 0 ;
14102 char *kwnames
[] = {
14103 (char *) "self",(char *) "n",(char *) "enable", NULL
14106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14108 if (SWIG_arg_fail(1)) SWIG_fail
;
14110 arg2
= (int)(SWIG_As_int(obj1
));
14111 if (SWIG_arg_fail(2)) SWIG_fail
;
14115 arg3
= (bool)(SWIG_As_bool(obj2
));
14116 if (SWIG_arg_fail(3)) SWIG_fail
;
14120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14121 (arg1
)->Enable(arg2
,arg3
);
14123 wxPyEndAllowThreads(__tstate
);
14124 if (PyErr_Occurred()) SWIG_fail
;
14126 Py_INCREF(Py_None
); resultobj
= Py_None
;
14133 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14134 PyObject
*resultobj
;
14135 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14137 bool arg3
= (bool) true ;
14138 PyObject
* obj0
= 0 ;
14139 PyObject
* obj1
= 0 ;
14140 PyObject
* obj2
= 0 ;
14141 char *kwnames
[] = {
14142 (char *) "self",(char *) "n",(char *) "show", NULL
14145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14147 if (SWIG_arg_fail(1)) SWIG_fail
;
14149 arg2
= (int)(SWIG_As_int(obj1
));
14150 if (SWIG_arg_fail(2)) SWIG_fail
;
14154 arg3
= (bool)(SWIG_As_bool(obj2
));
14155 if (SWIG_arg_fail(3)) SWIG_fail
;
14159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14160 (arg1
)->Show(arg2
,arg3
);
14162 wxPyEndAllowThreads(__tstate
);
14163 if (PyErr_Occurred()) SWIG_fail
;
14165 Py_INCREF(Py_None
); resultobj
= Py_None
;
14172 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14173 PyObject
*resultobj
;
14174 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14176 PyObject
* obj0
= 0 ;
14177 char *kwnames
[] = {
14178 (char *) "self", NULL
14181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14183 if (SWIG_arg_fail(1)) SWIG_fail
;
14185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14186 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
14188 wxPyEndAllowThreads(__tstate
);
14189 if (PyErr_Occurred()) SWIG_fail
;
14192 resultobj
= SWIG_From_int((int)(result
));
14200 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14201 PyObject
*resultobj
;
14202 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14204 PyObject
* obj0
= 0 ;
14205 char *kwnames
[] = {
14206 (char *) "self", NULL
14209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14211 if (SWIG_arg_fail(1)) SWIG_fail
;
14213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14214 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
14216 wxPyEndAllowThreads(__tstate
);
14217 if (PyErr_Occurred()) SWIG_fail
;
14220 resultobj
= SWIG_From_int((int)(result
));
14228 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14229 PyObject
*resultobj
;
14230 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14235 PyObject
* obj0
= 0 ;
14236 PyObject
* obj1
= 0 ;
14237 PyObject
* obj2
= 0 ;
14238 PyObject
* obj3
= 0 ;
14239 char *kwnames
[] = {
14240 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14245 if (SWIG_arg_fail(1)) SWIG_fail
;
14247 arg2
= (int)(SWIG_As_int(obj1
));
14248 if (SWIG_arg_fail(2)) SWIG_fail
;
14251 arg3
= (wxDirection
)(SWIG_As_int(obj2
));
14252 if (SWIG_arg_fail(3)) SWIG_fail
;
14255 arg4
= (long)(SWIG_As_long(obj3
));
14256 if (SWIG_arg_fail(4)) SWIG_fail
;
14259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14260 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
14262 wxPyEndAllowThreads(__tstate
);
14263 if (PyErr_Occurred()) SWIG_fail
;
14266 resultobj
= SWIG_From_int((int)(result
));
14274 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14275 PyObject
*resultobj
;
14276 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14277 wxVisualAttributes result
;
14278 PyObject
* obj0
= 0 ;
14279 char *kwnames
[] = {
14280 (char *) "variant", NULL
14283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14286 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14287 if (SWIG_arg_fail(1)) SWIG_fail
;
14291 if (!wxPyCheckForApp()) SWIG_fail
;
14292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14293 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14295 wxPyEndAllowThreads(__tstate
);
14296 if (PyErr_Occurred()) SWIG_fail
;
14299 wxVisualAttributes
* resultptr
;
14300 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14301 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14309 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14312 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14314 return Py_BuildValue((char *)"");
14316 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14317 PyObject
*resultobj
;
14318 wxWindow
*arg1
= (wxWindow
*) 0 ;
14319 int arg2
= (int) -1 ;
14320 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14321 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14322 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14323 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14324 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14325 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14326 long arg6
= (long) 0 ;
14327 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14328 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14329 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14330 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14331 wxRadioButton
*result
;
14332 bool temp3
= false ;
14335 bool temp8
= false ;
14336 PyObject
* obj0
= 0 ;
14337 PyObject
* obj1
= 0 ;
14338 PyObject
* obj2
= 0 ;
14339 PyObject
* obj3
= 0 ;
14340 PyObject
* obj4
= 0 ;
14341 PyObject
* obj5
= 0 ;
14342 PyObject
* obj6
= 0 ;
14343 PyObject
* obj7
= 0 ;
14344 char *kwnames
[] = {
14345 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14350 if (SWIG_arg_fail(1)) SWIG_fail
;
14353 arg2
= (int)(SWIG_As_int(obj1
));
14354 if (SWIG_arg_fail(2)) SWIG_fail
;
14359 arg3
= wxString_in_helper(obj2
);
14360 if (arg3
== NULL
) SWIG_fail
;
14367 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14373 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14378 arg6
= (long)(SWIG_As_long(obj5
));
14379 if (SWIG_arg_fail(6)) SWIG_fail
;
14384 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14385 if (SWIG_arg_fail(7)) SWIG_fail
;
14386 if (arg7
== NULL
) {
14387 SWIG_null_ref("wxValidator");
14389 if (SWIG_arg_fail(7)) SWIG_fail
;
14394 arg8
= wxString_in_helper(obj7
);
14395 if (arg8
== NULL
) SWIG_fail
;
14400 if (!wxPyCheckForApp()) SWIG_fail
;
14401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14402 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14404 wxPyEndAllowThreads(__tstate
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14430 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14431 PyObject
*resultobj
;
14432 wxRadioButton
*result
;
14433 char *kwnames
[] = {
14437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14439 if (!wxPyCheckForApp()) SWIG_fail
;
14440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14441 result
= (wxRadioButton
*)new wxRadioButton();
14443 wxPyEndAllowThreads(__tstate
);
14444 if (PyErr_Occurred()) SWIG_fail
;
14446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14453 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14454 PyObject
*resultobj
;
14455 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14456 wxWindow
*arg2
= (wxWindow
*) 0 ;
14457 int arg3
= (int) -1 ;
14458 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14459 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14460 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14461 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14462 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14463 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14464 long arg7
= (long) 0 ;
14465 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14466 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14467 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14468 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14470 bool temp4
= false ;
14473 bool temp9
= false ;
14474 PyObject
* obj0
= 0 ;
14475 PyObject
* obj1
= 0 ;
14476 PyObject
* obj2
= 0 ;
14477 PyObject
* obj3
= 0 ;
14478 PyObject
* obj4
= 0 ;
14479 PyObject
* obj5
= 0 ;
14480 PyObject
* obj6
= 0 ;
14481 PyObject
* obj7
= 0 ;
14482 PyObject
* obj8
= 0 ;
14483 char *kwnames
[] = {
14484 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14489 if (SWIG_arg_fail(1)) SWIG_fail
;
14490 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14491 if (SWIG_arg_fail(2)) SWIG_fail
;
14494 arg3
= (int)(SWIG_As_int(obj2
));
14495 if (SWIG_arg_fail(3)) SWIG_fail
;
14500 arg4
= wxString_in_helper(obj3
);
14501 if (arg4
== NULL
) SWIG_fail
;
14508 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14514 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14519 arg7
= (long)(SWIG_As_long(obj6
));
14520 if (SWIG_arg_fail(7)) SWIG_fail
;
14525 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14526 if (SWIG_arg_fail(8)) SWIG_fail
;
14527 if (arg8
== NULL
) {
14528 SWIG_null_ref("wxValidator");
14530 if (SWIG_arg_fail(8)) SWIG_fail
;
14535 arg9
= wxString_in_helper(obj8
);
14536 if (arg9
== NULL
) SWIG_fail
;
14541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14542 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14544 wxPyEndAllowThreads(__tstate
);
14545 if (PyErr_Occurred()) SWIG_fail
;
14548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14572 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14573 PyObject
*resultobj
;
14574 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14576 PyObject
* obj0
= 0 ;
14577 char *kwnames
[] = {
14578 (char *) "self", NULL
14581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14583 if (SWIG_arg_fail(1)) SWIG_fail
;
14585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14586 result
= (bool)(arg1
)->GetValue();
14588 wxPyEndAllowThreads(__tstate
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14600 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14601 PyObject
*resultobj
;
14602 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14604 PyObject
* obj0
= 0 ;
14605 PyObject
* obj1
= 0 ;
14606 char *kwnames
[] = {
14607 (char *) "self",(char *) "value", NULL
14610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14612 if (SWIG_arg_fail(1)) SWIG_fail
;
14614 arg2
= (bool)(SWIG_As_bool(obj1
));
14615 if (SWIG_arg_fail(2)) SWIG_fail
;
14618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14619 (arg1
)->SetValue(arg2
);
14621 wxPyEndAllowThreads(__tstate
);
14622 if (PyErr_Occurred()) SWIG_fail
;
14624 Py_INCREF(Py_None
); resultobj
= Py_None
;
14631 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14632 PyObject
*resultobj
;
14633 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14634 wxVisualAttributes result
;
14635 PyObject
* obj0
= 0 ;
14636 char *kwnames
[] = {
14637 (char *) "variant", NULL
14640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14643 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14644 if (SWIG_arg_fail(1)) SWIG_fail
;
14648 if (!wxPyCheckForApp()) SWIG_fail
;
14649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14650 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14652 wxPyEndAllowThreads(__tstate
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14656 wxVisualAttributes
* resultptr
;
14657 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14658 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14666 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
14668 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14669 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
14671 return Py_BuildValue((char *)"");
14673 static int _wrap_SliderNameStr_set(PyObject
*) {
14674 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
14679 static PyObject
*_wrap_SliderNameStr_get(void) {
14684 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14686 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14693 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14694 PyObject
*resultobj
;
14695 wxWindow
*arg1
= (wxWindow
*) 0 ;
14696 int arg2
= (int) -1 ;
14697 int arg3
= (int) 0 ;
14698 int arg4
= (int) 0 ;
14699 int arg5
= (int) 100 ;
14700 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14701 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14702 wxSize
const &arg7_defvalue
= wxDefaultSize
;
14703 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
14704 long arg8
= (long) wxSL_HORIZONTAL
;
14705 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
14706 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
14707 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
14708 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
14712 bool temp10
= false ;
14713 PyObject
* obj0
= 0 ;
14714 PyObject
* obj1
= 0 ;
14715 PyObject
* obj2
= 0 ;
14716 PyObject
* obj3
= 0 ;
14717 PyObject
* obj4
= 0 ;
14718 PyObject
* obj5
= 0 ;
14719 PyObject
* obj6
= 0 ;
14720 PyObject
* obj7
= 0 ;
14721 PyObject
* obj8
= 0 ;
14722 PyObject
* obj9
= 0 ;
14723 char *kwnames
[] = {
14724 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14729 if (SWIG_arg_fail(1)) SWIG_fail
;
14732 arg2
= (int)(SWIG_As_int(obj1
));
14733 if (SWIG_arg_fail(2)) SWIG_fail
;
14738 arg3
= (int)(SWIG_As_int(obj2
));
14739 if (SWIG_arg_fail(3)) SWIG_fail
;
14744 arg4
= (int)(SWIG_As_int(obj3
));
14745 if (SWIG_arg_fail(4)) SWIG_fail
;
14750 arg5
= (int)(SWIG_As_int(obj4
));
14751 if (SWIG_arg_fail(5)) SWIG_fail
;
14757 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14763 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
14768 arg8
= (long)(SWIG_As_long(obj7
));
14769 if (SWIG_arg_fail(8)) SWIG_fail
;
14774 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14775 if (SWIG_arg_fail(9)) SWIG_fail
;
14776 if (arg9
== NULL
) {
14777 SWIG_null_ref("wxValidator");
14779 if (SWIG_arg_fail(9)) SWIG_fail
;
14784 arg10
= wxString_in_helper(obj9
);
14785 if (arg10
== NULL
) SWIG_fail
;
14790 if (!wxPyCheckForApp()) SWIG_fail
;
14791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14792 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
14794 wxPyEndAllowThreads(__tstate
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14812 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14813 PyObject
*resultobj
;
14815 char *kwnames
[] = {
14819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
14821 if (!wxPyCheckForApp()) SWIG_fail
;
14822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14823 result
= (wxSlider
*)new wxSlider();
14825 wxPyEndAllowThreads(__tstate
);
14826 if (PyErr_Occurred()) SWIG_fail
;
14828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14835 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14836 PyObject
*resultobj
;
14837 wxSlider
*arg1
= (wxSlider
*) 0 ;
14838 wxWindow
*arg2
= (wxWindow
*) 0 ;
14839 int arg3
= (int) -1 ;
14840 int arg4
= (int) 0 ;
14841 int arg5
= (int) 0 ;
14842 int arg6
= (int) 100 ;
14843 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14844 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14845 wxSize
const &arg8_defvalue
= wxDefaultSize
;
14846 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
14847 long arg9
= (long) wxSL_HORIZONTAL
;
14848 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
14849 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
14850 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
14851 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
14855 bool temp11
= false ;
14856 PyObject
* obj0
= 0 ;
14857 PyObject
* obj1
= 0 ;
14858 PyObject
* obj2
= 0 ;
14859 PyObject
* obj3
= 0 ;
14860 PyObject
* obj4
= 0 ;
14861 PyObject
* obj5
= 0 ;
14862 PyObject
* obj6
= 0 ;
14863 PyObject
* obj7
= 0 ;
14864 PyObject
* obj8
= 0 ;
14865 PyObject
* obj9
= 0 ;
14866 PyObject
* obj10
= 0 ;
14867 char *kwnames
[] = {
14868 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
14872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14873 if (SWIG_arg_fail(1)) SWIG_fail
;
14874 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14875 if (SWIG_arg_fail(2)) SWIG_fail
;
14878 arg3
= (int)(SWIG_As_int(obj2
));
14879 if (SWIG_arg_fail(3)) SWIG_fail
;
14884 arg4
= (int)(SWIG_As_int(obj3
));
14885 if (SWIG_arg_fail(4)) SWIG_fail
;
14890 arg5
= (int)(SWIG_As_int(obj4
));
14891 if (SWIG_arg_fail(5)) SWIG_fail
;
14896 arg6
= (int)(SWIG_As_int(obj5
));
14897 if (SWIG_arg_fail(6)) SWIG_fail
;
14903 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14909 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
14914 arg9
= (long)(SWIG_As_long(obj8
));
14915 if (SWIG_arg_fail(9)) SWIG_fail
;
14920 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14921 if (SWIG_arg_fail(10)) SWIG_fail
;
14922 if (arg10
== NULL
) {
14923 SWIG_null_ref("wxValidator");
14925 if (SWIG_arg_fail(10)) SWIG_fail
;
14930 arg11
= wxString_in_helper(obj10
);
14931 if (arg11
== NULL
) SWIG_fail
;
14936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14937 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14959 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14960 PyObject
*resultobj
;
14961 wxSlider
*arg1
= (wxSlider
*) 0 ;
14963 PyObject
* obj0
= 0 ;
14964 char *kwnames
[] = {
14965 (char *) "self", NULL
14968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
14969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14970 if (SWIG_arg_fail(1)) SWIG_fail
;
14972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14973 result
= (int)((wxSlider
const *)arg1
)->GetValue();
14975 wxPyEndAllowThreads(__tstate
);
14976 if (PyErr_Occurred()) SWIG_fail
;
14979 resultobj
= SWIG_From_int((int)(result
));
14987 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14988 PyObject
*resultobj
;
14989 wxSlider
*arg1
= (wxSlider
*) 0 ;
14991 PyObject
* obj0
= 0 ;
14992 PyObject
* obj1
= 0 ;
14993 char *kwnames
[] = {
14994 (char *) "self",(char *) "value", NULL
14997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14999 if (SWIG_arg_fail(1)) SWIG_fail
;
15001 arg2
= (int)(SWIG_As_int(obj1
));
15002 if (SWIG_arg_fail(2)) SWIG_fail
;
15005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15006 (arg1
)->SetValue(arg2
);
15008 wxPyEndAllowThreads(__tstate
);
15009 if (PyErr_Occurred()) SWIG_fail
;
15011 Py_INCREF(Py_None
); resultobj
= Py_None
;
15018 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15019 PyObject
*resultobj
;
15020 wxSlider
*arg1
= (wxSlider
*) 0 ;
15023 PyObject
* obj0
= 0 ;
15024 PyObject
* obj1
= 0 ;
15025 PyObject
* obj2
= 0 ;
15026 char *kwnames
[] = {
15027 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15032 if (SWIG_arg_fail(1)) SWIG_fail
;
15034 arg2
= (int)(SWIG_As_int(obj1
));
15035 if (SWIG_arg_fail(2)) SWIG_fail
;
15038 arg3
= (int)(SWIG_As_int(obj2
));
15039 if (SWIG_arg_fail(3)) SWIG_fail
;
15042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15043 (arg1
)->SetRange(arg2
,arg3
);
15045 wxPyEndAllowThreads(__tstate
);
15046 if (PyErr_Occurred()) SWIG_fail
;
15048 Py_INCREF(Py_None
); resultobj
= Py_None
;
15055 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15056 PyObject
*resultobj
;
15057 wxSlider
*arg1
= (wxSlider
*) 0 ;
15059 PyObject
* obj0
= 0 ;
15060 char *kwnames
[] = {
15061 (char *) "self", NULL
15064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
15065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15066 if (SWIG_arg_fail(1)) SWIG_fail
;
15068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15069 result
= (int)((wxSlider
const *)arg1
)->GetMin();
15071 wxPyEndAllowThreads(__tstate
);
15072 if (PyErr_Occurred()) SWIG_fail
;
15075 resultobj
= SWIG_From_int((int)(result
));
15083 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15084 PyObject
*resultobj
;
15085 wxSlider
*arg1
= (wxSlider
*) 0 ;
15087 PyObject
* obj0
= 0 ;
15088 char *kwnames
[] = {
15089 (char *) "self", NULL
15092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15094 if (SWIG_arg_fail(1)) SWIG_fail
;
15096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15097 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15099 wxPyEndAllowThreads(__tstate
);
15100 if (PyErr_Occurred()) SWIG_fail
;
15103 resultobj
= SWIG_From_int((int)(result
));
15111 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15112 PyObject
*resultobj
;
15113 wxSlider
*arg1
= (wxSlider
*) 0 ;
15115 PyObject
* obj0
= 0 ;
15116 PyObject
* obj1
= 0 ;
15117 char *kwnames
[] = {
15118 (char *) "self",(char *) "minValue", NULL
15121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
15122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15123 if (SWIG_arg_fail(1)) SWIG_fail
;
15125 arg2
= (int)(SWIG_As_int(obj1
));
15126 if (SWIG_arg_fail(2)) SWIG_fail
;
15129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15130 (arg1
)->SetMin(arg2
);
15132 wxPyEndAllowThreads(__tstate
);
15133 if (PyErr_Occurred()) SWIG_fail
;
15135 Py_INCREF(Py_None
); resultobj
= Py_None
;
15142 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15143 PyObject
*resultobj
;
15144 wxSlider
*arg1
= (wxSlider
*) 0 ;
15146 PyObject
* obj0
= 0 ;
15147 PyObject
* obj1
= 0 ;
15148 char *kwnames
[] = {
15149 (char *) "self",(char *) "maxValue", NULL
15152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
15153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15154 if (SWIG_arg_fail(1)) SWIG_fail
;
15156 arg2
= (int)(SWIG_As_int(obj1
));
15157 if (SWIG_arg_fail(2)) SWIG_fail
;
15160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15161 (arg1
)->SetMax(arg2
);
15163 wxPyEndAllowThreads(__tstate
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15166 Py_INCREF(Py_None
); resultobj
= Py_None
;
15173 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15174 PyObject
*resultobj
;
15175 wxSlider
*arg1
= (wxSlider
*) 0 ;
15177 PyObject
* obj0
= 0 ;
15178 PyObject
* obj1
= 0 ;
15179 char *kwnames
[] = {
15180 (char *) "self",(char *) "lineSize", NULL
15183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15185 if (SWIG_arg_fail(1)) SWIG_fail
;
15187 arg2
= (int)(SWIG_As_int(obj1
));
15188 if (SWIG_arg_fail(2)) SWIG_fail
;
15191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15192 (arg1
)->SetLineSize(arg2
);
15194 wxPyEndAllowThreads(__tstate
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15197 Py_INCREF(Py_None
); resultobj
= Py_None
;
15204 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15205 PyObject
*resultobj
;
15206 wxSlider
*arg1
= (wxSlider
*) 0 ;
15208 PyObject
* obj0
= 0 ;
15209 PyObject
* obj1
= 0 ;
15210 char *kwnames
[] = {
15211 (char *) "self",(char *) "pageSize", NULL
15214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15216 if (SWIG_arg_fail(1)) SWIG_fail
;
15218 arg2
= (int)(SWIG_As_int(obj1
));
15219 if (SWIG_arg_fail(2)) SWIG_fail
;
15222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15223 (arg1
)->SetPageSize(arg2
);
15225 wxPyEndAllowThreads(__tstate
);
15226 if (PyErr_Occurred()) SWIG_fail
;
15228 Py_INCREF(Py_None
); resultobj
= Py_None
;
15235 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15236 PyObject
*resultobj
;
15237 wxSlider
*arg1
= (wxSlider
*) 0 ;
15239 PyObject
* obj0
= 0 ;
15240 char *kwnames
[] = {
15241 (char *) "self", NULL
15244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
15245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15246 if (SWIG_arg_fail(1)) SWIG_fail
;
15248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15249 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15251 wxPyEndAllowThreads(__tstate
);
15252 if (PyErr_Occurred()) SWIG_fail
;
15255 resultobj
= SWIG_From_int((int)(result
));
15263 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15264 PyObject
*resultobj
;
15265 wxSlider
*arg1
= (wxSlider
*) 0 ;
15267 PyObject
* obj0
= 0 ;
15268 char *kwnames
[] = {
15269 (char *) "self", NULL
15272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15274 if (SWIG_arg_fail(1)) SWIG_fail
;
15276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15277 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15279 wxPyEndAllowThreads(__tstate
);
15280 if (PyErr_Occurred()) SWIG_fail
;
15283 resultobj
= SWIG_From_int((int)(result
));
15291 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15292 PyObject
*resultobj
;
15293 wxSlider
*arg1
= (wxSlider
*) 0 ;
15295 PyObject
* obj0
= 0 ;
15296 PyObject
* obj1
= 0 ;
15297 char *kwnames
[] = {
15298 (char *) "self",(char *) "lenPixels", NULL
15301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15303 if (SWIG_arg_fail(1)) SWIG_fail
;
15305 arg2
= (int)(SWIG_As_int(obj1
));
15306 if (SWIG_arg_fail(2)) SWIG_fail
;
15309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15310 (arg1
)->SetThumbLength(arg2
);
15312 wxPyEndAllowThreads(__tstate
);
15313 if (PyErr_Occurred()) SWIG_fail
;
15315 Py_INCREF(Py_None
); resultobj
= Py_None
;
15322 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15323 PyObject
*resultobj
;
15324 wxSlider
*arg1
= (wxSlider
*) 0 ;
15326 PyObject
* obj0
= 0 ;
15327 char *kwnames
[] = {
15328 (char *) "self", NULL
15331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15333 if (SWIG_arg_fail(1)) SWIG_fail
;
15335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15336 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15342 resultobj
= SWIG_From_int((int)(result
));
15350 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15351 PyObject
*resultobj
;
15352 wxSlider
*arg1
= (wxSlider
*) 0 ;
15354 int arg3
= (int) 1 ;
15355 PyObject
* obj0
= 0 ;
15356 PyObject
* obj1
= 0 ;
15357 PyObject
* obj2
= 0 ;
15358 char *kwnames
[] = {
15359 (char *) "self",(char *) "n",(char *) "pos", NULL
15362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15364 if (SWIG_arg_fail(1)) SWIG_fail
;
15366 arg2
= (int)(SWIG_As_int(obj1
));
15367 if (SWIG_arg_fail(2)) SWIG_fail
;
15371 arg3
= (int)(SWIG_As_int(obj2
));
15372 if (SWIG_arg_fail(3)) SWIG_fail
;
15376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15377 (arg1
)->SetTickFreq(arg2
,arg3
);
15379 wxPyEndAllowThreads(__tstate
);
15380 if (PyErr_Occurred()) SWIG_fail
;
15382 Py_INCREF(Py_None
); resultobj
= Py_None
;
15389 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15390 PyObject
*resultobj
;
15391 wxSlider
*arg1
= (wxSlider
*) 0 ;
15393 PyObject
* obj0
= 0 ;
15394 char *kwnames
[] = {
15395 (char *) "self", NULL
15398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15400 if (SWIG_arg_fail(1)) SWIG_fail
;
15402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15403 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15405 wxPyEndAllowThreads(__tstate
);
15406 if (PyErr_Occurred()) SWIG_fail
;
15409 resultobj
= SWIG_From_int((int)(result
));
15417 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15418 PyObject
*resultobj
;
15419 wxSlider
*arg1
= (wxSlider
*) 0 ;
15420 PyObject
* obj0
= 0 ;
15421 char *kwnames
[] = {
15422 (char *) "self", NULL
15425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
15426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15427 if (SWIG_arg_fail(1)) SWIG_fail
;
15429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15430 (arg1
)->ClearTicks();
15432 wxPyEndAllowThreads(__tstate
);
15433 if (PyErr_Occurred()) SWIG_fail
;
15435 Py_INCREF(Py_None
); resultobj
= Py_None
;
15442 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15443 PyObject
*resultobj
;
15444 wxSlider
*arg1
= (wxSlider
*) 0 ;
15446 PyObject
* obj0
= 0 ;
15447 PyObject
* obj1
= 0 ;
15448 char *kwnames
[] = {
15449 (char *) "self",(char *) "tickPos", NULL
15452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
15453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15454 if (SWIG_arg_fail(1)) SWIG_fail
;
15456 arg2
= (int)(SWIG_As_int(obj1
));
15457 if (SWIG_arg_fail(2)) SWIG_fail
;
15460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15461 (arg1
)->SetTick(arg2
);
15463 wxPyEndAllowThreads(__tstate
);
15464 if (PyErr_Occurred()) SWIG_fail
;
15466 Py_INCREF(Py_None
); resultobj
= Py_None
;
15473 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15474 PyObject
*resultobj
;
15475 wxSlider
*arg1
= (wxSlider
*) 0 ;
15476 PyObject
* obj0
= 0 ;
15477 char *kwnames
[] = {
15478 (char *) "self", NULL
15481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15483 if (SWIG_arg_fail(1)) SWIG_fail
;
15485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15486 (arg1
)->ClearSel();
15488 wxPyEndAllowThreads(__tstate
);
15489 if (PyErr_Occurred()) SWIG_fail
;
15491 Py_INCREF(Py_None
); resultobj
= Py_None
;
15498 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15499 PyObject
*resultobj
;
15500 wxSlider
*arg1
= (wxSlider
*) 0 ;
15502 PyObject
* obj0
= 0 ;
15503 char *kwnames
[] = {
15504 (char *) "self", NULL
15507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15509 if (SWIG_arg_fail(1)) SWIG_fail
;
15511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15512 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15514 wxPyEndAllowThreads(__tstate
);
15515 if (PyErr_Occurred()) SWIG_fail
;
15518 resultobj
= SWIG_From_int((int)(result
));
15526 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15527 PyObject
*resultobj
;
15528 wxSlider
*arg1
= (wxSlider
*) 0 ;
15530 PyObject
* obj0
= 0 ;
15531 char *kwnames
[] = {
15532 (char *) "self", NULL
15535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15537 if (SWIG_arg_fail(1)) SWIG_fail
;
15539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15540 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15542 wxPyEndAllowThreads(__tstate
);
15543 if (PyErr_Occurred()) SWIG_fail
;
15546 resultobj
= SWIG_From_int((int)(result
));
15554 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15555 PyObject
*resultobj
;
15556 wxSlider
*arg1
= (wxSlider
*) 0 ;
15559 PyObject
* obj0
= 0 ;
15560 PyObject
* obj1
= 0 ;
15561 PyObject
* obj2
= 0 ;
15562 char *kwnames
[] = {
15563 (char *) "self",(char *) "min",(char *) "max", NULL
15566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15568 if (SWIG_arg_fail(1)) SWIG_fail
;
15570 arg2
= (int)(SWIG_As_int(obj1
));
15571 if (SWIG_arg_fail(2)) SWIG_fail
;
15574 arg3
= (int)(SWIG_As_int(obj2
));
15575 if (SWIG_arg_fail(3)) SWIG_fail
;
15578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15579 (arg1
)->SetSelection(arg2
,arg3
);
15581 wxPyEndAllowThreads(__tstate
);
15582 if (PyErr_Occurred()) SWIG_fail
;
15584 Py_INCREF(Py_None
); resultobj
= Py_None
;
15591 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15592 PyObject
*resultobj
;
15593 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15594 wxVisualAttributes result
;
15595 PyObject
* obj0
= 0 ;
15596 char *kwnames
[] = {
15597 (char *) "variant", NULL
15600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15603 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
15604 if (SWIG_arg_fail(1)) SWIG_fail
;
15608 if (!wxPyCheckForApp()) SWIG_fail
;
15609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15610 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15612 wxPyEndAllowThreads(__tstate
);
15613 if (PyErr_Occurred()) SWIG_fail
;
15616 wxVisualAttributes
* resultptr
;
15617 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
15618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15626 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
15628 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15629 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
15631 return Py_BuildValue((char *)"");
15633 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
15634 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
15639 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
15644 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15646 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15653 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15654 PyObject
*resultobj
;
15655 wxWindow
*arg1
= (wxWindow
*) 0 ;
15656 int arg2
= (int) -1 ;
15657 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15658 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15659 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15660 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15661 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15662 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15663 long arg6
= (long) 0 ;
15664 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15665 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15666 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
15667 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15668 wxToggleButton
*result
;
15669 bool temp3
= false ;
15672 bool temp8
= false ;
15673 PyObject
* obj0
= 0 ;
15674 PyObject
* obj1
= 0 ;
15675 PyObject
* obj2
= 0 ;
15676 PyObject
* obj3
= 0 ;
15677 PyObject
* obj4
= 0 ;
15678 PyObject
* obj5
= 0 ;
15679 PyObject
* obj6
= 0 ;
15680 PyObject
* obj7
= 0 ;
15681 char *kwnames
[] = {
15682 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15687 if (SWIG_arg_fail(1)) SWIG_fail
;
15690 arg2
= (int)(SWIG_As_int(obj1
));
15691 if (SWIG_arg_fail(2)) SWIG_fail
;
15696 arg3
= wxString_in_helper(obj2
);
15697 if (arg3
== NULL
) SWIG_fail
;
15704 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15710 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15715 arg6
= (long)(SWIG_As_long(obj5
));
15716 if (SWIG_arg_fail(6)) SWIG_fail
;
15721 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15722 if (SWIG_arg_fail(7)) SWIG_fail
;
15723 if (arg7
== NULL
) {
15724 SWIG_null_ref("wxValidator");
15726 if (SWIG_arg_fail(7)) SWIG_fail
;
15731 arg8
= wxString_in_helper(obj7
);
15732 if (arg8
== NULL
) SWIG_fail
;
15737 if (!wxPyCheckForApp()) SWIG_fail
;
15738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15739 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
15741 wxPyEndAllowThreads(__tstate
);
15742 if (PyErr_Occurred()) SWIG_fail
;
15744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15767 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15768 PyObject
*resultobj
;
15769 wxToggleButton
*result
;
15770 char *kwnames
[] = {
15774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
15776 if (!wxPyCheckForApp()) SWIG_fail
;
15777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15778 result
= (wxToggleButton
*)new wxToggleButton();
15780 wxPyEndAllowThreads(__tstate
);
15781 if (PyErr_Occurred()) SWIG_fail
;
15783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15790 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15791 PyObject
*resultobj
;
15792 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15793 wxWindow
*arg2
= (wxWindow
*) 0 ;
15794 int arg3
= (int) -1 ;
15795 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15796 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15797 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15798 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15799 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15800 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15801 long arg7
= (long) 0 ;
15802 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
15803 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
15804 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
15805 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15807 bool temp4
= false ;
15810 bool temp9
= false ;
15811 PyObject
* obj0
= 0 ;
15812 PyObject
* obj1
= 0 ;
15813 PyObject
* obj2
= 0 ;
15814 PyObject
* obj3
= 0 ;
15815 PyObject
* obj4
= 0 ;
15816 PyObject
* obj5
= 0 ;
15817 PyObject
* obj6
= 0 ;
15818 PyObject
* obj7
= 0 ;
15819 PyObject
* obj8
= 0 ;
15820 char *kwnames
[] = {
15821 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15826 if (SWIG_arg_fail(1)) SWIG_fail
;
15827 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15828 if (SWIG_arg_fail(2)) SWIG_fail
;
15831 arg3
= (int)(SWIG_As_int(obj2
));
15832 if (SWIG_arg_fail(3)) SWIG_fail
;
15837 arg4
= wxString_in_helper(obj3
);
15838 if (arg4
== NULL
) SWIG_fail
;
15845 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15851 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15856 arg7
= (long)(SWIG_As_long(obj6
));
15857 if (SWIG_arg_fail(7)) SWIG_fail
;
15862 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15863 if (SWIG_arg_fail(8)) SWIG_fail
;
15864 if (arg8
== NULL
) {
15865 SWIG_null_ref("wxValidator");
15867 if (SWIG_arg_fail(8)) SWIG_fail
;
15872 arg9
= wxString_in_helper(obj8
);
15873 if (arg9
== NULL
) SWIG_fail
;
15878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15879 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
15881 wxPyEndAllowThreads(__tstate
);
15882 if (PyErr_Occurred()) SWIG_fail
;
15885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15909 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15910 PyObject
*resultobj
;
15911 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15913 PyObject
* obj0
= 0 ;
15914 PyObject
* obj1
= 0 ;
15915 char *kwnames
[] = {
15916 (char *) "self",(char *) "value", NULL
15919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15921 if (SWIG_arg_fail(1)) SWIG_fail
;
15923 arg2
= (bool)(SWIG_As_bool(obj1
));
15924 if (SWIG_arg_fail(2)) SWIG_fail
;
15927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15928 (arg1
)->SetValue(arg2
);
15930 wxPyEndAllowThreads(__tstate
);
15931 if (PyErr_Occurred()) SWIG_fail
;
15933 Py_INCREF(Py_None
); resultobj
= Py_None
;
15940 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15941 PyObject
*resultobj
;
15942 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15944 PyObject
* obj0
= 0 ;
15945 char *kwnames
[] = {
15946 (char *) "self", NULL
15949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
15950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15951 if (SWIG_arg_fail(1)) SWIG_fail
;
15953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15954 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
15956 wxPyEndAllowThreads(__tstate
);
15957 if (PyErr_Occurred()) SWIG_fail
;
15960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15968 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15969 PyObject
*resultobj
;
15970 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15971 wxString
*arg2
= 0 ;
15972 bool temp2
= false ;
15973 PyObject
* obj0
= 0 ;
15974 PyObject
* obj1
= 0 ;
15975 char *kwnames
[] = {
15976 (char *) "self",(char *) "label", NULL
15979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15981 if (SWIG_arg_fail(1)) SWIG_fail
;
15983 arg2
= wxString_in_helper(obj1
);
15984 if (arg2
== NULL
) SWIG_fail
;
15988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15989 (arg1
)->SetLabel((wxString
const &)*arg2
);
15991 wxPyEndAllowThreads(__tstate
);
15992 if (PyErr_Occurred()) SWIG_fail
;
15994 Py_INCREF(Py_None
); resultobj
= Py_None
;
16009 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16010 PyObject
*resultobj
;
16011 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16012 wxVisualAttributes result
;
16013 PyObject
* obj0
= 0 ;
16014 char *kwnames
[] = {
16015 (char *) "variant", NULL
16018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16021 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16022 if (SWIG_arg_fail(1)) SWIG_fail
;
16026 if (!wxPyCheckForApp()) SWIG_fail
;
16027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16028 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16030 wxPyEndAllowThreads(__tstate
);
16031 if (PyErr_Occurred()) SWIG_fail
;
16034 wxVisualAttributes
* resultptr
;
16035 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16036 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16044 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
16046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16047 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
16049 return Py_BuildValue((char *)"");
16051 static int _wrap_NotebookNameStr_set(PyObject
*) {
16052 PyErr_SetString(PyExc_TypeError
,"Variable NotebookNameStr is read-only.");
16057 static PyObject
*_wrap_NotebookNameStr_get(void) {
16062 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16064 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16071 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16072 PyObject
*resultobj
;
16073 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16075 PyObject
* obj0
= 0 ;
16076 char *kwnames
[] = {
16077 (char *) "self", NULL
16080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
16081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16082 if (SWIG_arg_fail(1)) SWIG_fail
;
16084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16085 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16087 wxPyEndAllowThreads(__tstate
);
16088 if (PyErr_Occurred()) SWIG_fail
;
16091 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16099 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16100 PyObject
*resultobj
;
16101 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16104 PyObject
* obj0
= 0 ;
16105 PyObject
* obj1
= 0 ;
16106 char *kwnames
[] = {
16107 (char *) "self",(char *) "n", NULL
16110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16112 if (SWIG_arg_fail(1)) SWIG_fail
;
16114 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16115 if (SWIG_arg_fail(2)) SWIG_fail
;
16118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16119 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16121 wxPyEndAllowThreads(__tstate
);
16122 if (PyErr_Occurred()) SWIG_fail
;
16125 resultobj
= wxPyMake_wxObject(result
, 0);
16133 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16134 PyObject
*resultobj
;
16135 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16137 PyObject
* obj0
= 0 ;
16138 char *kwnames
[] = {
16139 (char *) "self", NULL
16142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16144 if (SWIG_arg_fail(1)) SWIG_fail
;
16146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16147 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16149 wxPyEndAllowThreads(__tstate
);
16150 if (PyErr_Occurred()) SWIG_fail
;
16153 resultobj
= wxPyMake_wxObject(result
, 0);
16161 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16162 PyObject
*resultobj
;
16163 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16165 PyObject
* obj0
= 0 ;
16166 char *kwnames
[] = {
16167 (char *) "self", NULL
16170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16172 if (SWIG_arg_fail(1)) SWIG_fail
;
16174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16175 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16177 wxPyEndAllowThreads(__tstate
);
16178 if (PyErr_Occurred()) SWIG_fail
;
16181 resultobj
= SWIG_From_int((int)(result
));
16189 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16190 PyObject
*resultobj
;
16191 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16193 wxString
*arg3
= 0 ;
16195 bool temp3
= false ;
16196 PyObject
* obj0
= 0 ;
16197 PyObject
* obj1
= 0 ;
16198 PyObject
* obj2
= 0 ;
16199 char *kwnames
[] = {
16200 (char *) "self",(char *) "n",(char *) "strText", NULL
16203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16205 if (SWIG_arg_fail(1)) SWIG_fail
;
16207 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16208 if (SWIG_arg_fail(2)) SWIG_fail
;
16211 arg3
= wxString_in_helper(obj2
);
16212 if (arg3
== NULL
) SWIG_fail
;
16216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16217 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16219 wxPyEndAllowThreads(__tstate
);
16220 if (PyErr_Occurred()) SWIG_fail
;
16223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16239 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16240 PyObject
*resultobj
;
16241 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16244 PyObject
* obj0
= 0 ;
16245 PyObject
* obj1
= 0 ;
16246 char *kwnames
[] = {
16247 (char *) "self",(char *) "n", NULL
16250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
16251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16252 if (SWIG_arg_fail(1)) SWIG_fail
;
16254 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16255 if (SWIG_arg_fail(2)) SWIG_fail
;
16258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16259 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16261 wxPyEndAllowThreads(__tstate
);
16262 if (PyErr_Occurred()) SWIG_fail
;
16266 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16268 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16277 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16278 PyObject
*resultobj
;
16279 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16280 wxImageList
*arg2
= (wxImageList
*) 0 ;
16281 PyObject
* obj0
= 0 ;
16282 PyObject
* obj1
= 0 ;
16283 char *kwnames
[] = {
16284 (char *) "self",(char *) "imageList", NULL
16287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",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
;
16290 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16291 if (SWIG_arg_fail(2)) SWIG_fail
;
16293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16294 (arg1
)->SetImageList(arg2
);
16296 wxPyEndAllowThreads(__tstate
);
16297 if (PyErr_Occurred()) SWIG_fail
;
16299 Py_INCREF(Py_None
); resultobj
= Py_None
;
16306 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16307 PyObject
*resultobj
;
16308 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16309 wxImageList
*arg2
= (wxImageList
*) 0 ;
16310 PyObject
* obj0
= 0 ;
16311 PyObject
* obj1
= 0 ;
16312 char *kwnames
[] = {
16313 (char *) "self",(char *) "imageList", NULL
16316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16318 if (SWIG_arg_fail(1)) SWIG_fail
;
16319 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16320 if (SWIG_arg_fail(2)) SWIG_fail
;
16322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16323 (arg1
)->AssignImageList(arg2
);
16325 wxPyEndAllowThreads(__tstate
);
16326 if (PyErr_Occurred()) SWIG_fail
;
16328 Py_INCREF(Py_None
); resultobj
= Py_None
;
16335 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16336 PyObject
*resultobj
;
16337 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16338 wxImageList
*result
;
16339 PyObject
* obj0
= 0 ;
16340 char *kwnames
[] = {
16341 (char *) "self", NULL
16344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16346 if (SWIG_arg_fail(1)) SWIG_fail
;
16348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16349 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16351 wxPyEndAllowThreads(__tstate
);
16352 if (PyErr_Occurred()) SWIG_fail
;
16355 resultobj
= wxPyMake_wxObject(result
, 0);
16363 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16364 PyObject
*resultobj
;
16365 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16368 PyObject
* obj0
= 0 ;
16369 PyObject
* obj1
= 0 ;
16370 char *kwnames
[] = {
16371 (char *) "self",(char *) "n", NULL
16374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16376 if (SWIG_arg_fail(1)) SWIG_fail
;
16378 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16379 if (SWIG_arg_fail(2)) SWIG_fail
;
16382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16383 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16385 wxPyEndAllowThreads(__tstate
);
16386 if (PyErr_Occurred()) SWIG_fail
;
16389 resultobj
= SWIG_From_int((int)(result
));
16397 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16398 PyObject
*resultobj
;
16399 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16403 PyObject
* obj0
= 0 ;
16404 PyObject
* obj1
= 0 ;
16405 PyObject
* obj2
= 0 ;
16406 char *kwnames
[] = {
16407 (char *) "self",(char *) "n",(char *) "imageId", NULL
16410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16412 if (SWIG_arg_fail(1)) SWIG_fail
;
16414 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16415 if (SWIG_arg_fail(2)) SWIG_fail
;
16418 arg3
= (int)(SWIG_As_int(obj2
));
16419 if (SWIG_arg_fail(3)) SWIG_fail
;
16422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16423 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16425 wxPyEndAllowThreads(__tstate
);
16426 if (PyErr_Occurred()) SWIG_fail
;
16429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16437 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16438 PyObject
*resultobj
;
16439 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16442 PyObject
* obj0
= 0 ;
16443 PyObject
* obj1
= 0 ;
16444 char *kwnames
[] = {
16445 (char *) "self",(char *) "size", NULL
16448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16450 if (SWIG_arg_fail(1)) SWIG_fail
;
16453 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16457 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16459 wxPyEndAllowThreads(__tstate
);
16460 if (PyErr_Occurred()) SWIG_fail
;
16462 Py_INCREF(Py_None
); resultobj
= Py_None
;
16469 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16470 PyObject
*resultobj
;
16471 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16475 PyObject
* obj0
= 0 ;
16476 PyObject
* obj1
= 0 ;
16477 char *kwnames
[] = {
16478 (char *) "self",(char *) "sizePage", NULL
16481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16483 if (SWIG_arg_fail(1)) SWIG_fail
;
16486 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16490 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16492 wxPyEndAllowThreads(__tstate
);
16493 if (PyErr_Occurred()) SWIG_fail
;
16496 wxSize
* resultptr
;
16497 resultptr
= new wxSize((wxSize
&)(result
));
16498 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16506 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16507 PyObject
*resultobj
;
16508 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16511 PyObject
* obj0
= 0 ;
16512 PyObject
* obj1
= 0 ;
16513 char *kwnames
[] = {
16514 (char *) "self",(char *) "n", NULL
16517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16519 if (SWIG_arg_fail(1)) SWIG_fail
;
16521 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16522 if (SWIG_arg_fail(2)) SWIG_fail
;
16525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16526 result
= (bool)(arg1
)->DeletePage(arg2
);
16528 wxPyEndAllowThreads(__tstate
);
16529 if (PyErr_Occurred()) SWIG_fail
;
16532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16540 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16541 PyObject
*resultobj
;
16542 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16545 PyObject
* obj0
= 0 ;
16546 PyObject
* obj1
= 0 ;
16547 char *kwnames
[] = {
16548 (char *) "self",(char *) "n", NULL
16551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16553 if (SWIG_arg_fail(1)) SWIG_fail
;
16555 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16556 if (SWIG_arg_fail(2)) SWIG_fail
;
16559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16560 result
= (bool)(arg1
)->RemovePage(arg2
);
16562 wxPyEndAllowThreads(__tstate
);
16563 if (PyErr_Occurred()) SWIG_fail
;
16566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16574 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16575 PyObject
*resultobj
;
16576 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16578 PyObject
* obj0
= 0 ;
16579 char *kwnames
[] = {
16580 (char *) "self", NULL
16583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16585 if (SWIG_arg_fail(1)) SWIG_fail
;
16587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16588 result
= (bool)(arg1
)->DeleteAllPages();
16590 wxPyEndAllowThreads(__tstate
);
16591 if (PyErr_Occurred()) SWIG_fail
;
16594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16602 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16603 PyObject
*resultobj
;
16604 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16605 wxWindow
*arg2
= (wxWindow
*) 0 ;
16606 wxString
*arg3
= 0 ;
16607 bool arg4
= (bool) false ;
16608 int arg5
= (int) -1 ;
16610 bool temp3
= false ;
16611 PyObject
* obj0
= 0 ;
16612 PyObject
* obj1
= 0 ;
16613 PyObject
* obj2
= 0 ;
16614 PyObject
* obj3
= 0 ;
16615 PyObject
* obj4
= 0 ;
16616 char *kwnames
[] = {
16617 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16622 if (SWIG_arg_fail(1)) SWIG_fail
;
16623 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16624 if (SWIG_arg_fail(2)) SWIG_fail
;
16626 arg3
= wxString_in_helper(obj2
);
16627 if (arg3
== NULL
) SWIG_fail
;
16632 arg4
= (bool)(SWIG_As_bool(obj3
));
16633 if (SWIG_arg_fail(4)) SWIG_fail
;
16638 arg5
= (int)(SWIG_As_int(obj4
));
16639 if (SWIG_arg_fail(5)) SWIG_fail
;
16643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16644 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
16646 wxPyEndAllowThreads(__tstate
);
16647 if (PyErr_Occurred()) SWIG_fail
;
16650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16666 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16667 PyObject
*resultobj
;
16668 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16670 wxWindow
*arg3
= (wxWindow
*) 0 ;
16671 wxString
*arg4
= 0 ;
16672 bool arg5
= (bool) false ;
16673 int arg6
= (int) -1 ;
16675 bool temp4
= false ;
16676 PyObject
* obj0
= 0 ;
16677 PyObject
* obj1
= 0 ;
16678 PyObject
* obj2
= 0 ;
16679 PyObject
* obj3
= 0 ;
16680 PyObject
* obj4
= 0 ;
16681 PyObject
* obj5
= 0 ;
16682 char *kwnames
[] = {
16683 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16688 if (SWIG_arg_fail(1)) SWIG_fail
;
16690 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16691 if (SWIG_arg_fail(2)) SWIG_fail
;
16693 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16694 if (SWIG_arg_fail(3)) SWIG_fail
;
16696 arg4
= wxString_in_helper(obj3
);
16697 if (arg4
== NULL
) SWIG_fail
;
16702 arg5
= (bool)(SWIG_As_bool(obj4
));
16703 if (SWIG_arg_fail(5)) SWIG_fail
;
16708 arg6
= (int)(SWIG_As_int(obj5
));
16709 if (SWIG_arg_fail(6)) SWIG_fail
;
16713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16714 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16716 wxPyEndAllowThreads(__tstate
);
16717 if (PyErr_Occurred()) SWIG_fail
;
16720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16736 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16737 PyObject
*resultobj
;
16738 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16741 PyObject
* obj0
= 0 ;
16742 PyObject
* obj1
= 0 ;
16743 char *kwnames
[] = {
16744 (char *) "self",(char *) "n", NULL
16747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16749 if (SWIG_arg_fail(1)) SWIG_fail
;
16751 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16752 if (SWIG_arg_fail(2)) SWIG_fail
;
16755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16756 result
= (int)(arg1
)->SetSelection(arg2
);
16758 wxPyEndAllowThreads(__tstate
);
16759 if (PyErr_Occurred()) SWIG_fail
;
16762 resultobj
= SWIG_From_int((int)(result
));
16770 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16771 PyObject
*resultobj
;
16772 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16773 bool arg2
= (bool) true ;
16774 PyObject
* obj0
= 0 ;
16775 PyObject
* obj1
= 0 ;
16776 char *kwnames
[] = {
16777 (char *) "self",(char *) "forward", NULL
16780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16782 if (SWIG_arg_fail(1)) SWIG_fail
;
16785 arg2
= (bool)(SWIG_As_bool(obj1
));
16786 if (SWIG_arg_fail(2)) SWIG_fail
;
16790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16791 (arg1
)->AdvanceSelection(arg2
);
16793 wxPyEndAllowThreads(__tstate
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16796 Py_INCREF(Py_None
); resultobj
= Py_None
;
16803 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16804 PyObject
*resultobj
;
16805 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16806 wxVisualAttributes result
;
16807 PyObject
* obj0
= 0 ;
16808 char *kwnames
[] = {
16809 (char *) "variant", NULL
16812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16815 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16816 if (SWIG_arg_fail(1)) SWIG_fail
;
16820 if (!wxPyCheckForApp()) SWIG_fail
;
16821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16822 result
= wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16824 wxPyEndAllowThreads(__tstate
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16828 wxVisualAttributes
* resultptr
;
16829 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16830 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16838 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
16840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16841 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
16843 return Py_BuildValue((char *)"");
16845 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16846 PyObject
*resultobj
;
16847 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16848 int arg2
= (int) 0 ;
16849 int arg3
= (int) -1 ;
16850 int arg4
= (int) -1 ;
16851 wxBookCtrlBaseEvent
*result
;
16852 PyObject
* obj0
= 0 ;
16853 PyObject
* obj1
= 0 ;
16854 PyObject
* obj2
= 0 ;
16855 PyObject
* obj3
= 0 ;
16856 char *kwnames
[] = {
16857 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16863 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16864 if (SWIG_arg_fail(1)) SWIG_fail
;
16869 arg2
= (int)(SWIG_As_int(obj1
));
16870 if (SWIG_arg_fail(2)) SWIG_fail
;
16875 arg3
= (int)(SWIG_As_int(obj2
));
16876 if (SWIG_arg_fail(3)) SWIG_fail
;
16881 arg4
= (int)(SWIG_As_int(obj3
));
16882 if (SWIG_arg_fail(4)) SWIG_fail
;
16886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16887 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
16889 wxPyEndAllowThreads(__tstate
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
16899 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16900 PyObject
*resultobj
;
16901 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16903 PyObject
* obj0
= 0 ;
16904 char *kwnames
[] = {
16905 (char *) "self", NULL
16908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
16909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16910 if (SWIG_arg_fail(1)) SWIG_fail
;
16912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16913 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
16915 wxPyEndAllowThreads(__tstate
);
16916 if (PyErr_Occurred()) SWIG_fail
;
16919 resultobj
= SWIG_From_int((int)(result
));
16927 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16928 PyObject
*resultobj
;
16929 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16931 PyObject
* obj0
= 0 ;
16932 PyObject
* obj1
= 0 ;
16933 char *kwnames
[] = {
16934 (char *) "self",(char *) "nSel", NULL
16937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16939 if (SWIG_arg_fail(1)) SWIG_fail
;
16941 arg2
= (int)(SWIG_As_int(obj1
));
16942 if (SWIG_arg_fail(2)) SWIG_fail
;
16945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16946 (arg1
)->SetSelection(arg2
);
16948 wxPyEndAllowThreads(__tstate
);
16949 if (PyErr_Occurred()) SWIG_fail
;
16951 Py_INCREF(Py_None
); resultobj
= Py_None
;
16958 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16959 PyObject
*resultobj
;
16960 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16962 PyObject
* obj0
= 0 ;
16963 char *kwnames
[] = {
16964 (char *) "self", NULL
16967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
16968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16969 if (SWIG_arg_fail(1)) SWIG_fail
;
16971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16972 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
16974 wxPyEndAllowThreads(__tstate
);
16975 if (PyErr_Occurred()) SWIG_fail
;
16978 resultobj
= SWIG_From_int((int)(result
));
16986 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16987 PyObject
*resultobj
;
16988 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16990 PyObject
* obj0
= 0 ;
16991 PyObject
* obj1
= 0 ;
16992 char *kwnames
[] = {
16993 (char *) "self",(char *) "nOldSel", NULL
16996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16998 if (SWIG_arg_fail(1)) SWIG_fail
;
17000 arg2
= (int)(SWIG_As_int(obj1
));
17001 if (SWIG_arg_fail(2)) SWIG_fail
;
17004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17005 (arg1
)->SetOldSelection(arg2
);
17007 wxPyEndAllowThreads(__tstate
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17010 Py_INCREF(Py_None
); resultobj
= Py_None
;
17017 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
17019 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17020 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
17022 return Py_BuildValue((char *)"");
17024 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17025 PyObject
*resultobj
;
17026 wxWindow
*arg1
= (wxWindow
*) 0 ;
17027 int arg2
= (int) -1 ;
17028 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17029 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17030 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17031 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17032 long arg5
= (long) 0 ;
17033 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
17034 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17035 wxNotebook
*result
;
17038 bool temp6
= false ;
17039 PyObject
* obj0
= 0 ;
17040 PyObject
* obj1
= 0 ;
17041 PyObject
* obj2
= 0 ;
17042 PyObject
* obj3
= 0 ;
17043 PyObject
* obj4
= 0 ;
17044 PyObject
* obj5
= 0 ;
17045 char *kwnames
[] = {
17046 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17051 if (SWIG_arg_fail(1)) SWIG_fail
;
17054 arg2
= (int)(SWIG_As_int(obj1
));
17055 if (SWIG_arg_fail(2)) SWIG_fail
;
17061 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17067 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17072 arg5
= (long)(SWIG_As_long(obj4
));
17073 if (SWIG_arg_fail(5)) SWIG_fail
;
17078 arg6
= wxString_in_helper(obj5
);
17079 if (arg6
== NULL
) SWIG_fail
;
17084 if (!wxPyCheckForApp()) SWIG_fail
;
17085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17086 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17088 wxPyEndAllowThreads(__tstate
);
17089 if (PyErr_Occurred()) SWIG_fail
;
17091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17106 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17107 PyObject
*resultobj
;
17108 wxNotebook
*result
;
17109 char *kwnames
[] = {
17113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17115 if (!wxPyCheckForApp()) SWIG_fail
;
17116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17117 result
= (wxNotebook
*)new wxNotebook();
17119 wxPyEndAllowThreads(__tstate
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17129 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17130 PyObject
*resultobj
;
17131 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17132 wxWindow
*arg2
= (wxWindow
*) 0 ;
17133 int arg3
= (int) -1 ;
17134 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17135 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17136 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17137 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17138 long arg6
= (long) 0 ;
17139 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
17140 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17144 bool temp7
= false ;
17145 PyObject
* obj0
= 0 ;
17146 PyObject
* obj1
= 0 ;
17147 PyObject
* obj2
= 0 ;
17148 PyObject
* obj3
= 0 ;
17149 PyObject
* obj4
= 0 ;
17150 PyObject
* obj5
= 0 ;
17151 PyObject
* obj6
= 0 ;
17152 char *kwnames
[] = {
17153 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17158 if (SWIG_arg_fail(1)) SWIG_fail
;
17159 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17160 if (SWIG_arg_fail(2)) SWIG_fail
;
17163 arg3
= (int)(SWIG_As_int(obj2
));
17164 if (SWIG_arg_fail(3)) SWIG_fail
;
17170 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17176 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17181 arg6
= (long)(SWIG_As_long(obj5
));
17182 if (SWIG_arg_fail(6)) SWIG_fail
;
17187 arg7
= wxString_in_helper(obj6
);
17188 if (arg7
== NULL
) SWIG_fail
;
17193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17194 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17196 wxPyEndAllowThreads(__tstate
);
17197 if (PyErr_Occurred()) SWIG_fail
;
17200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17216 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17217 PyObject
*resultobj
;
17218 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17220 PyObject
* obj0
= 0 ;
17221 char *kwnames
[] = {
17222 (char *) "self", NULL
17225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17227 if (SWIG_arg_fail(1)) SWIG_fail
;
17229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17230 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17232 wxPyEndAllowThreads(__tstate
);
17233 if (PyErr_Occurred()) SWIG_fail
;
17236 resultobj
= SWIG_From_int((int)(result
));
17244 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17245 PyObject
*resultobj
;
17246 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17249 PyObject
* obj0
= 0 ;
17250 PyObject
* obj1
= 0 ;
17251 char *kwnames
[] = {
17252 (char *) "self",(char *) "padding", NULL
17255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17257 if (SWIG_arg_fail(1)) SWIG_fail
;
17260 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17264 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17266 wxPyEndAllowThreads(__tstate
);
17267 if (PyErr_Occurred()) SWIG_fail
;
17269 Py_INCREF(Py_None
); resultobj
= Py_None
;
17276 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17277 PyObject
*resultobj
;
17278 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17281 PyObject
* obj0
= 0 ;
17282 PyObject
* obj1
= 0 ;
17283 char *kwnames
[] = {
17284 (char *) "self",(char *) "sz", NULL
17287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17289 if (SWIG_arg_fail(1)) SWIG_fail
;
17292 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17296 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17298 wxPyEndAllowThreads(__tstate
);
17299 if (PyErr_Occurred()) SWIG_fail
;
17301 Py_INCREF(Py_None
); resultobj
= Py_None
;
17308 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17309 PyObject
*resultobj
;
17310 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17311 wxPoint
*arg2
= 0 ;
17312 long *arg3
= (long *) 0 ;
17317 PyObject
* obj0
= 0 ;
17318 PyObject
* obj1
= 0 ;
17319 char *kwnames
[] = {
17320 (char *) "self",(char *) "pt", NULL
17323 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",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 ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17333 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17335 wxPyEndAllowThreads(__tstate
);
17336 if (PyErr_Occurred()) SWIG_fail
;
17339 resultobj
= SWIG_From_int((int)(result
));
17341 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17342 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17349 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17350 PyObject
*resultobj
;
17351 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17355 PyObject
* obj0
= 0 ;
17356 PyObject
* obj1
= 0 ;
17357 char *kwnames
[] = {
17358 (char *) "self",(char *) "sizePage", NULL
17361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",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 ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17376 wxSize
* resultptr
;
17377 resultptr
= new wxSize((wxSize
&)(result
));
17378 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17386 static PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17387 PyObject
*resultobj
;
17388 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17390 PyObject
* obj0
= 0 ;
17391 char *kwnames
[] = {
17392 (char *) "self", NULL
17395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames
,&obj0
)) goto fail
;
17396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17397 if (SWIG_arg_fail(1)) SWIG_fail
;
17399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17400 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
17402 wxPyEndAllowThreads(__tstate
);
17403 if (PyErr_Occurred()) SWIG_fail
;
17406 wxColour
* resultptr
;
17407 resultptr
= new wxColour((wxColour
&)(result
));
17408 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17416 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17417 PyObject
*resultobj
;
17418 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17419 wxVisualAttributes result
;
17420 PyObject
* obj0
= 0 ;
17421 char *kwnames
[] = {
17422 (char *) "variant", NULL
17425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17428 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
17429 if (SWIG_arg_fail(1)) SWIG_fail
;
17433 if (!wxPyCheckForApp()) SWIG_fail
;
17434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17435 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
17437 wxPyEndAllowThreads(__tstate
);
17438 if (PyErr_Occurred()) SWIG_fail
;
17441 wxVisualAttributes
* resultptr
;
17442 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
17443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17451 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17453 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17454 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17456 return Py_BuildValue((char *)"");
17458 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17459 PyObject
*resultobj
;
17460 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17461 int arg2
= (int) 0 ;
17462 int arg3
= (int) -1 ;
17463 int arg4
= (int) -1 ;
17464 wxNotebookEvent
*result
;
17465 PyObject
* obj0
= 0 ;
17466 PyObject
* obj1
= 0 ;
17467 PyObject
* obj2
= 0 ;
17468 PyObject
* obj3
= 0 ;
17469 char *kwnames
[] = {
17470 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17476 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17477 if (SWIG_arg_fail(1)) SWIG_fail
;
17482 arg2
= (int)(SWIG_As_int(obj1
));
17483 if (SWIG_arg_fail(2)) SWIG_fail
;
17488 arg3
= (int)(SWIG_As_int(obj2
));
17489 if (SWIG_arg_fail(3)) SWIG_fail
;
17494 arg4
= (int)(SWIG_As_int(obj3
));
17495 if (SWIG_arg_fail(4)) SWIG_fail
;
17499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17500 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17502 wxPyEndAllowThreads(__tstate
);
17503 if (PyErr_Occurred()) SWIG_fail
;
17505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17512 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17515 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17517 return Py_BuildValue((char *)"");
17519 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17520 PyObject
*resultobj
;
17521 wxWindow
*arg1
= (wxWindow
*) 0 ;
17522 int arg2
= (int) -1 ;
17523 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17524 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17525 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17526 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17527 long arg5
= (long) 0 ;
17528 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17529 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17530 wxListbook
*result
;
17533 bool temp6
= false ;
17534 PyObject
* obj0
= 0 ;
17535 PyObject
* obj1
= 0 ;
17536 PyObject
* obj2
= 0 ;
17537 PyObject
* obj3
= 0 ;
17538 PyObject
* obj4
= 0 ;
17539 PyObject
* obj5
= 0 ;
17540 char *kwnames
[] = {
17541 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17546 if (SWIG_arg_fail(1)) SWIG_fail
;
17549 arg2
= (int)(SWIG_As_int(obj1
));
17550 if (SWIG_arg_fail(2)) SWIG_fail
;
17556 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17562 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17567 arg5
= (long)(SWIG_As_long(obj4
));
17568 if (SWIG_arg_fail(5)) SWIG_fail
;
17573 arg6
= wxString_in_helper(obj5
);
17574 if (arg6
== NULL
) SWIG_fail
;
17579 if (!wxPyCheckForApp()) SWIG_fail
;
17580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17581 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17583 wxPyEndAllowThreads(__tstate
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17601 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17602 PyObject
*resultobj
;
17603 wxListbook
*result
;
17604 char *kwnames
[] = {
17608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
17610 if (!wxPyCheckForApp()) SWIG_fail
;
17611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17612 result
= (wxListbook
*)new wxListbook();
17614 wxPyEndAllowThreads(__tstate
);
17615 if (PyErr_Occurred()) SWIG_fail
;
17617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17624 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17625 PyObject
*resultobj
;
17626 wxListbook
*arg1
= (wxListbook
*) 0 ;
17627 wxWindow
*arg2
= (wxWindow
*) 0 ;
17628 int arg3
= (int) -1 ;
17629 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17630 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17631 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17632 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17633 long arg6
= (long) 0 ;
17634 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17635 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17639 bool temp7
= false ;
17640 PyObject
* obj0
= 0 ;
17641 PyObject
* obj1
= 0 ;
17642 PyObject
* obj2
= 0 ;
17643 PyObject
* obj3
= 0 ;
17644 PyObject
* obj4
= 0 ;
17645 PyObject
* obj5
= 0 ;
17646 PyObject
* obj6
= 0 ;
17647 char *kwnames
[] = {
17648 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17653 if (SWIG_arg_fail(1)) SWIG_fail
;
17654 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17655 if (SWIG_arg_fail(2)) SWIG_fail
;
17658 arg3
= (int)(SWIG_As_int(obj2
));
17659 if (SWIG_arg_fail(3)) SWIG_fail
;
17665 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17671 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17676 arg6
= (long)(SWIG_As_long(obj5
));
17677 if (SWIG_arg_fail(6)) SWIG_fail
;
17682 arg7
= wxString_in_helper(obj6
);
17683 if (arg7
== NULL
) SWIG_fail
;
17688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17689 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17691 wxPyEndAllowThreads(__tstate
);
17692 if (PyErr_Occurred()) SWIG_fail
;
17695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17711 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17712 PyObject
*resultobj
;
17713 wxListbook
*arg1
= (wxListbook
*) 0 ;
17715 PyObject
* obj0
= 0 ;
17716 char *kwnames
[] = {
17717 (char *) "self", NULL
17720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
17721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17722 if (SWIG_arg_fail(1)) SWIG_fail
;
17724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17725 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
17727 wxPyEndAllowThreads(__tstate
);
17728 if (PyErr_Occurred()) SWIG_fail
;
17731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17739 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17740 PyObject
*resultobj
;
17741 wxListbook
*arg1
= (wxListbook
*) 0 ;
17742 wxListView
*result
;
17743 PyObject
* obj0
= 0 ;
17744 char *kwnames
[] = {
17745 (char *) "self", NULL
17748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
17749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17750 if (SWIG_arg_fail(1)) SWIG_fail
;
17752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17753 result
= (wxListView
*)(arg1
)->GetListView();
17755 wxPyEndAllowThreads(__tstate
);
17756 if (PyErr_Occurred()) SWIG_fail
;
17758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
17765 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
17767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17768 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
17770 return Py_BuildValue((char *)"");
17772 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17773 PyObject
*resultobj
;
17774 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17775 int arg2
= (int) 0 ;
17776 int arg3
= (int) -1 ;
17777 int arg4
= (int) -1 ;
17778 wxListbookEvent
*result
;
17779 PyObject
* obj0
= 0 ;
17780 PyObject
* obj1
= 0 ;
17781 PyObject
* obj2
= 0 ;
17782 PyObject
* obj3
= 0 ;
17783 char *kwnames
[] = {
17784 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17790 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17791 if (SWIG_arg_fail(1)) SWIG_fail
;
17796 arg2
= (int)(SWIG_As_int(obj1
));
17797 if (SWIG_arg_fail(2)) SWIG_fail
;
17802 arg3
= (int)(SWIG_As_int(obj2
));
17803 if (SWIG_arg_fail(3)) SWIG_fail
;
17808 arg4
= (int)(SWIG_As_int(obj3
));
17809 if (SWIG_arg_fail(4)) SWIG_fail
;
17813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17814 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
17816 wxPyEndAllowThreads(__tstate
);
17817 if (PyErr_Occurred()) SWIG_fail
;
17819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
17826 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
17828 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17829 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
17831 return Py_BuildValue((char *)"");
17833 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17834 PyObject
*resultobj
;
17835 wxWindow
*arg1
= (wxWindow
*) 0 ;
17837 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17838 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17839 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17840 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17841 long arg5
= (long) 0 ;
17842 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17843 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17844 wxChoicebook
*result
;
17847 bool temp6
= false ;
17848 PyObject
* obj0
= 0 ;
17849 PyObject
* obj1
= 0 ;
17850 PyObject
* obj2
= 0 ;
17851 PyObject
* obj3
= 0 ;
17852 PyObject
* obj4
= 0 ;
17853 PyObject
* obj5
= 0 ;
17854 char *kwnames
[] = {
17855 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17860 if (SWIG_arg_fail(1)) SWIG_fail
;
17862 arg2
= (int)(SWIG_As_int(obj1
));
17863 if (SWIG_arg_fail(2)) SWIG_fail
;
17868 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17874 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17879 arg5
= (long)(SWIG_As_long(obj4
));
17880 if (SWIG_arg_fail(5)) SWIG_fail
;
17885 arg6
= wxString_in_helper(obj5
);
17886 if (arg6
== NULL
) SWIG_fail
;
17891 if (!wxPyCheckForApp()) SWIG_fail
;
17892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17893 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17895 wxPyEndAllowThreads(__tstate
);
17896 if (PyErr_Occurred()) SWIG_fail
;
17898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17913 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17914 PyObject
*resultobj
;
17915 wxChoicebook
*result
;
17916 char *kwnames
[] = {
17920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
17922 if (!wxPyCheckForApp()) SWIG_fail
;
17923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17924 result
= (wxChoicebook
*)new wxChoicebook();
17926 wxPyEndAllowThreads(__tstate
);
17927 if (PyErr_Occurred()) SWIG_fail
;
17929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17936 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17937 PyObject
*resultobj
;
17938 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
17939 wxWindow
*arg2
= (wxWindow
*) 0 ;
17941 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17942 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17943 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17944 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17945 long arg6
= (long) 0 ;
17946 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17947 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17951 bool temp7
= false ;
17952 PyObject
* obj0
= 0 ;
17953 PyObject
* obj1
= 0 ;
17954 PyObject
* obj2
= 0 ;
17955 PyObject
* obj3
= 0 ;
17956 PyObject
* obj4
= 0 ;
17957 PyObject
* obj5
= 0 ;
17958 PyObject
* obj6
= 0 ;
17959 char *kwnames
[] = {
17960 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
17965 if (SWIG_arg_fail(1)) SWIG_fail
;
17966 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17967 if (SWIG_arg_fail(2)) SWIG_fail
;
17969 arg3
= (int)(SWIG_As_int(obj2
));
17970 if (SWIG_arg_fail(3)) SWIG_fail
;
17975 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17981 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17986 arg6
= (long)(SWIG_As_long(obj5
));
17987 if (SWIG_arg_fail(6)) SWIG_fail
;
17992 arg7
= wxString_in_helper(obj6
);
17993 if (arg7
== NULL
) SWIG_fail
;
17998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17999 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18001 wxPyEndAllowThreads(__tstate
);
18002 if (PyErr_Occurred()) SWIG_fail
;
18005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18021 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18022 PyObject
*resultobj
;
18023 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18025 PyObject
* obj0
= 0 ;
18026 char *kwnames
[] = {
18027 (char *) "self", NULL
18030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
18031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18032 if (SWIG_arg_fail(1)) SWIG_fail
;
18034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18035 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
18037 wxPyEndAllowThreads(__tstate
);
18038 if (PyErr_Occurred()) SWIG_fail
;
18041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18049 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18050 PyObject
*resultobj
;
18051 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18053 PyObject
* obj0
= 0 ;
18054 char *kwnames
[] = {
18055 (char *) "self", NULL
18058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18060 if (SWIG_arg_fail(1)) SWIG_fail
;
18062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18063 result
= (bool)(arg1
)->DeleteAllPages();
18065 wxPyEndAllowThreads(__tstate
);
18066 if (PyErr_Occurred()) SWIG_fail
;
18069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18077 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18079 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18080 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18082 return Py_BuildValue((char *)"");
18084 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18085 PyObject
*resultobj
;
18086 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18087 int arg2
= (int) 0 ;
18088 int arg3
= (int) -1 ;
18089 int arg4
= (int) -1 ;
18090 wxChoicebookEvent
*result
;
18091 PyObject
* obj0
= 0 ;
18092 PyObject
* obj1
= 0 ;
18093 PyObject
* obj2
= 0 ;
18094 PyObject
* obj3
= 0 ;
18095 char *kwnames
[] = {
18096 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18102 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18103 if (SWIG_arg_fail(1)) SWIG_fail
;
18108 arg2
= (int)(SWIG_As_int(obj1
));
18109 if (SWIG_arg_fail(2)) SWIG_fail
;
18114 arg3
= (int)(SWIG_As_int(obj2
));
18115 if (SWIG_arg_fail(3)) SWIG_fail
;
18120 arg4
= (int)(SWIG_As_int(obj3
));
18121 if (SWIG_arg_fail(4)) SWIG_fail
;
18125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18126 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18128 wxPyEndAllowThreads(__tstate
);
18129 if (PyErr_Occurred()) SWIG_fail
;
18131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18138 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18141 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18143 return Py_BuildValue((char *)"");
18145 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18146 PyObject
*resultobj
;
18147 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18148 wxBookCtrlSizer
*result
;
18149 PyObject
* obj0
= 0 ;
18150 char *kwnames
[] = {
18151 (char *) "nb", NULL
18154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
18155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
18156 if (SWIG_arg_fail(1)) SWIG_fail
;
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
18171 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18172 PyObject
*resultobj
;
18173 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18174 PyObject
* obj0
= 0 ;
18175 char *kwnames
[] = {
18176 (char *) "self", NULL
18179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18181 if (SWIG_arg_fail(1)) SWIG_fail
;
18183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18184 (arg1
)->RecalcSizes();
18186 wxPyEndAllowThreads(__tstate
);
18187 if (PyErr_Occurred()) SWIG_fail
;
18189 Py_INCREF(Py_None
); resultobj
= Py_None
;
18196 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18197 PyObject
*resultobj
;
18198 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18200 PyObject
* obj0
= 0 ;
18201 char *kwnames
[] = {
18202 (char *) "self", NULL
18205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18207 if (SWIG_arg_fail(1)) SWIG_fail
;
18209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18210 result
= (arg1
)->CalcMin();
18212 wxPyEndAllowThreads(__tstate
);
18213 if (PyErr_Occurred()) SWIG_fail
;
18216 wxSize
* resultptr
;
18217 resultptr
= new wxSize((wxSize
&)(result
));
18218 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18226 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18227 PyObject
*resultobj
;
18228 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18229 wxBookCtrlBase
*result
;
18230 PyObject
* obj0
= 0 ;
18231 char *kwnames
[] = {
18232 (char *) "self", NULL
18235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
18236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18237 if (SWIG_arg_fail(1)) SWIG_fail
;
18239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18240 result
= (wxBookCtrlBase
*)(arg1
)->GetControl();
18242 wxPyEndAllowThreads(__tstate
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBase
, 0);
18252 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
18254 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18255 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
18257 return Py_BuildValue((char *)"");
18259 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18260 PyObject
*resultobj
;
18261 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
18262 wxNotebookSizer
*result
;
18263 PyObject
* obj0
= 0 ;
18264 char *kwnames
[] = {
18265 (char *) "nb", NULL
18268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
18269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
18270 if (SWIG_arg_fail(1)) SWIG_fail
;
18272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18273 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
18275 wxPyEndAllowThreads(__tstate
);
18276 if (PyErr_Occurred()) SWIG_fail
;
18278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
18285 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18286 PyObject
*resultobj
;
18287 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18288 PyObject
* obj0
= 0 ;
18289 char *kwnames
[] = {
18290 (char *) "self", NULL
18293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18295 if (SWIG_arg_fail(1)) SWIG_fail
;
18297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18298 (arg1
)->RecalcSizes();
18300 wxPyEndAllowThreads(__tstate
);
18301 if (PyErr_Occurred()) SWIG_fail
;
18303 Py_INCREF(Py_None
); resultobj
= Py_None
;
18310 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18311 PyObject
*resultobj
;
18312 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18314 PyObject
* obj0
= 0 ;
18315 char *kwnames
[] = {
18316 (char *) "self", NULL
18319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18321 if (SWIG_arg_fail(1)) SWIG_fail
;
18323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18324 result
= (arg1
)->CalcMin();
18326 wxPyEndAllowThreads(__tstate
);
18327 if (PyErr_Occurred()) SWIG_fail
;
18330 wxSize
* resultptr
;
18331 resultptr
= new wxSize((wxSize
&)(result
));
18332 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18340 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18341 PyObject
*resultobj
;
18342 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18343 wxNotebook
*result
;
18344 PyObject
* obj0
= 0 ;
18345 char *kwnames
[] = {
18346 (char *) "self", NULL
18349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
18350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18351 if (SWIG_arg_fail(1)) SWIG_fail
;
18353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18354 result
= (wxNotebook
*)(arg1
)->GetNotebook();
18356 wxPyEndAllowThreads(__tstate
);
18357 if (PyErr_Occurred()) SWIG_fail
;
18360 resultobj
= wxPyMake_wxObject(result
, 0);
18368 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
18370 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18371 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
18373 return Py_BuildValue((char *)"");
18375 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18376 PyObject
*resultobj
;
18377 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18379 PyObject
* obj0
= 0 ;
18380 char *kwnames
[] = {
18381 (char *) "self", NULL
18384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
18385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18386 if (SWIG_arg_fail(1)) SWIG_fail
;
18388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18389 result
= (int)(arg1
)->GetId();
18391 wxPyEndAllowThreads(__tstate
);
18392 if (PyErr_Occurred()) SWIG_fail
;
18395 resultobj
= SWIG_From_int((int)(result
));
18403 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18404 PyObject
*resultobj
;
18405 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18407 PyObject
* obj0
= 0 ;
18408 char *kwnames
[] = {
18409 (char *) "self", NULL
18412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
18413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18414 if (SWIG_arg_fail(1)) SWIG_fail
;
18416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18417 result
= (wxControl
*)(arg1
)->GetControl();
18419 wxPyEndAllowThreads(__tstate
);
18420 if (PyErr_Occurred()) SWIG_fail
;
18423 resultobj
= wxPyMake_wxObject(result
, 0);
18431 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18432 PyObject
*resultobj
;
18433 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18434 wxToolBarBase
*result
;
18435 PyObject
* obj0
= 0 ;
18436 char *kwnames
[] = {
18437 (char *) "self", NULL
18440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
18441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18442 if (SWIG_arg_fail(1)) SWIG_fail
;
18444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18445 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
18447 wxPyEndAllowThreads(__tstate
);
18448 if (PyErr_Occurred()) SWIG_fail
;
18451 resultobj
= wxPyMake_wxObject(result
, 0);
18459 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18460 PyObject
*resultobj
;
18461 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18463 PyObject
* obj0
= 0 ;
18464 char *kwnames
[] = {
18465 (char *) "self", NULL
18468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
18469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18470 if (SWIG_arg_fail(1)) SWIG_fail
;
18472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18473 result
= (int)(arg1
)->IsButton();
18475 wxPyEndAllowThreads(__tstate
);
18476 if (PyErr_Occurred()) SWIG_fail
;
18479 resultobj
= SWIG_From_int((int)(result
));
18487 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18488 PyObject
*resultobj
;
18489 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18491 PyObject
* obj0
= 0 ;
18492 char *kwnames
[] = {
18493 (char *) "self", NULL
18496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
18497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18498 if (SWIG_arg_fail(1)) SWIG_fail
;
18500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18501 result
= (int)(arg1
)->IsControl();
18503 wxPyEndAllowThreads(__tstate
);
18504 if (PyErr_Occurred()) SWIG_fail
;
18507 resultobj
= SWIG_From_int((int)(result
));
18515 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18516 PyObject
*resultobj
;
18517 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18519 PyObject
* obj0
= 0 ;
18520 char *kwnames
[] = {
18521 (char *) "self", NULL
18524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
18525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18526 if (SWIG_arg_fail(1)) SWIG_fail
;
18528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18529 result
= (int)(arg1
)->IsSeparator();
18531 wxPyEndAllowThreads(__tstate
);
18532 if (PyErr_Occurred()) SWIG_fail
;
18535 resultobj
= SWIG_From_int((int)(result
));
18543 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18544 PyObject
*resultobj
;
18545 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18547 PyObject
* obj0
= 0 ;
18548 char *kwnames
[] = {
18549 (char *) "self", NULL
18552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18554 if (SWIG_arg_fail(1)) SWIG_fail
;
18556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18557 result
= (int)(arg1
)->GetStyle();
18559 wxPyEndAllowThreads(__tstate
);
18560 if (PyErr_Occurred()) SWIG_fail
;
18563 resultobj
= SWIG_From_int((int)(result
));
18571 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18572 PyObject
*resultobj
;
18573 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18575 PyObject
* obj0
= 0 ;
18576 char *kwnames
[] = {
18577 (char *) "self", NULL
18580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
18581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18582 if (SWIG_arg_fail(1)) SWIG_fail
;
18584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18585 result
= (wxItemKind
)(arg1
)->GetKind();
18587 wxPyEndAllowThreads(__tstate
);
18588 if (PyErr_Occurred()) SWIG_fail
;
18590 resultobj
= SWIG_From_int((result
));
18597 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18598 PyObject
*resultobj
;
18599 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18601 PyObject
* obj0
= 0 ;
18602 char *kwnames
[] = {
18603 (char *) "self", NULL
18606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
18607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18608 if (SWIG_arg_fail(1)) SWIG_fail
;
18610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18611 result
= (bool)(arg1
)->IsEnabled();
18613 wxPyEndAllowThreads(__tstate
);
18614 if (PyErr_Occurred()) SWIG_fail
;
18617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18625 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18626 PyObject
*resultobj
;
18627 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18629 PyObject
* obj0
= 0 ;
18630 char *kwnames
[] = {
18631 (char *) "self", NULL
18634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
18635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18636 if (SWIG_arg_fail(1)) SWIG_fail
;
18638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 result
= (bool)(arg1
)->IsToggled();
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18653 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18654 PyObject
*resultobj
;
18655 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18657 PyObject
* obj0
= 0 ;
18658 char *kwnames
[] = {
18659 (char *) "self", NULL
18662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
18663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18664 if (SWIG_arg_fail(1)) SWIG_fail
;
18666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18667 result
= (bool)(arg1
)->CanBeToggled();
18669 wxPyEndAllowThreads(__tstate
);
18670 if (PyErr_Occurred()) SWIG_fail
;
18673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18681 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18682 PyObject
*resultobj
;
18683 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18685 PyObject
* obj0
= 0 ;
18686 char *kwnames
[] = {
18687 (char *) "self", NULL
18690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
18691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18692 if (SWIG_arg_fail(1)) SWIG_fail
;
18694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18696 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
18697 result
= (wxBitmap
*) &_result_ref
;
18700 wxPyEndAllowThreads(__tstate
);
18701 if (PyErr_Occurred()) SWIG_fail
;
18704 wxBitmap
* resultptr
= new wxBitmap(*result
);
18705 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18713 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18714 PyObject
*resultobj
;
18715 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18717 PyObject
* obj0
= 0 ;
18718 char *kwnames
[] = {
18719 (char *) "self", NULL
18722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
18723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18724 if (SWIG_arg_fail(1)) SWIG_fail
;
18726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18728 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
18729 result
= (wxBitmap
*) &_result_ref
;
18732 wxPyEndAllowThreads(__tstate
);
18733 if (PyErr_Occurred()) SWIG_fail
;
18736 wxBitmap
* resultptr
= new wxBitmap(*result
);
18737 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18745 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18746 PyObject
*resultobj
;
18747 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18749 PyObject
* obj0
= 0 ;
18750 char *kwnames
[] = {
18751 (char *) "self", NULL
18754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
18755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18756 if (SWIG_arg_fail(1)) SWIG_fail
;
18758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18759 result
= (arg1
)->GetBitmap();
18761 wxPyEndAllowThreads(__tstate
);
18762 if (PyErr_Occurred()) SWIG_fail
;
18765 wxBitmap
* resultptr
;
18766 resultptr
= new wxBitmap((wxBitmap
&)(result
));
18767 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18775 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18776 PyObject
*resultobj
;
18777 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18779 PyObject
* obj0
= 0 ;
18780 char *kwnames
[] = {
18781 (char *) "self", NULL
18784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
18785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18786 if (SWIG_arg_fail(1)) SWIG_fail
;
18788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18789 result
= (arg1
)->GetLabel();
18791 wxPyEndAllowThreads(__tstate
);
18792 if (PyErr_Occurred()) SWIG_fail
;
18796 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18798 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18807 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18808 PyObject
*resultobj
;
18809 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18811 PyObject
* obj0
= 0 ;
18812 char *kwnames
[] = {
18813 (char *) "self", NULL
18816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
18817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18818 if (SWIG_arg_fail(1)) SWIG_fail
;
18820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18821 result
= (arg1
)->GetShortHelp();
18823 wxPyEndAllowThreads(__tstate
);
18824 if (PyErr_Occurred()) SWIG_fail
;
18828 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18830 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18839 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18840 PyObject
*resultobj
;
18841 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18843 PyObject
* obj0
= 0 ;
18844 char *kwnames
[] = {
18845 (char *) "self", NULL
18848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
18849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18850 if (SWIG_arg_fail(1)) SWIG_fail
;
18852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18853 result
= (arg1
)->GetLongHelp();
18855 wxPyEndAllowThreads(__tstate
);
18856 if (PyErr_Occurred()) SWIG_fail
;
18860 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18862 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18871 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18872 PyObject
*resultobj
;
18873 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18876 PyObject
* obj0
= 0 ;
18877 PyObject
* obj1
= 0 ;
18878 char *kwnames
[] = {
18879 (char *) "self",(char *) "enable", NULL
18882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18884 if (SWIG_arg_fail(1)) SWIG_fail
;
18886 arg2
= (bool)(SWIG_As_bool(obj1
));
18887 if (SWIG_arg_fail(2)) SWIG_fail
;
18890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18891 result
= (bool)(arg1
)->Enable(arg2
);
18893 wxPyEndAllowThreads(__tstate
);
18894 if (PyErr_Occurred()) SWIG_fail
;
18897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18905 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18906 PyObject
*resultobj
;
18907 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18908 PyObject
* obj0
= 0 ;
18909 char *kwnames
[] = {
18910 (char *) "self", NULL
18913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
18914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18915 if (SWIG_arg_fail(1)) SWIG_fail
;
18917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18920 wxPyEndAllowThreads(__tstate
);
18921 if (PyErr_Occurred()) SWIG_fail
;
18923 Py_INCREF(Py_None
); resultobj
= Py_None
;
18930 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18931 PyObject
*resultobj
;
18932 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18935 PyObject
* obj0
= 0 ;
18936 PyObject
* obj1
= 0 ;
18937 char *kwnames
[] = {
18938 (char *) "self",(char *) "toggle", NULL
18941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
18942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18943 if (SWIG_arg_fail(1)) SWIG_fail
;
18945 arg2
= (bool)(SWIG_As_bool(obj1
));
18946 if (SWIG_arg_fail(2)) SWIG_fail
;
18949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18950 result
= (bool)(arg1
)->SetToggle(arg2
);
18952 wxPyEndAllowThreads(__tstate
);
18953 if (PyErr_Occurred()) SWIG_fail
;
18956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18964 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18965 PyObject
*resultobj
;
18966 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18967 wxString
*arg2
= 0 ;
18969 bool temp2
= false ;
18970 PyObject
* obj0
= 0 ;
18971 PyObject
* obj1
= 0 ;
18972 char *kwnames
[] = {
18973 (char *) "self",(char *) "help", NULL
18976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18978 if (SWIG_arg_fail(1)) SWIG_fail
;
18980 arg2
= wxString_in_helper(obj1
);
18981 if (arg2
== NULL
) SWIG_fail
;
18985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18986 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
18988 wxPyEndAllowThreads(__tstate
);
18989 if (PyErr_Occurred()) SWIG_fail
;
18992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19008 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19009 PyObject
*resultobj
;
19010 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19011 wxString
*arg2
= 0 ;
19013 bool temp2
= false ;
19014 PyObject
* obj0
= 0 ;
19015 PyObject
* obj1
= 0 ;
19016 char *kwnames
[] = {
19017 (char *) "self",(char *) "help", NULL
19020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19022 if (SWIG_arg_fail(1)) SWIG_fail
;
19024 arg2
= wxString_in_helper(obj1
);
19025 if (arg2
== NULL
) SWIG_fail
;
19029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19030 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
19032 wxPyEndAllowThreads(__tstate
);
19033 if (PyErr_Occurred()) SWIG_fail
;
19036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19052 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19053 PyObject
*resultobj
;
19054 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19055 wxBitmap
*arg2
= 0 ;
19056 PyObject
* obj0
= 0 ;
19057 PyObject
* obj1
= 0 ;
19058 char *kwnames
[] = {
19059 (char *) "self",(char *) "bmp", NULL
19062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19064 if (SWIG_arg_fail(1)) SWIG_fail
;
19066 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19067 if (SWIG_arg_fail(2)) SWIG_fail
;
19068 if (arg2
== NULL
) {
19069 SWIG_null_ref("wxBitmap");
19071 if (SWIG_arg_fail(2)) SWIG_fail
;
19074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19075 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
19077 wxPyEndAllowThreads(__tstate
);
19078 if (PyErr_Occurred()) SWIG_fail
;
19080 Py_INCREF(Py_None
); resultobj
= Py_None
;
19087 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19088 PyObject
*resultobj
;
19089 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19090 wxBitmap
*arg2
= 0 ;
19091 PyObject
* obj0
= 0 ;
19092 PyObject
* obj1
= 0 ;
19093 char *kwnames
[] = {
19094 (char *) "self",(char *) "bmp", NULL
19097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19099 if (SWIG_arg_fail(1)) SWIG_fail
;
19101 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19102 if (SWIG_arg_fail(2)) SWIG_fail
;
19103 if (arg2
== NULL
) {
19104 SWIG_null_ref("wxBitmap");
19106 if (SWIG_arg_fail(2)) SWIG_fail
;
19109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19110 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
19112 wxPyEndAllowThreads(__tstate
);
19113 if (PyErr_Occurred()) SWIG_fail
;
19115 Py_INCREF(Py_None
); resultobj
= Py_None
;
19122 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19123 PyObject
*resultobj
;
19124 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19125 wxString
*arg2
= 0 ;
19126 bool temp2
= false ;
19127 PyObject
* obj0
= 0 ;
19128 PyObject
* obj1
= 0 ;
19129 char *kwnames
[] = {
19130 (char *) "self",(char *) "label", NULL
19133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19135 if (SWIG_arg_fail(1)) SWIG_fail
;
19137 arg2
= wxString_in_helper(obj1
);
19138 if (arg2
== NULL
) SWIG_fail
;
19142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19143 (arg1
)->SetLabel((wxString
const &)*arg2
);
19145 wxPyEndAllowThreads(__tstate
);
19146 if (PyErr_Occurred()) SWIG_fail
;
19148 Py_INCREF(Py_None
); resultobj
= Py_None
;
19163 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19164 PyObject
*resultobj
;
19165 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19166 PyObject
* obj0
= 0 ;
19167 char *kwnames
[] = {
19168 (char *) "self", NULL
19171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
19172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19173 if (SWIG_arg_fail(1)) SWIG_fail
;
19175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19178 wxPyEndAllowThreads(__tstate
);
19179 if (PyErr_Occurred()) SWIG_fail
;
19181 Py_INCREF(Py_None
); resultobj
= Py_None
;
19188 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19189 PyObject
*resultobj
;
19190 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19191 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
19192 PyObject
* obj0
= 0 ;
19193 PyObject
* obj1
= 0 ;
19194 char *kwnames
[] = {
19195 (char *) "self",(char *) "tbar", NULL
19198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
19199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19200 if (SWIG_arg_fail(1)) SWIG_fail
;
19201 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19202 if (SWIG_arg_fail(2)) SWIG_fail
;
19204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19205 (arg1
)->Attach(arg2
);
19207 wxPyEndAllowThreads(__tstate
);
19208 if (PyErr_Occurred()) SWIG_fail
;
19210 Py_INCREF(Py_None
); resultobj
= Py_None
;
19217 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19218 PyObject
*resultobj
;
19219 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19221 PyObject
* obj0
= 0 ;
19222 char *kwnames
[] = {
19223 (char *) "self", NULL
19226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
19227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19228 if (SWIG_arg_fail(1)) SWIG_fail
;
19230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19231 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
19233 wxPyEndAllowThreads(__tstate
);
19234 if (PyErr_Occurred()) SWIG_fail
;
19236 resultobj
= result
;
19243 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19244 PyObject
*resultobj
;
19245 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19246 PyObject
*arg2
= (PyObject
*) 0 ;
19247 PyObject
* obj0
= 0 ;
19248 PyObject
* obj1
= 0 ;
19249 char *kwnames
[] = {
19250 (char *) "self",(char *) "clientData", NULL
19253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19255 if (SWIG_arg_fail(1)) SWIG_fail
;
19258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19259 wxToolBarToolBase_SetClientData(arg1
,arg2
);
19261 wxPyEndAllowThreads(__tstate
);
19262 if (PyErr_Occurred()) SWIG_fail
;
19264 Py_INCREF(Py_None
); resultobj
= Py_None
;
19271 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
19273 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19274 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
19276 return Py_BuildValue((char *)"");
19278 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19279 PyObject
*resultobj
;
19280 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19282 wxString
*arg3
= 0 ;
19283 wxBitmap
*arg4
= 0 ;
19284 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
19285 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
19286 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
19287 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19288 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19289 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19290 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19291 PyObject
*arg9
= (PyObject
*) NULL
;
19292 wxToolBarToolBase
*result
;
19293 bool temp3
= false ;
19294 bool temp7
= false ;
19295 bool temp8
= false ;
19296 PyObject
* obj0
= 0 ;
19297 PyObject
* obj1
= 0 ;
19298 PyObject
* obj2
= 0 ;
19299 PyObject
* obj3
= 0 ;
19300 PyObject
* obj4
= 0 ;
19301 PyObject
* obj5
= 0 ;
19302 PyObject
* obj6
= 0 ;
19303 PyObject
* obj7
= 0 ;
19304 PyObject
* obj8
= 0 ;
19305 char *kwnames
[] = {
19306 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
19310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19311 if (SWIG_arg_fail(1)) SWIG_fail
;
19313 arg2
= (int)(SWIG_As_int(obj1
));
19314 if (SWIG_arg_fail(2)) SWIG_fail
;
19317 arg3
= wxString_in_helper(obj2
);
19318 if (arg3
== NULL
) SWIG_fail
;
19322 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19323 if (SWIG_arg_fail(4)) SWIG_fail
;
19324 if (arg4
== NULL
) {
19325 SWIG_null_ref("wxBitmap");
19327 if (SWIG_arg_fail(4)) SWIG_fail
;
19331 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19332 if (SWIG_arg_fail(5)) SWIG_fail
;
19333 if (arg5
== NULL
) {
19334 SWIG_null_ref("wxBitmap");
19336 if (SWIG_arg_fail(5)) SWIG_fail
;
19341 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
19342 if (SWIG_arg_fail(6)) SWIG_fail
;
19347 arg7
= wxString_in_helper(obj6
);
19348 if (arg7
== NULL
) SWIG_fail
;
19354 arg8
= wxString_in_helper(obj7
);
19355 if (arg8
== NULL
) SWIG_fail
;
19363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19364 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
19366 wxPyEndAllowThreads(__tstate
);
19367 if (PyErr_Occurred()) SWIG_fail
;
19370 resultobj
= wxPyMake_wxObject(result
, 0);
19402 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19403 PyObject
*resultobj
;
19404 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19407 wxString
*arg4
= 0 ;
19408 wxBitmap
*arg5
= 0 ;
19409 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
19410 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
19411 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
19412 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19413 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19414 wxString
const &arg9_defvalue
= wxPyEmptyString
;
19415 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19416 PyObject
*arg10
= (PyObject
*) NULL
;
19417 wxToolBarToolBase
*result
;
19418 bool temp4
= false ;
19419 bool temp8
= false ;
19420 bool temp9
= false ;
19421 PyObject
* obj0
= 0 ;
19422 PyObject
* obj1
= 0 ;
19423 PyObject
* obj2
= 0 ;
19424 PyObject
* obj3
= 0 ;
19425 PyObject
* obj4
= 0 ;
19426 PyObject
* obj5
= 0 ;
19427 PyObject
* obj6
= 0 ;
19428 PyObject
* obj7
= 0 ;
19429 PyObject
* obj8
= 0 ;
19430 PyObject
* obj9
= 0 ;
19431 char *kwnames
[] = {
19432 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
19436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19437 if (SWIG_arg_fail(1)) SWIG_fail
;
19439 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19440 if (SWIG_arg_fail(2)) SWIG_fail
;
19443 arg3
= (int)(SWIG_As_int(obj2
));
19444 if (SWIG_arg_fail(3)) SWIG_fail
;
19447 arg4
= wxString_in_helper(obj3
);
19448 if (arg4
== NULL
) SWIG_fail
;
19452 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19453 if (SWIG_arg_fail(5)) SWIG_fail
;
19454 if (arg5
== NULL
) {
19455 SWIG_null_ref("wxBitmap");
19457 if (SWIG_arg_fail(5)) SWIG_fail
;
19461 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19462 if (SWIG_arg_fail(6)) SWIG_fail
;
19463 if (arg6
== NULL
) {
19464 SWIG_null_ref("wxBitmap");
19466 if (SWIG_arg_fail(6)) SWIG_fail
;
19471 arg7
= (wxItemKind
)(SWIG_As_int(obj6
));
19472 if (SWIG_arg_fail(7)) SWIG_fail
;
19477 arg8
= wxString_in_helper(obj7
);
19478 if (arg8
== NULL
) SWIG_fail
;
19484 arg9
= wxString_in_helper(obj8
);
19485 if (arg9
== NULL
) SWIG_fail
;
19493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19494 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
);
19496 wxPyEndAllowThreads(__tstate
);
19497 if (PyErr_Occurred()) SWIG_fail
;
19500 resultobj
= wxPyMake_wxObject(result
, 0);
19532 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19533 PyObject
*resultobj
;
19534 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19535 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
19536 wxToolBarToolBase
*result
;
19537 PyObject
* obj0
= 0 ;
19538 PyObject
* obj1
= 0 ;
19539 char *kwnames
[] = {
19540 (char *) "self",(char *) "tool", NULL
19543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19545 if (SWIG_arg_fail(1)) SWIG_fail
;
19546 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19547 if (SWIG_arg_fail(2)) SWIG_fail
;
19549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19550 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
19552 wxPyEndAllowThreads(__tstate
);
19553 if (PyErr_Occurred()) SWIG_fail
;
19556 resultobj
= wxPyMake_wxObject(result
, 0);
19564 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19565 PyObject
*resultobj
;
19566 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19568 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
19569 wxToolBarToolBase
*result
;
19570 PyObject
* obj0
= 0 ;
19571 PyObject
* obj1
= 0 ;
19572 PyObject
* obj2
= 0 ;
19573 char *kwnames
[] = {
19574 (char *) "self",(char *) "pos",(char *) "tool", NULL
19577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19579 if (SWIG_arg_fail(1)) SWIG_fail
;
19581 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19582 if (SWIG_arg_fail(2)) SWIG_fail
;
19584 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19585 if (SWIG_arg_fail(3)) SWIG_fail
;
19587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19588 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
19590 wxPyEndAllowThreads(__tstate
);
19591 if (PyErr_Occurred()) SWIG_fail
;
19594 resultobj
= wxPyMake_wxObject(result
, 0);
19602 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19603 PyObject
*resultobj
;
19604 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19605 wxControl
*arg2
= (wxControl
*) 0 ;
19606 wxToolBarToolBase
*result
;
19607 PyObject
* obj0
= 0 ;
19608 PyObject
* obj1
= 0 ;
19609 char *kwnames
[] = {
19610 (char *) "self",(char *) "control", NULL
19613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19615 if (SWIG_arg_fail(1)) SWIG_fail
;
19616 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19617 if (SWIG_arg_fail(2)) SWIG_fail
;
19619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19620 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
19622 wxPyEndAllowThreads(__tstate
);
19623 if (PyErr_Occurred()) SWIG_fail
;
19626 resultobj
= wxPyMake_wxObject(result
, 0);
19634 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19635 PyObject
*resultobj
;
19636 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19638 wxControl
*arg3
= (wxControl
*) 0 ;
19639 wxToolBarToolBase
*result
;
19640 PyObject
* obj0
= 0 ;
19641 PyObject
* obj1
= 0 ;
19642 PyObject
* obj2
= 0 ;
19643 char *kwnames
[] = {
19644 (char *) "self",(char *) "pos",(char *) "control", NULL
19647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19649 if (SWIG_arg_fail(1)) SWIG_fail
;
19651 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19652 if (SWIG_arg_fail(2)) SWIG_fail
;
19654 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19655 if (SWIG_arg_fail(3)) SWIG_fail
;
19657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19658 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
19660 wxPyEndAllowThreads(__tstate
);
19661 if (PyErr_Occurred()) SWIG_fail
;
19664 resultobj
= wxPyMake_wxObject(result
, 0);
19672 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19673 PyObject
*resultobj
;
19674 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19677 PyObject
* obj0
= 0 ;
19678 PyObject
* obj1
= 0 ;
19679 char *kwnames
[] = {
19680 (char *) "self",(char *) "id", NULL
19683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19685 if (SWIG_arg_fail(1)) SWIG_fail
;
19687 arg2
= (int)(SWIG_As_int(obj1
));
19688 if (SWIG_arg_fail(2)) SWIG_fail
;
19691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19692 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
19694 wxPyEndAllowThreads(__tstate
);
19695 if (PyErr_Occurred()) SWIG_fail
;
19698 resultobj
= wxPyMake_wxObject(result
, 0);
19706 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19707 PyObject
*resultobj
;
19708 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19709 wxToolBarToolBase
*result
;
19710 PyObject
* obj0
= 0 ;
19711 char *kwnames
[] = {
19712 (char *) "self", NULL
19715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
19716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19717 if (SWIG_arg_fail(1)) SWIG_fail
;
19719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19720 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
19722 wxPyEndAllowThreads(__tstate
);
19723 if (PyErr_Occurred()) SWIG_fail
;
19726 resultobj
= wxPyMake_wxObject(result
, 0);
19734 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19735 PyObject
*resultobj
;
19736 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19738 wxToolBarToolBase
*result
;
19739 PyObject
* obj0
= 0 ;
19740 PyObject
* obj1
= 0 ;
19741 char *kwnames
[] = {
19742 (char *) "self",(char *) "pos", NULL
19745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
19746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19747 if (SWIG_arg_fail(1)) SWIG_fail
;
19749 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19750 if (SWIG_arg_fail(2)) SWIG_fail
;
19753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19754 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
19756 wxPyEndAllowThreads(__tstate
);
19757 if (PyErr_Occurred()) SWIG_fail
;
19760 resultobj
= wxPyMake_wxObject(result
, 0);
19768 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19769 PyObject
*resultobj
;
19770 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19772 wxToolBarToolBase
*result
;
19773 PyObject
* obj0
= 0 ;
19774 PyObject
* obj1
= 0 ;
19775 char *kwnames
[] = {
19776 (char *) "self",(char *) "id", NULL
19779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19781 if (SWIG_arg_fail(1)) SWIG_fail
;
19783 arg2
= (int)(SWIG_As_int(obj1
));
19784 if (SWIG_arg_fail(2)) SWIG_fail
;
19787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19788 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
19790 wxPyEndAllowThreads(__tstate
);
19791 if (PyErr_Occurred()) SWIG_fail
;
19794 resultobj
= wxPyMake_wxObject(result
, 0);
19802 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19803 PyObject
*resultobj
;
19804 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19807 PyObject
* obj0
= 0 ;
19808 PyObject
* obj1
= 0 ;
19809 char *kwnames
[] = {
19810 (char *) "self",(char *) "pos", NULL
19813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
19814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19815 if (SWIG_arg_fail(1)) SWIG_fail
;
19817 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19818 if (SWIG_arg_fail(2)) SWIG_fail
;
19821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19822 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
19824 wxPyEndAllowThreads(__tstate
);
19825 if (PyErr_Occurred()) SWIG_fail
;
19828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19836 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19837 PyObject
*resultobj
;
19838 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19841 PyObject
* obj0
= 0 ;
19842 PyObject
* obj1
= 0 ;
19843 char *kwnames
[] = {
19844 (char *) "self",(char *) "id", NULL
19847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19849 if (SWIG_arg_fail(1)) SWIG_fail
;
19851 arg2
= (int)(SWIG_As_int(obj1
));
19852 if (SWIG_arg_fail(2)) SWIG_fail
;
19855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19856 result
= (bool)(arg1
)->DeleteTool(arg2
);
19858 wxPyEndAllowThreads(__tstate
);
19859 if (PyErr_Occurred()) SWIG_fail
;
19862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19870 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19871 PyObject
*resultobj
;
19872 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19873 PyObject
* obj0
= 0 ;
19874 char *kwnames
[] = {
19875 (char *) "self", NULL
19878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
19879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19880 if (SWIG_arg_fail(1)) SWIG_fail
;
19882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19883 (arg1
)->ClearTools();
19885 wxPyEndAllowThreads(__tstate
);
19886 if (PyErr_Occurred()) SWIG_fail
;
19888 Py_INCREF(Py_None
); resultobj
= Py_None
;
19895 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19896 PyObject
*resultobj
;
19897 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19899 PyObject
* obj0
= 0 ;
19900 char *kwnames
[] = {
19901 (char *) "self", NULL
19904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
19905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19906 if (SWIG_arg_fail(1)) SWIG_fail
;
19908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19909 result
= (bool)(arg1
)->Realize();
19911 wxPyEndAllowThreads(__tstate
);
19912 if (PyErr_Occurred()) SWIG_fail
;
19915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19923 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19924 PyObject
*resultobj
;
19925 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19928 PyObject
* obj0
= 0 ;
19929 PyObject
* obj1
= 0 ;
19930 PyObject
* obj2
= 0 ;
19931 char *kwnames
[] = {
19932 (char *) "self",(char *) "id",(char *) "enable", NULL
19935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19937 if (SWIG_arg_fail(1)) SWIG_fail
;
19939 arg2
= (int)(SWIG_As_int(obj1
));
19940 if (SWIG_arg_fail(2)) SWIG_fail
;
19943 arg3
= (bool)(SWIG_As_bool(obj2
));
19944 if (SWIG_arg_fail(3)) SWIG_fail
;
19947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19948 (arg1
)->EnableTool(arg2
,arg3
);
19950 wxPyEndAllowThreads(__tstate
);
19951 if (PyErr_Occurred()) SWIG_fail
;
19953 Py_INCREF(Py_None
); resultobj
= Py_None
;
19960 static PyObject
*_wrap_ToolBarBase_ToggleTool(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 *) "toggle", NULL
19972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",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
)->ToggleTool(arg2
,arg3
);
19987 wxPyEndAllowThreads(__tstate
);
19988 if (PyErr_Occurred()) SWIG_fail
;
19990 Py_INCREF(Py_None
); resultobj
= Py_None
;
19997 static PyObject
*_wrap_ToolBarBase_SetToggle(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_SetToggle",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
)->SetToggle(arg2
,arg3
);
20024 wxPyEndAllowThreads(__tstate
);
20025 if (PyErr_Occurred()) SWIG_fail
;
20027 Py_INCREF(Py_None
); resultobj
= Py_None
;
20034 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20035 PyObject
*resultobj
;
20036 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20039 PyObject
* obj0
= 0 ;
20040 PyObject
* obj1
= 0 ;
20041 char *kwnames
[] = {
20042 (char *) "self",(char *) "id", NULL
20045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
20046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20047 if (SWIG_arg_fail(1)) SWIG_fail
;
20049 arg2
= (int)(SWIG_As_int(obj1
));
20050 if (SWIG_arg_fail(2)) SWIG_fail
;
20053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20054 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
20056 wxPyEndAllowThreads(__tstate
);
20057 if (PyErr_Occurred()) SWIG_fail
;
20059 resultobj
= result
;
20066 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20067 PyObject
*resultobj
;
20068 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20070 PyObject
*arg3
= (PyObject
*) 0 ;
20071 PyObject
* obj0
= 0 ;
20072 PyObject
* obj1
= 0 ;
20073 PyObject
* obj2
= 0 ;
20074 char *kwnames
[] = {
20075 (char *) "self",(char *) "id",(char *) "clientData", NULL
20078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20080 if (SWIG_arg_fail(1)) SWIG_fail
;
20082 arg2
= (int)(SWIG_As_int(obj1
));
20083 if (SWIG_arg_fail(2)) SWIG_fail
;
20087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20088 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
20090 wxPyEndAllowThreads(__tstate
);
20091 if (PyErr_Occurred()) SWIG_fail
;
20093 Py_INCREF(Py_None
); resultobj
= Py_None
;
20100 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20101 PyObject
*resultobj
;
20102 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20105 PyObject
* obj0
= 0 ;
20106 PyObject
* obj1
= 0 ;
20107 char *kwnames
[] = {
20108 (char *) "self",(char *) "id", NULL
20111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
20112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20113 if (SWIG_arg_fail(1)) SWIG_fail
;
20115 arg2
= (int)(SWIG_As_int(obj1
));
20116 if (SWIG_arg_fail(2)) SWIG_fail
;
20119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20120 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
20122 wxPyEndAllowThreads(__tstate
);
20123 if (PyErr_Occurred()) SWIG_fail
;
20126 resultobj
= SWIG_From_int((int)(result
));
20134 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20135 PyObject
*resultobj
;
20136 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20139 PyObject
* obj0
= 0 ;
20140 PyObject
* obj1
= 0 ;
20141 char *kwnames
[] = {
20142 (char *) "self",(char *) "id", NULL
20145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
20146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20147 if (SWIG_arg_fail(1)) SWIG_fail
;
20149 arg2
= (int)(SWIG_As_int(obj1
));
20150 if (SWIG_arg_fail(2)) SWIG_fail
;
20153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20154 result
= (bool)(arg1
)->GetToolState(arg2
);
20156 wxPyEndAllowThreads(__tstate
);
20157 if (PyErr_Occurred()) SWIG_fail
;
20160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20168 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20169 PyObject
*resultobj
;
20170 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20173 PyObject
* obj0
= 0 ;
20174 PyObject
* obj1
= 0 ;
20175 char *kwnames
[] = {
20176 (char *) "self",(char *) "id", NULL
20179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
20180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20181 if (SWIG_arg_fail(1)) SWIG_fail
;
20183 arg2
= (int)(SWIG_As_int(obj1
));
20184 if (SWIG_arg_fail(2)) SWIG_fail
;
20187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20188 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
20190 wxPyEndAllowThreads(__tstate
);
20191 if (PyErr_Occurred()) SWIG_fail
;
20194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20202 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20203 PyObject
*resultobj
;
20204 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20206 wxString
*arg3
= 0 ;
20207 bool temp3
= false ;
20208 PyObject
* obj0
= 0 ;
20209 PyObject
* obj1
= 0 ;
20210 PyObject
* obj2
= 0 ;
20211 char *kwnames
[] = {
20212 (char *) "self",(char *) "id",(char *) "helpString", NULL
20215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20217 if (SWIG_arg_fail(1)) SWIG_fail
;
20219 arg2
= (int)(SWIG_As_int(obj1
));
20220 if (SWIG_arg_fail(2)) SWIG_fail
;
20223 arg3
= wxString_in_helper(obj2
);
20224 if (arg3
== NULL
) SWIG_fail
;
20228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20229 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
20231 wxPyEndAllowThreads(__tstate
);
20232 if (PyErr_Occurred()) SWIG_fail
;
20234 Py_INCREF(Py_None
); resultobj
= Py_None
;
20249 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20250 PyObject
*resultobj
;
20251 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20254 PyObject
* obj0
= 0 ;
20255 PyObject
* obj1
= 0 ;
20256 char *kwnames
[] = {
20257 (char *) "self",(char *) "id", NULL
20260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20262 if (SWIG_arg_fail(1)) SWIG_fail
;
20264 arg2
= (int)(SWIG_As_int(obj1
));
20265 if (SWIG_arg_fail(2)) SWIG_fail
;
20268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20269 result
= (arg1
)->GetToolShortHelp(arg2
);
20271 wxPyEndAllowThreads(__tstate
);
20272 if (PyErr_Occurred()) SWIG_fail
;
20276 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20278 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20287 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20288 PyObject
*resultobj
;
20289 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20291 wxString
*arg3
= 0 ;
20292 bool temp3
= false ;
20293 PyObject
* obj0
= 0 ;
20294 PyObject
* obj1
= 0 ;
20295 PyObject
* obj2
= 0 ;
20296 char *kwnames
[] = {
20297 (char *) "self",(char *) "id",(char *) "helpString", NULL
20300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20302 if (SWIG_arg_fail(1)) SWIG_fail
;
20304 arg2
= (int)(SWIG_As_int(obj1
));
20305 if (SWIG_arg_fail(2)) SWIG_fail
;
20308 arg3
= wxString_in_helper(obj2
);
20309 if (arg3
== NULL
) SWIG_fail
;
20313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20314 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
20316 wxPyEndAllowThreads(__tstate
);
20317 if (PyErr_Occurred()) SWIG_fail
;
20319 Py_INCREF(Py_None
); resultobj
= Py_None
;
20334 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20335 PyObject
*resultobj
;
20336 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20339 PyObject
* obj0
= 0 ;
20340 PyObject
* obj1
= 0 ;
20341 char *kwnames
[] = {
20342 (char *) "self",(char *) "id", NULL
20345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20347 if (SWIG_arg_fail(1)) SWIG_fail
;
20349 arg2
= (int)(SWIG_As_int(obj1
));
20350 if (SWIG_arg_fail(2)) SWIG_fail
;
20353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20354 result
= (arg1
)->GetToolLongHelp(arg2
);
20356 wxPyEndAllowThreads(__tstate
);
20357 if (PyErr_Occurred()) SWIG_fail
;
20361 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20363 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20372 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20373 PyObject
*resultobj
;
20374 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20377 PyObject
* obj0
= 0 ;
20378 PyObject
* obj1
= 0 ;
20379 PyObject
* obj2
= 0 ;
20380 char *kwnames
[] = {
20381 (char *) "self",(char *) "x",(char *) "y", NULL
20384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20386 if (SWIG_arg_fail(1)) SWIG_fail
;
20388 arg2
= (int)(SWIG_As_int(obj1
));
20389 if (SWIG_arg_fail(2)) SWIG_fail
;
20392 arg3
= (int)(SWIG_As_int(obj2
));
20393 if (SWIG_arg_fail(3)) SWIG_fail
;
20396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20397 (arg1
)->SetMargins(arg2
,arg3
);
20399 wxPyEndAllowThreads(__tstate
);
20400 if (PyErr_Occurred()) SWIG_fail
;
20402 Py_INCREF(Py_None
); resultobj
= Py_None
;
20409 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20410 PyObject
*resultobj
;
20411 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20414 PyObject
* obj0
= 0 ;
20415 PyObject
* obj1
= 0 ;
20416 char *kwnames
[] = {
20417 (char *) "self",(char *) "size", NULL
20420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20422 if (SWIG_arg_fail(1)) SWIG_fail
;
20425 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20429 (arg1
)->SetMargins((wxSize
const &)*arg2
);
20431 wxPyEndAllowThreads(__tstate
);
20432 if (PyErr_Occurred()) SWIG_fail
;
20434 Py_INCREF(Py_None
); resultobj
= Py_None
;
20441 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20442 PyObject
*resultobj
;
20443 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20445 PyObject
* obj0
= 0 ;
20446 PyObject
* obj1
= 0 ;
20447 char *kwnames
[] = {
20448 (char *) "self",(char *) "packing", NULL
20451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
20452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20453 if (SWIG_arg_fail(1)) SWIG_fail
;
20455 arg2
= (int)(SWIG_As_int(obj1
));
20456 if (SWIG_arg_fail(2)) SWIG_fail
;
20459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20460 (arg1
)->SetToolPacking(arg2
);
20462 wxPyEndAllowThreads(__tstate
);
20463 if (PyErr_Occurred()) SWIG_fail
;
20465 Py_INCREF(Py_None
); resultobj
= Py_None
;
20472 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20473 PyObject
*resultobj
;
20474 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20476 PyObject
* obj0
= 0 ;
20477 PyObject
* obj1
= 0 ;
20478 char *kwnames
[] = {
20479 (char *) "self",(char *) "separation", NULL
20482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
20483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20484 if (SWIG_arg_fail(1)) SWIG_fail
;
20486 arg2
= (int)(SWIG_As_int(obj1
));
20487 if (SWIG_arg_fail(2)) SWIG_fail
;
20490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20491 (arg1
)->SetToolSeparation(arg2
);
20493 wxPyEndAllowThreads(__tstate
);
20494 if (PyErr_Occurred()) SWIG_fail
;
20496 Py_INCREF(Py_None
); resultobj
= Py_None
;
20503 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20504 PyObject
*resultobj
;
20505 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20507 PyObject
* obj0
= 0 ;
20508 char *kwnames
[] = {
20509 (char *) "self", NULL
20512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
20513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20514 if (SWIG_arg_fail(1)) SWIG_fail
;
20516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20517 result
= (arg1
)->GetToolMargins();
20519 wxPyEndAllowThreads(__tstate
);
20520 if (PyErr_Occurred()) SWIG_fail
;
20523 wxSize
* resultptr
;
20524 resultptr
= new wxSize((wxSize
&)(result
));
20525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20533 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20534 PyObject
*resultobj
;
20535 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20537 PyObject
* obj0
= 0 ;
20538 char *kwnames
[] = {
20539 (char *) "self", NULL
20542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
20543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20544 if (SWIG_arg_fail(1)) SWIG_fail
;
20546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20547 result
= (arg1
)->GetMargins();
20549 wxPyEndAllowThreads(__tstate
);
20550 if (PyErr_Occurred()) SWIG_fail
;
20553 wxSize
* resultptr
;
20554 resultptr
= new wxSize((wxSize
&)(result
));
20555 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20563 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20564 PyObject
*resultobj
;
20565 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20567 PyObject
* obj0
= 0 ;
20568 char *kwnames
[] = {
20569 (char *) "self", NULL
20572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
20573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20574 if (SWIG_arg_fail(1)) SWIG_fail
;
20576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20577 result
= (int)(arg1
)->GetToolPacking();
20579 wxPyEndAllowThreads(__tstate
);
20580 if (PyErr_Occurred()) SWIG_fail
;
20583 resultobj
= SWIG_From_int((int)(result
));
20591 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20592 PyObject
*resultobj
;
20593 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20595 PyObject
* obj0
= 0 ;
20596 char *kwnames
[] = {
20597 (char *) "self", NULL
20600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
20601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20602 if (SWIG_arg_fail(1)) SWIG_fail
;
20604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20605 result
= (int)(arg1
)->GetToolSeparation();
20607 wxPyEndAllowThreads(__tstate
);
20608 if (PyErr_Occurred()) SWIG_fail
;
20611 resultobj
= SWIG_From_int((int)(result
));
20619 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20620 PyObject
*resultobj
;
20621 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20623 PyObject
* obj0
= 0 ;
20624 PyObject
* obj1
= 0 ;
20625 char *kwnames
[] = {
20626 (char *) "self",(char *) "nRows", NULL
20629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
20630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20631 if (SWIG_arg_fail(1)) SWIG_fail
;
20633 arg2
= (int)(SWIG_As_int(obj1
));
20634 if (SWIG_arg_fail(2)) SWIG_fail
;
20637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20638 (arg1
)->SetRows(arg2
);
20640 wxPyEndAllowThreads(__tstate
);
20641 if (PyErr_Occurred()) SWIG_fail
;
20643 Py_INCREF(Py_None
); resultobj
= Py_None
;
20650 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20651 PyObject
*resultobj
;
20652 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20655 PyObject
* obj0
= 0 ;
20656 PyObject
* obj1
= 0 ;
20657 PyObject
* obj2
= 0 ;
20658 char *kwnames
[] = {
20659 (char *) "self",(char *) "rows",(char *) "cols", NULL
20662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20664 if (SWIG_arg_fail(1)) SWIG_fail
;
20666 arg2
= (int)(SWIG_As_int(obj1
));
20667 if (SWIG_arg_fail(2)) SWIG_fail
;
20670 arg3
= (int)(SWIG_As_int(obj2
));
20671 if (SWIG_arg_fail(3)) SWIG_fail
;
20674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20675 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
20677 wxPyEndAllowThreads(__tstate
);
20678 if (PyErr_Occurred()) SWIG_fail
;
20680 Py_INCREF(Py_None
); resultobj
= Py_None
;
20687 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20688 PyObject
*resultobj
;
20689 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20691 PyObject
* obj0
= 0 ;
20692 char *kwnames
[] = {
20693 (char *) "self", NULL
20696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
20697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20698 if (SWIG_arg_fail(1)) SWIG_fail
;
20700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20701 result
= (int)(arg1
)->GetMaxRows();
20703 wxPyEndAllowThreads(__tstate
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20707 resultobj
= SWIG_From_int((int)(result
));
20715 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20716 PyObject
*resultobj
;
20717 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20719 PyObject
* obj0
= 0 ;
20720 char *kwnames
[] = {
20721 (char *) "self", NULL
20724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
20725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20726 if (SWIG_arg_fail(1)) SWIG_fail
;
20728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20729 result
= (int)(arg1
)->GetMaxCols();
20731 wxPyEndAllowThreads(__tstate
);
20732 if (PyErr_Occurred()) SWIG_fail
;
20735 resultobj
= SWIG_From_int((int)(result
));
20743 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20744 PyObject
*resultobj
;
20745 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20748 PyObject
* obj0
= 0 ;
20749 PyObject
* obj1
= 0 ;
20750 char *kwnames
[] = {
20751 (char *) "self",(char *) "size", NULL
20754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20756 if (SWIG_arg_fail(1)) SWIG_fail
;
20759 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20763 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
20765 wxPyEndAllowThreads(__tstate
);
20766 if (PyErr_Occurred()) SWIG_fail
;
20768 Py_INCREF(Py_None
); resultobj
= Py_None
;
20775 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20776 PyObject
*resultobj
;
20777 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20779 PyObject
* obj0
= 0 ;
20780 char *kwnames
[] = {
20781 (char *) "self", NULL
20784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
20785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20786 if (SWIG_arg_fail(1)) SWIG_fail
;
20788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20789 result
= (arg1
)->GetToolBitmapSize();
20791 wxPyEndAllowThreads(__tstate
);
20792 if (PyErr_Occurred()) SWIG_fail
;
20795 wxSize
* resultptr
;
20796 resultptr
= new wxSize((wxSize
&)(result
));
20797 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20805 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20806 PyObject
*resultobj
;
20807 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20809 PyObject
* obj0
= 0 ;
20810 char *kwnames
[] = {
20811 (char *) "self", NULL
20814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
20815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20816 if (SWIG_arg_fail(1)) SWIG_fail
;
20818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20819 result
= (arg1
)->GetToolSize();
20821 wxPyEndAllowThreads(__tstate
);
20822 if (PyErr_Occurred()) SWIG_fail
;
20825 wxSize
* resultptr
;
20826 resultptr
= new wxSize((wxSize
&)(result
));
20827 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20835 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20836 PyObject
*resultobj
;
20837 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20840 wxToolBarToolBase
*result
;
20841 PyObject
* obj0
= 0 ;
20842 PyObject
* obj1
= 0 ;
20843 PyObject
* obj2
= 0 ;
20844 char *kwnames
[] = {
20845 (char *) "self",(char *) "x",(char *) "y", NULL
20848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20850 if (SWIG_arg_fail(1)) SWIG_fail
;
20852 arg2
= (int)(SWIG_As_int(obj1
));
20853 if (SWIG_arg_fail(2)) SWIG_fail
;
20856 arg3
= (int)(SWIG_As_int(obj2
));
20857 if (SWIG_arg_fail(3)) SWIG_fail
;
20860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20861 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
20863 wxPyEndAllowThreads(__tstate
);
20864 if (PyErr_Occurred()) SWIG_fail
;
20867 resultobj
= wxPyMake_wxObject(result
, 0);
20875 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20876 PyObject
*resultobj
;
20877 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20879 wxToolBarToolBase
*result
;
20880 PyObject
* obj0
= 0 ;
20881 PyObject
* obj1
= 0 ;
20882 char *kwnames
[] = {
20883 (char *) "self",(char *) "toolid", NULL
20886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
20887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20888 if (SWIG_arg_fail(1)) SWIG_fail
;
20890 arg2
= (int)(SWIG_As_int(obj1
));
20891 if (SWIG_arg_fail(2)) SWIG_fail
;
20894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20895 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
20897 wxPyEndAllowThreads(__tstate
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20901 resultobj
= wxPyMake_wxObject(result
, 0);
20909 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20910 PyObject
*resultobj
;
20911 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20913 PyObject
* obj0
= 0 ;
20914 char *kwnames
[] = {
20915 (char *) "self", NULL
20918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
20919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20920 if (SWIG_arg_fail(1)) SWIG_fail
;
20922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20923 result
= (bool)(arg1
)->IsVertical();
20925 wxPyEndAllowThreads(__tstate
);
20926 if (PyErr_Occurred()) SWIG_fail
;
20929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20937 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
20939 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20940 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
20942 return Py_BuildValue((char *)"");
20944 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20945 PyObject
*resultobj
;
20946 wxWindow
*arg1
= (wxWindow
*) 0 ;
20947 int arg2
= (int) -1 ;
20948 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20949 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20950 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20951 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20952 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
20953 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
20954 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20958 bool temp6
= false ;
20959 PyObject
* obj0
= 0 ;
20960 PyObject
* obj1
= 0 ;
20961 PyObject
* obj2
= 0 ;
20962 PyObject
* obj3
= 0 ;
20963 PyObject
* obj4
= 0 ;
20964 PyObject
* obj5
= 0 ;
20965 char *kwnames
[] = {
20966 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20971 if (SWIG_arg_fail(1)) SWIG_fail
;
20974 arg2
= (int)(SWIG_As_int(obj1
));
20975 if (SWIG_arg_fail(2)) SWIG_fail
;
20981 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20987 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20992 arg5
= (long)(SWIG_As_long(obj4
));
20993 if (SWIG_arg_fail(5)) SWIG_fail
;
20998 arg6
= wxString_in_helper(obj5
);
20999 if (arg6
== NULL
) SWIG_fail
;
21004 if (!wxPyCheckForApp()) SWIG_fail
;
21005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21006 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21008 wxPyEndAllowThreads(__tstate
);
21009 if (PyErr_Occurred()) SWIG_fail
;
21011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21026 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21027 PyObject
*resultobj
;
21029 char *kwnames
[] = {
21033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
21035 if (!wxPyCheckForApp()) SWIG_fail
;
21036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21037 result
= (wxToolBar
*)new wxToolBar();
21039 wxPyEndAllowThreads(__tstate
);
21040 if (PyErr_Occurred()) SWIG_fail
;
21042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21049 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21050 PyObject
*resultobj
;
21051 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21052 wxWindow
*arg2
= (wxWindow
*) 0 ;
21053 int arg3
= (int) -1 ;
21054 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21055 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21056 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21057 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21058 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21059 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
21060 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21064 bool temp7
= false ;
21065 PyObject
* obj0
= 0 ;
21066 PyObject
* obj1
= 0 ;
21067 PyObject
* obj2
= 0 ;
21068 PyObject
* obj3
= 0 ;
21069 PyObject
* obj4
= 0 ;
21070 PyObject
* obj5
= 0 ;
21071 PyObject
* obj6
= 0 ;
21072 char *kwnames
[] = {
21073 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21078 if (SWIG_arg_fail(1)) SWIG_fail
;
21079 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21080 if (SWIG_arg_fail(2)) SWIG_fail
;
21083 arg3
= (int)(SWIG_As_int(obj2
));
21084 if (SWIG_arg_fail(3)) SWIG_fail
;
21090 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21096 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21101 arg6
= (long)(SWIG_As_long(obj5
));
21102 if (SWIG_arg_fail(6)) SWIG_fail
;
21107 arg7
= wxString_in_helper(obj6
);
21108 if (arg7
== NULL
) SWIG_fail
;
21113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21114 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21116 wxPyEndAllowThreads(__tstate
);
21117 if (PyErr_Occurred()) SWIG_fail
;
21120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21136 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21137 PyObject
*resultobj
;
21138 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21141 wxToolBarToolBase
*result
;
21142 PyObject
* obj0
= 0 ;
21143 PyObject
* obj1
= 0 ;
21144 PyObject
* obj2
= 0 ;
21145 char *kwnames
[] = {
21146 (char *) "self",(char *) "x",(char *) "y", NULL
21149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21151 if (SWIG_arg_fail(1)) SWIG_fail
;
21153 arg2
= (int)(SWIG_As_int(obj1
));
21154 if (SWIG_arg_fail(2)) SWIG_fail
;
21157 arg3
= (int)(SWIG_As_int(obj2
));
21158 if (SWIG_arg_fail(3)) SWIG_fail
;
21161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21162 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
21164 wxPyEndAllowThreads(__tstate
);
21165 if (PyErr_Occurred()) SWIG_fail
;
21168 resultobj
= wxPyMake_wxObject(result
, 0);
21176 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21177 PyObject
*resultobj
;
21178 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21179 wxVisualAttributes result
;
21180 PyObject
* obj0
= 0 ;
21181 char *kwnames
[] = {
21182 (char *) "variant", NULL
21185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
21188 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
21189 if (SWIG_arg_fail(1)) SWIG_fail
;
21193 if (!wxPyCheckForApp()) SWIG_fail
;
21194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21195 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
21197 wxPyEndAllowThreads(__tstate
);
21198 if (PyErr_Occurred()) SWIG_fail
;
21201 wxVisualAttributes
* resultptr
;
21202 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
21203 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
21211 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
21213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21214 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
21216 return Py_BuildValue((char *)"");
21218 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
21219 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
21224 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
21229 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21231 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21238 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21239 PyObject
*resultobj
;
21240 wxColour
const &arg1_defvalue
= wxNullColour
;
21241 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
21242 wxColour
const &arg2_defvalue
= wxNullColour
;
21243 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
21244 wxFont
const &arg3_defvalue
= wxNullFont
;
21245 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
21246 wxListItemAttr
*result
;
21249 PyObject
* obj0
= 0 ;
21250 PyObject
* obj1
= 0 ;
21251 PyObject
* obj2
= 0 ;
21252 char *kwnames
[] = {
21253 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21260 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
21266 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21271 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21272 if (SWIG_arg_fail(3)) SWIG_fail
;
21273 if (arg3
== NULL
) {
21274 SWIG_null_ref("wxFont");
21276 if (SWIG_arg_fail(3)) SWIG_fail
;
21280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21281 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
21283 wxPyEndAllowThreads(__tstate
);
21284 if (PyErr_Occurred()) SWIG_fail
;
21286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
21293 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21294 PyObject
*resultobj
;
21295 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21296 wxColour
*arg2
= 0 ;
21298 PyObject
* obj0
= 0 ;
21299 PyObject
* obj1
= 0 ;
21300 char *kwnames
[] = {
21301 (char *) "self",(char *) "colText", NULL
21304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21306 if (SWIG_arg_fail(1)) SWIG_fail
;
21309 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21313 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21315 wxPyEndAllowThreads(__tstate
);
21316 if (PyErr_Occurred()) SWIG_fail
;
21318 Py_INCREF(Py_None
); resultobj
= Py_None
;
21325 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21326 PyObject
*resultobj
;
21327 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21328 wxColour
*arg2
= 0 ;
21330 PyObject
* obj0
= 0 ;
21331 PyObject
* obj1
= 0 ;
21332 char *kwnames
[] = {
21333 (char *) "self",(char *) "colBack", NULL
21336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21338 if (SWIG_arg_fail(1)) SWIG_fail
;
21341 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21345 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21347 wxPyEndAllowThreads(__tstate
);
21348 if (PyErr_Occurred()) SWIG_fail
;
21350 Py_INCREF(Py_None
); resultobj
= Py_None
;
21357 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21358 PyObject
*resultobj
;
21359 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21361 PyObject
* obj0
= 0 ;
21362 PyObject
* obj1
= 0 ;
21363 char *kwnames
[] = {
21364 (char *) "self",(char *) "font", NULL
21367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21369 if (SWIG_arg_fail(1)) SWIG_fail
;
21371 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21372 if (SWIG_arg_fail(2)) SWIG_fail
;
21373 if (arg2
== NULL
) {
21374 SWIG_null_ref("wxFont");
21376 if (SWIG_arg_fail(2)) SWIG_fail
;
21379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21380 (arg1
)->SetFont((wxFont
const &)*arg2
);
21382 wxPyEndAllowThreads(__tstate
);
21383 if (PyErr_Occurred()) SWIG_fail
;
21385 Py_INCREF(Py_None
); resultobj
= Py_None
;
21392 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21393 PyObject
*resultobj
;
21394 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21396 PyObject
* obj0
= 0 ;
21397 char *kwnames
[] = {
21398 (char *) "self", NULL
21401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
21402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21403 if (SWIG_arg_fail(1)) SWIG_fail
;
21405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21406 result
= (bool)(arg1
)->HasTextColour();
21408 wxPyEndAllowThreads(__tstate
);
21409 if (PyErr_Occurred()) SWIG_fail
;
21412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21420 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21421 PyObject
*resultobj
;
21422 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21424 PyObject
* obj0
= 0 ;
21425 char *kwnames
[] = {
21426 (char *) "self", NULL
21429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
21430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21431 if (SWIG_arg_fail(1)) SWIG_fail
;
21433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21434 result
= (bool)(arg1
)->HasBackgroundColour();
21436 wxPyEndAllowThreads(__tstate
);
21437 if (PyErr_Occurred()) SWIG_fail
;
21440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21448 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21449 PyObject
*resultobj
;
21450 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21452 PyObject
* obj0
= 0 ;
21453 char *kwnames
[] = {
21454 (char *) "self", NULL
21457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
21458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21459 if (SWIG_arg_fail(1)) SWIG_fail
;
21461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21462 result
= (bool)(arg1
)->HasFont();
21464 wxPyEndAllowThreads(__tstate
);
21465 if (PyErr_Occurred()) SWIG_fail
;
21468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21476 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21477 PyObject
*resultobj
;
21478 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21480 PyObject
* obj0
= 0 ;
21481 char *kwnames
[] = {
21482 (char *) "self", NULL
21485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
21486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21487 if (SWIG_arg_fail(1)) SWIG_fail
;
21489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21490 result
= (arg1
)->GetTextColour();
21492 wxPyEndAllowThreads(__tstate
);
21493 if (PyErr_Occurred()) SWIG_fail
;
21496 wxColour
* resultptr
;
21497 resultptr
= new wxColour((wxColour
&)(result
));
21498 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21506 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21507 PyObject
*resultobj
;
21508 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21510 PyObject
* obj0
= 0 ;
21511 char *kwnames
[] = {
21512 (char *) "self", NULL
21515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
21516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21517 if (SWIG_arg_fail(1)) SWIG_fail
;
21519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21520 result
= (arg1
)->GetBackgroundColour();
21522 wxPyEndAllowThreads(__tstate
);
21523 if (PyErr_Occurred()) SWIG_fail
;
21526 wxColour
* resultptr
;
21527 resultptr
= new wxColour((wxColour
&)(result
));
21528 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21536 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21537 PyObject
*resultobj
;
21538 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21540 PyObject
* obj0
= 0 ;
21541 char *kwnames
[] = {
21542 (char *) "self", NULL
21545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
21546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21547 if (SWIG_arg_fail(1)) SWIG_fail
;
21549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21550 result
= (arg1
)->GetFont();
21552 wxPyEndAllowThreads(__tstate
);
21553 if (PyErr_Occurred()) SWIG_fail
;
21556 wxFont
* resultptr
;
21557 resultptr
= new wxFont((wxFont
&)(result
));
21558 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21566 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21567 PyObject
*resultobj
;
21568 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21569 PyObject
* obj0
= 0 ;
21570 char *kwnames
[] = {
21571 (char *) "self", NULL
21574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
21575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21576 if (SWIG_arg_fail(1)) SWIG_fail
;
21578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21579 wxListItemAttr_Destroy(arg1
);
21581 wxPyEndAllowThreads(__tstate
);
21582 if (PyErr_Occurred()) SWIG_fail
;
21584 Py_INCREF(Py_None
); resultobj
= Py_None
;
21591 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
21593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21594 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
21596 return Py_BuildValue((char *)"");
21598 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21599 PyObject
*resultobj
;
21600 wxListItem
*result
;
21601 char *kwnames
[] = {
21605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
21607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21608 result
= (wxListItem
*)new wxListItem();
21610 wxPyEndAllowThreads(__tstate
);
21611 if (PyErr_Occurred()) SWIG_fail
;
21614 resultobj
= wxPyMake_wxObject(result
, 1);
21622 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21623 PyObject
*resultobj
;
21624 wxListItem
*arg1
= (wxListItem
*) 0 ;
21625 PyObject
* obj0
= 0 ;
21626 char *kwnames
[] = {
21627 (char *) "self", NULL
21630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
21631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21632 if (SWIG_arg_fail(1)) SWIG_fail
;
21634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21637 wxPyEndAllowThreads(__tstate
);
21638 if (PyErr_Occurred()) SWIG_fail
;
21640 Py_INCREF(Py_None
); resultobj
= Py_None
;
21647 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21648 PyObject
*resultobj
;
21649 wxListItem
*arg1
= (wxListItem
*) 0 ;
21650 PyObject
* obj0
= 0 ;
21651 char *kwnames
[] = {
21652 (char *) "self", NULL
21655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
21656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21657 if (SWIG_arg_fail(1)) SWIG_fail
;
21659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21662 wxPyEndAllowThreads(__tstate
);
21663 if (PyErr_Occurred()) SWIG_fail
;
21665 Py_INCREF(Py_None
); resultobj
= Py_None
;
21672 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21673 PyObject
*resultobj
;
21674 wxListItem
*arg1
= (wxListItem
*) 0 ;
21675 PyObject
* obj0
= 0 ;
21676 char *kwnames
[] = {
21677 (char *) "self", NULL
21680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
21681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21682 if (SWIG_arg_fail(1)) SWIG_fail
;
21684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21685 (arg1
)->ClearAttributes();
21687 wxPyEndAllowThreads(__tstate
);
21688 if (PyErr_Occurred()) SWIG_fail
;
21690 Py_INCREF(Py_None
); resultobj
= Py_None
;
21697 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21698 PyObject
*resultobj
;
21699 wxListItem
*arg1
= (wxListItem
*) 0 ;
21701 PyObject
* obj0
= 0 ;
21702 PyObject
* obj1
= 0 ;
21703 char *kwnames
[] = {
21704 (char *) "self",(char *) "mask", NULL
21707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21709 if (SWIG_arg_fail(1)) SWIG_fail
;
21711 arg2
= (long)(SWIG_As_long(obj1
));
21712 if (SWIG_arg_fail(2)) SWIG_fail
;
21715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21716 (arg1
)->SetMask(arg2
);
21718 wxPyEndAllowThreads(__tstate
);
21719 if (PyErr_Occurred()) SWIG_fail
;
21721 Py_INCREF(Py_None
); resultobj
= Py_None
;
21728 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21729 PyObject
*resultobj
;
21730 wxListItem
*arg1
= (wxListItem
*) 0 ;
21732 PyObject
* obj0
= 0 ;
21733 PyObject
* obj1
= 0 ;
21734 char *kwnames
[] = {
21735 (char *) "self",(char *) "id", NULL
21738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21740 if (SWIG_arg_fail(1)) SWIG_fail
;
21742 arg2
= (long)(SWIG_As_long(obj1
));
21743 if (SWIG_arg_fail(2)) SWIG_fail
;
21746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21747 (arg1
)->SetId(arg2
);
21749 wxPyEndAllowThreads(__tstate
);
21750 if (PyErr_Occurred()) SWIG_fail
;
21752 Py_INCREF(Py_None
); resultobj
= Py_None
;
21759 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21760 PyObject
*resultobj
;
21761 wxListItem
*arg1
= (wxListItem
*) 0 ;
21763 PyObject
* obj0
= 0 ;
21764 PyObject
* obj1
= 0 ;
21765 char *kwnames
[] = {
21766 (char *) "self",(char *) "col", NULL
21769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21771 if (SWIG_arg_fail(1)) SWIG_fail
;
21773 arg2
= (int)(SWIG_As_int(obj1
));
21774 if (SWIG_arg_fail(2)) SWIG_fail
;
21777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21778 (arg1
)->SetColumn(arg2
);
21780 wxPyEndAllowThreads(__tstate
);
21781 if (PyErr_Occurred()) SWIG_fail
;
21783 Py_INCREF(Py_None
); resultobj
= Py_None
;
21790 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21791 PyObject
*resultobj
;
21792 wxListItem
*arg1
= (wxListItem
*) 0 ;
21794 PyObject
* obj0
= 0 ;
21795 PyObject
* obj1
= 0 ;
21796 char *kwnames
[] = {
21797 (char *) "self",(char *) "state", NULL
21800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
21801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21802 if (SWIG_arg_fail(1)) SWIG_fail
;
21804 arg2
= (long)(SWIG_As_long(obj1
));
21805 if (SWIG_arg_fail(2)) SWIG_fail
;
21808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21809 (arg1
)->SetState(arg2
);
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21814 Py_INCREF(Py_None
); resultobj
= Py_None
;
21821 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21822 PyObject
*resultobj
;
21823 wxListItem
*arg1
= (wxListItem
*) 0 ;
21825 PyObject
* obj0
= 0 ;
21826 PyObject
* obj1
= 0 ;
21827 char *kwnames
[] = {
21828 (char *) "self",(char *) "stateMask", NULL
21831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21833 if (SWIG_arg_fail(1)) SWIG_fail
;
21835 arg2
= (long)(SWIG_As_long(obj1
));
21836 if (SWIG_arg_fail(2)) SWIG_fail
;
21839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21840 (arg1
)->SetStateMask(arg2
);
21842 wxPyEndAllowThreads(__tstate
);
21843 if (PyErr_Occurred()) SWIG_fail
;
21845 Py_INCREF(Py_None
); resultobj
= Py_None
;
21852 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21853 PyObject
*resultobj
;
21854 wxListItem
*arg1
= (wxListItem
*) 0 ;
21855 wxString
*arg2
= 0 ;
21856 bool temp2
= false ;
21857 PyObject
* obj0
= 0 ;
21858 PyObject
* obj1
= 0 ;
21859 char *kwnames
[] = {
21860 (char *) "self",(char *) "text", NULL
21863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21865 if (SWIG_arg_fail(1)) SWIG_fail
;
21867 arg2
= wxString_in_helper(obj1
);
21868 if (arg2
== NULL
) SWIG_fail
;
21872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21873 (arg1
)->SetText((wxString
const &)*arg2
);
21875 wxPyEndAllowThreads(__tstate
);
21876 if (PyErr_Occurred()) SWIG_fail
;
21878 Py_INCREF(Py_None
); resultobj
= Py_None
;
21893 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21894 PyObject
*resultobj
;
21895 wxListItem
*arg1
= (wxListItem
*) 0 ;
21897 PyObject
* obj0
= 0 ;
21898 PyObject
* obj1
= 0 ;
21899 char *kwnames
[] = {
21900 (char *) "self",(char *) "image", NULL
21903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
21904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21905 if (SWIG_arg_fail(1)) SWIG_fail
;
21907 arg2
= (int)(SWIG_As_int(obj1
));
21908 if (SWIG_arg_fail(2)) SWIG_fail
;
21911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21912 (arg1
)->SetImage(arg2
);
21914 wxPyEndAllowThreads(__tstate
);
21915 if (PyErr_Occurred()) SWIG_fail
;
21917 Py_INCREF(Py_None
); resultobj
= Py_None
;
21924 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21925 PyObject
*resultobj
;
21926 wxListItem
*arg1
= (wxListItem
*) 0 ;
21928 PyObject
* obj0
= 0 ;
21929 PyObject
* obj1
= 0 ;
21930 char *kwnames
[] = {
21931 (char *) "self",(char *) "data", NULL
21934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
21935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21936 if (SWIG_arg_fail(1)) SWIG_fail
;
21938 arg2
= (long)(SWIG_As_long(obj1
));
21939 if (SWIG_arg_fail(2)) SWIG_fail
;
21942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21943 (arg1
)->SetData(arg2
);
21945 wxPyEndAllowThreads(__tstate
);
21946 if (PyErr_Occurred()) SWIG_fail
;
21948 Py_INCREF(Py_None
); resultobj
= Py_None
;
21955 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21956 PyObject
*resultobj
;
21957 wxListItem
*arg1
= (wxListItem
*) 0 ;
21959 PyObject
* obj0
= 0 ;
21960 PyObject
* obj1
= 0 ;
21961 char *kwnames
[] = {
21962 (char *) "self",(char *) "width", NULL
21965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21967 if (SWIG_arg_fail(1)) SWIG_fail
;
21969 arg2
= (int)(SWIG_As_int(obj1
));
21970 if (SWIG_arg_fail(2)) SWIG_fail
;
21973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21974 (arg1
)->SetWidth(arg2
);
21976 wxPyEndAllowThreads(__tstate
);
21977 if (PyErr_Occurred()) SWIG_fail
;
21979 Py_INCREF(Py_None
); resultobj
= Py_None
;
21986 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21987 PyObject
*resultobj
;
21988 wxListItem
*arg1
= (wxListItem
*) 0 ;
21989 wxListColumnFormat arg2
;
21990 PyObject
* obj0
= 0 ;
21991 PyObject
* obj1
= 0 ;
21992 char *kwnames
[] = {
21993 (char *) "self",(char *) "align", NULL
21996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
21997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21998 if (SWIG_arg_fail(1)) SWIG_fail
;
22000 arg2
= (wxListColumnFormat
)(SWIG_As_int(obj1
));
22001 if (SWIG_arg_fail(2)) SWIG_fail
;
22004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22005 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
22007 wxPyEndAllowThreads(__tstate
);
22008 if (PyErr_Occurred()) SWIG_fail
;
22010 Py_INCREF(Py_None
); resultobj
= Py_None
;
22017 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22018 PyObject
*resultobj
;
22019 wxListItem
*arg1
= (wxListItem
*) 0 ;
22020 wxColour
*arg2
= 0 ;
22022 PyObject
* obj0
= 0 ;
22023 PyObject
* obj1
= 0 ;
22024 char *kwnames
[] = {
22025 (char *) "self",(char *) "colText", NULL
22028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22030 if (SWIG_arg_fail(1)) SWIG_fail
;
22033 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22037 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22039 wxPyEndAllowThreads(__tstate
);
22040 if (PyErr_Occurred()) SWIG_fail
;
22042 Py_INCREF(Py_None
); resultobj
= Py_None
;
22049 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22050 PyObject
*resultobj
;
22051 wxListItem
*arg1
= (wxListItem
*) 0 ;
22052 wxColour
*arg2
= 0 ;
22054 PyObject
* obj0
= 0 ;
22055 PyObject
* obj1
= 0 ;
22056 char *kwnames
[] = {
22057 (char *) "self",(char *) "colBack", NULL
22060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22062 if (SWIG_arg_fail(1)) SWIG_fail
;
22065 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22069 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22071 wxPyEndAllowThreads(__tstate
);
22072 if (PyErr_Occurred()) SWIG_fail
;
22074 Py_INCREF(Py_None
); resultobj
= Py_None
;
22081 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22082 PyObject
*resultobj
;
22083 wxListItem
*arg1
= (wxListItem
*) 0 ;
22085 PyObject
* obj0
= 0 ;
22086 PyObject
* obj1
= 0 ;
22087 char *kwnames
[] = {
22088 (char *) "self",(char *) "font", NULL
22091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22093 if (SWIG_arg_fail(1)) SWIG_fail
;
22095 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22096 if (SWIG_arg_fail(2)) SWIG_fail
;
22097 if (arg2
== NULL
) {
22098 SWIG_null_ref("wxFont");
22100 if (SWIG_arg_fail(2)) SWIG_fail
;
22103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22104 (arg1
)->SetFont((wxFont
const &)*arg2
);
22106 wxPyEndAllowThreads(__tstate
);
22107 if (PyErr_Occurred()) SWIG_fail
;
22109 Py_INCREF(Py_None
); resultobj
= Py_None
;
22116 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22117 PyObject
*resultobj
;
22118 wxListItem
*arg1
= (wxListItem
*) 0 ;
22120 PyObject
* obj0
= 0 ;
22121 char *kwnames
[] = {
22122 (char *) "self", NULL
22125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
22126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22127 if (SWIG_arg_fail(1)) SWIG_fail
;
22129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22130 result
= (long)(arg1
)->GetMask();
22132 wxPyEndAllowThreads(__tstate
);
22133 if (PyErr_Occurred()) SWIG_fail
;
22136 resultobj
= SWIG_From_long((long)(result
));
22144 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22145 PyObject
*resultobj
;
22146 wxListItem
*arg1
= (wxListItem
*) 0 ;
22148 PyObject
* obj0
= 0 ;
22149 char *kwnames
[] = {
22150 (char *) "self", NULL
22153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
22154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22155 if (SWIG_arg_fail(1)) SWIG_fail
;
22157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22158 result
= (long)(arg1
)->GetId();
22160 wxPyEndAllowThreads(__tstate
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22164 resultobj
= SWIG_From_long((long)(result
));
22172 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22173 PyObject
*resultobj
;
22174 wxListItem
*arg1
= (wxListItem
*) 0 ;
22176 PyObject
* obj0
= 0 ;
22177 char *kwnames
[] = {
22178 (char *) "self", NULL
22181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
22182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22183 if (SWIG_arg_fail(1)) SWIG_fail
;
22185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22186 result
= (int)(arg1
)->GetColumn();
22188 wxPyEndAllowThreads(__tstate
);
22189 if (PyErr_Occurred()) SWIG_fail
;
22192 resultobj
= SWIG_From_int((int)(result
));
22200 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22201 PyObject
*resultobj
;
22202 wxListItem
*arg1
= (wxListItem
*) 0 ;
22204 PyObject
* obj0
= 0 ;
22205 char *kwnames
[] = {
22206 (char *) "self", NULL
22209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
22210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22211 if (SWIG_arg_fail(1)) SWIG_fail
;
22213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22214 result
= (long)(arg1
)->GetState();
22216 wxPyEndAllowThreads(__tstate
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22220 resultobj
= SWIG_From_long((long)(result
));
22228 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22229 PyObject
*resultobj
;
22230 wxListItem
*arg1
= (wxListItem
*) 0 ;
22232 PyObject
* obj0
= 0 ;
22233 char *kwnames
[] = {
22234 (char *) "self", NULL
22237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
22238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22239 if (SWIG_arg_fail(1)) SWIG_fail
;
22241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22243 wxString
const &_result_ref
= (arg1
)->GetText();
22244 result
= (wxString
*) &_result_ref
;
22247 wxPyEndAllowThreads(__tstate
);
22248 if (PyErr_Occurred()) SWIG_fail
;
22252 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22254 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22263 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22264 PyObject
*resultobj
;
22265 wxListItem
*arg1
= (wxListItem
*) 0 ;
22267 PyObject
* obj0
= 0 ;
22268 char *kwnames
[] = {
22269 (char *) "self", NULL
22272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
22273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22274 if (SWIG_arg_fail(1)) SWIG_fail
;
22276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22277 result
= (int)(arg1
)->GetImage();
22279 wxPyEndAllowThreads(__tstate
);
22280 if (PyErr_Occurred()) SWIG_fail
;
22283 resultobj
= SWIG_From_int((int)(result
));
22291 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22292 PyObject
*resultobj
;
22293 wxListItem
*arg1
= (wxListItem
*) 0 ;
22295 PyObject
* obj0
= 0 ;
22296 char *kwnames
[] = {
22297 (char *) "self", NULL
22300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
22301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22302 if (SWIG_arg_fail(1)) SWIG_fail
;
22304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22305 result
= (long)(arg1
)->GetData();
22307 wxPyEndAllowThreads(__tstate
);
22308 if (PyErr_Occurred()) SWIG_fail
;
22311 resultobj
= SWIG_From_long((long)(result
));
22319 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22320 PyObject
*resultobj
;
22321 wxListItem
*arg1
= (wxListItem
*) 0 ;
22323 PyObject
* obj0
= 0 ;
22324 char *kwnames
[] = {
22325 (char *) "self", NULL
22328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
22329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22330 if (SWIG_arg_fail(1)) SWIG_fail
;
22332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22333 result
= (int)(arg1
)->GetWidth();
22335 wxPyEndAllowThreads(__tstate
);
22336 if (PyErr_Occurred()) SWIG_fail
;
22339 resultobj
= SWIG_From_int((int)(result
));
22347 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22348 PyObject
*resultobj
;
22349 wxListItem
*arg1
= (wxListItem
*) 0 ;
22350 wxListColumnFormat result
;
22351 PyObject
* obj0
= 0 ;
22352 char *kwnames
[] = {
22353 (char *) "self", NULL
22356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
22357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22358 if (SWIG_arg_fail(1)) SWIG_fail
;
22360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22361 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
22363 wxPyEndAllowThreads(__tstate
);
22364 if (PyErr_Occurred()) SWIG_fail
;
22366 resultobj
= SWIG_From_int((result
));
22373 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22374 PyObject
*resultobj
;
22375 wxListItem
*arg1
= (wxListItem
*) 0 ;
22376 wxListItemAttr
*result
;
22377 PyObject
* obj0
= 0 ;
22378 char *kwnames
[] = {
22379 (char *) "self", NULL
22382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
22383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22384 if (SWIG_arg_fail(1)) SWIG_fail
;
22386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22387 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
22389 wxPyEndAllowThreads(__tstate
);
22390 if (PyErr_Occurred()) SWIG_fail
;
22392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
22399 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22400 PyObject
*resultobj
;
22401 wxListItem
*arg1
= (wxListItem
*) 0 ;
22403 PyObject
* obj0
= 0 ;
22404 char *kwnames
[] = {
22405 (char *) "self", NULL
22408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
22409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22410 if (SWIG_arg_fail(1)) SWIG_fail
;
22412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22413 result
= (bool)(arg1
)->HasAttributes();
22415 wxPyEndAllowThreads(__tstate
);
22416 if (PyErr_Occurred()) SWIG_fail
;
22419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22427 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22428 PyObject
*resultobj
;
22429 wxListItem
*arg1
= (wxListItem
*) 0 ;
22431 PyObject
* obj0
= 0 ;
22432 char *kwnames
[] = {
22433 (char *) "self", NULL
22436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
22437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22438 if (SWIG_arg_fail(1)) SWIG_fail
;
22440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22441 result
= ((wxListItem
const *)arg1
)->GetTextColour();
22443 wxPyEndAllowThreads(__tstate
);
22444 if (PyErr_Occurred()) SWIG_fail
;
22447 wxColour
* resultptr
;
22448 resultptr
= new wxColour((wxColour
&)(result
));
22449 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22457 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22458 PyObject
*resultobj
;
22459 wxListItem
*arg1
= (wxListItem
*) 0 ;
22461 PyObject
* obj0
= 0 ;
22462 char *kwnames
[] = {
22463 (char *) "self", NULL
22466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22468 if (SWIG_arg_fail(1)) SWIG_fail
;
22470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22471 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
22473 wxPyEndAllowThreads(__tstate
);
22474 if (PyErr_Occurred()) SWIG_fail
;
22477 wxColour
* resultptr
;
22478 resultptr
= new wxColour((wxColour
&)(result
));
22479 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22487 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22488 PyObject
*resultobj
;
22489 wxListItem
*arg1
= (wxListItem
*) 0 ;
22491 PyObject
* obj0
= 0 ;
22492 char *kwnames
[] = {
22493 (char *) "self", NULL
22496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
22497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22498 if (SWIG_arg_fail(1)) SWIG_fail
;
22500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22501 result
= ((wxListItem
const *)arg1
)->GetFont();
22503 wxPyEndAllowThreads(__tstate
);
22504 if (PyErr_Occurred()) SWIG_fail
;
22507 wxFont
* resultptr
;
22508 resultptr
= new wxFont((wxFont
&)(result
));
22509 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22517 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22518 PyObject
*resultobj
;
22519 wxListItem
*arg1
= (wxListItem
*) 0 ;
22521 PyObject
* obj0
= 0 ;
22522 PyObject
* obj1
= 0 ;
22523 char *kwnames
[] = {
22524 (char *) "self",(char *) "m_mask", NULL
22527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22529 if (SWIG_arg_fail(1)) SWIG_fail
;
22531 arg2
= (long)(SWIG_As_long(obj1
));
22532 if (SWIG_arg_fail(2)) SWIG_fail
;
22534 if (arg1
) (arg1
)->m_mask
= arg2
;
22536 Py_INCREF(Py_None
); resultobj
= Py_None
;
22543 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22544 PyObject
*resultobj
;
22545 wxListItem
*arg1
= (wxListItem
*) 0 ;
22547 PyObject
* obj0
= 0 ;
22548 char *kwnames
[] = {
22549 (char *) "self", NULL
22552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
22553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22554 if (SWIG_arg_fail(1)) SWIG_fail
;
22555 result
= (long) ((arg1
)->m_mask
);
22558 resultobj
= SWIG_From_long((long)(result
));
22566 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22567 PyObject
*resultobj
;
22568 wxListItem
*arg1
= (wxListItem
*) 0 ;
22570 PyObject
* obj0
= 0 ;
22571 PyObject
* obj1
= 0 ;
22572 char *kwnames
[] = {
22573 (char *) "self",(char *) "m_itemId", NULL
22576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22578 if (SWIG_arg_fail(1)) SWIG_fail
;
22580 arg2
= (long)(SWIG_As_long(obj1
));
22581 if (SWIG_arg_fail(2)) SWIG_fail
;
22583 if (arg1
) (arg1
)->m_itemId
= arg2
;
22585 Py_INCREF(Py_None
); resultobj
= Py_None
;
22592 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22593 PyObject
*resultobj
;
22594 wxListItem
*arg1
= (wxListItem
*) 0 ;
22596 PyObject
* obj0
= 0 ;
22597 char *kwnames
[] = {
22598 (char *) "self", NULL
22601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
22602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22603 if (SWIG_arg_fail(1)) SWIG_fail
;
22604 result
= (long) ((arg1
)->m_itemId
);
22607 resultobj
= SWIG_From_long((long)(result
));
22615 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22616 PyObject
*resultobj
;
22617 wxListItem
*arg1
= (wxListItem
*) 0 ;
22619 PyObject
* obj0
= 0 ;
22620 PyObject
* obj1
= 0 ;
22621 char *kwnames
[] = {
22622 (char *) "self",(char *) "m_col", NULL
22625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22627 if (SWIG_arg_fail(1)) SWIG_fail
;
22629 arg2
= (int)(SWIG_As_int(obj1
));
22630 if (SWIG_arg_fail(2)) SWIG_fail
;
22632 if (arg1
) (arg1
)->m_col
= arg2
;
22634 Py_INCREF(Py_None
); resultobj
= Py_None
;
22641 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22642 PyObject
*resultobj
;
22643 wxListItem
*arg1
= (wxListItem
*) 0 ;
22645 PyObject
* obj0
= 0 ;
22646 char *kwnames
[] = {
22647 (char *) "self", NULL
22650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
22651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22652 if (SWIG_arg_fail(1)) SWIG_fail
;
22653 result
= (int) ((arg1
)->m_col
);
22656 resultobj
= SWIG_From_int((int)(result
));
22664 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22665 PyObject
*resultobj
;
22666 wxListItem
*arg1
= (wxListItem
*) 0 ;
22668 PyObject
* obj0
= 0 ;
22669 PyObject
* obj1
= 0 ;
22670 char *kwnames
[] = {
22671 (char *) "self",(char *) "m_state", NULL
22674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22676 if (SWIG_arg_fail(1)) SWIG_fail
;
22678 arg2
= (long)(SWIG_As_long(obj1
));
22679 if (SWIG_arg_fail(2)) SWIG_fail
;
22681 if (arg1
) (arg1
)->m_state
= arg2
;
22683 Py_INCREF(Py_None
); resultobj
= Py_None
;
22690 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22691 PyObject
*resultobj
;
22692 wxListItem
*arg1
= (wxListItem
*) 0 ;
22694 PyObject
* obj0
= 0 ;
22695 char *kwnames
[] = {
22696 (char *) "self", NULL
22699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
22700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22701 if (SWIG_arg_fail(1)) SWIG_fail
;
22702 result
= (long) ((arg1
)->m_state
);
22705 resultobj
= SWIG_From_long((long)(result
));
22713 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22714 PyObject
*resultobj
;
22715 wxListItem
*arg1
= (wxListItem
*) 0 ;
22717 PyObject
* obj0
= 0 ;
22718 PyObject
* obj1
= 0 ;
22719 char *kwnames
[] = {
22720 (char *) "self",(char *) "m_stateMask", NULL
22723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22725 if (SWIG_arg_fail(1)) SWIG_fail
;
22727 arg2
= (long)(SWIG_As_long(obj1
));
22728 if (SWIG_arg_fail(2)) SWIG_fail
;
22730 if (arg1
) (arg1
)->m_stateMask
= arg2
;
22732 Py_INCREF(Py_None
); resultobj
= Py_None
;
22739 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22740 PyObject
*resultobj
;
22741 wxListItem
*arg1
= (wxListItem
*) 0 ;
22743 PyObject
* obj0
= 0 ;
22744 char *kwnames
[] = {
22745 (char *) "self", NULL
22748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
22749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22750 if (SWIG_arg_fail(1)) SWIG_fail
;
22751 result
= (long) ((arg1
)->m_stateMask
);
22754 resultobj
= SWIG_From_long((long)(result
));
22762 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22763 PyObject
*resultobj
;
22764 wxListItem
*arg1
= (wxListItem
*) 0 ;
22765 wxString
*arg2
= (wxString
*) 0 ;
22766 bool temp2
= false ;
22767 PyObject
* obj0
= 0 ;
22768 PyObject
* obj1
= 0 ;
22769 char *kwnames
[] = {
22770 (char *) "self",(char *) "m_text", NULL
22773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22775 if (SWIG_arg_fail(1)) SWIG_fail
;
22777 arg2
= wxString_in_helper(obj1
);
22778 if (arg2
== NULL
) SWIG_fail
;
22781 if (arg1
) (arg1
)->m_text
= *arg2
;
22783 Py_INCREF(Py_None
); resultobj
= Py_None
;
22798 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22799 PyObject
*resultobj
;
22800 wxListItem
*arg1
= (wxListItem
*) 0 ;
22802 PyObject
* obj0
= 0 ;
22803 char *kwnames
[] = {
22804 (char *) "self", NULL
22807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
22808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22809 if (SWIG_arg_fail(1)) SWIG_fail
;
22810 result
= (wxString
*)& ((arg1
)->m_text
);
22814 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22816 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22825 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22826 PyObject
*resultobj
;
22827 wxListItem
*arg1
= (wxListItem
*) 0 ;
22829 PyObject
* obj0
= 0 ;
22830 PyObject
* obj1
= 0 ;
22831 char *kwnames
[] = {
22832 (char *) "self",(char *) "m_image", NULL
22835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22837 if (SWIG_arg_fail(1)) SWIG_fail
;
22839 arg2
= (int)(SWIG_As_int(obj1
));
22840 if (SWIG_arg_fail(2)) SWIG_fail
;
22842 if (arg1
) (arg1
)->m_image
= arg2
;
22844 Py_INCREF(Py_None
); resultobj
= Py_None
;
22851 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22852 PyObject
*resultobj
;
22853 wxListItem
*arg1
= (wxListItem
*) 0 ;
22855 PyObject
* obj0
= 0 ;
22856 char *kwnames
[] = {
22857 (char *) "self", NULL
22860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
22861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22862 if (SWIG_arg_fail(1)) SWIG_fail
;
22863 result
= (int) ((arg1
)->m_image
);
22866 resultobj
= SWIG_From_int((int)(result
));
22874 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22875 PyObject
*resultobj
;
22876 wxListItem
*arg1
= (wxListItem
*) 0 ;
22878 PyObject
* obj0
= 0 ;
22879 PyObject
* obj1
= 0 ;
22880 char *kwnames
[] = {
22881 (char *) "self",(char *) "m_data", NULL
22884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22886 if (SWIG_arg_fail(1)) SWIG_fail
;
22888 arg2
= (long)(SWIG_As_long(obj1
));
22889 if (SWIG_arg_fail(2)) SWIG_fail
;
22891 if (arg1
) (arg1
)->m_data
= arg2
;
22893 Py_INCREF(Py_None
); resultobj
= Py_None
;
22900 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22901 PyObject
*resultobj
;
22902 wxListItem
*arg1
= (wxListItem
*) 0 ;
22904 PyObject
* obj0
= 0 ;
22905 char *kwnames
[] = {
22906 (char *) "self", NULL
22909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
22910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22911 if (SWIG_arg_fail(1)) SWIG_fail
;
22912 result
= (long) ((arg1
)->m_data
);
22915 resultobj
= SWIG_From_long((long)(result
));
22923 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22924 PyObject
*resultobj
;
22925 wxListItem
*arg1
= (wxListItem
*) 0 ;
22927 PyObject
* obj0
= 0 ;
22928 PyObject
* obj1
= 0 ;
22929 char *kwnames
[] = {
22930 (char *) "self",(char *) "m_format", NULL
22933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22935 if (SWIG_arg_fail(1)) SWIG_fail
;
22937 arg2
= (int)(SWIG_As_int(obj1
));
22938 if (SWIG_arg_fail(2)) SWIG_fail
;
22940 if (arg1
) (arg1
)->m_format
= arg2
;
22942 Py_INCREF(Py_None
); resultobj
= Py_None
;
22949 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22950 PyObject
*resultobj
;
22951 wxListItem
*arg1
= (wxListItem
*) 0 ;
22953 PyObject
* obj0
= 0 ;
22954 char *kwnames
[] = {
22955 (char *) "self", NULL
22958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
22959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22960 if (SWIG_arg_fail(1)) SWIG_fail
;
22961 result
= (int) ((arg1
)->m_format
);
22964 resultobj
= SWIG_From_int((int)(result
));
22972 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22973 PyObject
*resultobj
;
22974 wxListItem
*arg1
= (wxListItem
*) 0 ;
22976 PyObject
* obj0
= 0 ;
22977 PyObject
* obj1
= 0 ;
22978 char *kwnames
[] = {
22979 (char *) "self",(char *) "m_width", NULL
22982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22984 if (SWIG_arg_fail(1)) SWIG_fail
;
22986 arg2
= (int)(SWIG_As_int(obj1
));
22987 if (SWIG_arg_fail(2)) SWIG_fail
;
22989 if (arg1
) (arg1
)->m_width
= arg2
;
22991 Py_INCREF(Py_None
); resultobj
= Py_None
;
22998 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22999 PyObject
*resultobj
;
23000 wxListItem
*arg1
= (wxListItem
*) 0 ;
23002 PyObject
* obj0
= 0 ;
23003 char *kwnames
[] = {
23004 (char *) "self", NULL
23007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
23008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23009 if (SWIG_arg_fail(1)) SWIG_fail
;
23010 result
= (int) ((arg1
)->m_width
);
23013 resultobj
= SWIG_From_int((int)(result
));
23021 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
23023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23024 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
23026 return Py_BuildValue((char *)"");
23028 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23029 PyObject
*resultobj
;
23030 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23031 int arg2
= (int) 0 ;
23032 wxListEvent
*result
;
23033 PyObject
* obj0
= 0 ;
23034 PyObject
* obj1
= 0 ;
23035 char *kwnames
[] = {
23036 (char *) "commandType",(char *) "id", NULL
23039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23042 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
23043 if (SWIG_arg_fail(1)) SWIG_fail
;
23048 arg2
= (int)(SWIG_As_int(obj1
));
23049 if (SWIG_arg_fail(2)) SWIG_fail
;
23053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23054 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
23056 wxPyEndAllowThreads(__tstate
);
23057 if (PyErr_Occurred()) SWIG_fail
;
23059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
23066 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23067 PyObject
*resultobj
;
23068 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23070 PyObject
* obj0
= 0 ;
23071 PyObject
* obj1
= 0 ;
23072 char *kwnames
[] = {
23073 (char *) "self",(char *) "m_code", NULL
23076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23078 if (SWIG_arg_fail(1)) SWIG_fail
;
23080 arg2
= (int)(SWIG_As_int(obj1
));
23081 if (SWIG_arg_fail(2)) SWIG_fail
;
23083 if (arg1
) (arg1
)->m_code
= arg2
;
23085 Py_INCREF(Py_None
); resultobj
= Py_None
;
23092 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23093 PyObject
*resultobj
;
23094 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23096 PyObject
* obj0
= 0 ;
23097 char *kwnames
[] = {
23098 (char *) "self", NULL
23101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
23102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23103 if (SWIG_arg_fail(1)) SWIG_fail
;
23104 result
= (int) ((arg1
)->m_code
);
23107 resultobj
= SWIG_From_int((int)(result
));
23115 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23116 PyObject
*resultobj
;
23117 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23119 PyObject
* obj0
= 0 ;
23120 PyObject
* obj1
= 0 ;
23121 char *kwnames
[] = {
23122 (char *) "self",(char *) "m_oldItemIndex", NULL
23125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23127 if (SWIG_arg_fail(1)) SWIG_fail
;
23129 arg2
= (long)(SWIG_As_long(obj1
));
23130 if (SWIG_arg_fail(2)) SWIG_fail
;
23132 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
23134 Py_INCREF(Py_None
); resultobj
= Py_None
;
23141 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23142 PyObject
*resultobj
;
23143 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23145 PyObject
* obj0
= 0 ;
23146 char *kwnames
[] = {
23147 (char *) "self", NULL
23150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
23151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23152 if (SWIG_arg_fail(1)) SWIG_fail
;
23153 result
= (long) ((arg1
)->m_oldItemIndex
);
23156 resultobj
= SWIG_From_long((long)(result
));
23164 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23165 PyObject
*resultobj
;
23166 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23168 PyObject
* obj0
= 0 ;
23169 PyObject
* obj1
= 0 ;
23170 char *kwnames
[] = {
23171 (char *) "self",(char *) "m_itemIndex", NULL
23174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23176 if (SWIG_arg_fail(1)) SWIG_fail
;
23178 arg2
= (long)(SWIG_As_long(obj1
));
23179 if (SWIG_arg_fail(2)) SWIG_fail
;
23181 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
23183 Py_INCREF(Py_None
); resultobj
= Py_None
;
23190 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23191 PyObject
*resultobj
;
23192 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23194 PyObject
* obj0
= 0 ;
23195 char *kwnames
[] = {
23196 (char *) "self", NULL
23199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
23200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23201 if (SWIG_arg_fail(1)) SWIG_fail
;
23202 result
= (long) ((arg1
)->m_itemIndex
);
23205 resultobj
= SWIG_From_long((long)(result
));
23213 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23214 PyObject
*resultobj
;
23215 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23217 PyObject
* obj0
= 0 ;
23218 PyObject
* obj1
= 0 ;
23219 char *kwnames
[] = {
23220 (char *) "self",(char *) "m_col", NULL
23223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23225 if (SWIG_arg_fail(1)) SWIG_fail
;
23227 arg2
= (int)(SWIG_As_int(obj1
));
23228 if (SWIG_arg_fail(2)) SWIG_fail
;
23230 if (arg1
) (arg1
)->m_col
= arg2
;
23232 Py_INCREF(Py_None
); resultobj
= Py_None
;
23239 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23240 PyObject
*resultobj
;
23241 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23243 PyObject
* obj0
= 0 ;
23244 char *kwnames
[] = {
23245 (char *) "self", NULL
23248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
23249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23250 if (SWIG_arg_fail(1)) SWIG_fail
;
23251 result
= (int) ((arg1
)->m_col
);
23254 resultobj
= SWIG_From_int((int)(result
));
23262 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23263 PyObject
*resultobj
;
23264 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23265 wxPoint
*arg2
= (wxPoint
*) 0 ;
23266 PyObject
* obj0
= 0 ;
23267 PyObject
* obj1
= 0 ;
23268 char *kwnames
[] = {
23269 (char *) "self",(char *) "m_pointDrag", NULL
23272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23274 if (SWIG_arg_fail(1)) SWIG_fail
;
23275 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
23276 if (SWIG_arg_fail(2)) SWIG_fail
;
23277 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
23279 Py_INCREF(Py_None
); resultobj
= Py_None
;
23286 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23287 PyObject
*resultobj
;
23288 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23290 PyObject
* obj0
= 0 ;
23291 char *kwnames
[] = {
23292 (char *) "self", NULL
23295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
23296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23297 if (SWIG_arg_fail(1)) SWIG_fail
;
23298 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
23300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
23307 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23308 PyObject
*resultobj
;
23309 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23310 wxListItem
*result
;
23311 PyObject
* obj0
= 0 ;
23312 char *kwnames
[] = {
23313 (char *) "self", NULL
23316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
23317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23318 if (SWIG_arg_fail(1)) SWIG_fail
;
23319 result
= (wxListItem
*)& ((arg1
)->m_item
);
23322 resultobj
= wxPyMake_wxObject(result
, 0);
23330 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23331 PyObject
*resultobj
;
23332 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23334 PyObject
* obj0
= 0 ;
23335 char *kwnames
[] = {
23336 (char *) "self", NULL
23339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23341 if (SWIG_arg_fail(1)) SWIG_fail
;
23343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23344 result
= (int)(arg1
)->GetKeyCode();
23346 wxPyEndAllowThreads(__tstate
);
23347 if (PyErr_Occurred()) SWIG_fail
;
23350 resultobj
= SWIG_From_int((int)(result
));
23358 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23359 PyObject
*resultobj
;
23360 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23362 PyObject
* obj0
= 0 ;
23363 char *kwnames
[] = {
23364 (char *) "self", NULL
23367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
23368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23369 if (SWIG_arg_fail(1)) SWIG_fail
;
23371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23372 result
= (long)(arg1
)->GetIndex();
23374 wxPyEndAllowThreads(__tstate
);
23375 if (PyErr_Occurred()) SWIG_fail
;
23378 resultobj
= SWIG_From_long((long)(result
));
23386 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23387 PyObject
*resultobj
;
23388 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23390 PyObject
* obj0
= 0 ;
23391 char *kwnames
[] = {
23392 (char *) "self", NULL
23395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
23396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23397 if (SWIG_arg_fail(1)) SWIG_fail
;
23399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23400 result
= (int)(arg1
)->GetColumn();
23402 wxPyEndAllowThreads(__tstate
);
23403 if (PyErr_Occurred()) SWIG_fail
;
23406 resultobj
= SWIG_From_int((int)(result
));
23414 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23415 PyObject
*resultobj
;
23416 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23418 PyObject
* obj0
= 0 ;
23419 char *kwnames
[] = {
23420 (char *) "self", NULL
23423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23425 if (SWIG_arg_fail(1)) SWIG_fail
;
23427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23428 result
= (arg1
)->GetPoint();
23430 wxPyEndAllowThreads(__tstate
);
23431 if (PyErr_Occurred()) SWIG_fail
;
23434 wxPoint
* resultptr
;
23435 resultptr
= new wxPoint((wxPoint
&)(result
));
23436 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23444 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23445 PyObject
*resultobj
;
23446 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23448 PyObject
* obj0
= 0 ;
23449 char *kwnames
[] = {
23450 (char *) "self", NULL
23453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23455 if (SWIG_arg_fail(1)) SWIG_fail
;
23457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23459 wxString
const &_result_ref
= (arg1
)->GetLabel();
23460 result
= (wxString
*) &_result_ref
;
23463 wxPyEndAllowThreads(__tstate
);
23464 if (PyErr_Occurred()) SWIG_fail
;
23468 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23470 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23479 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23480 PyObject
*resultobj
;
23481 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23483 PyObject
* obj0
= 0 ;
23484 char *kwnames
[] = {
23485 (char *) "self", NULL
23488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
23489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23490 if (SWIG_arg_fail(1)) SWIG_fail
;
23492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23494 wxString
const &_result_ref
= (arg1
)->GetText();
23495 result
= (wxString
*) &_result_ref
;
23498 wxPyEndAllowThreads(__tstate
);
23499 if (PyErr_Occurred()) SWIG_fail
;
23503 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23505 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23514 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23515 PyObject
*resultobj
;
23516 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23518 PyObject
* obj0
= 0 ;
23519 char *kwnames
[] = {
23520 (char *) "self", NULL
23523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
23524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23525 if (SWIG_arg_fail(1)) SWIG_fail
;
23527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23528 result
= (int)(arg1
)->GetImage();
23530 wxPyEndAllowThreads(__tstate
);
23531 if (PyErr_Occurred()) SWIG_fail
;
23534 resultobj
= SWIG_From_int((int)(result
));
23542 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23543 PyObject
*resultobj
;
23544 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23546 PyObject
* obj0
= 0 ;
23547 char *kwnames
[] = {
23548 (char *) "self", NULL
23551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
23552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23553 if (SWIG_arg_fail(1)) SWIG_fail
;
23555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23556 result
= (long)(arg1
)->GetData();
23558 wxPyEndAllowThreads(__tstate
);
23559 if (PyErr_Occurred()) SWIG_fail
;
23562 resultobj
= SWIG_From_long((long)(result
));
23570 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23571 PyObject
*resultobj
;
23572 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23574 PyObject
* obj0
= 0 ;
23575 char *kwnames
[] = {
23576 (char *) "self", NULL
23579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
23580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23581 if (SWIG_arg_fail(1)) SWIG_fail
;
23583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23584 result
= (long)(arg1
)->GetMask();
23586 wxPyEndAllowThreads(__tstate
);
23587 if (PyErr_Occurred()) SWIG_fail
;
23590 resultobj
= SWIG_From_long((long)(result
));
23598 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23599 PyObject
*resultobj
;
23600 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23601 wxListItem
*result
;
23602 PyObject
* obj0
= 0 ;
23603 char *kwnames
[] = {
23604 (char *) "self", NULL
23607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23609 if (SWIG_arg_fail(1)) SWIG_fail
;
23611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23613 wxListItem
const &_result_ref
= (arg1
)->GetItem();
23614 result
= (wxListItem
*) &_result_ref
;
23617 wxPyEndAllowThreads(__tstate
);
23618 if (PyErr_Occurred()) SWIG_fail
;
23620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
23627 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23628 PyObject
*resultobj
;
23629 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23631 PyObject
* obj0
= 0 ;
23632 char *kwnames
[] = {
23633 (char *) "self", NULL
23636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
23637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23638 if (SWIG_arg_fail(1)) SWIG_fail
;
23640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23641 result
= (long)(arg1
)->GetCacheFrom();
23643 wxPyEndAllowThreads(__tstate
);
23644 if (PyErr_Occurred()) SWIG_fail
;
23647 resultobj
= SWIG_From_long((long)(result
));
23655 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23656 PyObject
*resultobj
;
23657 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23659 PyObject
* obj0
= 0 ;
23660 char *kwnames
[] = {
23661 (char *) "self", NULL
23664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
23665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23666 if (SWIG_arg_fail(1)) SWIG_fail
;
23668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23669 result
= (long)(arg1
)->GetCacheTo();
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23675 resultobj
= SWIG_From_long((long)(result
));
23683 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23684 PyObject
*resultobj
;
23685 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23687 PyObject
* obj0
= 0 ;
23688 char *kwnames
[] = {
23689 (char *) "self", NULL
23692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23694 if (SWIG_arg_fail(1)) SWIG_fail
;
23696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23697 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
23699 wxPyEndAllowThreads(__tstate
);
23700 if (PyErr_Occurred()) SWIG_fail
;
23703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23711 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23712 PyObject
*resultobj
;
23713 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23715 PyObject
* obj0
= 0 ;
23716 PyObject
* obj1
= 0 ;
23717 char *kwnames
[] = {
23718 (char *) "self",(char *) "editCancelled", NULL
23721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23723 if (SWIG_arg_fail(1)) SWIG_fail
;
23725 arg2
= (bool)(SWIG_As_bool(obj1
));
23726 if (SWIG_arg_fail(2)) SWIG_fail
;
23729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23730 (arg1
)->SetEditCanceled(arg2
);
23732 wxPyEndAllowThreads(__tstate
);
23733 if (PyErr_Occurred()) SWIG_fail
;
23735 Py_INCREF(Py_None
); resultobj
= Py_None
;
23742 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
23744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23745 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
23747 return Py_BuildValue((char *)"");
23749 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23750 PyObject
*resultobj
;
23751 wxWindow
*arg1
= (wxWindow
*) 0 ;
23752 int arg2
= (int) -1 ;
23753 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23754 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23755 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23756 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23757 long arg5
= (long) wxLC_ICON
;
23758 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23759 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23760 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23761 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23762 wxPyListCtrl
*result
;
23765 bool temp7
= false ;
23766 PyObject
* obj0
= 0 ;
23767 PyObject
* obj1
= 0 ;
23768 PyObject
* obj2
= 0 ;
23769 PyObject
* obj3
= 0 ;
23770 PyObject
* obj4
= 0 ;
23771 PyObject
* obj5
= 0 ;
23772 PyObject
* obj6
= 0 ;
23773 char *kwnames
[] = {
23774 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23779 if (SWIG_arg_fail(1)) SWIG_fail
;
23782 arg2
= (int)(SWIG_As_int(obj1
));
23783 if (SWIG_arg_fail(2)) SWIG_fail
;
23789 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23795 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23800 arg5
= (long)(SWIG_As_long(obj4
));
23801 if (SWIG_arg_fail(5)) SWIG_fail
;
23806 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23807 if (SWIG_arg_fail(6)) SWIG_fail
;
23808 if (arg6
== NULL
) {
23809 SWIG_null_ref("wxValidator");
23811 if (SWIG_arg_fail(6)) SWIG_fail
;
23816 arg7
= wxString_in_helper(obj6
);
23817 if (arg7
== NULL
) SWIG_fail
;
23822 if (!wxPyCheckForApp()) SWIG_fail
;
23823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23824 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23826 wxPyEndAllowThreads(__tstate
);
23827 if (PyErr_Occurred()) SWIG_fail
;
23829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23844 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23845 PyObject
*resultobj
;
23846 wxPyListCtrl
*result
;
23847 char *kwnames
[] = {
23851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
23853 if (!wxPyCheckForApp()) SWIG_fail
;
23854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23855 result
= (wxPyListCtrl
*)new wxPyListCtrl();
23857 wxPyEndAllowThreads(__tstate
);
23858 if (PyErr_Occurred()) SWIG_fail
;
23860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23867 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23868 PyObject
*resultobj
;
23869 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23870 wxWindow
*arg2
= (wxWindow
*) 0 ;
23871 int arg3
= (int) -1 ;
23872 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23873 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23874 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23875 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23876 long arg6
= (long) wxLC_ICON
;
23877 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23878 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23879 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23880 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23884 bool temp8
= false ;
23885 PyObject
* obj0
= 0 ;
23886 PyObject
* obj1
= 0 ;
23887 PyObject
* obj2
= 0 ;
23888 PyObject
* obj3
= 0 ;
23889 PyObject
* obj4
= 0 ;
23890 PyObject
* obj5
= 0 ;
23891 PyObject
* obj6
= 0 ;
23892 PyObject
* obj7
= 0 ;
23893 char *kwnames
[] = {
23894 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23899 if (SWIG_arg_fail(1)) SWIG_fail
;
23900 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23901 if (SWIG_arg_fail(2)) SWIG_fail
;
23904 arg3
= (int)(SWIG_As_int(obj2
));
23905 if (SWIG_arg_fail(3)) SWIG_fail
;
23911 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23917 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23922 arg6
= (long)(SWIG_As_long(obj5
));
23923 if (SWIG_arg_fail(6)) SWIG_fail
;
23928 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23929 if (SWIG_arg_fail(7)) SWIG_fail
;
23930 if (arg7
== NULL
) {
23931 SWIG_null_ref("wxValidator");
23933 if (SWIG_arg_fail(7)) SWIG_fail
;
23938 arg8
= wxString_in_helper(obj7
);
23939 if (arg8
== NULL
) SWIG_fail
;
23944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23945 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23947 wxPyEndAllowThreads(__tstate
);
23948 if (PyErr_Occurred()) SWIG_fail
;
23951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23967 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23968 PyObject
*resultobj
;
23969 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23970 PyObject
*arg2
= (PyObject
*) 0 ;
23971 PyObject
*arg3
= (PyObject
*) 0 ;
23972 PyObject
* obj0
= 0 ;
23973 PyObject
* obj1
= 0 ;
23974 PyObject
* obj2
= 0 ;
23975 char *kwnames
[] = {
23976 (char *) "self",(char *) "self",(char *) "_class", NULL
23979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23981 if (SWIG_arg_fail(1)) SWIG_fail
;
23985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23986 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23988 wxPyEndAllowThreads(__tstate
);
23989 if (PyErr_Occurred()) SWIG_fail
;
23991 Py_INCREF(Py_None
); resultobj
= Py_None
;
23998 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23999 PyObject
*resultobj
;
24000 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24001 wxColour
*arg2
= 0 ;
24004 PyObject
* obj0
= 0 ;
24005 PyObject
* obj1
= 0 ;
24006 char *kwnames
[] = {
24007 (char *) "self",(char *) "col", NULL
24010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24012 if (SWIG_arg_fail(1)) SWIG_fail
;
24015 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24019 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
24021 wxPyEndAllowThreads(__tstate
);
24022 if (PyErr_Occurred()) SWIG_fail
;
24025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24033 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24034 PyObject
*resultobj
;
24035 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24036 wxColour
*arg2
= 0 ;
24039 PyObject
* obj0
= 0 ;
24040 PyObject
* obj1
= 0 ;
24041 char *kwnames
[] = {
24042 (char *) "self",(char *) "col", NULL
24045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24047 if (SWIG_arg_fail(1)) SWIG_fail
;
24050 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24054 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24056 wxPyEndAllowThreads(__tstate
);
24057 if (PyErr_Occurred()) SWIG_fail
;
24060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24068 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24069 PyObject
*resultobj
;
24070 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24072 wxListItem
*result
;
24073 PyObject
* obj0
= 0 ;
24074 PyObject
* obj1
= 0 ;
24075 char *kwnames
[] = {
24076 (char *) "self",(char *) "col", NULL
24079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
24080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24081 if (SWIG_arg_fail(1)) SWIG_fail
;
24083 arg2
= (int)(SWIG_As_int(obj1
));
24084 if (SWIG_arg_fail(2)) SWIG_fail
;
24087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24088 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
24090 wxPyEndAllowThreads(__tstate
);
24091 if (PyErr_Occurred()) SWIG_fail
;
24094 resultobj
= wxPyMake_wxObject(result
, 0);
24102 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24103 PyObject
*resultobj
;
24104 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24106 wxListItem
*arg3
= 0 ;
24108 PyObject
* obj0
= 0 ;
24109 PyObject
* obj1
= 0 ;
24110 PyObject
* obj2
= 0 ;
24111 char *kwnames
[] = {
24112 (char *) "self",(char *) "col",(char *) "item", NULL
24115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24117 if (SWIG_arg_fail(1)) SWIG_fail
;
24119 arg2
= (int)(SWIG_As_int(obj1
));
24120 if (SWIG_arg_fail(2)) SWIG_fail
;
24123 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24124 if (SWIG_arg_fail(3)) SWIG_fail
;
24125 if (arg3
== NULL
) {
24126 SWIG_null_ref("wxListItem");
24128 if (SWIG_arg_fail(3)) SWIG_fail
;
24131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24132 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
24134 wxPyEndAllowThreads(__tstate
);
24135 if (PyErr_Occurred()) SWIG_fail
;
24138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24146 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24147 PyObject
*resultobj
;
24148 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24151 PyObject
* obj0
= 0 ;
24152 PyObject
* obj1
= 0 ;
24153 char *kwnames
[] = {
24154 (char *) "self",(char *) "col", NULL
24157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
24158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24159 if (SWIG_arg_fail(1)) SWIG_fail
;
24161 arg2
= (int)(SWIG_As_int(obj1
));
24162 if (SWIG_arg_fail(2)) SWIG_fail
;
24165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24166 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
24168 wxPyEndAllowThreads(__tstate
);
24169 if (PyErr_Occurred()) SWIG_fail
;
24172 resultobj
= SWIG_From_int((int)(result
));
24180 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24181 PyObject
*resultobj
;
24182 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24186 PyObject
* obj0
= 0 ;
24187 PyObject
* obj1
= 0 ;
24188 PyObject
* obj2
= 0 ;
24189 char *kwnames
[] = {
24190 (char *) "self",(char *) "col",(char *) "width", NULL
24193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24195 if (SWIG_arg_fail(1)) SWIG_fail
;
24197 arg2
= (int)(SWIG_As_int(obj1
));
24198 if (SWIG_arg_fail(2)) SWIG_fail
;
24201 arg3
= (int)(SWIG_As_int(obj2
));
24202 if (SWIG_arg_fail(3)) SWIG_fail
;
24205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24206 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
24208 wxPyEndAllowThreads(__tstate
);
24209 if (PyErr_Occurred()) SWIG_fail
;
24212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24220 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24221 PyObject
*resultobj
;
24222 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24224 PyObject
* obj0
= 0 ;
24225 char *kwnames
[] = {
24226 (char *) "self", NULL
24229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
24230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24231 if (SWIG_arg_fail(1)) SWIG_fail
;
24233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24234 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
24236 wxPyEndAllowThreads(__tstate
);
24237 if (PyErr_Occurred()) SWIG_fail
;
24240 resultobj
= SWIG_From_int((int)(result
));
24248 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24249 PyObject
*resultobj
;
24250 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24252 PyObject
* obj0
= 0 ;
24253 char *kwnames
[] = {
24254 (char *) "self", NULL
24257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
24258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24259 if (SWIG_arg_fail(1)) SWIG_fail
;
24261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24262 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
24264 wxPyEndAllowThreads(__tstate
);
24265 if (PyErr_Occurred()) SWIG_fail
;
24268 wxRect
* resultptr
;
24269 resultptr
= new wxRect((wxRect
&)(result
));
24270 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24278 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24279 PyObject
*resultobj
;
24280 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24282 int arg3
= (int) 0 ;
24283 wxListItem
*result
;
24284 PyObject
* obj0
= 0 ;
24285 PyObject
* obj1
= 0 ;
24286 PyObject
* obj2
= 0 ;
24287 char *kwnames
[] = {
24288 (char *) "self",(char *) "itemId",(char *) "col", NULL
24291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24293 if (SWIG_arg_fail(1)) SWIG_fail
;
24295 arg2
= (long)(SWIG_As_long(obj1
));
24296 if (SWIG_arg_fail(2)) SWIG_fail
;
24300 arg3
= (int)(SWIG_As_int(obj2
));
24301 if (SWIG_arg_fail(3)) SWIG_fail
;
24305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24306 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
24308 wxPyEndAllowThreads(__tstate
);
24309 if (PyErr_Occurred()) SWIG_fail
;
24312 resultobj
= wxPyMake_wxObject(result
, 0);
24320 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24321 PyObject
*resultobj
;
24322 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24323 wxListItem
*arg2
= 0 ;
24325 PyObject
* obj0
= 0 ;
24326 PyObject
* obj1
= 0 ;
24327 char *kwnames
[] = {
24328 (char *) "self",(char *) "info", NULL
24331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24333 if (SWIG_arg_fail(1)) SWIG_fail
;
24335 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24336 if (SWIG_arg_fail(2)) SWIG_fail
;
24337 if (arg2
== NULL
) {
24338 SWIG_null_ref("wxListItem");
24340 if (SWIG_arg_fail(2)) SWIG_fail
;
24343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24344 result
= (bool)(arg1
)->SetItem(*arg2
);
24346 wxPyEndAllowThreads(__tstate
);
24347 if (PyErr_Occurred()) SWIG_fail
;
24350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24358 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24359 PyObject
*resultobj
;
24360 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24363 wxString
*arg4
= 0 ;
24364 int arg5
= (int) -1 ;
24366 bool temp4
= false ;
24367 PyObject
* obj0
= 0 ;
24368 PyObject
* obj1
= 0 ;
24369 PyObject
* obj2
= 0 ;
24370 PyObject
* obj3
= 0 ;
24371 PyObject
* obj4
= 0 ;
24372 char *kwnames
[] = {
24373 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24378 if (SWIG_arg_fail(1)) SWIG_fail
;
24380 arg2
= (long)(SWIG_As_long(obj1
));
24381 if (SWIG_arg_fail(2)) SWIG_fail
;
24384 arg3
= (int)(SWIG_As_int(obj2
));
24385 if (SWIG_arg_fail(3)) SWIG_fail
;
24388 arg4
= wxString_in_helper(obj3
);
24389 if (arg4
== NULL
) SWIG_fail
;
24394 arg5
= (int)(SWIG_As_int(obj4
));
24395 if (SWIG_arg_fail(5)) SWIG_fail
;
24399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24400 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
24402 wxPyEndAllowThreads(__tstate
);
24403 if (PyErr_Occurred()) SWIG_fail
;
24406 resultobj
= SWIG_From_long((long)(result
));
24422 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24423 PyObject
*resultobj
;
24424 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24428 PyObject
* obj0
= 0 ;
24429 PyObject
* obj1
= 0 ;
24430 PyObject
* obj2
= 0 ;
24431 char *kwnames
[] = {
24432 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24437 if (SWIG_arg_fail(1)) SWIG_fail
;
24439 arg2
= (long)(SWIG_As_long(obj1
));
24440 if (SWIG_arg_fail(2)) SWIG_fail
;
24443 arg3
= (long)(SWIG_As_long(obj2
));
24444 if (SWIG_arg_fail(3)) SWIG_fail
;
24447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24448 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
24450 wxPyEndAllowThreads(__tstate
);
24451 if (PyErr_Occurred()) SWIG_fail
;
24454 resultobj
= SWIG_From_int((int)(result
));
24462 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24463 PyObject
*resultobj
;
24464 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24469 PyObject
* obj0
= 0 ;
24470 PyObject
* obj1
= 0 ;
24471 PyObject
* obj2
= 0 ;
24472 PyObject
* obj3
= 0 ;
24473 char *kwnames
[] = {
24474 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24479 if (SWIG_arg_fail(1)) SWIG_fail
;
24481 arg2
= (long)(SWIG_As_long(obj1
));
24482 if (SWIG_arg_fail(2)) SWIG_fail
;
24485 arg3
= (long)(SWIG_As_long(obj2
));
24486 if (SWIG_arg_fail(3)) SWIG_fail
;
24489 arg4
= (long)(SWIG_As_long(obj3
));
24490 if (SWIG_arg_fail(4)) SWIG_fail
;
24493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24494 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
24496 wxPyEndAllowThreads(__tstate
);
24497 if (PyErr_Occurred()) SWIG_fail
;
24500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24508 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24509 PyObject
*resultobj
;
24510 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24513 int arg4
= (int) -1 ;
24515 PyObject
* obj0
= 0 ;
24516 PyObject
* obj1
= 0 ;
24517 PyObject
* obj2
= 0 ;
24518 PyObject
* obj3
= 0 ;
24519 char *kwnames
[] = {
24520 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24525 if (SWIG_arg_fail(1)) SWIG_fail
;
24527 arg2
= (long)(SWIG_As_long(obj1
));
24528 if (SWIG_arg_fail(2)) SWIG_fail
;
24531 arg3
= (int)(SWIG_As_int(obj2
));
24532 if (SWIG_arg_fail(3)) SWIG_fail
;
24536 arg4
= (int)(SWIG_As_int(obj3
));
24537 if (SWIG_arg_fail(4)) SWIG_fail
;
24541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24542 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
24544 wxPyEndAllowThreads(__tstate
);
24545 if (PyErr_Occurred()) SWIG_fail
;
24548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24556 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24557 PyObject
*resultobj
;
24558 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24561 PyObject
* obj0
= 0 ;
24562 PyObject
* obj1
= 0 ;
24563 char *kwnames
[] = {
24564 (char *) "self",(char *) "item", NULL
24567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24569 if (SWIG_arg_fail(1)) SWIG_fail
;
24571 arg2
= (long)(SWIG_As_long(obj1
));
24572 if (SWIG_arg_fail(2)) SWIG_fail
;
24575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24576 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
24578 wxPyEndAllowThreads(__tstate
);
24579 if (PyErr_Occurred()) SWIG_fail
;
24583 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24585 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24594 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24595 PyObject
*resultobj
;
24596 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24598 wxString
*arg3
= 0 ;
24599 bool temp3
= false ;
24600 PyObject
* obj0
= 0 ;
24601 PyObject
* obj1
= 0 ;
24602 PyObject
* obj2
= 0 ;
24603 char *kwnames
[] = {
24604 (char *) "self",(char *) "item",(char *) "str", NULL
24607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24609 if (SWIG_arg_fail(1)) SWIG_fail
;
24611 arg2
= (long)(SWIG_As_long(obj1
));
24612 if (SWIG_arg_fail(2)) SWIG_fail
;
24615 arg3
= wxString_in_helper(obj2
);
24616 if (arg3
== NULL
) SWIG_fail
;
24620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24621 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
24623 wxPyEndAllowThreads(__tstate
);
24624 if (PyErr_Occurred()) SWIG_fail
;
24626 Py_INCREF(Py_None
); resultobj
= Py_None
;
24641 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24642 PyObject
*resultobj
;
24643 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24646 PyObject
* obj0
= 0 ;
24647 PyObject
* obj1
= 0 ;
24648 char *kwnames
[] = {
24649 (char *) "self",(char *) "item", NULL
24652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24654 if (SWIG_arg_fail(1)) SWIG_fail
;
24656 arg2
= (long)(SWIG_As_long(obj1
));
24657 if (SWIG_arg_fail(2)) SWIG_fail
;
24660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24661 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
24663 wxPyEndAllowThreads(__tstate
);
24664 if (PyErr_Occurred()) SWIG_fail
;
24667 resultobj
= SWIG_From_long((long)(result
));
24675 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24676 PyObject
*resultobj
;
24677 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24681 PyObject
* obj0
= 0 ;
24682 PyObject
* obj1
= 0 ;
24683 PyObject
* obj2
= 0 ;
24684 char *kwnames
[] = {
24685 (char *) "self",(char *) "item",(char *) "data", NULL
24688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24690 if (SWIG_arg_fail(1)) SWIG_fail
;
24692 arg2
= (long)(SWIG_As_long(obj1
));
24693 if (SWIG_arg_fail(2)) SWIG_fail
;
24696 arg3
= (long)(SWIG_As_long(obj2
));
24697 if (SWIG_arg_fail(3)) SWIG_fail
;
24700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24701 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
24703 wxPyEndAllowThreads(__tstate
);
24704 if (PyErr_Occurred()) SWIG_fail
;
24707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24715 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24716 PyObject
*resultobj
;
24717 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24720 PyObject
* obj0
= 0 ;
24721 PyObject
* obj1
= 0 ;
24722 char *kwnames
[] = {
24723 (char *) "self",(char *) "item", NULL
24726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24728 if (SWIG_arg_fail(1)) SWIG_fail
;
24730 arg2
= (long)(SWIG_As_long(obj1
));
24731 if (SWIG_arg_fail(2)) SWIG_fail
;
24734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24735 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
24737 wxPyEndAllowThreads(__tstate
);
24738 if (PyErr_Occurred()) SWIG_fail
;
24741 wxPoint
* resultptr
;
24742 resultptr
= new wxPoint((wxPoint
&)(result
));
24743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24751 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24752 PyObject
*resultobj
;
24753 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24755 int arg3
= (int) wxLIST_RECT_BOUNDS
;
24757 PyObject
* obj0
= 0 ;
24758 PyObject
* obj1
= 0 ;
24759 PyObject
* obj2
= 0 ;
24760 char *kwnames
[] = {
24761 (char *) "self",(char *) "item",(char *) "code", NULL
24764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24766 if (SWIG_arg_fail(1)) SWIG_fail
;
24768 arg2
= (long)(SWIG_As_long(obj1
));
24769 if (SWIG_arg_fail(2)) SWIG_fail
;
24773 arg3
= (int)(SWIG_As_int(obj2
));
24774 if (SWIG_arg_fail(3)) SWIG_fail
;
24778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24779 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
24781 wxPyEndAllowThreads(__tstate
);
24782 if (PyErr_Occurred()) SWIG_fail
;
24785 wxRect
* resultptr
;
24786 resultptr
= new wxRect((wxRect
&)(result
));
24787 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24795 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24796 PyObject
*resultobj
;
24797 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24799 wxPoint
*arg3
= 0 ;
24802 PyObject
* obj0
= 0 ;
24803 PyObject
* obj1
= 0 ;
24804 PyObject
* obj2
= 0 ;
24805 char *kwnames
[] = {
24806 (char *) "self",(char *) "item",(char *) "pos", NULL
24809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24811 if (SWIG_arg_fail(1)) SWIG_fail
;
24813 arg2
= (long)(SWIG_As_long(obj1
));
24814 if (SWIG_arg_fail(2)) SWIG_fail
;
24818 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24822 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
24824 wxPyEndAllowThreads(__tstate
);
24825 if (PyErr_Occurred()) SWIG_fail
;
24828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24836 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24837 PyObject
*resultobj
;
24838 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24840 PyObject
* obj0
= 0 ;
24841 char *kwnames
[] = {
24842 (char *) "self", NULL
24845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
24846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24847 if (SWIG_arg_fail(1)) SWIG_fail
;
24849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24850 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
24852 wxPyEndAllowThreads(__tstate
);
24853 if (PyErr_Occurred()) SWIG_fail
;
24856 resultobj
= SWIG_From_int((int)(result
));
24864 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24865 PyObject
*resultobj
;
24866 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24868 PyObject
* obj0
= 0 ;
24869 char *kwnames
[] = {
24870 (char *) "self", NULL
24873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
24874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24875 if (SWIG_arg_fail(1)) SWIG_fail
;
24877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24878 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
24880 wxPyEndAllowThreads(__tstate
);
24881 if (PyErr_Occurred()) SWIG_fail
;
24884 resultobj
= SWIG_From_int((int)(result
));
24892 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24893 PyObject
*resultobj
;
24894 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24896 PyObject
* obj0
= 0 ;
24897 char *kwnames
[] = {
24898 (char *) "self", NULL
24901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
24902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24903 if (SWIG_arg_fail(1)) SWIG_fail
;
24905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24906 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
24908 wxPyEndAllowThreads(__tstate
);
24909 if (PyErr_Occurred()) SWIG_fail
;
24912 wxSize
* resultptr
;
24913 resultptr
= new wxSize((wxSize
&)(result
));
24914 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24922 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24923 PyObject
*resultobj
;
24924 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24926 bool arg3
= (bool) false ;
24927 PyObject
* obj0
= 0 ;
24928 PyObject
* obj1
= 0 ;
24929 PyObject
* obj2
= 0 ;
24930 char *kwnames
[] = {
24931 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
24934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24936 if (SWIG_arg_fail(1)) SWIG_fail
;
24938 arg2
= (int)(SWIG_As_int(obj1
));
24939 if (SWIG_arg_fail(2)) SWIG_fail
;
24943 arg3
= (bool)(SWIG_As_bool(obj2
));
24944 if (SWIG_arg_fail(3)) SWIG_fail
;
24948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24949 (arg1
)->SetItemSpacing(arg2
,arg3
);
24951 wxPyEndAllowThreads(__tstate
);
24952 if (PyErr_Occurred()) SWIG_fail
;
24954 Py_INCREF(Py_None
); resultobj
= Py_None
;
24961 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24962 PyObject
*resultobj
;
24963 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24965 PyObject
* obj0
= 0 ;
24966 char *kwnames
[] = {
24967 (char *) "self", NULL
24970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
24971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24972 if (SWIG_arg_fail(1)) SWIG_fail
;
24974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24975 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
24977 wxPyEndAllowThreads(__tstate
);
24978 if (PyErr_Occurred()) SWIG_fail
;
24981 resultobj
= SWIG_From_int((int)(result
));
24989 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24990 PyObject
*resultobj
;
24991 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24993 PyObject
* obj0
= 0 ;
24994 char *kwnames
[] = {
24995 (char *) "self", NULL
24998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
24999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25000 if (SWIG_arg_fail(1)) SWIG_fail
;
25002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25003 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
25005 wxPyEndAllowThreads(__tstate
);
25006 if (PyErr_Occurred()) SWIG_fail
;
25009 wxColour
* resultptr
;
25010 resultptr
= new wxColour((wxColour
&)(result
));
25011 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25019 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25020 PyObject
*resultobj
;
25021 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25022 wxColour
*arg2
= 0 ;
25024 PyObject
* obj0
= 0 ;
25025 PyObject
* obj1
= 0 ;
25026 char *kwnames
[] = {
25027 (char *) "self",(char *) "col", NULL
25030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25032 if (SWIG_arg_fail(1)) SWIG_fail
;
25035 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25039 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25041 wxPyEndAllowThreads(__tstate
);
25042 if (PyErr_Occurred()) SWIG_fail
;
25044 Py_INCREF(Py_None
); resultobj
= Py_None
;
25051 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25052 PyObject
*resultobj
;
25053 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25055 PyObject
* obj0
= 0 ;
25056 char *kwnames
[] = {
25057 (char *) "self", NULL
25060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
25061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25062 if (SWIG_arg_fail(1)) SWIG_fail
;
25064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25065 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
25067 wxPyEndAllowThreads(__tstate
);
25068 if (PyErr_Occurred()) SWIG_fail
;
25071 resultobj
= SWIG_From_long((long)(result
));
25079 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25080 PyObject
*resultobj
;
25081 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25083 bool arg3
= (bool) true ;
25084 PyObject
* obj0
= 0 ;
25085 PyObject
* obj1
= 0 ;
25086 PyObject
* obj2
= 0 ;
25087 char *kwnames
[] = {
25088 (char *) "self",(char *) "style",(char *) "add", NULL
25091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25093 if (SWIG_arg_fail(1)) SWIG_fail
;
25095 arg2
= (long)(SWIG_As_long(obj1
));
25096 if (SWIG_arg_fail(2)) SWIG_fail
;
25100 arg3
= (bool)(SWIG_As_bool(obj2
));
25101 if (SWIG_arg_fail(3)) SWIG_fail
;
25105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25106 (arg1
)->SetSingleStyle(arg2
,arg3
);
25108 wxPyEndAllowThreads(__tstate
);
25109 if (PyErr_Occurred()) SWIG_fail
;
25111 Py_INCREF(Py_None
); resultobj
= Py_None
;
25118 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25119 PyObject
*resultobj
;
25120 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25122 PyObject
* obj0
= 0 ;
25123 PyObject
* obj1
= 0 ;
25124 char *kwnames
[] = {
25125 (char *) "self",(char *) "style", NULL
25128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) 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
;
25136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25137 (arg1
)->SetWindowStyleFlag(arg2
);
25139 wxPyEndAllowThreads(__tstate
);
25140 if (PyErr_Occurred()) SWIG_fail
;
25142 Py_INCREF(Py_None
); resultobj
= Py_None
;
25149 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25150 PyObject
*resultobj
;
25151 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25153 int arg3
= (int) wxLIST_NEXT_ALL
;
25154 int arg4
= (int) wxLIST_STATE_DONTCARE
;
25156 PyObject
* obj0
= 0 ;
25157 PyObject
* obj1
= 0 ;
25158 PyObject
* obj2
= 0 ;
25159 PyObject
* obj3
= 0 ;
25160 char *kwnames
[] = {
25161 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25166 if (SWIG_arg_fail(1)) SWIG_fail
;
25168 arg2
= (long)(SWIG_As_long(obj1
));
25169 if (SWIG_arg_fail(2)) SWIG_fail
;
25173 arg3
= (int)(SWIG_As_int(obj2
));
25174 if (SWIG_arg_fail(3)) SWIG_fail
;
25179 arg4
= (int)(SWIG_As_int(obj3
));
25180 if (SWIG_arg_fail(4)) SWIG_fail
;
25184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25185 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
25187 wxPyEndAllowThreads(__tstate
);
25188 if (PyErr_Occurred()) SWIG_fail
;
25191 resultobj
= SWIG_From_long((long)(result
));
25199 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25200 PyObject
*resultobj
;
25201 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25203 wxImageList
*result
;
25204 PyObject
* obj0
= 0 ;
25205 PyObject
* obj1
= 0 ;
25206 char *kwnames
[] = {
25207 (char *) "self",(char *) "which", NULL
25210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25212 if (SWIG_arg_fail(1)) SWIG_fail
;
25214 arg2
= (int)(SWIG_As_int(obj1
));
25215 if (SWIG_arg_fail(2)) SWIG_fail
;
25218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25219 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
25221 wxPyEndAllowThreads(__tstate
);
25222 if (PyErr_Occurred()) SWIG_fail
;
25225 resultobj
= wxPyMake_wxObject(result
, 0);
25233 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25234 PyObject
*resultobj
;
25235 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25236 wxImageList
*arg2
= (wxImageList
*) 0 ;
25238 PyObject
* obj0
= 0 ;
25239 PyObject
* obj1
= 0 ;
25240 PyObject
* obj2
= 0 ;
25241 char *kwnames
[] = {
25242 (char *) "self",(char *) "imageList",(char *) "which", NULL
25245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25247 if (SWIG_arg_fail(1)) SWIG_fail
;
25248 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
25249 if (SWIG_arg_fail(2)) SWIG_fail
;
25251 arg3
= (int)(SWIG_As_int(obj2
));
25252 if (SWIG_arg_fail(3)) SWIG_fail
;
25255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25256 (arg1
)->SetImageList(arg2
,arg3
);
25258 wxPyEndAllowThreads(__tstate
);
25259 if (PyErr_Occurred()) SWIG_fail
;
25261 Py_INCREF(Py_None
); resultobj
= Py_None
;
25268 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25269 PyObject
*resultobj
;
25270 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25271 wxImageList
*arg2
= (wxImageList
*) 0 ;
25273 PyObject
* obj0
= 0 ;
25274 PyObject
* obj1
= 0 ;
25275 PyObject
* obj2
= 0 ;
25276 char *kwnames
[] = {
25277 (char *) "self",(char *) "imageList",(char *) "which", NULL
25280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25282 if (SWIG_arg_fail(1)) SWIG_fail
;
25283 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25284 if (SWIG_arg_fail(2)) SWIG_fail
;
25286 arg3
= (int)(SWIG_As_int(obj2
));
25287 if (SWIG_arg_fail(3)) SWIG_fail
;
25290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25291 (arg1
)->AssignImageList(arg2
,arg3
);
25293 wxPyEndAllowThreads(__tstate
);
25294 if (PyErr_Occurred()) SWIG_fail
;
25296 Py_INCREF(Py_None
); resultobj
= Py_None
;
25303 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25304 PyObject
*resultobj
;
25305 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25307 PyObject
* obj0
= 0 ;
25308 char *kwnames
[] = {
25309 (char *) "self", NULL
25312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
25313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25314 if (SWIG_arg_fail(1)) SWIG_fail
;
25316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25317 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
25319 wxPyEndAllowThreads(__tstate
);
25320 if (PyErr_Occurred()) SWIG_fail
;
25323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25331 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25332 PyObject
*resultobj
;
25333 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25335 PyObject
* obj0
= 0 ;
25336 char *kwnames
[] = {
25337 (char *) "self", NULL
25340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
25341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25342 if (SWIG_arg_fail(1)) SWIG_fail
;
25344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25345 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
25347 wxPyEndAllowThreads(__tstate
);
25348 if (PyErr_Occurred()) SWIG_fail
;
25351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25359 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25360 PyObject
*resultobj
;
25361 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25363 PyObject
* obj0
= 0 ;
25364 PyObject
* obj1
= 0 ;
25365 char *kwnames
[] = {
25366 (char *) "self",(char *) "item", NULL
25369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25371 if (SWIG_arg_fail(1)) SWIG_fail
;
25373 arg2
= (long)(SWIG_As_long(obj1
));
25374 if (SWIG_arg_fail(2)) SWIG_fail
;
25377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25378 (arg1
)->RefreshItem(arg2
);
25380 wxPyEndAllowThreads(__tstate
);
25381 if (PyErr_Occurred()) SWIG_fail
;
25383 Py_INCREF(Py_None
); resultobj
= Py_None
;
25390 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25391 PyObject
*resultobj
;
25392 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25395 PyObject
* obj0
= 0 ;
25396 PyObject
* obj1
= 0 ;
25397 PyObject
* obj2
= 0 ;
25398 char *kwnames
[] = {
25399 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25404 if (SWIG_arg_fail(1)) SWIG_fail
;
25406 arg2
= (long)(SWIG_As_long(obj1
));
25407 if (SWIG_arg_fail(2)) SWIG_fail
;
25410 arg3
= (long)(SWIG_As_long(obj2
));
25411 if (SWIG_arg_fail(3)) SWIG_fail
;
25414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25415 (arg1
)->RefreshItems(arg2
,arg3
);
25417 wxPyEndAllowThreads(__tstate
);
25418 if (PyErr_Occurred()) SWIG_fail
;
25420 Py_INCREF(Py_None
); resultobj
= Py_None
;
25427 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25428 PyObject
*resultobj
;
25429 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25430 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
25432 PyObject
* obj0
= 0 ;
25433 PyObject
* obj1
= 0 ;
25434 char *kwnames
[] = {
25435 (char *) "self",(char *) "flag", NULL
25438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
25439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25440 if (SWIG_arg_fail(1)) SWIG_fail
;
25443 arg2
= (int)(SWIG_As_int(obj1
));
25444 if (SWIG_arg_fail(2)) SWIG_fail
;
25448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25449 result
= (bool)(arg1
)->Arrange(arg2
);
25451 wxPyEndAllowThreads(__tstate
);
25452 if (PyErr_Occurred()) SWIG_fail
;
25455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25463 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25464 PyObject
*resultobj
;
25465 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25468 PyObject
* obj0
= 0 ;
25469 PyObject
* obj1
= 0 ;
25470 char *kwnames
[] = {
25471 (char *) "self",(char *) "item", NULL
25474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25476 if (SWIG_arg_fail(1)) SWIG_fail
;
25478 arg2
= (long)(SWIG_As_long(obj1
));
25479 if (SWIG_arg_fail(2)) SWIG_fail
;
25482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25483 result
= (bool)(arg1
)->DeleteItem(arg2
);
25485 wxPyEndAllowThreads(__tstate
);
25486 if (PyErr_Occurred()) SWIG_fail
;
25489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25497 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25498 PyObject
*resultobj
;
25499 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25501 PyObject
* obj0
= 0 ;
25502 char *kwnames
[] = {
25503 (char *) "self", NULL
25506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25508 if (SWIG_arg_fail(1)) SWIG_fail
;
25510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25511 result
= (bool)(arg1
)->DeleteAllItems();
25513 wxPyEndAllowThreads(__tstate
);
25514 if (PyErr_Occurred()) SWIG_fail
;
25517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25525 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25526 PyObject
*resultobj
;
25527 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25530 PyObject
* obj0
= 0 ;
25531 PyObject
* obj1
= 0 ;
25532 char *kwnames
[] = {
25533 (char *) "self",(char *) "col", NULL
25536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25538 if (SWIG_arg_fail(1)) SWIG_fail
;
25540 arg2
= (int)(SWIG_As_int(obj1
));
25541 if (SWIG_arg_fail(2)) SWIG_fail
;
25544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25545 result
= (bool)(arg1
)->DeleteColumn(arg2
);
25547 wxPyEndAllowThreads(__tstate
);
25548 if (PyErr_Occurred()) SWIG_fail
;
25551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25559 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25560 PyObject
*resultobj
;
25561 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25563 PyObject
* obj0
= 0 ;
25564 char *kwnames
[] = {
25565 (char *) "self", NULL
25568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
25569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25570 if (SWIG_arg_fail(1)) SWIG_fail
;
25572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25573 result
= (bool)(arg1
)->DeleteAllColumns();
25575 wxPyEndAllowThreads(__tstate
);
25576 if (PyErr_Occurred()) SWIG_fail
;
25579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25587 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25588 PyObject
*resultobj
;
25589 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25590 PyObject
* obj0
= 0 ;
25591 char *kwnames
[] = {
25592 (char *) "self", NULL
25595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
25596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25597 if (SWIG_arg_fail(1)) SWIG_fail
;
25599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25600 (arg1
)->ClearAll();
25602 wxPyEndAllowThreads(__tstate
);
25603 if (PyErr_Occurred()) SWIG_fail
;
25605 Py_INCREF(Py_None
); resultobj
= Py_None
;
25612 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25613 PyObject
*resultobj
;
25614 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25616 PyObject
* obj0
= 0 ;
25617 PyObject
* obj1
= 0 ;
25618 char *kwnames
[] = {
25619 (char *) "self",(char *) "item", NULL
25622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25624 if (SWIG_arg_fail(1)) SWIG_fail
;
25626 arg2
= (long)(SWIG_As_long(obj1
));
25627 if (SWIG_arg_fail(2)) SWIG_fail
;
25630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25631 (arg1
)->EditLabel(arg2
);
25633 wxPyEndAllowThreads(__tstate
);
25634 if (PyErr_Occurred()) SWIG_fail
;
25636 Py_INCREF(Py_None
); resultobj
= Py_None
;
25643 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25644 PyObject
*resultobj
;
25645 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25648 PyObject
* obj0
= 0 ;
25649 PyObject
* obj1
= 0 ;
25650 char *kwnames
[] = {
25651 (char *) "self",(char *) "item", NULL
25654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25656 if (SWIG_arg_fail(1)) SWIG_fail
;
25658 arg2
= (long)(SWIG_As_long(obj1
));
25659 if (SWIG_arg_fail(2)) SWIG_fail
;
25662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25663 result
= (bool)(arg1
)->EnsureVisible(arg2
);
25665 wxPyEndAllowThreads(__tstate
);
25666 if (PyErr_Occurred()) SWIG_fail
;
25669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25677 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25678 PyObject
*resultobj
;
25679 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25681 wxString
*arg3
= 0 ;
25682 bool arg4
= (bool) false ;
25684 bool temp3
= false ;
25685 PyObject
* obj0
= 0 ;
25686 PyObject
* obj1
= 0 ;
25687 PyObject
* obj2
= 0 ;
25688 PyObject
* obj3
= 0 ;
25689 char *kwnames
[] = {
25690 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25695 if (SWIG_arg_fail(1)) SWIG_fail
;
25697 arg2
= (long)(SWIG_As_long(obj1
));
25698 if (SWIG_arg_fail(2)) SWIG_fail
;
25701 arg3
= wxString_in_helper(obj2
);
25702 if (arg3
== NULL
) SWIG_fail
;
25707 arg4
= (bool)(SWIG_As_bool(obj3
));
25708 if (SWIG_arg_fail(4)) SWIG_fail
;
25712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25713 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
25715 wxPyEndAllowThreads(__tstate
);
25716 if (PyErr_Occurred()) SWIG_fail
;
25719 resultobj
= SWIG_From_long((long)(result
));
25735 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25736 PyObject
*resultobj
;
25737 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25741 PyObject
* obj0
= 0 ;
25742 PyObject
* obj1
= 0 ;
25743 PyObject
* obj2
= 0 ;
25744 char *kwnames
[] = {
25745 (char *) "self",(char *) "start",(char *) "data", NULL
25748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25750 if (SWIG_arg_fail(1)) SWIG_fail
;
25752 arg2
= (long)(SWIG_As_long(obj1
));
25753 if (SWIG_arg_fail(2)) SWIG_fail
;
25756 arg3
= (long)(SWIG_As_long(obj2
));
25757 if (SWIG_arg_fail(3)) SWIG_fail
;
25760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25761 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
25763 wxPyEndAllowThreads(__tstate
);
25764 if (PyErr_Occurred()) SWIG_fail
;
25767 resultobj
= SWIG_From_long((long)(result
));
25775 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25776 PyObject
*resultobj
;
25777 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25779 wxPoint
*arg3
= 0 ;
25783 PyObject
* obj0
= 0 ;
25784 PyObject
* obj1
= 0 ;
25785 PyObject
* obj2
= 0 ;
25786 PyObject
* obj3
= 0 ;
25787 char *kwnames
[] = {
25788 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25793 if (SWIG_arg_fail(1)) SWIG_fail
;
25795 arg2
= (long)(SWIG_As_long(obj1
));
25796 if (SWIG_arg_fail(2)) SWIG_fail
;
25800 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25803 arg4
= (int)(SWIG_As_int(obj3
));
25804 if (SWIG_arg_fail(4)) SWIG_fail
;
25807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25808 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
25810 wxPyEndAllowThreads(__tstate
);
25811 if (PyErr_Occurred()) SWIG_fail
;
25814 resultobj
= SWIG_From_long((long)(result
));
25822 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25823 PyObject
*resultobj
;
25824 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25825 wxPoint
*arg2
= 0 ;
25831 PyObject
* obj0
= 0 ;
25832 PyObject
* obj1
= 0 ;
25833 char *kwnames
[] = {
25834 (char *) "self",(char *) "point", NULL
25837 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25840 if (SWIG_arg_fail(1)) SWIG_fail
;
25843 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25847 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
25849 wxPyEndAllowThreads(__tstate
);
25850 if (PyErr_Occurred()) SWIG_fail
;
25853 resultobj
= SWIG_From_long((long)(result
));
25855 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25856 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25863 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25864 PyObject
*resultobj
;
25865 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25866 wxListItem
*arg2
= 0 ;
25868 PyObject
* obj0
= 0 ;
25869 PyObject
* obj1
= 0 ;
25870 char *kwnames
[] = {
25871 (char *) "self",(char *) "info", NULL
25874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25876 if (SWIG_arg_fail(1)) SWIG_fail
;
25878 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25879 if (SWIG_arg_fail(2)) SWIG_fail
;
25880 if (arg2
== NULL
) {
25881 SWIG_null_ref("wxListItem");
25883 if (SWIG_arg_fail(2)) SWIG_fail
;
25886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25887 result
= (long)(arg1
)->InsertItem(*arg2
);
25889 wxPyEndAllowThreads(__tstate
);
25890 if (PyErr_Occurred()) SWIG_fail
;
25893 resultobj
= SWIG_From_long((long)(result
));
25901 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25902 PyObject
*resultobj
;
25903 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25905 wxString
*arg3
= 0 ;
25907 bool temp3
= false ;
25908 PyObject
* obj0
= 0 ;
25909 PyObject
* obj1
= 0 ;
25910 PyObject
* obj2
= 0 ;
25911 char *kwnames
[] = {
25912 (char *) "self",(char *) "index",(char *) "label", NULL
25915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25917 if (SWIG_arg_fail(1)) SWIG_fail
;
25919 arg2
= (long)(SWIG_As_long(obj1
));
25920 if (SWIG_arg_fail(2)) SWIG_fail
;
25923 arg3
= wxString_in_helper(obj2
);
25924 if (arg3
== NULL
) SWIG_fail
;
25928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25929 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
25931 wxPyEndAllowThreads(__tstate
);
25932 if (PyErr_Occurred()) SWIG_fail
;
25935 resultobj
= SWIG_From_long((long)(result
));
25951 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25952 PyObject
*resultobj
;
25953 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25957 PyObject
* obj0
= 0 ;
25958 PyObject
* obj1
= 0 ;
25959 PyObject
* obj2
= 0 ;
25960 char *kwnames
[] = {
25961 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
25964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25966 if (SWIG_arg_fail(1)) SWIG_fail
;
25968 arg2
= (long)(SWIG_As_long(obj1
));
25969 if (SWIG_arg_fail(2)) SWIG_fail
;
25972 arg3
= (int)(SWIG_As_int(obj2
));
25973 if (SWIG_arg_fail(3)) SWIG_fail
;
25976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25977 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
25979 wxPyEndAllowThreads(__tstate
);
25980 if (PyErr_Occurred()) SWIG_fail
;
25983 resultobj
= SWIG_From_long((long)(result
));
25991 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25992 PyObject
*resultobj
;
25993 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25995 wxString
*arg3
= 0 ;
25998 bool temp3
= false ;
25999 PyObject
* obj0
= 0 ;
26000 PyObject
* obj1
= 0 ;
26001 PyObject
* obj2
= 0 ;
26002 PyObject
* obj3
= 0 ;
26003 char *kwnames
[] = {
26004 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26009 if (SWIG_arg_fail(1)) SWIG_fail
;
26011 arg2
= (long)(SWIG_As_long(obj1
));
26012 if (SWIG_arg_fail(2)) SWIG_fail
;
26015 arg3
= wxString_in_helper(obj2
);
26016 if (arg3
== NULL
) SWIG_fail
;
26020 arg4
= (int)(SWIG_As_int(obj3
));
26021 if (SWIG_arg_fail(4)) SWIG_fail
;
26024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26025 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
26027 wxPyEndAllowThreads(__tstate
);
26028 if (PyErr_Occurred()) SWIG_fail
;
26031 resultobj
= SWIG_From_long((long)(result
));
26047 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26048 PyObject
*resultobj
;
26049 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26051 wxListItem
*arg3
= 0 ;
26053 PyObject
* obj0
= 0 ;
26054 PyObject
* obj1
= 0 ;
26055 PyObject
* obj2
= 0 ;
26056 char *kwnames
[] = {
26057 (char *) "self",(char *) "col",(char *) "info", NULL
26060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26062 if (SWIG_arg_fail(1)) SWIG_fail
;
26064 arg2
= (long)(SWIG_As_long(obj1
));
26065 if (SWIG_arg_fail(2)) SWIG_fail
;
26068 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26069 if (SWIG_arg_fail(3)) SWIG_fail
;
26070 if (arg3
== NULL
) {
26071 SWIG_null_ref("wxListItem");
26073 if (SWIG_arg_fail(3)) SWIG_fail
;
26076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26077 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
26079 wxPyEndAllowThreads(__tstate
);
26080 if (PyErr_Occurred()) SWIG_fail
;
26083 resultobj
= SWIG_From_long((long)(result
));
26091 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26092 PyObject
*resultobj
;
26093 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26095 wxString
*arg3
= 0 ;
26096 int arg4
= (int) wxLIST_FORMAT_LEFT
;
26097 int arg5
= (int) -1 ;
26099 bool temp3
= false ;
26100 PyObject
* obj0
= 0 ;
26101 PyObject
* obj1
= 0 ;
26102 PyObject
* obj2
= 0 ;
26103 PyObject
* obj3
= 0 ;
26104 PyObject
* obj4
= 0 ;
26105 char *kwnames
[] = {
26106 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26111 if (SWIG_arg_fail(1)) SWIG_fail
;
26113 arg2
= (long)(SWIG_As_long(obj1
));
26114 if (SWIG_arg_fail(2)) SWIG_fail
;
26117 arg3
= wxString_in_helper(obj2
);
26118 if (arg3
== NULL
) SWIG_fail
;
26123 arg4
= (int)(SWIG_As_int(obj3
));
26124 if (SWIG_arg_fail(4)) SWIG_fail
;
26129 arg5
= (int)(SWIG_As_int(obj4
));
26130 if (SWIG_arg_fail(5)) SWIG_fail
;
26134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26135 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
26137 wxPyEndAllowThreads(__tstate
);
26138 if (PyErr_Occurred()) SWIG_fail
;
26141 resultobj
= SWIG_From_long((long)(result
));
26157 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26158 PyObject
*resultobj
;
26159 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26161 PyObject
* obj0
= 0 ;
26162 PyObject
* obj1
= 0 ;
26163 char *kwnames
[] = {
26164 (char *) "self",(char *) "count", NULL
26167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26169 if (SWIG_arg_fail(1)) SWIG_fail
;
26171 arg2
= (long)(SWIG_As_long(obj1
));
26172 if (SWIG_arg_fail(2)) SWIG_fail
;
26175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26176 (arg1
)->SetItemCount(arg2
);
26178 wxPyEndAllowThreads(__tstate
);
26179 if (PyErr_Occurred()) SWIG_fail
;
26181 Py_INCREF(Py_None
); resultobj
= Py_None
;
26188 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26189 PyObject
*resultobj
;
26190 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26194 PyObject
* obj0
= 0 ;
26195 PyObject
* obj1
= 0 ;
26196 PyObject
* obj2
= 0 ;
26197 char *kwnames
[] = {
26198 (char *) "self",(char *) "dx",(char *) "dy", NULL
26201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26203 if (SWIG_arg_fail(1)) SWIG_fail
;
26205 arg2
= (int)(SWIG_As_int(obj1
));
26206 if (SWIG_arg_fail(2)) SWIG_fail
;
26209 arg3
= (int)(SWIG_As_int(obj2
));
26210 if (SWIG_arg_fail(3)) SWIG_fail
;
26213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26214 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
26216 wxPyEndAllowThreads(__tstate
);
26217 if (PyErr_Occurred()) SWIG_fail
;
26220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26228 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26229 PyObject
*resultobj
;
26230 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26232 wxColour
*arg3
= 0 ;
26234 PyObject
* obj0
= 0 ;
26235 PyObject
* obj1
= 0 ;
26236 PyObject
* obj2
= 0 ;
26237 char *kwnames
[] = {
26238 (char *) "self",(char *) "item",(char *) "col", NULL
26241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26243 if (SWIG_arg_fail(1)) SWIG_fail
;
26245 arg2
= (long)(SWIG_As_long(obj1
));
26246 if (SWIG_arg_fail(2)) SWIG_fail
;
26250 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26254 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
26256 wxPyEndAllowThreads(__tstate
);
26257 if (PyErr_Occurred()) SWIG_fail
;
26259 Py_INCREF(Py_None
); resultobj
= Py_None
;
26266 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26267 PyObject
*resultobj
;
26268 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26271 PyObject
* obj0
= 0 ;
26272 PyObject
* obj1
= 0 ;
26273 char *kwnames
[] = {
26274 (char *) "self",(char *) "item", NULL
26277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26279 if (SWIG_arg_fail(1)) SWIG_fail
;
26281 arg2
= (long)(SWIG_As_long(obj1
));
26282 if (SWIG_arg_fail(2)) SWIG_fail
;
26285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26286 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
26288 wxPyEndAllowThreads(__tstate
);
26289 if (PyErr_Occurred()) SWIG_fail
;
26292 wxColour
* resultptr
;
26293 resultptr
= new wxColour((wxColour
&)(result
));
26294 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26302 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26303 PyObject
*resultobj
;
26304 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26306 wxColour
*arg3
= 0 ;
26308 PyObject
* obj0
= 0 ;
26309 PyObject
* obj1
= 0 ;
26310 PyObject
* obj2
= 0 ;
26311 char *kwnames
[] = {
26312 (char *) "self",(char *) "item",(char *) "col", NULL
26315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26317 if (SWIG_arg_fail(1)) SWIG_fail
;
26319 arg2
= (long)(SWIG_As_long(obj1
));
26320 if (SWIG_arg_fail(2)) SWIG_fail
;
26324 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26328 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
26330 wxPyEndAllowThreads(__tstate
);
26331 if (PyErr_Occurred()) SWIG_fail
;
26333 Py_INCREF(Py_None
); resultobj
= Py_None
;
26340 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26341 PyObject
*resultobj
;
26342 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26345 PyObject
* obj0
= 0 ;
26346 PyObject
* obj1
= 0 ;
26347 char *kwnames
[] = {
26348 (char *) "self",(char *) "item", NULL
26351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26353 if (SWIG_arg_fail(1)) SWIG_fail
;
26355 arg2
= (long)(SWIG_As_long(obj1
));
26356 if (SWIG_arg_fail(2)) SWIG_fail
;
26359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26360 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
26362 wxPyEndAllowThreads(__tstate
);
26363 if (PyErr_Occurred()) SWIG_fail
;
26366 wxColour
* resultptr
;
26367 resultptr
= new wxColour((wxColour
&)(result
));
26368 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26376 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26377 PyObject
*resultobj
;
26378 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26379 PyObject
*arg2
= (PyObject
*) 0 ;
26381 PyObject
* obj0
= 0 ;
26382 PyObject
* obj1
= 0 ;
26383 char *kwnames
[] = {
26384 (char *) "self",(char *) "func", NULL
26387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
26388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26389 if (SWIG_arg_fail(1)) SWIG_fail
;
26392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26393 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
26395 wxPyEndAllowThreads(__tstate
);
26396 if (PyErr_Occurred()) SWIG_fail
;
26399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26407 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26408 PyObject
*resultobj
;
26409 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26411 PyObject
* obj0
= 0 ;
26412 char *kwnames
[] = {
26413 (char *) "self", NULL
26416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
26417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26418 if (SWIG_arg_fail(1)) SWIG_fail
;
26420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26421 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
26423 wxPyEndAllowThreads(__tstate
);
26424 if (PyErr_Occurred()) SWIG_fail
;
26427 resultobj
= wxPyMake_wxObject(result
, 0);
26435 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26436 PyObject
*resultobj
;
26437 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26438 wxVisualAttributes result
;
26439 PyObject
* obj0
= 0 ;
26440 char *kwnames
[] = {
26441 (char *) "variant", NULL
26444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26447 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
26448 if (SWIG_arg_fail(1)) SWIG_fail
;
26452 if (!wxPyCheckForApp()) SWIG_fail
;
26453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26454 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26456 wxPyEndAllowThreads(__tstate
);
26457 if (PyErr_Occurred()) SWIG_fail
;
26460 wxVisualAttributes
* resultptr
;
26461 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
26462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26470 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
26472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26473 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
26475 return Py_BuildValue((char *)"");
26477 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26478 PyObject
*resultobj
;
26479 wxWindow
*arg1
= (wxWindow
*) 0 ;
26480 int arg2
= (int) -1 ;
26481 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26482 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26483 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26484 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26485 long arg5
= (long) wxLC_REPORT
;
26486 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
26487 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
26488 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
26489 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26490 wxListView
*result
;
26493 bool temp7
= false ;
26494 PyObject
* obj0
= 0 ;
26495 PyObject
* obj1
= 0 ;
26496 PyObject
* obj2
= 0 ;
26497 PyObject
* obj3
= 0 ;
26498 PyObject
* obj4
= 0 ;
26499 PyObject
* obj5
= 0 ;
26500 PyObject
* obj6
= 0 ;
26501 char *kwnames
[] = {
26502 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26507 if (SWIG_arg_fail(1)) SWIG_fail
;
26510 arg2
= (int)(SWIG_As_int(obj1
));
26511 if (SWIG_arg_fail(2)) SWIG_fail
;
26517 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26523 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26528 arg5
= (long)(SWIG_As_long(obj4
));
26529 if (SWIG_arg_fail(5)) SWIG_fail
;
26534 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26535 if (SWIG_arg_fail(6)) SWIG_fail
;
26536 if (arg6
== NULL
) {
26537 SWIG_null_ref("wxValidator");
26539 if (SWIG_arg_fail(6)) SWIG_fail
;
26544 arg7
= wxString_in_helper(obj6
);
26545 if (arg7
== NULL
) SWIG_fail
;
26550 if (!wxPyCheckForApp()) SWIG_fail
;
26551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26552 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
26554 wxPyEndAllowThreads(__tstate
);
26555 if (PyErr_Occurred()) SWIG_fail
;
26557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26572 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26573 PyObject
*resultobj
;
26574 wxListView
*result
;
26575 char *kwnames
[] = {
26579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
26581 if (!wxPyCheckForApp()) SWIG_fail
;
26582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26583 result
= (wxListView
*)new wxListView();
26585 wxPyEndAllowThreads(__tstate
);
26586 if (PyErr_Occurred()) SWIG_fail
;
26588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26595 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26596 PyObject
*resultobj
;
26597 wxListView
*arg1
= (wxListView
*) 0 ;
26598 wxWindow
*arg2
= (wxWindow
*) 0 ;
26599 int arg3
= (int) -1 ;
26600 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26601 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26602 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26603 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26604 long arg6
= (long) wxLC_REPORT
;
26605 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
26606 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
26607 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
26608 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26612 bool temp8
= false ;
26613 PyObject
* obj0
= 0 ;
26614 PyObject
* obj1
= 0 ;
26615 PyObject
* obj2
= 0 ;
26616 PyObject
* obj3
= 0 ;
26617 PyObject
* obj4
= 0 ;
26618 PyObject
* obj5
= 0 ;
26619 PyObject
* obj6
= 0 ;
26620 PyObject
* obj7
= 0 ;
26621 char *kwnames
[] = {
26622 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
26626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26627 if (SWIG_arg_fail(1)) SWIG_fail
;
26628 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26629 if (SWIG_arg_fail(2)) SWIG_fail
;
26632 arg3
= (int)(SWIG_As_int(obj2
));
26633 if (SWIG_arg_fail(3)) SWIG_fail
;
26639 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26645 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26650 arg6
= (long)(SWIG_As_long(obj5
));
26651 if (SWIG_arg_fail(6)) SWIG_fail
;
26656 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26657 if (SWIG_arg_fail(7)) SWIG_fail
;
26658 if (arg7
== NULL
) {
26659 SWIG_null_ref("wxValidator");
26661 if (SWIG_arg_fail(7)) SWIG_fail
;
26666 arg8
= wxString_in_helper(obj7
);
26667 if (arg8
== NULL
) SWIG_fail
;
26672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26673 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
26675 wxPyEndAllowThreads(__tstate
);
26676 if (PyErr_Occurred()) SWIG_fail
;
26679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26695 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26696 PyObject
*resultobj
;
26697 wxListView
*arg1
= (wxListView
*) 0 ;
26699 bool arg3
= (bool) true ;
26700 PyObject
* obj0
= 0 ;
26701 PyObject
* obj1
= 0 ;
26702 PyObject
* obj2
= 0 ;
26703 char *kwnames
[] = {
26704 (char *) "self",(char *) "n",(char *) "on", NULL
26707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26709 if (SWIG_arg_fail(1)) SWIG_fail
;
26711 arg2
= (long)(SWIG_As_long(obj1
));
26712 if (SWIG_arg_fail(2)) SWIG_fail
;
26716 arg3
= (bool)(SWIG_As_bool(obj2
));
26717 if (SWIG_arg_fail(3)) SWIG_fail
;
26721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26722 (arg1
)->Select(arg2
,arg3
);
26724 wxPyEndAllowThreads(__tstate
);
26725 if (PyErr_Occurred()) SWIG_fail
;
26727 Py_INCREF(Py_None
); resultobj
= Py_None
;
26734 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26735 PyObject
*resultobj
;
26736 wxListView
*arg1
= (wxListView
*) 0 ;
26738 PyObject
* obj0
= 0 ;
26739 PyObject
* obj1
= 0 ;
26740 char *kwnames
[] = {
26741 (char *) "self",(char *) "index", NULL
26744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) 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
;
26752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26753 (arg1
)->Focus(arg2
);
26755 wxPyEndAllowThreads(__tstate
);
26756 if (PyErr_Occurred()) SWIG_fail
;
26758 Py_INCREF(Py_None
); resultobj
= Py_None
;
26765 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26766 PyObject
*resultobj
;
26767 wxListView
*arg1
= (wxListView
*) 0 ;
26769 PyObject
* obj0
= 0 ;
26770 char *kwnames
[] = {
26771 (char *) "self", NULL
26774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
26775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26776 if (SWIG_arg_fail(1)) SWIG_fail
;
26778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26779 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
26781 wxPyEndAllowThreads(__tstate
);
26782 if (PyErr_Occurred()) SWIG_fail
;
26785 resultobj
= SWIG_From_long((long)(result
));
26793 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26794 PyObject
*resultobj
;
26795 wxListView
*arg1
= (wxListView
*) 0 ;
26798 PyObject
* obj0
= 0 ;
26799 PyObject
* obj1
= 0 ;
26800 char *kwnames
[] = {
26801 (char *) "self",(char *) "item", NULL
26804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26806 if (SWIG_arg_fail(1)) SWIG_fail
;
26808 arg2
= (long)(SWIG_As_long(obj1
));
26809 if (SWIG_arg_fail(2)) SWIG_fail
;
26812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26813 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
26815 wxPyEndAllowThreads(__tstate
);
26816 if (PyErr_Occurred()) SWIG_fail
;
26819 resultobj
= SWIG_From_long((long)(result
));
26827 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26828 PyObject
*resultobj
;
26829 wxListView
*arg1
= (wxListView
*) 0 ;
26831 PyObject
* obj0
= 0 ;
26832 char *kwnames
[] = {
26833 (char *) "self", NULL
26836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
26837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26838 if (SWIG_arg_fail(1)) SWIG_fail
;
26840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26841 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
26843 wxPyEndAllowThreads(__tstate
);
26844 if (PyErr_Occurred()) SWIG_fail
;
26847 resultobj
= SWIG_From_long((long)(result
));
26855 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26856 PyObject
*resultobj
;
26857 wxListView
*arg1
= (wxListView
*) 0 ;
26860 PyObject
* obj0
= 0 ;
26861 PyObject
* obj1
= 0 ;
26862 char *kwnames
[] = {
26863 (char *) "self",(char *) "index", NULL
26866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26868 if (SWIG_arg_fail(1)) SWIG_fail
;
26870 arg2
= (long)(SWIG_As_long(obj1
));
26871 if (SWIG_arg_fail(2)) SWIG_fail
;
26874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26875 result
= (bool)(arg1
)->IsSelected(arg2
);
26877 wxPyEndAllowThreads(__tstate
);
26878 if (PyErr_Occurred()) SWIG_fail
;
26881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26889 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26890 PyObject
*resultobj
;
26891 wxListView
*arg1
= (wxListView
*) 0 ;
26894 PyObject
* obj0
= 0 ;
26895 PyObject
* obj1
= 0 ;
26896 PyObject
* obj2
= 0 ;
26897 char *kwnames
[] = {
26898 (char *) "self",(char *) "col",(char *) "image", NULL
26901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26903 if (SWIG_arg_fail(1)) SWIG_fail
;
26905 arg2
= (int)(SWIG_As_int(obj1
));
26906 if (SWIG_arg_fail(2)) SWIG_fail
;
26909 arg3
= (int)(SWIG_As_int(obj2
));
26910 if (SWIG_arg_fail(3)) SWIG_fail
;
26913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26914 (arg1
)->SetColumnImage(arg2
,arg3
);
26916 wxPyEndAllowThreads(__tstate
);
26917 if (PyErr_Occurred()) SWIG_fail
;
26919 Py_INCREF(Py_None
); resultobj
= Py_None
;
26926 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26927 PyObject
*resultobj
;
26928 wxListView
*arg1
= (wxListView
*) 0 ;
26930 PyObject
* obj0
= 0 ;
26931 PyObject
* obj1
= 0 ;
26932 char *kwnames
[] = {
26933 (char *) "self",(char *) "col", NULL
26936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
26937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26938 if (SWIG_arg_fail(1)) SWIG_fail
;
26940 arg2
= (int)(SWIG_As_int(obj1
));
26941 if (SWIG_arg_fail(2)) SWIG_fail
;
26944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26945 (arg1
)->ClearColumnImage(arg2
);
26947 wxPyEndAllowThreads(__tstate
);
26948 if (PyErr_Occurred()) SWIG_fail
;
26950 Py_INCREF(Py_None
); resultobj
= Py_None
;
26957 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
26959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26960 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
26962 return Py_BuildValue((char *)"");
26964 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
26965 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
26970 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
26975 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
26977 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
26984 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26985 PyObject
*resultobj
;
26986 wxTreeItemId
*result
;
26987 char *kwnames
[] = {
26991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
26993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26994 result
= (wxTreeItemId
*)new wxTreeItemId();
26996 wxPyEndAllowThreads(__tstate
);
26997 if (PyErr_Occurred()) SWIG_fail
;
26999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
27006 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27007 PyObject
*resultobj
;
27008 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27009 PyObject
* obj0
= 0 ;
27010 char *kwnames
[] = {
27011 (char *) "self", NULL
27014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
27015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27016 if (SWIG_arg_fail(1)) SWIG_fail
;
27018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27021 wxPyEndAllowThreads(__tstate
);
27022 if (PyErr_Occurred()) SWIG_fail
;
27024 Py_INCREF(Py_None
); resultobj
= Py_None
;
27031 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27032 PyObject
*resultobj
;
27033 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27035 PyObject
* obj0
= 0 ;
27036 char *kwnames
[] = {
27037 (char *) "self", NULL
27040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
27041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27042 if (SWIG_arg_fail(1)) SWIG_fail
;
27044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27045 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
27047 wxPyEndAllowThreads(__tstate
);
27048 if (PyErr_Occurred()) SWIG_fail
;
27051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27059 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27060 PyObject
*resultobj
;
27061 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27062 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27064 PyObject
* obj0
= 0 ;
27065 PyObject
* obj1
= 0 ;
27066 char *kwnames
[] = {
27067 (char *) "self",(char *) "other", NULL
27070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27072 if (SWIG_arg_fail(1)) SWIG_fail
;
27073 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27074 if (SWIG_arg_fail(2)) SWIG_fail
;
27076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27077 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
27079 wxPyEndAllowThreads(__tstate
);
27080 if (PyErr_Occurred()) SWIG_fail
;
27083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27091 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27092 PyObject
*resultobj
;
27093 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27094 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27096 PyObject
* obj0
= 0 ;
27097 PyObject
* obj1
= 0 ;
27098 char *kwnames
[] = {
27099 (char *) "self",(char *) "other", NULL
27102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27104 if (SWIG_arg_fail(1)) SWIG_fail
;
27105 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27106 if (SWIG_arg_fail(2)) SWIG_fail
;
27108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27109 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
27111 wxPyEndAllowThreads(__tstate
);
27112 if (PyErr_Occurred()) SWIG_fail
;
27115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27123 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27124 PyObject
*resultobj
;
27125 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27126 void *arg2
= (void *) 0 ;
27127 PyObject
* obj0
= 0 ;
27128 PyObject
* obj1
= 0 ;
27129 char *kwnames
[] = {
27130 (char *) "self",(char *) "m_pItem", NULL
27133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27135 if (SWIG_arg_fail(1)) SWIG_fail
;
27137 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
27138 SWIG_arg_fail(2);SWIG_fail
;
27141 if (arg1
) (arg1
)->m_pItem
= arg2
;
27143 Py_INCREF(Py_None
); resultobj
= Py_None
;
27150 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27151 PyObject
*resultobj
;
27152 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27154 PyObject
* obj0
= 0 ;
27155 char *kwnames
[] = {
27156 (char *) "self", NULL
27159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
27160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27161 if (SWIG_arg_fail(1)) SWIG_fail
;
27162 result
= (void *) ((arg1
)->m_pItem
);
27164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
27171 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
27173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27174 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
27176 return Py_BuildValue((char *)"");
27178 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27179 PyObject
*resultobj
;
27180 PyObject
*arg1
= (PyObject
*) NULL
;
27181 wxPyTreeItemData
*result
;
27182 PyObject
* obj0
= 0 ;
27183 char *kwnames
[] = {
27184 (char *) "obj", NULL
27187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
27192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27193 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
27195 wxPyEndAllowThreads(__tstate
);
27196 if (PyErr_Occurred()) SWIG_fail
;
27198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
27205 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27206 PyObject
*resultobj
;
27207 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27209 PyObject
* obj0
= 0 ;
27210 char *kwnames
[] = {
27211 (char *) "self", NULL
27214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
27215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27216 if (SWIG_arg_fail(1)) SWIG_fail
;
27218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27219 result
= (PyObject
*)(arg1
)->GetData();
27221 wxPyEndAllowThreads(__tstate
);
27222 if (PyErr_Occurred()) SWIG_fail
;
27224 resultobj
= result
;
27231 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27232 PyObject
*resultobj
;
27233 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27234 PyObject
*arg2
= (PyObject
*) 0 ;
27235 PyObject
* obj0
= 0 ;
27236 PyObject
* obj1
= 0 ;
27237 char *kwnames
[] = {
27238 (char *) "self",(char *) "obj", NULL
27241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27243 if (SWIG_arg_fail(1)) SWIG_fail
;
27246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27247 (arg1
)->SetData(arg2
);
27249 wxPyEndAllowThreads(__tstate
);
27250 if (PyErr_Occurred()) SWIG_fail
;
27252 Py_INCREF(Py_None
); resultobj
= Py_None
;
27259 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27260 PyObject
*resultobj
;
27261 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27262 wxTreeItemId
*result
;
27263 PyObject
* obj0
= 0 ;
27264 char *kwnames
[] = {
27265 (char *) "self", NULL
27268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
27269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27270 if (SWIG_arg_fail(1)) SWIG_fail
;
27272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27274 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
27275 result
= (wxTreeItemId
*) &_result_ref
;
27278 wxPyEndAllowThreads(__tstate
);
27279 if (PyErr_Occurred()) SWIG_fail
;
27281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
27288 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27289 PyObject
*resultobj
;
27290 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27291 wxTreeItemId
*arg2
= 0 ;
27292 PyObject
* obj0
= 0 ;
27293 PyObject
* obj1
= 0 ;
27294 char *kwnames
[] = {
27295 (char *) "self",(char *) "id", NULL
27298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27300 if (SWIG_arg_fail(1)) SWIG_fail
;
27302 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27303 if (SWIG_arg_fail(2)) SWIG_fail
;
27304 if (arg2
== NULL
) {
27305 SWIG_null_ref("wxTreeItemId");
27307 if (SWIG_arg_fail(2)) SWIG_fail
;
27310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27311 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
27313 wxPyEndAllowThreads(__tstate
);
27314 if (PyErr_Occurred()) SWIG_fail
;
27316 Py_INCREF(Py_None
); resultobj
= Py_None
;
27323 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27324 PyObject
*resultobj
;
27325 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27326 PyObject
* obj0
= 0 ;
27327 char *kwnames
[] = {
27328 (char *) "self", NULL
27331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
27332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27333 if (SWIG_arg_fail(1)) SWIG_fail
;
27335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27336 wxPyTreeItemData_Destroy(arg1
);
27338 wxPyEndAllowThreads(__tstate
);
27339 if (PyErr_Occurred()) SWIG_fail
;
27341 Py_INCREF(Py_None
); resultobj
= Py_None
;
27348 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
27350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27351 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
27353 return Py_BuildValue((char *)"");
27355 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27356 PyObject
*resultobj
;
27357 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27358 int arg2
= (int) 0 ;
27359 wxTreeEvent
*result
;
27360 PyObject
* obj0
= 0 ;
27361 PyObject
* obj1
= 0 ;
27362 char *kwnames
[] = {
27363 (char *) "commandType",(char *) "id", NULL
27366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27369 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
27370 if (SWIG_arg_fail(1)) SWIG_fail
;
27375 arg2
= (int)(SWIG_As_int(obj1
));
27376 if (SWIG_arg_fail(2)) SWIG_fail
;
27380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27381 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
27383 wxPyEndAllowThreads(__tstate
);
27384 if (PyErr_Occurred()) SWIG_fail
;
27386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
27393 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27394 PyObject
*resultobj
;
27395 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27396 wxTreeItemId result
;
27397 PyObject
* obj0
= 0 ;
27398 char *kwnames
[] = {
27399 (char *) "self", NULL
27402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
27403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27404 if (SWIG_arg_fail(1)) SWIG_fail
;
27406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27407 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
27409 wxPyEndAllowThreads(__tstate
);
27410 if (PyErr_Occurred()) SWIG_fail
;
27413 wxTreeItemId
* resultptr
;
27414 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27415 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27423 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27424 PyObject
*resultobj
;
27425 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27426 wxTreeItemId
*arg2
= 0 ;
27427 PyObject
* obj0
= 0 ;
27428 PyObject
* obj1
= 0 ;
27429 char *kwnames
[] = {
27430 (char *) "self",(char *) "item", NULL
27433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27435 if (SWIG_arg_fail(1)) SWIG_fail
;
27437 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27438 if (SWIG_arg_fail(2)) SWIG_fail
;
27439 if (arg2
== NULL
) {
27440 SWIG_null_ref("wxTreeItemId");
27442 if (SWIG_arg_fail(2)) SWIG_fail
;
27445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27446 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
27448 wxPyEndAllowThreads(__tstate
);
27449 if (PyErr_Occurred()) SWIG_fail
;
27451 Py_INCREF(Py_None
); resultobj
= Py_None
;
27458 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27459 PyObject
*resultobj
;
27460 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27461 wxTreeItemId result
;
27462 PyObject
* obj0
= 0 ;
27463 char *kwnames
[] = {
27464 (char *) "self", NULL
27467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
27468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27469 if (SWIG_arg_fail(1)) SWIG_fail
;
27471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27472 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
27474 wxPyEndAllowThreads(__tstate
);
27475 if (PyErr_Occurred()) SWIG_fail
;
27478 wxTreeItemId
* resultptr
;
27479 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27480 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27488 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27489 PyObject
*resultobj
;
27490 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27491 wxTreeItemId
*arg2
= 0 ;
27492 PyObject
* obj0
= 0 ;
27493 PyObject
* obj1
= 0 ;
27494 char *kwnames
[] = {
27495 (char *) "self",(char *) "item", NULL
27498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27500 if (SWIG_arg_fail(1)) SWIG_fail
;
27502 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27503 if (SWIG_arg_fail(2)) SWIG_fail
;
27504 if (arg2
== NULL
) {
27505 SWIG_null_ref("wxTreeItemId");
27507 if (SWIG_arg_fail(2)) SWIG_fail
;
27510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27511 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
27513 wxPyEndAllowThreads(__tstate
);
27514 if (PyErr_Occurred()) SWIG_fail
;
27516 Py_INCREF(Py_None
); resultobj
= Py_None
;
27523 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27524 PyObject
*resultobj
;
27525 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27527 PyObject
* obj0
= 0 ;
27528 char *kwnames
[] = {
27529 (char *) "self", NULL
27532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
27533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27534 if (SWIG_arg_fail(1)) SWIG_fail
;
27536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27537 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
27539 wxPyEndAllowThreads(__tstate
);
27540 if (PyErr_Occurred()) SWIG_fail
;
27543 wxPoint
* resultptr
;
27544 resultptr
= new wxPoint((wxPoint
&)(result
));
27545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27553 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27554 PyObject
*resultobj
;
27555 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27556 wxPoint
*arg2
= 0 ;
27558 PyObject
* obj0
= 0 ;
27559 PyObject
* obj1
= 0 ;
27560 char *kwnames
[] = {
27561 (char *) "self",(char *) "pt", NULL
27564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
27565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27566 if (SWIG_arg_fail(1)) SWIG_fail
;
27569 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27573 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
27575 wxPyEndAllowThreads(__tstate
);
27576 if (PyErr_Occurred()) SWIG_fail
;
27578 Py_INCREF(Py_None
); resultobj
= Py_None
;
27585 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27586 PyObject
*resultobj
;
27587 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27588 wxKeyEvent
*result
;
27589 PyObject
* obj0
= 0 ;
27590 char *kwnames
[] = {
27591 (char *) "self", NULL
27594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
27595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27596 if (SWIG_arg_fail(1)) SWIG_fail
;
27598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27600 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
27601 result
= (wxKeyEvent
*) &_result_ref
;
27604 wxPyEndAllowThreads(__tstate
);
27605 if (PyErr_Occurred()) SWIG_fail
;
27607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
27614 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27615 PyObject
*resultobj
;
27616 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27618 PyObject
* obj0
= 0 ;
27619 char *kwnames
[] = {
27620 (char *) "self", NULL
27623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
27624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27625 if (SWIG_arg_fail(1)) SWIG_fail
;
27627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27628 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
27630 wxPyEndAllowThreads(__tstate
);
27631 if (PyErr_Occurred()) SWIG_fail
;
27634 resultobj
= SWIG_From_int((int)(result
));
27642 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27643 PyObject
*resultobj
;
27644 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27645 wxKeyEvent
*arg2
= 0 ;
27646 PyObject
* obj0
= 0 ;
27647 PyObject
* obj1
= 0 ;
27648 char *kwnames
[] = {
27649 (char *) "self",(char *) "evt", NULL
27652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27654 if (SWIG_arg_fail(1)) SWIG_fail
;
27656 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
27657 if (SWIG_arg_fail(2)) SWIG_fail
;
27658 if (arg2
== NULL
) {
27659 SWIG_null_ref("wxKeyEvent");
27661 if (SWIG_arg_fail(2)) SWIG_fail
;
27664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27665 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
27667 wxPyEndAllowThreads(__tstate
);
27668 if (PyErr_Occurred()) SWIG_fail
;
27670 Py_INCREF(Py_None
); resultobj
= Py_None
;
27677 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27678 PyObject
*resultobj
;
27679 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27681 PyObject
* obj0
= 0 ;
27682 char *kwnames
[] = {
27683 (char *) "self", NULL
27686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
27687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27688 if (SWIG_arg_fail(1)) SWIG_fail
;
27690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27692 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
27693 result
= (wxString
*) &_result_ref
;
27696 wxPyEndAllowThreads(__tstate
);
27697 if (PyErr_Occurred()) SWIG_fail
;
27701 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27703 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27712 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27713 PyObject
*resultobj
;
27714 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27715 wxString
*arg2
= 0 ;
27716 bool temp2
= false ;
27717 PyObject
* obj0
= 0 ;
27718 PyObject
* obj1
= 0 ;
27719 char *kwnames
[] = {
27720 (char *) "self",(char *) "label", NULL
27723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) 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 arg2
= wxString_in_helper(obj1
);
27728 if (arg2
== NULL
) SWIG_fail
;
27732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27733 (arg1
)->SetLabel((wxString
const &)*arg2
);
27735 wxPyEndAllowThreads(__tstate
);
27736 if (PyErr_Occurred()) SWIG_fail
;
27738 Py_INCREF(Py_None
); resultobj
= Py_None
;
27753 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27754 PyObject
*resultobj
;
27755 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27757 PyObject
* obj0
= 0 ;
27758 char *kwnames
[] = {
27759 (char *) "self", NULL
27762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
27763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27764 if (SWIG_arg_fail(1)) SWIG_fail
;
27766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27767 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
27769 wxPyEndAllowThreads(__tstate
);
27770 if (PyErr_Occurred()) SWIG_fail
;
27773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27781 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27782 PyObject
*resultobj
;
27783 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27785 PyObject
* obj0
= 0 ;
27786 PyObject
* obj1
= 0 ;
27787 char *kwnames
[] = {
27788 (char *) "self",(char *) "editCancelled", NULL
27791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
27792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27793 if (SWIG_arg_fail(1)) SWIG_fail
;
27795 arg2
= (bool)(SWIG_As_bool(obj1
));
27796 if (SWIG_arg_fail(2)) SWIG_fail
;
27799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27800 (arg1
)->SetEditCanceled(arg2
);
27802 wxPyEndAllowThreads(__tstate
);
27803 if (PyErr_Occurred()) SWIG_fail
;
27805 Py_INCREF(Py_None
); resultobj
= Py_None
;
27812 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27813 PyObject
*resultobj
;
27814 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27815 wxString
*arg2
= 0 ;
27816 bool temp2
= false ;
27817 PyObject
* obj0
= 0 ;
27818 PyObject
* obj1
= 0 ;
27819 char *kwnames
[] = {
27820 (char *) "self",(char *) "toolTip", NULL
27823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27825 if (SWIG_arg_fail(1)) SWIG_fail
;
27827 arg2
= wxString_in_helper(obj1
);
27828 if (arg2
== NULL
) SWIG_fail
;
27832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27833 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27835 wxPyEndAllowThreads(__tstate
);
27836 if (PyErr_Occurred()) SWIG_fail
;
27838 Py_INCREF(Py_None
); resultobj
= Py_None
;
27853 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
27855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27856 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
27858 return Py_BuildValue((char *)"");
27860 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27861 PyObject
*resultobj
;
27862 wxWindow
*arg1
= (wxWindow
*) 0 ;
27863 int arg2
= (int) -1 ;
27864 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27865 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27866 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27867 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27868 long arg5
= (long) wxTR_DEFAULT_STYLE
;
27869 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27870 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27871 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
27872 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27873 wxPyTreeCtrl
*result
;
27876 bool temp7
= false ;
27877 PyObject
* obj0
= 0 ;
27878 PyObject
* obj1
= 0 ;
27879 PyObject
* obj2
= 0 ;
27880 PyObject
* obj3
= 0 ;
27881 PyObject
* obj4
= 0 ;
27882 PyObject
* obj5
= 0 ;
27883 PyObject
* obj6
= 0 ;
27884 char *kwnames
[] = {
27885 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27890 if (SWIG_arg_fail(1)) SWIG_fail
;
27893 arg2
= (int)(SWIG_As_int(obj1
));
27894 if (SWIG_arg_fail(2)) SWIG_fail
;
27900 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27906 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27911 arg5
= (long)(SWIG_As_long(obj4
));
27912 if (SWIG_arg_fail(5)) SWIG_fail
;
27917 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
27918 if (SWIG_arg_fail(6)) SWIG_fail
;
27919 if (arg6
== NULL
) {
27920 SWIG_null_ref("wxValidator");
27922 if (SWIG_arg_fail(6)) SWIG_fail
;
27927 arg7
= wxString_in_helper(obj6
);
27928 if (arg7
== NULL
) SWIG_fail
;
27933 if (!wxPyCheckForApp()) SWIG_fail
;
27934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27935 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27937 wxPyEndAllowThreads(__tstate
);
27938 if (PyErr_Occurred()) SWIG_fail
;
27940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
27955 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27956 PyObject
*resultobj
;
27957 wxPyTreeCtrl
*result
;
27958 char *kwnames
[] = {
27962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
27964 if (!wxPyCheckForApp()) SWIG_fail
;
27965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27966 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
27968 wxPyEndAllowThreads(__tstate
);
27969 if (PyErr_Occurred()) SWIG_fail
;
27971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
27978 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27979 PyObject
*resultobj
;
27980 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27981 wxWindow
*arg2
= (wxWindow
*) 0 ;
27982 int arg3
= (int) -1 ;
27983 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27984 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27985 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27986 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27987 long arg6
= (long) wxTR_DEFAULT_STYLE
;
27988 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
27989 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
27990 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
27991 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
27995 bool temp8
= false ;
27996 PyObject
* obj0
= 0 ;
27997 PyObject
* obj1
= 0 ;
27998 PyObject
* obj2
= 0 ;
27999 PyObject
* obj3
= 0 ;
28000 PyObject
* obj4
= 0 ;
28001 PyObject
* obj5
= 0 ;
28002 PyObject
* obj6
= 0 ;
28003 PyObject
* obj7
= 0 ;
28004 char *kwnames
[] = {
28005 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
28009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28010 if (SWIG_arg_fail(1)) SWIG_fail
;
28011 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28012 if (SWIG_arg_fail(2)) SWIG_fail
;
28015 arg3
= (int)(SWIG_As_int(obj2
));
28016 if (SWIG_arg_fail(3)) SWIG_fail
;
28022 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28028 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28033 arg6
= (long)(SWIG_As_long(obj5
));
28034 if (SWIG_arg_fail(6)) SWIG_fail
;
28039 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28040 if (SWIG_arg_fail(7)) SWIG_fail
;
28041 if (arg7
== NULL
) {
28042 SWIG_null_ref("wxValidator");
28044 if (SWIG_arg_fail(7)) SWIG_fail
;
28049 arg8
= wxString_in_helper(obj7
);
28050 if (arg8
== NULL
) SWIG_fail
;
28055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28056 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28058 wxPyEndAllowThreads(__tstate
);
28059 if (PyErr_Occurred()) SWIG_fail
;
28062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28078 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28079 PyObject
*resultobj
;
28080 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28081 PyObject
*arg2
= (PyObject
*) 0 ;
28082 PyObject
*arg3
= (PyObject
*) 0 ;
28083 PyObject
* obj0
= 0 ;
28084 PyObject
* obj1
= 0 ;
28085 PyObject
* obj2
= 0 ;
28086 char *kwnames
[] = {
28087 (char *) "self",(char *) "self",(char *) "_class", NULL
28090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28092 if (SWIG_arg_fail(1)) SWIG_fail
;
28096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28097 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28099 wxPyEndAllowThreads(__tstate
);
28100 if (PyErr_Occurred()) SWIG_fail
;
28102 Py_INCREF(Py_None
); resultobj
= Py_None
;
28109 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28110 PyObject
*resultobj
;
28111 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28113 PyObject
* obj0
= 0 ;
28114 char *kwnames
[] = {
28115 (char *) "self", NULL
28118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
28119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28120 if (SWIG_arg_fail(1)) SWIG_fail
;
28122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28123 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
28125 wxPyEndAllowThreads(__tstate
);
28126 if (PyErr_Occurred()) SWIG_fail
;
28129 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28137 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28138 PyObject
*resultobj
;
28139 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28140 unsigned int result
;
28141 PyObject
* obj0
= 0 ;
28142 char *kwnames
[] = {
28143 (char *) "self", NULL
28146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
28147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28148 if (SWIG_arg_fail(1)) SWIG_fail
;
28150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28151 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
28153 wxPyEndAllowThreads(__tstate
);
28154 if (PyErr_Occurred()) SWIG_fail
;
28157 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28165 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28166 PyObject
*resultobj
;
28167 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28168 unsigned int arg2
;
28169 PyObject
* obj0
= 0 ;
28170 PyObject
* obj1
= 0 ;
28171 char *kwnames
[] = {
28172 (char *) "self",(char *) "indent", NULL
28175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
28176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28177 if (SWIG_arg_fail(1)) SWIG_fail
;
28179 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28180 if (SWIG_arg_fail(2)) SWIG_fail
;
28183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28184 (arg1
)->SetIndent(arg2
);
28186 wxPyEndAllowThreads(__tstate
);
28187 if (PyErr_Occurred()) SWIG_fail
;
28189 Py_INCREF(Py_None
); resultobj
= Py_None
;
28196 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28197 PyObject
*resultobj
;
28198 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28199 unsigned int result
;
28200 PyObject
* obj0
= 0 ;
28201 char *kwnames
[] = {
28202 (char *) "self", NULL
28205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
28206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28207 if (SWIG_arg_fail(1)) SWIG_fail
;
28209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28210 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
28212 wxPyEndAllowThreads(__tstate
);
28213 if (PyErr_Occurred()) SWIG_fail
;
28216 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28224 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28225 PyObject
*resultobj
;
28226 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28227 unsigned int arg2
;
28228 PyObject
* obj0
= 0 ;
28229 PyObject
* obj1
= 0 ;
28230 char *kwnames
[] = {
28231 (char *) "self",(char *) "spacing", NULL
28234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
28235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28236 if (SWIG_arg_fail(1)) SWIG_fail
;
28238 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28239 if (SWIG_arg_fail(2)) SWIG_fail
;
28242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28243 (arg1
)->SetSpacing(arg2
);
28245 wxPyEndAllowThreads(__tstate
);
28246 if (PyErr_Occurred()) SWIG_fail
;
28248 Py_INCREF(Py_None
); resultobj
= Py_None
;
28255 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28256 PyObject
*resultobj
;
28257 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28258 wxImageList
*result
;
28259 PyObject
* obj0
= 0 ;
28260 char *kwnames
[] = {
28261 (char *) "self", NULL
28264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
28265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28266 if (SWIG_arg_fail(1)) SWIG_fail
;
28268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28269 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
28271 wxPyEndAllowThreads(__tstate
);
28272 if (PyErr_Occurred()) SWIG_fail
;
28275 resultobj
= wxPyMake_wxObject(result
, 0);
28283 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28284 PyObject
*resultobj
;
28285 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28286 wxImageList
*result
;
28287 PyObject
* obj0
= 0 ;
28288 char *kwnames
[] = {
28289 (char *) "self", NULL
28292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
28293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28294 if (SWIG_arg_fail(1)) SWIG_fail
;
28296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28297 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
28299 wxPyEndAllowThreads(__tstate
);
28300 if (PyErr_Occurred()) SWIG_fail
;
28303 resultobj
= wxPyMake_wxObject(result
, 0);
28311 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28312 PyObject
*resultobj
;
28313 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28314 wxImageList
*arg2
= (wxImageList
*) 0 ;
28315 PyObject
* obj0
= 0 ;
28316 PyObject
* obj1
= 0 ;
28317 char *kwnames
[] = {
28318 (char *) "self",(char *) "imageList", NULL
28321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28323 if (SWIG_arg_fail(1)) SWIG_fail
;
28324 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28325 if (SWIG_arg_fail(2)) SWIG_fail
;
28327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28328 (arg1
)->SetImageList(arg2
);
28330 wxPyEndAllowThreads(__tstate
);
28331 if (PyErr_Occurred()) SWIG_fail
;
28333 Py_INCREF(Py_None
); resultobj
= Py_None
;
28340 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28341 PyObject
*resultobj
;
28342 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28343 wxImageList
*arg2
= (wxImageList
*) 0 ;
28344 PyObject
* obj0
= 0 ;
28345 PyObject
* obj1
= 0 ;
28346 char *kwnames
[] = {
28347 (char *) "self",(char *) "imageList", NULL
28350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28352 if (SWIG_arg_fail(1)) SWIG_fail
;
28353 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28354 if (SWIG_arg_fail(2)) SWIG_fail
;
28356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28357 (arg1
)->SetStateImageList(arg2
);
28359 wxPyEndAllowThreads(__tstate
);
28360 if (PyErr_Occurred()) SWIG_fail
;
28362 Py_INCREF(Py_None
); resultobj
= Py_None
;
28369 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28370 PyObject
*resultobj
;
28371 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28372 wxImageList
*arg2
= (wxImageList
*) 0 ;
28373 PyObject
* obj0
= 0 ;
28374 PyObject
* obj1
= 0 ;
28375 char *kwnames
[] = {
28376 (char *) "self",(char *) "imageList", NULL
28379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28381 if (SWIG_arg_fail(1)) SWIG_fail
;
28382 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28383 if (SWIG_arg_fail(2)) SWIG_fail
;
28385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28386 (arg1
)->AssignImageList(arg2
);
28388 wxPyEndAllowThreads(__tstate
);
28389 if (PyErr_Occurred()) SWIG_fail
;
28391 Py_INCREF(Py_None
); resultobj
= Py_None
;
28398 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28399 PyObject
*resultobj
;
28400 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28401 wxImageList
*arg2
= (wxImageList
*) 0 ;
28402 PyObject
* obj0
= 0 ;
28403 PyObject
* obj1
= 0 ;
28404 char *kwnames
[] = {
28405 (char *) "self",(char *) "imageList", NULL
28408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28410 if (SWIG_arg_fail(1)) SWIG_fail
;
28411 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28412 if (SWIG_arg_fail(2)) SWIG_fail
;
28414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28415 (arg1
)->AssignStateImageList(arg2
);
28417 wxPyEndAllowThreads(__tstate
);
28418 if (PyErr_Occurred()) SWIG_fail
;
28420 Py_INCREF(Py_None
); resultobj
= Py_None
;
28427 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28428 PyObject
*resultobj
;
28429 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28430 wxTreeItemId
*arg2
= 0 ;
28432 PyObject
* obj0
= 0 ;
28433 PyObject
* obj1
= 0 ;
28434 char *kwnames
[] = {
28435 (char *) "self",(char *) "item", NULL
28438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
28439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28440 if (SWIG_arg_fail(1)) SWIG_fail
;
28442 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28443 if (SWIG_arg_fail(2)) SWIG_fail
;
28444 if (arg2
== NULL
) {
28445 SWIG_null_ref("wxTreeItemId");
28447 if (SWIG_arg_fail(2)) SWIG_fail
;
28450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28451 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
28453 wxPyEndAllowThreads(__tstate
);
28454 if (PyErr_Occurred()) SWIG_fail
;
28458 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28460 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28469 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28470 PyObject
*resultobj
;
28471 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28472 wxTreeItemId
*arg2
= 0 ;
28473 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28475 PyObject
* obj0
= 0 ;
28476 PyObject
* obj1
= 0 ;
28477 PyObject
* obj2
= 0 ;
28478 char *kwnames
[] = {
28479 (char *) "self",(char *) "item",(char *) "which", NULL
28482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28484 if (SWIG_arg_fail(1)) SWIG_fail
;
28486 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28487 if (SWIG_arg_fail(2)) SWIG_fail
;
28488 if (arg2
== NULL
) {
28489 SWIG_null_ref("wxTreeItemId");
28491 if (SWIG_arg_fail(2)) SWIG_fail
;
28495 arg3
= (wxTreeItemIcon
)(SWIG_As_int(obj2
));
28496 if (SWIG_arg_fail(3)) SWIG_fail
;
28500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28501 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
28503 wxPyEndAllowThreads(__tstate
);
28504 if (PyErr_Occurred()) SWIG_fail
;
28507 resultobj
= SWIG_From_int((int)(result
));
28515 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28516 PyObject
*resultobj
;
28517 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28518 wxTreeItemId
*arg2
= 0 ;
28519 wxPyTreeItemData
*result
;
28520 PyObject
* obj0
= 0 ;
28521 PyObject
* obj1
= 0 ;
28522 char *kwnames
[] = {
28523 (char *) "self",(char *) "item", NULL
28526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
28527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28528 if (SWIG_arg_fail(1)) SWIG_fail
;
28530 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28531 if (SWIG_arg_fail(2)) SWIG_fail
;
28532 if (arg2
== NULL
) {
28533 SWIG_null_ref("wxTreeItemId");
28535 if (SWIG_arg_fail(2)) SWIG_fail
;
28538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28539 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
28541 wxPyEndAllowThreads(__tstate
);
28542 if (PyErr_Occurred()) SWIG_fail
;
28544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
28551 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28552 PyObject
*resultobj
;
28553 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28554 wxTreeItemId
*arg2
= 0 ;
28556 PyObject
* obj0
= 0 ;
28557 PyObject
* obj1
= 0 ;
28558 char *kwnames
[] = {
28559 (char *) "self",(char *) "item", NULL
28562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
28563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28564 if (SWIG_arg_fail(1)) SWIG_fail
;
28566 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28567 if (SWIG_arg_fail(2)) SWIG_fail
;
28568 if (arg2
== NULL
) {
28569 SWIG_null_ref("wxTreeItemId");
28571 if (SWIG_arg_fail(2)) SWIG_fail
;
28574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28575 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
28577 wxPyEndAllowThreads(__tstate
);
28578 if (PyErr_Occurred()) SWIG_fail
;
28580 resultobj
= result
;
28587 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28588 PyObject
*resultobj
;
28589 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28590 wxTreeItemId
*arg2
= 0 ;
28592 PyObject
* obj0
= 0 ;
28593 PyObject
* obj1
= 0 ;
28594 char *kwnames
[] = {
28595 (char *) "self",(char *) "item", NULL
28598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28600 if (SWIG_arg_fail(1)) SWIG_fail
;
28602 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28603 if (SWIG_arg_fail(2)) SWIG_fail
;
28604 if (arg2
== NULL
) {
28605 SWIG_null_ref("wxTreeItemId");
28607 if (SWIG_arg_fail(2)) SWIG_fail
;
28610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28611 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
28613 wxPyEndAllowThreads(__tstate
);
28614 if (PyErr_Occurred()) SWIG_fail
;
28617 wxColour
* resultptr
;
28618 resultptr
= new wxColour((wxColour
&)(result
));
28619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28627 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28628 PyObject
*resultobj
;
28629 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28630 wxTreeItemId
*arg2
= 0 ;
28632 PyObject
* obj0
= 0 ;
28633 PyObject
* obj1
= 0 ;
28634 char *kwnames
[] = {
28635 (char *) "self",(char *) "item", NULL
28638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28640 if (SWIG_arg_fail(1)) SWIG_fail
;
28642 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28643 if (SWIG_arg_fail(2)) SWIG_fail
;
28644 if (arg2
== NULL
) {
28645 SWIG_null_ref("wxTreeItemId");
28647 if (SWIG_arg_fail(2)) SWIG_fail
;
28650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28651 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
28653 wxPyEndAllowThreads(__tstate
);
28654 if (PyErr_Occurred()) SWIG_fail
;
28657 wxColour
* resultptr
;
28658 resultptr
= new wxColour((wxColour
&)(result
));
28659 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28667 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28668 PyObject
*resultobj
;
28669 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28670 wxTreeItemId
*arg2
= 0 ;
28672 PyObject
* obj0
= 0 ;
28673 PyObject
* obj1
= 0 ;
28674 char *kwnames
[] = {
28675 (char *) "self",(char *) "item", NULL
28678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
28679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28680 if (SWIG_arg_fail(1)) SWIG_fail
;
28682 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28683 if (SWIG_arg_fail(2)) SWIG_fail
;
28684 if (arg2
== NULL
) {
28685 SWIG_null_ref("wxTreeItemId");
28687 if (SWIG_arg_fail(2)) SWIG_fail
;
28690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28691 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
28693 wxPyEndAllowThreads(__tstate
);
28694 if (PyErr_Occurred()) SWIG_fail
;
28697 wxFont
* resultptr
;
28698 resultptr
= new wxFont((wxFont
&)(result
));
28699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
28707 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28708 PyObject
*resultobj
;
28709 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28710 wxTreeItemId
*arg2
= 0 ;
28711 wxString
*arg3
= 0 ;
28712 bool temp3
= false ;
28713 PyObject
* obj0
= 0 ;
28714 PyObject
* obj1
= 0 ;
28715 PyObject
* obj2
= 0 ;
28716 char *kwnames
[] = {
28717 (char *) "self",(char *) "item",(char *) "text", NULL
28720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28722 if (SWIG_arg_fail(1)) SWIG_fail
;
28724 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28725 if (SWIG_arg_fail(2)) SWIG_fail
;
28726 if (arg2
== NULL
) {
28727 SWIG_null_ref("wxTreeItemId");
28729 if (SWIG_arg_fail(2)) SWIG_fail
;
28732 arg3
= wxString_in_helper(obj2
);
28733 if (arg3
== NULL
) SWIG_fail
;
28737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28738 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
28740 wxPyEndAllowThreads(__tstate
);
28741 if (PyErr_Occurred()) SWIG_fail
;
28743 Py_INCREF(Py_None
); resultobj
= Py_None
;
28758 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28759 PyObject
*resultobj
;
28760 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28761 wxTreeItemId
*arg2
= 0 ;
28763 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28764 PyObject
* obj0
= 0 ;
28765 PyObject
* obj1
= 0 ;
28766 PyObject
* obj2
= 0 ;
28767 PyObject
* obj3
= 0 ;
28768 char *kwnames
[] = {
28769 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28774 if (SWIG_arg_fail(1)) SWIG_fail
;
28776 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28777 if (SWIG_arg_fail(2)) SWIG_fail
;
28778 if (arg2
== NULL
) {
28779 SWIG_null_ref("wxTreeItemId");
28781 if (SWIG_arg_fail(2)) SWIG_fail
;
28784 arg3
= (int)(SWIG_As_int(obj2
));
28785 if (SWIG_arg_fail(3)) SWIG_fail
;
28789 arg4
= (wxTreeItemIcon
)(SWIG_As_int(obj3
));
28790 if (SWIG_arg_fail(4)) SWIG_fail
;
28794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28795 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
28797 wxPyEndAllowThreads(__tstate
);
28798 if (PyErr_Occurred()) SWIG_fail
;
28800 Py_INCREF(Py_None
); resultobj
= Py_None
;
28807 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28808 PyObject
*resultobj
;
28809 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28810 wxTreeItemId
*arg2
= 0 ;
28811 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
28812 PyObject
* obj0
= 0 ;
28813 PyObject
* obj1
= 0 ;
28814 PyObject
* obj2
= 0 ;
28815 char *kwnames
[] = {
28816 (char *) "self",(char *) "item",(char *) "data", NULL
28819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28821 if (SWIG_arg_fail(1)) SWIG_fail
;
28823 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28824 if (SWIG_arg_fail(2)) SWIG_fail
;
28825 if (arg2
== NULL
) {
28826 SWIG_null_ref("wxTreeItemId");
28828 if (SWIG_arg_fail(2)) SWIG_fail
;
28830 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28831 if (SWIG_arg_fail(3)) SWIG_fail
;
28833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28834 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28836 wxPyEndAllowThreads(__tstate
);
28837 if (PyErr_Occurred()) SWIG_fail
;
28839 Py_INCREF(Py_None
); resultobj
= Py_None
;
28846 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28847 PyObject
*resultobj
;
28848 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28849 wxTreeItemId
*arg2
= 0 ;
28850 PyObject
*arg3
= (PyObject
*) 0 ;
28851 PyObject
* obj0
= 0 ;
28852 PyObject
* obj1
= 0 ;
28853 PyObject
* obj2
= 0 ;
28854 char *kwnames
[] = {
28855 (char *) "self",(char *) "item",(char *) "obj", NULL
28858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28860 if (SWIG_arg_fail(1)) SWIG_fail
;
28862 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28863 if (SWIG_arg_fail(2)) SWIG_fail
;
28864 if (arg2
== NULL
) {
28865 SWIG_null_ref("wxTreeItemId");
28867 if (SWIG_arg_fail(2)) SWIG_fail
;
28871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28872 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28874 wxPyEndAllowThreads(__tstate
);
28875 if (PyErr_Occurred()) SWIG_fail
;
28877 Py_INCREF(Py_None
); resultobj
= Py_None
;
28884 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28885 PyObject
*resultobj
;
28886 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28887 wxTreeItemId
*arg2
= 0 ;
28888 bool arg3
= (bool) true ;
28889 PyObject
* obj0
= 0 ;
28890 PyObject
* obj1
= 0 ;
28891 PyObject
* obj2
= 0 ;
28892 char *kwnames
[] = {
28893 (char *) "self",(char *) "item",(char *) "has", NULL
28896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28898 if (SWIG_arg_fail(1)) SWIG_fail
;
28900 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28901 if (SWIG_arg_fail(2)) SWIG_fail
;
28902 if (arg2
== NULL
) {
28903 SWIG_null_ref("wxTreeItemId");
28905 if (SWIG_arg_fail(2)) SWIG_fail
;
28909 arg3
= (bool)(SWIG_As_bool(obj2
));
28910 if (SWIG_arg_fail(3)) SWIG_fail
;
28914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28915 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
28917 wxPyEndAllowThreads(__tstate
);
28918 if (PyErr_Occurred()) SWIG_fail
;
28920 Py_INCREF(Py_None
); resultobj
= Py_None
;
28927 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28928 PyObject
*resultobj
;
28929 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28930 wxTreeItemId
*arg2
= 0 ;
28931 bool arg3
= (bool) true ;
28932 PyObject
* obj0
= 0 ;
28933 PyObject
* obj1
= 0 ;
28934 PyObject
* obj2
= 0 ;
28935 char *kwnames
[] = {
28936 (char *) "self",(char *) "item",(char *) "bold", NULL
28939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28941 if (SWIG_arg_fail(1)) SWIG_fail
;
28943 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28944 if (SWIG_arg_fail(2)) SWIG_fail
;
28945 if (arg2
== NULL
) {
28946 SWIG_null_ref("wxTreeItemId");
28948 if (SWIG_arg_fail(2)) SWIG_fail
;
28952 arg3
= (bool)(SWIG_As_bool(obj2
));
28953 if (SWIG_arg_fail(3)) SWIG_fail
;
28957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28958 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
28960 wxPyEndAllowThreads(__tstate
);
28961 if (PyErr_Occurred()) SWIG_fail
;
28963 Py_INCREF(Py_None
); resultobj
= Py_None
;
28970 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28971 PyObject
*resultobj
;
28972 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28973 wxTreeItemId
*arg2
= 0 ;
28974 bool arg3
= (bool) true ;
28975 PyObject
* obj0
= 0 ;
28976 PyObject
* obj1
= 0 ;
28977 PyObject
* obj2
= 0 ;
28978 char *kwnames
[] = {
28979 (char *) "self",(char *) "item",(char *) "highlight", NULL
28982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28984 if (SWIG_arg_fail(1)) SWIG_fail
;
28986 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28987 if (SWIG_arg_fail(2)) SWIG_fail
;
28988 if (arg2
== NULL
) {
28989 SWIG_null_ref("wxTreeItemId");
28991 if (SWIG_arg_fail(2)) SWIG_fail
;
28995 arg3
= (bool)(SWIG_As_bool(obj2
));
28996 if (SWIG_arg_fail(3)) SWIG_fail
;
29000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29001 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
29003 wxPyEndAllowThreads(__tstate
);
29004 if (PyErr_Occurred()) SWIG_fail
;
29006 Py_INCREF(Py_None
); resultobj
= Py_None
;
29013 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29014 PyObject
*resultobj
;
29015 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29016 wxTreeItemId
*arg2
= 0 ;
29017 wxColour
*arg3
= 0 ;
29019 PyObject
* obj0
= 0 ;
29020 PyObject
* obj1
= 0 ;
29021 PyObject
* obj2
= 0 ;
29022 char *kwnames
[] = {
29023 (char *) "self",(char *) "item",(char *) "col", NULL
29026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29028 if (SWIG_arg_fail(1)) SWIG_fail
;
29030 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29031 if (SWIG_arg_fail(2)) SWIG_fail
;
29032 if (arg2
== NULL
) {
29033 SWIG_null_ref("wxTreeItemId");
29035 if (SWIG_arg_fail(2)) SWIG_fail
;
29039 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29043 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29045 wxPyEndAllowThreads(__tstate
);
29046 if (PyErr_Occurred()) SWIG_fail
;
29048 Py_INCREF(Py_None
); resultobj
= Py_None
;
29055 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29056 PyObject
*resultobj
;
29057 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29058 wxTreeItemId
*arg2
= 0 ;
29059 wxColour
*arg3
= 0 ;
29061 PyObject
* obj0
= 0 ;
29062 PyObject
* obj1
= 0 ;
29063 PyObject
* obj2
= 0 ;
29064 char *kwnames
[] = {
29065 (char *) "self",(char *) "item",(char *) "col", NULL
29068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29070 if (SWIG_arg_fail(1)) SWIG_fail
;
29072 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29073 if (SWIG_arg_fail(2)) SWIG_fail
;
29074 if (arg2
== NULL
) {
29075 SWIG_null_ref("wxTreeItemId");
29077 if (SWIG_arg_fail(2)) SWIG_fail
;
29081 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29085 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29087 wxPyEndAllowThreads(__tstate
);
29088 if (PyErr_Occurred()) SWIG_fail
;
29090 Py_INCREF(Py_None
); resultobj
= Py_None
;
29097 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29098 PyObject
*resultobj
;
29099 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29100 wxTreeItemId
*arg2
= 0 ;
29102 PyObject
* obj0
= 0 ;
29103 PyObject
* obj1
= 0 ;
29104 PyObject
* obj2
= 0 ;
29105 char *kwnames
[] = {
29106 (char *) "self",(char *) "item",(char *) "font", NULL
29109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29111 if (SWIG_arg_fail(1)) SWIG_fail
;
29113 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29114 if (SWIG_arg_fail(2)) SWIG_fail
;
29115 if (arg2
== NULL
) {
29116 SWIG_null_ref("wxTreeItemId");
29118 if (SWIG_arg_fail(2)) SWIG_fail
;
29121 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29122 if (SWIG_arg_fail(3)) SWIG_fail
;
29123 if (arg3
== NULL
) {
29124 SWIG_null_ref("wxFont");
29126 if (SWIG_arg_fail(3)) SWIG_fail
;
29129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29130 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
29132 wxPyEndAllowThreads(__tstate
);
29133 if (PyErr_Occurred()) SWIG_fail
;
29135 Py_INCREF(Py_None
); resultobj
= Py_None
;
29142 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29143 PyObject
*resultobj
;
29144 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29145 wxTreeItemId
*arg2
= 0 ;
29147 PyObject
* obj0
= 0 ;
29148 PyObject
* obj1
= 0 ;
29149 char *kwnames
[] = {
29150 (char *) "self",(char *) "item", NULL
29153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29155 if (SWIG_arg_fail(1)) SWIG_fail
;
29157 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29158 if (SWIG_arg_fail(2)) SWIG_fail
;
29159 if (arg2
== NULL
) {
29160 SWIG_null_ref("wxTreeItemId");
29162 if (SWIG_arg_fail(2)) SWIG_fail
;
29165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29166 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
29168 wxPyEndAllowThreads(__tstate
);
29169 if (PyErr_Occurred()) SWIG_fail
;
29172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29180 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29181 PyObject
*resultobj
;
29182 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29183 wxTreeItemId
*arg2
= 0 ;
29185 PyObject
* obj0
= 0 ;
29186 PyObject
* obj1
= 0 ;
29187 char *kwnames
[] = {
29188 (char *) "self",(char *) "item", NULL
29191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
29192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29193 if (SWIG_arg_fail(1)) SWIG_fail
;
29195 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29196 if (SWIG_arg_fail(2)) SWIG_fail
;
29197 if (arg2
== NULL
) {
29198 SWIG_null_ref("wxTreeItemId");
29200 if (SWIG_arg_fail(2)) SWIG_fail
;
29203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29204 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
29206 wxPyEndAllowThreads(__tstate
);
29207 if (PyErr_Occurred()) SWIG_fail
;
29210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29218 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29219 PyObject
*resultobj
;
29220 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29221 wxTreeItemId
*arg2
= 0 ;
29223 PyObject
* obj0
= 0 ;
29224 PyObject
* obj1
= 0 ;
29225 char *kwnames
[] = {
29226 (char *) "self",(char *) "item", NULL
29229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
29230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29231 if (SWIG_arg_fail(1)) SWIG_fail
;
29233 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29234 if (SWIG_arg_fail(2)) SWIG_fail
;
29235 if (arg2
== NULL
) {
29236 SWIG_null_ref("wxTreeItemId");
29238 if (SWIG_arg_fail(2)) SWIG_fail
;
29241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29242 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
29244 wxPyEndAllowThreads(__tstate
);
29245 if (PyErr_Occurred()) SWIG_fail
;
29248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29256 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29257 PyObject
*resultobj
;
29258 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29259 wxTreeItemId
*arg2
= 0 ;
29261 PyObject
* obj0
= 0 ;
29262 PyObject
* obj1
= 0 ;
29263 char *kwnames
[] = {
29264 (char *) "self",(char *) "item", NULL
29267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
29268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29269 if (SWIG_arg_fail(1)) SWIG_fail
;
29271 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29272 if (SWIG_arg_fail(2)) SWIG_fail
;
29273 if (arg2
== NULL
) {
29274 SWIG_null_ref("wxTreeItemId");
29276 if (SWIG_arg_fail(2)) SWIG_fail
;
29279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29280 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
29282 wxPyEndAllowThreads(__tstate
);
29283 if (PyErr_Occurred()) SWIG_fail
;
29286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29294 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29295 PyObject
*resultobj
;
29296 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29297 wxTreeItemId
*arg2
= 0 ;
29299 PyObject
* obj0
= 0 ;
29300 PyObject
* obj1
= 0 ;
29301 char *kwnames
[] = {
29302 (char *) "self",(char *) "item", NULL
29305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
29306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29307 if (SWIG_arg_fail(1)) SWIG_fail
;
29309 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29310 if (SWIG_arg_fail(2)) SWIG_fail
;
29311 if (arg2
== NULL
) {
29312 SWIG_null_ref("wxTreeItemId");
29314 if (SWIG_arg_fail(2)) SWIG_fail
;
29317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29318 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
29320 wxPyEndAllowThreads(__tstate
);
29321 if (PyErr_Occurred()) SWIG_fail
;
29324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29332 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29333 PyObject
*resultobj
;
29334 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29335 wxTreeItemId
*arg2
= 0 ;
29336 bool arg3
= (bool) true ;
29338 PyObject
* obj0
= 0 ;
29339 PyObject
* obj1
= 0 ;
29340 PyObject
* obj2
= 0 ;
29341 char *kwnames
[] = {
29342 (char *) "self",(char *) "item",(char *) "recursively", NULL
29345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29347 if (SWIG_arg_fail(1)) SWIG_fail
;
29349 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29350 if (SWIG_arg_fail(2)) SWIG_fail
;
29351 if (arg2
== NULL
) {
29352 SWIG_null_ref("wxTreeItemId");
29354 if (SWIG_arg_fail(2)) SWIG_fail
;
29358 arg3
= (bool)(SWIG_As_bool(obj2
));
29359 if (SWIG_arg_fail(3)) SWIG_fail
;
29363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29364 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
29366 wxPyEndAllowThreads(__tstate
);
29367 if (PyErr_Occurred()) SWIG_fail
;
29370 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
29378 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29379 PyObject
*resultobj
;
29380 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29381 wxTreeItemId result
;
29382 PyObject
* obj0
= 0 ;
29383 char *kwnames
[] = {
29384 (char *) "self", NULL
29387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
29388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29389 if (SWIG_arg_fail(1)) SWIG_fail
;
29391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29392 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
29394 wxPyEndAllowThreads(__tstate
);
29395 if (PyErr_Occurred()) SWIG_fail
;
29398 wxTreeItemId
* resultptr
;
29399 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29400 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29408 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29409 PyObject
*resultobj
;
29410 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29411 wxTreeItemId result
;
29412 PyObject
* obj0
= 0 ;
29413 char *kwnames
[] = {
29414 (char *) "self", NULL
29417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
29418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29419 if (SWIG_arg_fail(1)) SWIG_fail
;
29421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29422 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
29424 wxPyEndAllowThreads(__tstate
);
29425 if (PyErr_Occurred()) SWIG_fail
;
29428 wxTreeItemId
* resultptr
;
29429 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29430 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29438 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29439 PyObject
*resultobj
;
29440 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29442 PyObject
* obj0
= 0 ;
29443 char *kwnames
[] = {
29444 (char *) "self", NULL
29447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
29448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29449 if (SWIG_arg_fail(1)) SWIG_fail
;
29451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29452 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
29454 wxPyEndAllowThreads(__tstate
);
29455 if (PyErr_Occurred()) SWIG_fail
;
29457 resultobj
= result
;
29464 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29465 PyObject
*resultobj
;
29466 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29467 wxTreeItemId
*arg2
= 0 ;
29468 wxTreeItemId result
;
29469 PyObject
* obj0
= 0 ;
29470 PyObject
* obj1
= 0 ;
29471 char *kwnames
[] = {
29472 (char *) "self",(char *) "item", NULL
29475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29477 if (SWIG_arg_fail(1)) SWIG_fail
;
29479 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29480 if (SWIG_arg_fail(2)) SWIG_fail
;
29481 if (arg2
== NULL
) {
29482 SWIG_null_ref("wxTreeItemId");
29484 if (SWIG_arg_fail(2)) SWIG_fail
;
29487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29488 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
29490 wxPyEndAllowThreads(__tstate
);
29491 if (PyErr_Occurred()) SWIG_fail
;
29494 wxTreeItemId
* resultptr
;
29495 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29496 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29504 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29505 PyObject
*resultobj
;
29506 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29507 wxTreeItemId
*arg2
= 0 ;
29509 PyObject
* obj0
= 0 ;
29510 PyObject
* obj1
= 0 ;
29511 char *kwnames
[] = {
29512 (char *) "self",(char *) "item", NULL
29515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29517 if (SWIG_arg_fail(1)) SWIG_fail
;
29519 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29520 if (SWIG_arg_fail(2)) SWIG_fail
;
29521 if (arg2
== NULL
) {
29522 SWIG_null_ref("wxTreeItemId");
29524 if (SWIG_arg_fail(2)) SWIG_fail
;
29527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29528 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
29530 wxPyEndAllowThreads(__tstate
);
29531 if (PyErr_Occurred()) SWIG_fail
;
29533 resultobj
= result
;
29540 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29541 PyObject
*resultobj
;
29542 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29543 wxTreeItemId
*arg2
= 0 ;
29544 void *arg3
= (void *) 0 ;
29546 PyObject
* obj0
= 0 ;
29547 PyObject
* obj1
= 0 ;
29548 PyObject
* obj2
= 0 ;
29549 char *kwnames
[] = {
29550 (char *) "self",(char *) "item",(char *) "cookie", NULL
29553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29555 if (SWIG_arg_fail(1)) SWIG_fail
;
29557 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29558 if (SWIG_arg_fail(2)) SWIG_fail
;
29559 if (arg2
== NULL
) {
29560 SWIG_null_ref("wxTreeItemId");
29562 if (SWIG_arg_fail(2)) SWIG_fail
;
29565 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
29566 SWIG_arg_fail(3);SWIG_fail
;
29570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29571 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29573 wxPyEndAllowThreads(__tstate
);
29574 if (PyErr_Occurred()) SWIG_fail
;
29576 resultobj
= result
;
29583 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29584 PyObject
*resultobj
;
29585 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29586 wxTreeItemId
*arg2
= 0 ;
29587 wxTreeItemId result
;
29588 PyObject
* obj0
= 0 ;
29589 PyObject
* obj1
= 0 ;
29590 char *kwnames
[] = {
29591 (char *) "self",(char *) "item", NULL
29594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29596 if (SWIG_arg_fail(1)) SWIG_fail
;
29598 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29599 if (SWIG_arg_fail(2)) SWIG_fail
;
29600 if (arg2
== NULL
) {
29601 SWIG_null_ref("wxTreeItemId");
29603 if (SWIG_arg_fail(2)) SWIG_fail
;
29606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29607 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
29609 wxPyEndAllowThreads(__tstate
);
29610 if (PyErr_Occurred()) SWIG_fail
;
29613 wxTreeItemId
* resultptr
;
29614 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29615 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29623 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29624 PyObject
*resultobj
;
29625 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29626 wxTreeItemId
*arg2
= 0 ;
29627 wxTreeItemId result
;
29628 PyObject
* obj0
= 0 ;
29629 PyObject
* obj1
= 0 ;
29630 char *kwnames
[] = {
29631 (char *) "self",(char *) "item", NULL
29634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29636 if (SWIG_arg_fail(1)) SWIG_fail
;
29638 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29639 if (SWIG_arg_fail(2)) SWIG_fail
;
29640 if (arg2
== NULL
) {
29641 SWIG_null_ref("wxTreeItemId");
29643 if (SWIG_arg_fail(2)) SWIG_fail
;
29646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29647 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
29649 wxPyEndAllowThreads(__tstate
);
29650 if (PyErr_Occurred()) SWIG_fail
;
29653 wxTreeItemId
* resultptr
;
29654 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29655 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29663 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29664 PyObject
*resultobj
;
29665 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29666 wxTreeItemId
*arg2
= 0 ;
29667 wxTreeItemId result
;
29668 PyObject
* obj0
= 0 ;
29669 PyObject
* obj1
= 0 ;
29670 char *kwnames
[] = {
29671 (char *) "self",(char *) "item", NULL
29674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29676 if (SWIG_arg_fail(1)) SWIG_fail
;
29678 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29679 if (SWIG_arg_fail(2)) SWIG_fail
;
29680 if (arg2
== NULL
) {
29681 SWIG_null_ref("wxTreeItemId");
29683 if (SWIG_arg_fail(2)) SWIG_fail
;
29686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29687 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
29689 wxPyEndAllowThreads(__tstate
);
29690 if (PyErr_Occurred()) SWIG_fail
;
29693 wxTreeItemId
* resultptr
;
29694 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29703 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29704 PyObject
*resultobj
;
29705 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29706 wxTreeItemId result
;
29707 PyObject
* obj0
= 0 ;
29708 char *kwnames
[] = {
29709 (char *) "self", NULL
29712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
29713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29714 if (SWIG_arg_fail(1)) SWIG_fail
;
29716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29717 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
29719 wxPyEndAllowThreads(__tstate
);
29720 if (PyErr_Occurred()) SWIG_fail
;
29723 wxTreeItemId
* resultptr
;
29724 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29725 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29733 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29734 PyObject
*resultobj
;
29735 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29736 wxTreeItemId
*arg2
= 0 ;
29737 wxTreeItemId result
;
29738 PyObject
* obj0
= 0 ;
29739 PyObject
* obj1
= 0 ;
29740 char *kwnames
[] = {
29741 (char *) "self",(char *) "item", NULL
29744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29746 if (SWIG_arg_fail(1)) SWIG_fail
;
29748 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29749 if (SWIG_arg_fail(2)) SWIG_fail
;
29750 if (arg2
== NULL
) {
29751 SWIG_null_ref("wxTreeItemId");
29753 if (SWIG_arg_fail(2)) SWIG_fail
;
29756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29757 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
29759 wxPyEndAllowThreads(__tstate
);
29760 if (PyErr_Occurred()) SWIG_fail
;
29763 wxTreeItemId
* resultptr
;
29764 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29765 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29773 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29774 PyObject
*resultobj
;
29775 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29776 wxTreeItemId
*arg2
= 0 ;
29777 wxTreeItemId result
;
29778 PyObject
* obj0
= 0 ;
29779 PyObject
* obj1
= 0 ;
29780 char *kwnames
[] = {
29781 (char *) "self",(char *) "item", NULL
29784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29786 if (SWIG_arg_fail(1)) SWIG_fail
;
29788 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29789 if (SWIG_arg_fail(2)) SWIG_fail
;
29790 if (arg2
== NULL
) {
29791 SWIG_null_ref("wxTreeItemId");
29793 if (SWIG_arg_fail(2)) SWIG_fail
;
29796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29797 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
29799 wxPyEndAllowThreads(__tstate
);
29800 if (PyErr_Occurred()) SWIG_fail
;
29803 wxTreeItemId
* resultptr
;
29804 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29805 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29813 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29814 PyObject
*resultobj
;
29815 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29816 wxString
*arg2
= 0 ;
29817 int arg3
= (int) -1 ;
29818 int arg4
= (int) -1 ;
29819 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
29820 wxTreeItemId result
;
29821 bool temp2
= false ;
29822 PyObject
* obj0
= 0 ;
29823 PyObject
* obj1
= 0 ;
29824 PyObject
* obj2
= 0 ;
29825 PyObject
* obj3
= 0 ;
29826 PyObject
* obj4
= 0 ;
29827 char *kwnames
[] = {
29828 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29833 if (SWIG_arg_fail(1)) SWIG_fail
;
29835 arg2
= wxString_in_helper(obj1
);
29836 if (arg2
== NULL
) SWIG_fail
;
29841 arg3
= (int)(SWIG_As_int(obj2
));
29842 if (SWIG_arg_fail(3)) SWIG_fail
;
29847 arg4
= (int)(SWIG_As_int(obj3
));
29848 if (SWIG_arg_fail(4)) SWIG_fail
;
29852 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29853 if (SWIG_arg_fail(5)) SWIG_fail
;
29856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29857 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29859 wxPyEndAllowThreads(__tstate
);
29860 if (PyErr_Occurred()) SWIG_fail
;
29863 wxTreeItemId
* resultptr
;
29864 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29865 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29881 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29882 PyObject
*resultobj
;
29883 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29884 wxTreeItemId
*arg2
= 0 ;
29885 wxString
*arg3
= 0 ;
29886 int arg4
= (int) -1 ;
29887 int arg5
= (int) -1 ;
29888 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
29889 wxTreeItemId result
;
29890 bool temp3
= false ;
29891 PyObject
* obj0
= 0 ;
29892 PyObject
* obj1
= 0 ;
29893 PyObject
* obj2
= 0 ;
29894 PyObject
* obj3
= 0 ;
29895 PyObject
* obj4
= 0 ;
29896 PyObject
* obj5
= 0 ;
29897 char *kwnames
[] = {
29898 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29903 if (SWIG_arg_fail(1)) SWIG_fail
;
29905 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29906 if (SWIG_arg_fail(2)) SWIG_fail
;
29907 if (arg2
== NULL
) {
29908 SWIG_null_ref("wxTreeItemId");
29910 if (SWIG_arg_fail(2)) SWIG_fail
;
29913 arg3
= wxString_in_helper(obj2
);
29914 if (arg3
== NULL
) SWIG_fail
;
29919 arg4
= (int)(SWIG_As_int(obj3
));
29920 if (SWIG_arg_fail(4)) SWIG_fail
;
29925 arg5
= (int)(SWIG_As_int(obj4
));
29926 if (SWIG_arg_fail(5)) SWIG_fail
;
29930 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29931 if (SWIG_arg_fail(6)) SWIG_fail
;
29934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29935 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
29937 wxPyEndAllowThreads(__tstate
);
29938 if (PyErr_Occurred()) SWIG_fail
;
29941 wxTreeItemId
* resultptr
;
29942 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29943 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29959 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29960 PyObject
*resultobj
;
29961 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29962 wxTreeItemId
*arg2
= 0 ;
29963 wxTreeItemId
*arg3
= 0 ;
29964 wxString
*arg4
= 0 ;
29965 int arg5
= (int) -1 ;
29966 int arg6
= (int) -1 ;
29967 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
29968 wxTreeItemId result
;
29969 bool temp4
= false ;
29970 PyObject
* obj0
= 0 ;
29971 PyObject
* obj1
= 0 ;
29972 PyObject
* obj2
= 0 ;
29973 PyObject
* obj3
= 0 ;
29974 PyObject
* obj4
= 0 ;
29975 PyObject
* obj5
= 0 ;
29976 PyObject
* obj6
= 0 ;
29977 char *kwnames
[] = {
29978 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29983 if (SWIG_arg_fail(1)) SWIG_fail
;
29985 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29986 if (SWIG_arg_fail(2)) SWIG_fail
;
29987 if (arg2
== NULL
) {
29988 SWIG_null_ref("wxTreeItemId");
29990 if (SWIG_arg_fail(2)) SWIG_fail
;
29993 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29994 if (SWIG_arg_fail(3)) SWIG_fail
;
29995 if (arg3
== NULL
) {
29996 SWIG_null_ref("wxTreeItemId");
29998 if (SWIG_arg_fail(3)) SWIG_fail
;
30001 arg4
= wxString_in_helper(obj3
);
30002 if (arg4
== NULL
) SWIG_fail
;
30007 arg5
= (int)(SWIG_As_int(obj4
));
30008 if (SWIG_arg_fail(5)) SWIG_fail
;
30013 arg6
= (int)(SWIG_As_int(obj5
));
30014 if (SWIG_arg_fail(6)) SWIG_fail
;
30018 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30019 if (SWIG_arg_fail(7)) SWIG_fail
;
30022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30023 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30025 wxPyEndAllowThreads(__tstate
);
30026 if (PyErr_Occurred()) SWIG_fail
;
30029 wxTreeItemId
* resultptr
;
30030 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30031 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30047 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30048 PyObject
*resultobj
;
30049 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30050 wxTreeItemId
*arg2
= 0 ;
30052 wxString
*arg4
= 0 ;
30053 int arg5
= (int) -1 ;
30054 int arg6
= (int) -1 ;
30055 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30056 wxTreeItemId result
;
30057 bool temp4
= false ;
30058 PyObject
* obj0
= 0 ;
30059 PyObject
* obj1
= 0 ;
30060 PyObject
* obj2
= 0 ;
30061 PyObject
* obj3
= 0 ;
30062 PyObject
* obj4
= 0 ;
30063 PyObject
* obj5
= 0 ;
30064 PyObject
* obj6
= 0 ;
30065 char *kwnames
[] = {
30066 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30071 if (SWIG_arg_fail(1)) SWIG_fail
;
30073 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30074 if (SWIG_arg_fail(2)) SWIG_fail
;
30075 if (arg2
== NULL
) {
30076 SWIG_null_ref("wxTreeItemId");
30078 if (SWIG_arg_fail(2)) SWIG_fail
;
30081 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
30082 if (SWIG_arg_fail(3)) SWIG_fail
;
30085 arg4
= wxString_in_helper(obj3
);
30086 if (arg4
== NULL
) SWIG_fail
;
30091 arg5
= (int)(SWIG_As_int(obj4
));
30092 if (SWIG_arg_fail(5)) SWIG_fail
;
30097 arg6
= (int)(SWIG_As_int(obj5
));
30098 if (SWIG_arg_fail(6)) SWIG_fail
;
30102 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30103 if (SWIG_arg_fail(7)) SWIG_fail
;
30106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30107 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30109 wxPyEndAllowThreads(__tstate
);
30110 if (PyErr_Occurred()) SWIG_fail
;
30113 wxTreeItemId
* resultptr
;
30114 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30115 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30131 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30132 PyObject
*resultobj
;
30133 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30134 wxTreeItemId
*arg2
= 0 ;
30135 wxString
*arg3
= 0 ;
30136 int arg4
= (int) -1 ;
30137 int arg5
= (int) -1 ;
30138 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30139 wxTreeItemId result
;
30140 bool temp3
= false ;
30141 PyObject
* obj0
= 0 ;
30142 PyObject
* obj1
= 0 ;
30143 PyObject
* obj2
= 0 ;
30144 PyObject
* obj3
= 0 ;
30145 PyObject
* obj4
= 0 ;
30146 PyObject
* obj5
= 0 ;
30147 char *kwnames
[] = {
30148 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30153 if (SWIG_arg_fail(1)) SWIG_fail
;
30155 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30156 if (SWIG_arg_fail(2)) SWIG_fail
;
30157 if (arg2
== NULL
) {
30158 SWIG_null_ref("wxTreeItemId");
30160 if (SWIG_arg_fail(2)) SWIG_fail
;
30163 arg3
= wxString_in_helper(obj2
);
30164 if (arg3
== NULL
) SWIG_fail
;
30169 arg4
= (int)(SWIG_As_int(obj3
));
30170 if (SWIG_arg_fail(4)) SWIG_fail
;
30175 arg5
= (int)(SWIG_As_int(obj4
));
30176 if (SWIG_arg_fail(5)) SWIG_fail
;
30180 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30181 if (SWIG_arg_fail(6)) SWIG_fail
;
30184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30185 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30187 wxPyEndAllowThreads(__tstate
);
30188 if (PyErr_Occurred()) SWIG_fail
;
30191 wxTreeItemId
* resultptr
;
30192 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30193 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30209 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30210 PyObject
*resultobj
;
30211 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30212 wxTreeItemId
*arg2
= 0 ;
30213 PyObject
* obj0
= 0 ;
30214 PyObject
* obj1
= 0 ;
30215 char *kwnames
[] = {
30216 (char *) "self",(char *) "item", NULL
30219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30221 if (SWIG_arg_fail(1)) SWIG_fail
;
30223 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30224 if (SWIG_arg_fail(2)) SWIG_fail
;
30225 if (arg2
== NULL
) {
30226 SWIG_null_ref("wxTreeItemId");
30228 if (SWIG_arg_fail(2)) SWIG_fail
;
30231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30232 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
30234 wxPyEndAllowThreads(__tstate
);
30235 if (PyErr_Occurred()) SWIG_fail
;
30237 Py_INCREF(Py_None
); resultobj
= Py_None
;
30244 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30245 PyObject
*resultobj
;
30246 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30247 wxTreeItemId
*arg2
= 0 ;
30248 PyObject
* obj0
= 0 ;
30249 PyObject
* obj1
= 0 ;
30250 char *kwnames
[] = {
30251 (char *) "self",(char *) "item", NULL
30254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30256 if (SWIG_arg_fail(1)) SWIG_fail
;
30258 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30259 if (SWIG_arg_fail(2)) SWIG_fail
;
30260 if (arg2
== NULL
) {
30261 SWIG_null_ref("wxTreeItemId");
30263 if (SWIG_arg_fail(2)) SWIG_fail
;
30266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30267 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
30269 wxPyEndAllowThreads(__tstate
);
30270 if (PyErr_Occurred()) SWIG_fail
;
30272 Py_INCREF(Py_None
); resultobj
= Py_None
;
30279 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30280 PyObject
*resultobj
;
30281 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30282 PyObject
* obj0
= 0 ;
30283 char *kwnames
[] = {
30284 (char *) "self", NULL
30287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
30288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30289 if (SWIG_arg_fail(1)) SWIG_fail
;
30291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30292 (arg1
)->DeleteAllItems();
30294 wxPyEndAllowThreads(__tstate
);
30295 if (PyErr_Occurred()) SWIG_fail
;
30297 Py_INCREF(Py_None
); resultobj
= Py_None
;
30304 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30305 PyObject
*resultobj
;
30306 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30307 wxTreeItemId
*arg2
= 0 ;
30308 PyObject
* obj0
= 0 ;
30309 PyObject
* obj1
= 0 ;
30310 char *kwnames
[] = {
30311 (char *) "self",(char *) "item", NULL
30314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
30315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30316 if (SWIG_arg_fail(1)) SWIG_fail
;
30318 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30319 if (SWIG_arg_fail(2)) SWIG_fail
;
30320 if (arg2
== NULL
) {
30321 SWIG_null_ref("wxTreeItemId");
30323 if (SWIG_arg_fail(2)) SWIG_fail
;
30326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30327 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
30329 wxPyEndAllowThreads(__tstate
);
30330 if (PyErr_Occurred()) SWIG_fail
;
30332 Py_INCREF(Py_None
); resultobj
= Py_None
;
30339 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30340 PyObject
*resultobj
;
30341 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30342 wxTreeItemId
*arg2
= 0 ;
30343 PyObject
* obj0
= 0 ;
30344 PyObject
* obj1
= 0 ;
30345 char *kwnames
[] = {
30346 (char *) "self",(char *) "item", NULL
30349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
30350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30351 if (SWIG_arg_fail(1)) SWIG_fail
;
30353 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30354 if (SWIG_arg_fail(2)) SWIG_fail
;
30355 if (arg2
== NULL
) {
30356 SWIG_null_ref("wxTreeItemId");
30358 if (SWIG_arg_fail(2)) SWIG_fail
;
30361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30362 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
30364 wxPyEndAllowThreads(__tstate
);
30365 if (PyErr_Occurred()) SWIG_fail
;
30367 Py_INCREF(Py_None
); resultobj
= Py_None
;
30374 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30375 PyObject
*resultobj
;
30376 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30377 wxTreeItemId
*arg2
= 0 ;
30378 PyObject
* obj0
= 0 ;
30379 PyObject
* obj1
= 0 ;
30380 char *kwnames
[] = {
30381 (char *) "self",(char *) "item", NULL
30384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
30385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30386 if (SWIG_arg_fail(1)) SWIG_fail
;
30388 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30389 if (SWIG_arg_fail(2)) SWIG_fail
;
30390 if (arg2
== NULL
) {
30391 SWIG_null_ref("wxTreeItemId");
30393 if (SWIG_arg_fail(2)) SWIG_fail
;
30396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30397 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
30399 wxPyEndAllowThreads(__tstate
);
30400 if (PyErr_Occurred()) SWIG_fail
;
30402 Py_INCREF(Py_None
); resultobj
= Py_None
;
30409 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30410 PyObject
*resultobj
;
30411 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30412 wxTreeItemId
*arg2
= 0 ;
30413 PyObject
* obj0
= 0 ;
30414 PyObject
* obj1
= 0 ;
30415 char *kwnames
[] = {
30416 (char *) "self",(char *) "item", NULL
30419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
30420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30421 if (SWIG_arg_fail(1)) SWIG_fail
;
30423 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30424 if (SWIG_arg_fail(2)) SWIG_fail
;
30425 if (arg2
== NULL
) {
30426 SWIG_null_ref("wxTreeItemId");
30428 if (SWIG_arg_fail(2)) SWIG_fail
;
30431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30432 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
30434 wxPyEndAllowThreads(__tstate
);
30435 if (PyErr_Occurred()) SWIG_fail
;
30437 Py_INCREF(Py_None
); resultobj
= Py_None
;
30444 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30445 PyObject
*resultobj
;
30446 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30447 PyObject
* obj0
= 0 ;
30448 char *kwnames
[] = {
30449 (char *) "self", NULL
30452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
30453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30454 if (SWIG_arg_fail(1)) SWIG_fail
;
30456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30457 (arg1
)->Unselect();
30459 wxPyEndAllowThreads(__tstate
);
30460 if (PyErr_Occurred()) SWIG_fail
;
30462 Py_INCREF(Py_None
); resultobj
= Py_None
;
30469 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30470 PyObject
*resultobj
;
30471 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30472 wxTreeItemId
*arg2
= 0 ;
30473 PyObject
* obj0
= 0 ;
30474 PyObject
* obj1
= 0 ;
30475 char *kwnames
[] = {
30476 (char *) "self",(char *) "item", NULL
30479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30481 if (SWIG_arg_fail(1)) SWIG_fail
;
30483 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30484 if (SWIG_arg_fail(2)) SWIG_fail
;
30485 if (arg2
== NULL
) {
30486 SWIG_null_ref("wxTreeItemId");
30488 if (SWIG_arg_fail(2)) SWIG_fail
;
30491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30492 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
30494 wxPyEndAllowThreads(__tstate
);
30495 if (PyErr_Occurred()) SWIG_fail
;
30497 Py_INCREF(Py_None
); resultobj
= Py_None
;
30504 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30505 PyObject
*resultobj
;
30506 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30507 PyObject
* obj0
= 0 ;
30508 char *kwnames
[] = {
30509 (char *) "self", NULL
30512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
30513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30514 if (SWIG_arg_fail(1)) SWIG_fail
;
30516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30517 (arg1
)->UnselectAll();
30519 wxPyEndAllowThreads(__tstate
);
30520 if (PyErr_Occurred()) SWIG_fail
;
30522 Py_INCREF(Py_None
); resultobj
= Py_None
;
30529 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30530 PyObject
*resultobj
;
30531 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30532 wxTreeItemId
*arg2
= 0 ;
30533 bool arg3
= (bool) true ;
30534 PyObject
* obj0
= 0 ;
30535 PyObject
* obj1
= 0 ;
30536 PyObject
* obj2
= 0 ;
30537 char *kwnames
[] = {
30538 (char *) "self",(char *) "item",(char *) "select", NULL
30541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30543 if (SWIG_arg_fail(1)) SWIG_fail
;
30545 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30546 if (SWIG_arg_fail(2)) SWIG_fail
;
30547 if (arg2
== NULL
) {
30548 SWIG_null_ref("wxTreeItemId");
30550 if (SWIG_arg_fail(2)) SWIG_fail
;
30554 arg3
= (bool)(SWIG_As_bool(obj2
));
30555 if (SWIG_arg_fail(3)) SWIG_fail
;
30559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30560 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
30562 wxPyEndAllowThreads(__tstate
);
30563 if (PyErr_Occurred()) SWIG_fail
;
30565 Py_INCREF(Py_None
); resultobj
= Py_None
;
30572 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30573 PyObject
*resultobj
;
30574 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30575 wxTreeItemId
*arg2
= 0 ;
30576 PyObject
* obj0
= 0 ;
30577 PyObject
* obj1
= 0 ;
30578 char *kwnames
[] = {
30579 (char *) "self",(char *) "item", NULL
30582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30584 if (SWIG_arg_fail(1)) SWIG_fail
;
30586 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30587 if (SWIG_arg_fail(2)) SWIG_fail
;
30588 if (arg2
== NULL
) {
30589 SWIG_null_ref("wxTreeItemId");
30591 if (SWIG_arg_fail(2)) SWIG_fail
;
30594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30595 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
30597 wxPyEndAllowThreads(__tstate
);
30598 if (PyErr_Occurred()) SWIG_fail
;
30600 Py_INCREF(Py_None
); resultobj
= Py_None
;
30607 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30608 PyObject
*resultobj
;
30609 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30610 wxTreeItemId
*arg2
= 0 ;
30611 PyObject
* obj0
= 0 ;
30612 PyObject
* obj1
= 0 ;
30613 char *kwnames
[] = {
30614 (char *) "self",(char *) "item", NULL
30617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30619 if (SWIG_arg_fail(1)) SWIG_fail
;
30621 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30622 if (SWIG_arg_fail(2)) SWIG_fail
;
30623 if (arg2
== NULL
) {
30624 SWIG_null_ref("wxTreeItemId");
30626 if (SWIG_arg_fail(2)) SWIG_fail
;
30629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30630 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
30632 wxPyEndAllowThreads(__tstate
);
30633 if (PyErr_Occurred()) SWIG_fail
;
30635 Py_INCREF(Py_None
); resultobj
= Py_None
;
30642 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30643 PyObject
*resultobj
;
30644 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30645 wxTreeItemId
*arg2
= 0 ;
30646 PyObject
* obj0
= 0 ;
30647 PyObject
* obj1
= 0 ;
30648 char *kwnames
[] = {
30649 (char *) "self",(char *) "item", NULL
30652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
30653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30654 if (SWIG_arg_fail(1)) SWIG_fail
;
30656 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30657 if (SWIG_arg_fail(2)) SWIG_fail
;
30658 if (arg2
== NULL
) {
30659 SWIG_null_ref("wxTreeItemId");
30661 if (SWIG_arg_fail(2)) SWIG_fail
;
30664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30665 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
30667 wxPyEndAllowThreads(__tstate
);
30668 if (PyErr_Occurred()) SWIG_fail
;
30670 Py_INCREF(Py_None
); resultobj
= Py_None
;
30677 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30678 PyObject
*resultobj
;
30679 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30680 wxTreeItemId
*arg2
= 0 ;
30681 PyObject
* obj0
= 0 ;
30682 PyObject
* obj1
= 0 ;
30683 char *kwnames
[] = {
30684 (char *) "self",(char *) "item", NULL
30687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30689 if (SWIG_arg_fail(1)) SWIG_fail
;
30691 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30692 if (SWIG_arg_fail(2)) SWIG_fail
;
30693 if (arg2
== NULL
) {
30694 SWIG_null_ref("wxTreeItemId");
30696 if (SWIG_arg_fail(2)) SWIG_fail
;
30699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30700 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
30702 wxPyEndAllowThreads(__tstate
);
30703 if (PyErr_Occurred()) SWIG_fail
;
30705 Py_INCREF(Py_None
); resultobj
= Py_None
;
30712 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30713 PyObject
*resultobj
;
30714 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30715 wxTextCtrl
*result
;
30716 PyObject
* obj0
= 0 ;
30717 char *kwnames
[] = {
30718 (char *) "self", NULL
30721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30726 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
30728 wxPyEndAllowThreads(__tstate
);
30729 if (PyErr_Occurred()) SWIG_fail
;
30732 resultobj
= wxPyMake_wxObject(result
, 0);
30740 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30741 PyObject
*resultobj
;
30742 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30743 wxTreeItemId
*arg2
= 0 ;
30744 PyObject
* obj0
= 0 ;
30745 PyObject
* obj1
= 0 ;
30746 char *kwnames
[] = {
30747 (char *) "self",(char *) "item", NULL
30750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30752 if (SWIG_arg_fail(1)) SWIG_fail
;
30754 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30755 if (SWIG_arg_fail(2)) SWIG_fail
;
30756 if (arg2
== NULL
) {
30757 SWIG_null_ref("wxTreeItemId");
30759 if (SWIG_arg_fail(2)) SWIG_fail
;
30762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30763 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
30765 wxPyEndAllowThreads(__tstate
);
30766 if (PyErr_Occurred()) SWIG_fail
;
30768 Py_INCREF(Py_None
); resultobj
= Py_None
;
30775 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30776 PyObject
*resultobj
;
30777 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30778 wxPoint
*arg2
= 0 ;
30780 wxTreeItemId result
;
30784 PyObject
* obj0
= 0 ;
30785 PyObject
* obj1
= 0 ;
30786 char *kwnames
[] = {
30787 (char *) "self",(char *) "point", NULL
30790 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30793 if (SWIG_arg_fail(1)) SWIG_fail
;
30796 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30800 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30802 wxPyEndAllowThreads(__tstate
);
30803 if (PyErr_Occurred()) SWIG_fail
;
30806 wxTreeItemId
* resultptr
;
30807 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30808 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30810 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30811 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30818 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30819 PyObject
*resultobj
;
30820 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30821 wxTreeItemId
*arg2
= 0 ;
30822 bool arg3
= (bool) false ;
30824 PyObject
* obj0
= 0 ;
30825 PyObject
* obj1
= 0 ;
30826 PyObject
* obj2
= 0 ;
30827 char *kwnames
[] = {
30828 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30833 if (SWIG_arg_fail(1)) SWIG_fail
;
30835 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30836 if (SWIG_arg_fail(2)) SWIG_fail
;
30837 if (arg2
== NULL
) {
30838 SWIG_null_ref("wxTreeItemId");
30840 if (SWIG_arg_fail(2)) SWIG_fail
;
30844 arg3
= (bool)(SWIG_As_bool(obj2
));
30845 if (SWIG_arg_fail(3)) SWIG_fail
;
30849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30850 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30852 wxPyEndAllowThreads(__tstate
);
30853 if (PyErr_Occurred()) SWIG_fail
;
30855 resultobj
= result
;
30862 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30863 PyObject
*resultobj
;
30864 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
30865 wxVisualAttributes result
;
30866 PyObject
* obj0
= 0 ;
30867 char *kwnames
[] = {
30868 (char *) "variant", NULL
30871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30874 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
30875 if (SWIG_arg_fail(1)) SWIG_fail
;
30879 if (!wxPyCheckForApp()) SWIG_fail
;
30880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30881 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
30883 wxPyEndAllowThreads(__tstate
);
30884 if (PyErr_Occurred()) SWIG_fail
;
30887 wxVisualAttributes
* resultptr
;
30888 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
30889 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30897 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
30899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30900 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
30902 return Py_BuildValue((char *)"");
30904 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
30905 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
30910 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
30915 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
30917 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
30924 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30925 PyObject
*resultobj
;
30926 wxWindow
*arg1
= (wxWindow
*) 0 ;
30927 int arg2
= (int) (int)-1 ;
30928 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
30929 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
30930 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30931 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30932 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30933 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30934 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
30935 wxString
const &arg7_defvalue
= wxPyEmptyString
;
30936 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30937 int arg8
= (int) 0 ;
30938 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
30939 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
30940 wxGenericDirCtrl
*result
;
30941 bool temp3
= false ;
30944 bool temp7
= false ;
30945 bool temp9
= false ;
30946 PyObject
* obj0
= 0 ;
30947 PyObject
* obj1
= 0 ;
30948 PyObject
* obj2
= 0 ;
30949 PyObject
* obj3
= 0 ;
30950 PyObject
* obj4
= 0 ;
30951 PyObject
* obj5
= 0 ;
30952 PyObject
* obj6
= 0 ;
30953 PyObject
* obj7
= 0 ;
30954 PyObject
* obj8
= 0 ;
30955 char *kwnames
[] = {
30956 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
30959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
30960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30961 if (SWIG_arg_fail(1)) SWIG_fail
;
30964 arg2
= (int const)(SWIG_As_int(obj1
));
30965 if (SWIG_arg_fail(2)) SWIG_fail
;
30970 arg3
= wxString_in_helper(obj2
);
30971 if (arg3
== NULL
) SWIG_fail
;
30978 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30984 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30989 arg6
= (long)(SWIG_As_long(obj5
));
30990 if (SWIG_arg_fail(6)) SWIG_fail
;
30995 arg7
= wxString_in_helper(obj6
);
30996 if (arg7
== NULL
) SWIG_fail
;
31002 arg8
= (int)(SWIG_As_int(obj7
));
31003 if (SWIG_arg_fail(8)) SWIG_fail
;
31008 arg9
= wxString_in_helper(obj8
);
31009 if (arg9
== NULL
) SWIG_fail
;
31014 if (!wxPyCheckForApp()) SWIG_fail
;
31015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31016 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
31018 wxPyEndAllowThreads(__tstate
);
31019 if (PyErr_Occurred()) SWIG_fail
;
31021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31052 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31053 PyObject
*resultobj
;
31054 wxGenericDirCtrl
*result
;
31055 char *kwnames
[] = {
31059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
31061 if (!wxPyCheckForApp()) SWIG_fail
;
31062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31063 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
31065 wxPyEndAllowThreads(__tstate
);
31066 if (PyErr_Occurred()) SWIG_fail
;
31068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31075 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31076 PyObject
*resultobj
;
31077 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31078 wxWindow
*arg2
= (wxWindow
*) 0 ;
31079 int arg3
= (int) (int)-1 ;
31080 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
31081 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31082 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
31083 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
31084 wxSize
const &arg6_defvalue
= wxDefaultSize
;
31085 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
31086 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31087 wxString
const &arg8_defvalue
= wxPyEmptyString
;
31088 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31089 int arg9
= (int) 0 ;
31090 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
31091 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
31093 bool temp4
= false ;
31096 bool temp8
= false ;
31097 bool temp10
= false ;
31098 PyObject
* obj0
= 0 ;
31099 PyObject
* obj1
= 0 ;
31100 PyObject
* obj2
= 0 ;
31101 PyObject
* obj3
= 0 ;
31102 PyObject
* obj4
= 0 ;
31103 PyObject
* obj5
= 0 ;
31104 PyObject
* obj6
= 0 ;
31105 PyObject
* obj7
= 0 ;
31106 PyObject
* obj8
= 0 ;
31107 PyObject
* obj9
= 0 ;
31108 char *kwnames
[] = {
31109 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
31113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31114 if (SWIG_arg_fail(1)) SWIG_fail
;
31115 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31116 if (SWIG_arg_fail(2)) SWIG_fail
;
31119 arg3
= (int const)(SWIG_As_int(obj2
));
31120 if (SWIG_arg_fail(3)) SWIG_fail
;
31125 arg4
= wxString_in_helper(obj3
);
31126 if (arg4
== NULL
) SWIG_fail
;
31133 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
31139 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
31144 arg7
= (long)(SWIG_As_long(obj6
));
31145 if (SWIG_arg_fail(7)) SWIG_fail
;
31150 arg8
= wxString_in_helper(obj7
);
31151 if (arg8
== NULL
) SWIG_fail
;
31157 arg9
= (int)(SWIG_As_int(obj8
));
31158 if (SWIG_arg_fail(9)) SWIG_fail
;
31163 arg10
= wxString_in_helper(obj9
);
31164 if (arg10
== NULL
) SWIG_fail
;
31169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31170 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
31172 wxPyEndAllowThreads(__tstate
);
31173 if (PyErr_Occurred()) SWIG_fail
;
31176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31208 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31209 PyObject
*resultobj
;
31210 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31211 wxString
*arg2
= 0 ;
31213 bool temp2
= false ;
31214 PyObject
* obj0
= 0 ;
31215 PyObject
* obj1
= 0 ;
31216 char *kwnames
[] = {
31217 (char *) "self",(char *) "path", NULL
31220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31222 if (SWIG_arg_fail(1)) SWIG_fail
;
31224 arg2
= wxString_in_helper(obj1
);
31225 if (arg2
== NULL
) SWIG_fail
;
31229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31230 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
31232 wxPyEndAllowThreads(__tstate
);
31233 if (PyErr_Occurred()) SWIG_fail
;
31236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31252 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31253 PyObject
*resultobj
;
31254 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31256 PyObject
* obj0
= 0 ;
31257 char *kwnames
[] = {
31258 (char *) "self", NULL
31261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
31262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31263 if (SWIG_arg_fail(1)) SWIG_fail
;
31265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31266 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
31268 wxPyEndAllowThreads(__tstate
);
31269 if (PyErr_Occurred()) SWIG_fail
;
31273 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31275 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31284 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31285 PyObject
*resultobj
;
31286 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31287 wxString
*arg2
= 0 ;
31288 bool temp2
= false ;
31289 PyObject
* obj0
= 0 ;
31290 PyObject
* obj1
= 0 ;
31291 char *kwnames
[] = {
31292 (char *) "self",(char *) "path", NULL
31295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31297 if (SWIG_arg_fail(1)) SWIG_fail
;
31299 arg2
= wxString_in_helper(obj1
);
31300 if (arg2
== NULL
) SWIG_fail
;
31304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31305 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
31307 wxPyEndAllowThreads(__tstate
);
31308 if (PyErr_Occurred()) SWIG_fail
;
31310 Py_INCREF(Py_None
); resultobj
= Py_None
;
31325 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31326 PyObject
*resultobj
;
31327 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31329 PyObject
* obj0
= 0 ;
31330 char *kwnames
[] = {
31331 (char *) "self", NULL
31334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
31335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31336 if (SWIG_arg_fail(1)) SWIG_fail
;
31338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31339 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
31341 wxPyEndAllowThreads(__tstate
);
31342 if (PyErr_Occurred()) SWIG_fail
;
31346 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31348 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31357 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31358 PyObject
*resultobj
;
31359 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31361 PyObject
* obj0
= 0 ;
31362 char *kwnames
[] = {
31363 (char *) "self", NULL
31366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
31367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31368 if (SWIG_arg_fail(1)) SWIG_fail
;
31370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31371 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
31373 wxPyEndAllowThreads(__tstate
);
31374 if (PyErr_Occurred()) SWIG_fail
;
31378 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31380 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31389 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31390 PyObject
*resultobj
;
31391 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31392 wxString
*arg2
= 0 ;
31393 bool temp2
= false ;
31394 PyObject
* obj0
= 0 ;
31395 PyObject
* obj1
= 0 ;
31396 char *kwnames
[] = {
31397 (char *) "self",(char *) "path", NULL
31400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31402 if (SWIG_arg_fail(1)) SWIG_fail
;
31404 arg2
= wxString_in_helper(obj1
);
31405 if (arg2
== NULL
) SWIG_fail
;
31409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31410 (arg1
)->SetPath((wxString
const &)*arg2
);
31412 wxPyEndAllowThreads(__tstate
);
31413 if (PyErr_Occurred()) SWIG_fail
;
31415 Py_INCREF(Py_None
); resultobj
= Py_None
;
31430 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31431 PyObject
*resultobj
;
31432 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31434 PyObject
* obj0
= 0 ;
31435 PyObject
* obj1
= 0 ;
31436 char *kwnames
[] = {
31437 (char *) "self",(char *) "show", NULL
31440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
31441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31442 if (SWIG_arg_fail(1)) SWIG_fail
;
31444 arg2
= (bool)(SWIG_As_bool(obj1
));
31445 if (SWIG_arg_fail(2)) SWIG_fail
;
31448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31449 (arg1
)->ShowHidden(arg2
);
31451 wxPyEndAllowThreads(__tstate
);
31452 if (PyErr_Occurred()) SWIG_fail
;
31454 Py_INCREF(Py_None
); resultobj
= Py_None
;
31461 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31462 PyObject
*resultobj
;
31463 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31465 PyObject
* obj0
= 0 ;
31466 char *kwnames
[] = {
31467 (char *) "self", NULL
31470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
31471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31472 if (SWIG_arg_fail(1)) SWIG_fail
;
31474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31475 result
= (bool)(arg1
)->GetShowHidden();
31477 wxPyEndAllowThreads(__tstate
);
31478 if (PyErr_Occurred()) SWIG_fail
;
31481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31489 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31490 PyObject
*resultobj
;
31491 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31493 PyObject
* obj0
= 0 ;
31494 char *kwnames
[] = {
31495 (char *) "self", NULL
31498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
31499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31500 if (SWIG_arg_fail(1)) SWIG_fail
;
31502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31503 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
31505 wxPyEndAllowThreads(__tstate
);
31506 if (PyErr_Occurred()) SWIG_fail
;
31510 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31512 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31521 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31522 PyObject
*resultobj
;
31523 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31524 wxString
*arg2
= 0 ;
31525 bool temp2
= false ;
31526 PyObject
* obj0
= 0 ;
31527 PyObject
* obj1
= 0 ;
31528 char *kwnames
[] = {
31529 (char *) "self",(char *) "filter", NULL
31532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
31533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31534 if (SWIG_arg_fail(1)) SWIG_fail
;
31536 arg2
= wxString_in_helper(obj1
);
31537 if (arg2
== NULL
) SWIG_fail
;
31541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31542 (arg1
)->SetFilter((wxString
const &)*arg2
);
31544 wxPyEndAllowThreads(__tstate
);
31545 if (PyErr_Occurred()) SWIG_fail
;
31547 Py_INCREF(Py_None
); resultobj
= Py_None
;
31562 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31563 PyObject
*resultobj
;
31564 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31566 PyObject
* obj0
= 0 ;
31567 char *kwnames
[] = {
31568 (char *) "self", NULL
31571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
31572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31573 if (SWIG_arg_fail(1)) SWIG_fail
;
31575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31576 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
31578 wxPyEndAllowThreads(__tstate
);
31579 if (PyErr_Occurred()) SWIG_fail
;
31582 resultobj
= SWIG_From_int((int)(result
));
31590 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31591 PyObject
*resultobj
;
31592 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31594 PyObject
* obj0
= 0 ;
31595 PyObject
* obj1
= 0 ;
31596 char *kwnames
[] = {
31597 (char *) "self",(char *) "n", NULL
31600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
31601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31602 if (SWIG_arg_fail(1)) SWIG_fail
;
31604 arg2
= (int)(SWIG_As_int(obj1
));
31605 if (SWIG_arg_fail(2)) SWIG_fail
;
31608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31609 (arg1
)->SetFilterIndex(arg2
);
31611 wxPyEndAllowThreads(__tstate
);
31612 if (PyErr_Occurred()) SWIG_fail
;
31614 Py_INCREF(Py_None
); resultobj
= Py_None
;
31621 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31622 PyObject
*resultobj
;
31623 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31624 wxTreeItemId result
;
31625 PyObject
* obj0
= 0 ;
31626 char *kwnames
[] = {
31627 (char *) "self", NULL
31630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
31631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31632 if (SWIG_arg_fail(1)) SWIG_fail
;
31634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31635 result
= (arg1
)->GetRootId();
31637 wxPyEndAllowThreads(__tstate
);
31638 if (PyErr_Occurred()) SWIG_fail
;
31641 wxTreeItemId
* resultptr
;
31642 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31643 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31651 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31652 PyObject
*resultobj
;
31653 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31654 wxPyTreeCtrl
*result
;
31655 PyObject
* obj0
= 0 ;
31656 char *kwnames
[] = {
31657 (char *) "self", NULL
31660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
31661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31662 if (SWIG_arg_fail(1)) SWIG_fail
;
31664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31665 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
31667 wxPyEndAllowThreads(__tstate
);
31668 if (PyErr_Occurred()) SWIG_fail
;
31671 resultobj
= wxPyMake_wxObject(result
, 0);
31679 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31680 PyObject
*resultobj
;
31681 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31682 wxDirFilterListCtrl
*result
;
31683 PyObject
* obj0
= 0 ;
31684 char *kwnames
[] = {
31685 (char *) "self", NULL
31688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
31689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31690 if (SWIG_arg_fail(1)) SWIG_fail
;
31692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31693 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
31695 wxPyEndAllowThreads(__tstate
);
31696 if (PyErr_Occurred()) SWIG_fail
;
31698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
31705 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31706 PyObject
*resultobj
;
31707 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31708 wxTreeItemId arg2
;
31709 wxString
*arg3
= 0 ;
31711 wxTreeItemId result
;
31712 bool temp3
= false ;
31715 PyObject
* obj0
= 0 ;
31716 PyObject
* obj1
= 0 ;
31717 PyObject
* obj2
= 0 ;
31718 char *kwnames
[] = {
31719 (char *) "self",(char *) "parentId",(char *) "path", NULL
31722 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
31723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31725 if (SWIG_arg_fail(1)) SWIG_fail
;
31727 wxTreeItemId
* argp
;
31728 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
31729 if (SWIG_arg_fail(2)) SWIG_fail
;
31730 if (argp
== NULL
) {
31731 SWIG_null_ref("wxTreeItemId");
31733 if (SWIG_arg_fail(2)) SWIG_fail
;
31737 arg3
= wxString_in_helper(obj2
);
31738 if (arg3
== NULL
) SWIG_fail
;
31742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31743 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
31745 wxPyEndAllowThreads(__tstate
);
31746 if (PyErr_Occurred()) SWIG_fail
;
31749 wxTreeItemId
* resultptr
;
31750 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31751 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31753 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
31754 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
31769 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31770 PyObject
*resultobj
;
31771 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31772 PyObject
* obj0
= 0 ;
31773 char *kwnames
[] = {
31774 (char *) "self", NULL
31777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
31778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31779 if (SWIG_arg_fail(1)) SWIG_fail
;
31781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31782 (arg1
)->DoResize();
31784 wxPyEndAllowThreads(__tstate
);
31785 if (PyErr_Occurred()) SWIG_fail
;
31787 Py_INCREF(Py_None
); resultobj
= Py_None
;
31794 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31795 PyObject
*resultobj
;
31796 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31797 PyObject
* obj0
= 0 ;
31798 char *kwnames
[] = {
31799 (char *) "self", NULL
31802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
31803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31804 if (SWIG_arg_fail(1)) SWIG_fail
;
31806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31807 (arg1
)->ReCreateTree();
31809 wxPyEndAllowThreads(__tstate
);
31810 if (PyErr_Occurred()) SWIG_fail
;
31812 Py_INCREF(Py_None
); resultobj
= Py_None
;
31819 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
31821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31822 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
31824 return Py_BuildValue((char *)"");
31826 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31827 PyObject
*resultobj
;
31828 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31829 int arg2
= (int) (int)-1 ;
31830 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31831 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31832 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31833 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31834 long arg5
= (long) 0 ;
31835 wxDirFilterListCtrl
*result
;
31838 PyObject
* obj0
= 0 ;
31839 PyObject
* obj1
= 0 ;
31840 PyObject
* obj2
= 0 ;
31841 PyObject
* obj3
= 0 ;
31842 PyObject
* obj4
= 0 ;
31843 char *kwnames
[] = {
31844 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31849 if (SWIG_arg_fail(1)) SWIG_fail
;
31852 arg2
= (int const)(SWIG_As_int(obj1
));
31853 if (SWIG_arg_fail(2)) SWIG_fail
;
31859 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31865 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31870 arg5
= (long)(SWIG_As_long(obj4
));
31871 if (SWIG_arg_fail(5)) SWIG_fail
;
31875 if (!wxPyCheckForApp()) SWIG_fail
;
31876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31877 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
31879 wxPyEndAllowThreads(__tstate
);
31880 if (PyErr_Occurred()) SWIG_fail
;
31882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31889 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31890 PyObject
*resultobj
;
31891 wxDirFilterListCtrl
*result
;
31892 char *kwnames
[] = {
31896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
31898 if (!wxPyCheckForApp()) SWIG_fail
;
31899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31900 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
31902 wxPyEndAllowThreads(__tstate
);
31903 if (PyErr_Occurred()) SWIG_fail
;
31905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31912 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31913 PyObject
*resultobj
;
31914 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
31915 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
31916 int arg3
= (int) (int)-1 ;
31917 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31918 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31919 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31920 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31921 long arg6
= (long) 0 ;
31925 PyObject
* obj0
= 0 ;
31926 PyObject
* obj1
= 0 ;
31927 PyObject
* obj2
= 0 ;
31928 PyObject
* obj3
= 0 ;
31929 PyObject
* obj4
= 0 ;
31930 PyObject
* obj5
= 0 ;
31931 char *kwnames
[] = {
31932 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31937 if (SWIG_arg_fail(1)) SWIG_fail
;
31938 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31939 if (SWIG_arg_fail(2)) SWIG_fail
;
31942 arg3
= (int const)(SWIG_As_int(obj2
));
31943 if (SWIG_arg_fail(3)) SWIG_fail
;
31949 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31955 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31960 arg6
= (long)(SWIG_As_long(obj5
));
31961 if (SWIG_arg_fail(6)) SWIG_fail
;
31965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31966 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
31968 wxPyEndAllowThreads(__tstate
);
31969 if (PyErr_Occurred()) SWIG_fail
;
31972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31980 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31981 PyObject
*resultobj
;
31982 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
31983 wxString
*arg2
= 0 ;
31985 bool temp2
= false ;
31986 PyObject
* obj0
= 0 ;
31987 PyObject
* obj1
= 0 ;
31988 PyObject
* obj2
= 0 ;
31989 char *kwnames
[] = {
31990 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
31993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31995 if (SWIG_arg_fail(1)) SWIG_fail
;
31997 arg2
= wxString_in_helper(obj1
);
31998 if (arg2
== NULL
) SWIG_fail
;
32002 arg3
= (int)(SWIG_As_int(obj2
));
32003 if (SWIG_arg_fail(3)) SWIG_fail
;
32006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32007 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
32009 wxPyEndAllowThreads(__tstate
);
32010 if (PyErr_Occurred()) SWIG_fail
;
32012 Py_INCREF(Py_None
); resultobj
= Py_None
;
32027 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
32029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32030 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
32032 return Py_BuildValue((char *)"");
32034 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32035 PyObject
*resultobj
;
32036 wxWindow
*arg1
= (wxWindow
*) 0 ;
32037 int arg2
= (int) (int)-1 ;
32038 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32039 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32040 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32041 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32042 long arg5
= (long) 0 ;
32043 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32044 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32045 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32046 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32047 wxPyControl
*result
;
32050 bool temp7
= false ;
32051 PyObject
* obj0
= 0 ;
32052 PyObject
* obj1
= 0 ;
32053 PyObject
* obj2
= 0 ;
32054 PyObject
* obj3
= 0 ;
32055 PyObject
* obj4
= 0 ;
32056 PyObject
* obj5
= 0 ;
32057 PyObject
* obj6
= 0 ;
32058 char *kwnames
[] = {
32059 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32064 if (SWIG_arg_fail(1)) SWIG_fail
;
32067 arg2
= (int const)(SWIG_As_int(obj1
));
32068 if (SWIG_arg_fail(2)) SWIG_fail
;
32074 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32080 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32085 arg5
= (long)(SWIG_As_long(obj4
));
32086 if (SWIG_arg_fail(5)) SWIG_fail
;
32091 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32092 if (SWIG_arg_fail(6)) SWIG_fail
;
32093 if (arg6
== NULL
) {
32094 SWIG_null_ref("wxValidator");
32096 if (SWIG_arg_fail(6)) SWIG_fail
;
32101 arg7
= wxString_in_helper(obj6
);
32102 if (arg7
== NULL
) SWIG_fail
;
32107 if (!wxPyCheckForApp()) SWIG_fail
;
32108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32109 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32111 wxPyEndAllowThreads(__tstate
);
32112 if (PyErr_Occurred()) SWIG_fail
;
32114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32129 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32130 PyObject
*resultobj
;
32131 wxPyControl
*result
;
32132 char *kwnames
[] = {
32136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
32138 if (!wxPyCheckForApp()) SWIG_fail
;
32139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32140 result
= (wxPyControl
*)new wxPyControl();
32142 wxPyEndAllowThreads(__tstate
);
32143 if (PyErr_Occurred()) SWIG_fail
;
32145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32152 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32153 PyObject
*resultobj
;
32154 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32155 PyObject
*arg2
= (PyObject
*) 0 ;
32156 PyObject
*arg3
= (PyObject
*) 0 ;
32157 PyObject
* obj0
= 0 ;
32158 PyObject
* obj1
= 0 ;
32159 PyObject
* obj2
= 0 ;
32160 char *kwnames
[] = {
32161 (char *) "self",(char *) "self",(char *) "_class", NULL
32164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32166 if (SWIG_arg_fail(1)) SWIG_fail
;
32170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32171 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32173 wxPyEndAllowThreads(__tstate
);
32174 if (PyErr_Occurred()) SWIG_fail
;
32176 Py_INCREF(Py_None
); resultobj
= Py_None
;
32183 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32184 PyObject
*resultobj
;
32185 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32188 PyObject
* obj0
= 0 ;
32189 PyObject
* obj1
= 0 ;
32190 char *kwnames
[] = {
32191 (char *) "self",(char *) "size", NULL
32194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32196 if (SWIG_arg_fail(1)) SWIG_fail
;
32199 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32203 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
32205 wxPyEndAllowThreads(__tstate
);
32206 if (PyErr_Occurred()) SWIG_fail
;
32208 Py_INCREF(Py_None
); resultobj
= Py_None
;
32215 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32216 PyObject
*resultobj
;
32217 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32222 PyObject
* obj0
= 0 ;
32223 PyObject
* obj1
= 0 ;
32224 PyObject
* obj2
= 0 ;
32225 PyObject
* obj3
= 0 ;
32226 PyObject
* obj4
= 0 ;
32227 char *kwnames
[] = {
32228 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32233 if (SWIG_arg_fail(1)) SWIG_fail
;
32235 arg2
= (int)(SWIG_As_int(obj1
));
32236 if (SWIG_arg_fail(2)) SWIG_fail
;
32239 arg3
= (int)(SWIG_As_int(obj2
));
32240 if (SWIG_arg_fail(3)) SWIG_fail
;
32243 arg4
= (int)(SWIG_As_int(obj3
));
32244 if (SWIG_arg_fail(4)) SWIG_fail
;
32247 arg5
= (int)(SWIG_As_int(obj4
));
32248 if (SWIG_arg_fail(5)) SWIG_fail
;
32251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32252 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
32254 wxPyEndAllowThreads(__tstate
);
32255 if (PyErr_Occurred()) SWIG_fail
;
32257 Py_INCREF(Py_None
); resultobj
= Py_None
;
32264 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32265 PyObject
*resultobj
;
32266 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32271 int arg6
= (int) wxSIZE_AUTO
;
32272 PyObject
* obj0
= 0 ;
32273 PyObject
* obj1
= 0 ;
32274 PyObject
* obj2
= 0 ;
32275 PyObject
* obj3
= 0 ;
32276 PyObject
* obj4
= 0 ;
32277 PyObject
* obj5
= 0 ;
32278 char *kwnames
[] = {
32279 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32284 if (SWIG_arg_fail(1)) SWIG_fail
;
32286 arg2
= (int)(SWIG_As_int(obj1
));
32287 if (SWIG_arg_fail(2)) SWIG_fail
;
32290 arg3
= (int)(SWIG_As_int(obj2
));
32291 if (SWIG_arg_fail(3)) SWIG_fail
;
32294 arg4
= (int)(SWIG_As_int(obj3
));
32295 if (SWIG_arg_fail(4)) SWIG_fail
;
32298 arg5
= (int)(SWIG_As_int(obj4
));
32299 if (SWIG_arg_fail(5)) SWIG_fail
;
32303 arg6
= (int)(SWIG_As_int(obj5
));
32304 if (SWIG_arg_fail(6)) SWIG_fail
;
32308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32309 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
32311 wxPyEndAllowThreads(__tstate
);
32312 if (PyErr_Occurred()) SWIG_fail
;
32314 Py_INCREF(Py_None
); resultobj
= Py_None
;
32321 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32322 PyObject
*resultobj
;
32323 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32326 PyObject
* obj0
= 0 ;
32327 PyObject
* obj1
= 0 ;
32328 PyObject
* obj2
= 0 ;
32329 char *kwnames
[] = {
32330 (char *) "self",(char *) "width",(char *) "height", NULL
32333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32335 if (SWIG_arg_fail(1)) SWIG_fail
;
32337 arg2
= (int)(SWIG_As_int(obj1
));
32338 if (SWIG_arg_fail(2)) SWIG_fail
;
32341 arg3
= (int)(SWIG_As_int(obj2
));
32342 if (SWIG_arg_fail(3)) SWIG_fail
;
32345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32346 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
32348 wxPyEndAllowThreads(__tstate
);
32349 if (PyErr_Occurred()) SWIG_fail
;
32351 Py_INCREF(Py_None
); resultobj
= Py_None
;
32358 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32359 PyObject
*resultobj
;
32360 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32363 PyObject
* obj0
= 0 ;
32364 PyObject
* obj1
= 0 ;
32365 PyObject
* obj2
= 0 ;
32366 char *kwnames
[] = {
32367 (char *) "self",(char *) "x",(char *) "y", NULL
32370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32372 if (SWIG_arg_fail(1)) SWIG_fail
;
32374 arg2
= (int)(SWIG_As_int(obj1
));
32375 if (SWIG_arg_fail(2)) SWIG_fail
;
32378 arg3
= (int)(SWIG_As_int(obj2
));
32379 if (SWIG_arg_fail(3)) SWIG_fail
;
32382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32383 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
32385 wxPyEndAllowThreads(__tstate
);
32386 if (PyErr_Occurred()) SWIG_fail
;
32388 Py_INCREF(Py_None
); resultobj
= Py_None
;
32395 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32396 PyObject
*resultobj
;
32397 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32398 int *arg2
= (int *) 0 ;
32399 int *arg3
= (int *) 0 ;
32404 PyObject
* obj0
= 0 ;
32405 char *kwnames
[] = {
32406 (char *) "self", NULL
32409 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32410 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
32412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32413 if (SWIG_arg_fail(1)) SWIG_fail
;
32415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32416 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
32418 wxPyEndAllowThreads(__tstate
);
32419 if (PyErr_Occurred()) SWIG_fail
;
32421 Py_INCREF(Py_None
); resultobj
= Py_None
;
32422 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32423 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32424 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32425 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32432 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32433 PyObject
*resultobj
;
32434 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32435 int *arg2
= (int *) 0 ;
32436 int *arg3
= (int *) 0 ;
32441 PyObject
* obj0
= 0 ;
32442 char *kwnames
[] = {
32443 (char *) "self", NULL
32446 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32447 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
32449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32450 if (SWIG_arg_fail(1)) SWIG_fail
;
32452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32453 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
32455 wxPyEndAllowThreads(__tstate
);
32456 if (PyErr_Occurred()) SWIG_fail
;
32458 Py_INCREF(Py_None
); resultobj
= Py_None
;
32459 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32460 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32461 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32462 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32469 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32470 PyObject
*resultobj
;
32471 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32472 int *arg2
= (int *) 0 ;
32473 int *arg3
= (int *) 0 ;
32478 PyObject
* obj0
= 0 ;
32479 char *kwnames
[] = {
32480 (char *) "self", NULL
32483 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32484 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
32486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32487 if (SWIG_arg_fail(1)) SWIG_fail
;
32489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32490 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
32492 wxPyEndAllowThreads(__tstate
);
32493 if (PyErr_Occurred()) SWIG_fail
;
32495 Py_INCREF(Py_None
); resultobj
= Py_None
;
32496 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32497 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32498 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32499 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32506 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32507 PyObject
*resultobj
;
32508 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32510 PyObject
* obj0
= 0 ;
32511 char *kwnames
[] = {
32512 (char *) "self", NULL
32515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
32516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32517 if (SWIG_arg_fail(1)) SWIG_fail
;
32519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32520 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
32522 wxPyEndAllowThreads(__tstate
);
32523 if (PyErr_Occurred()) SWIG_fail
;
32526 wxSize
* resultptr
;
32527 resultptr
= new wxSize((wxSize
&)(result
));
32528 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32536 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32537 PyObject
*resultobj
;
32538 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32540 PyObject
* obj0
= 0 ;
32541 char *kwnames
[] = {
32542 (char *) "self", NULL
32545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
32546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32547 if (SWIG_arg_fail(1)) SWIG_fail
;
32549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32550 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
32552 wxPyEndAllowThreads(__tstate
);
32553 if (PyErr_Occurred()) SWIG_fail
;
32556 wxSize
* resultptr
;
32557 resultptr
= new wxSize((wxSize
&)(result
));
32558 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32566 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32567 PyObject
*resultobj
;
32568 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32569 PyObject
* obj0
= 0 ;
32570 char *kwnames
[] = {
32571 (char *) "self", NULL
32574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
32575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32576 if (SWIG_arg_fail(1)) SWIG_fail
;
32578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32579 (arg1
)->base_InitDialog();
32581 wxPyEndAllowThreads(__tstate
);
32582 if (PyErr_Occurred()) SWIG_fail
;
32584 Py_INCREF(Py_None
); resultobj
= Py_None
;
32591 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32592 PyObject
*resultobj
;
32593 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32595 PyObject
* obj0
= 0 ;
32596 char *kwnames
[] = {
32597 (char *) "self", NULL
32600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
32601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32602 if (SWIG_arg_fail(1)) SWIG_fail
;
32604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32605 result
= (bool)(arg1
)->base_TransferDataToWindow();
32607 wxPyEndAllowThreads(__tstate
);
32608 if (PyErr_Occurred()) SWIG_fail
;
32611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32619 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32620 PyObject
*resultobj
;
32621 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32623 PyObject
* obj0
= 0 ;
32624 char *kwnames
[] = {
32625 (char *) "self", NULL
32628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
32629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32630 if (SWIG_arg_fail(1)) SWIG_fail
;
32632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32633 result
= (bool)(arg1
)->base_TransferDataFromWindow();
32635 wxPyEndAllowThreads(__tstate
);
32636 if (PyErr_Occurred()) SWIG_fail
;
32639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32647 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32648 PyObject
*resultobj
;
32649 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32651 PyObject
* obj0
= 0 ;
32652 char *kwnames
[] = {
32653 (char *) "self", NULL
32656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
32657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32658 if (SWIG_arg_fail(1)) SWIG_fail
;
32660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32661 result
= (bool)(arg1
)->base_Validate();
32663 wxPyEndAllowThreads(__tstate
);
32664 if (PyErr_Occurred()) SWIG_fail
;
32667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32675 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32676 PyObject
*resultobj
;
32677 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32679 PyObject
* obj0
= 0 ;
32680 char *kwnames
[] = {
32681 (char *) "self", NULL
32684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
32685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32686 if (SWIG_arg_fail(1)) SWIG_fail
;
32688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32689 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
32691 wxPyEndAllowThreads(__tstate
);
32692 if (PyErr_Occurred()) SWIG_fail
;
32695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32703 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32704 PyObject
*resultobj
;
32705 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32707 PyObject
* obj0
= 0 ;
32708 char *kwnames
[] = {
32709 (char *) "self", NULL
32712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
32713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32714 if (SWIG_arg_fail(1)) SWIG_fail
;
32716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32717 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
32719 wxPyEndAllowThreads(__tstate
);
32720 if (PyErr_Occurred()) SWIG_fail
;
32723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32731 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32732 PyObject
*resultobj
;
32733 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32735 PyObject
* obj0
= 0 ;
32736 char *kwnames
[] = {
32737 (char *) "self", NULL
32740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
32741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32742 if (SWIG_arg_fail(1)) SWIG_fail
;
32744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32745 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
32747 wxPyEndAllowThreads(__tstate
);
32748 if (PyErr_Occurred()) SWIG_fail
;
32751 wxSize
* resultptr
;
32752 resultptr
= new wxSize((wxSize
&)(result
));
32753 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32761 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32762 PyObject
*resultobj
;
32763 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32764 wxWindow
*arg2
= (wxWindow
*) 0 ;
32765 PyObject
* obj0
= 0 ;
32766 PyObject
* obj1
= 0 ;
32767 char *kwnames
[] = {
32768 (char *) "self",(char *) "child", NULL
32771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32773 if (SWIG_arg_fail(1)) SWIG_fail
;
32774 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32775 if (SWIG_arg_fail(2)) SWIG_fail
;
32777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32778 (arg1
)->base_AddChild(arg2
);
32780 wxPyEndAllowThreads(__tstate
);
32781 if (PyErr_Occurred()) SWIG_fail
;
32783 Py_INCREF(Py_None
); resultobj
= Py_None
;
32790 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32791 PyObject
*resultobj
;
32792 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32793 wxWindow
*arg2
= (wxWindow
*) 0 ;
32794 PyObject
* obj0
= 0 ;
32795 PyObject
* obj1
= 0 ;
32796 char *kwnames
[] = {
32797 (char *) "self",(char *) "child", NULL
32800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32802 if (SWIG_arg_fail(1)) SWIG_fail
;
32803 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32804 if (SWIG_arg_fail(2)) SWIG_fail
;
32806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32807 (arg1
)->base_RemoveChild(arg2
);
32809 wxPyEndAllowThreads(__tstate
);
32810 if (PyErr_Occurred()) SWIG_fail
;
32812 Py_INCREF(Py_None
); resultobj
= Py_None
;
32819 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32820 PyObject
*resultobj
;
32821 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32823 PyObject
* obj0
= 0 ;
32824 char *kwnames
[] = {
32825 (char *) "self", NULL
32828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32830 if (SWIG_arg_fail(1)) SWIG_fail
;
32832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32833 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
32835 wxPyEndAllowThreads(__tstate
);
32836 if (PyErr_Occurred()) SWIG_fail
;
32839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32847 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32848 PyObject
*resultobj
;
32849 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32850 wxColour
*arg2
= 0 ;
32852 PyObject
* obj0
= 0 ;
32853 PyObject
* obj1
= 0 ;
32854 char *kwnames
[] = {
32855 (char *) "self",(char *) "c", NULL
32858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
32859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32860 if (SWIG_arg_fail(1)) SWIG_fail
;
32863 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32867 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
32869 wxPyEndAllowThreads(__tstate
);
32870 if (PyErr_Occurred()) SWIG_fail
;
32872 Py_INCREF(Py_None
); resultobj
= Py_None
;
32879 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32880 PyObject
*resultobj
;
32881 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32882 wxVisualAttributes result
;
32883 PyObject
* obj0
= 0 ;
32884 char *kwnames
[] = {
32885 (char *) "self", NULL
32888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32890 if (SWIG_arg_fail(1)) SWIG_fail
;
32892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32893 result
= (arg1
)->base_GetDefaultAttributes();
32895 wxPyEndAllowThreads(__tstate
);
32896 if (PyErr_Occurred()) SWIG_fail
;
32899 wxVisualAttributes
* resultptr
;
32900 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
32901 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
32909 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
32911 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32912 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
32914 return Py_BuildValue((char *)"");
32916 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32917 PyObject
*resultobj
;
32918 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32919 int arg2
= (int) 0 ;
32920 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32921 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32922 wxHelpEvent
*result
;
32924 PyObject
* obj0
= 0 ;
32925 PyObject
* obj1
= 0 ;
32926 PyObject
* obj2
= 0 ;
32927 char *kwnames
[] = {
32928 (char *) "type",(char *) "winid",(char *) "pt", NULL
32931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32934 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
32935 if (SWIG_arg_fail(1)) SWIG_fail
;
32940 arg2
= (int)(SWIG_As_int(obj1
));
32941 if (SWIG_arg_fail(2)) SWIG_fail
;
32947 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32952 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
32954 wxPyEndAllowThreads(__tstate
);
32955 if (PyErr_Occurred()) SWIG_fail
;
32957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
32964 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32965 PyObject
*resultobj
;
32966 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
32968 PyObject
* obj0
= 0 ;
32969 char *kwnames
[] = {
32970 (char *) "self", NULL
32973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
32974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
32975 if (SWIG_arg_fail(1)) SWIG_fail
;
32977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32978 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
32980 wxPyEndAllowThreads(__tstate
);
32981 if (PyErr_Occurred()) SWIG_fail
;
32984 wxPoint
* resultptr
;
32985 resultptr
= new wxPoint((wxPoint
const &)(result
));
32986 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
32994 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32995 PyObject
*resultobj
;
32996 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
32997 wxPoint
*arg2
= 0 ;
32999 PyObject
* obj0
= 0 ;
33000 PyObject
* obj1
= 0 ;
33001 char *kwnames
[] = {
33002 (char *) "self",(char *) "pos", NULL
33005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33007 if (SWIG_arg_fail(1)) SWIG_fail
;
33010 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33014 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
33016 wxPyEndAllowThreads(__tstate
);
33017 if (PyErr_Occurred()) SWIG_fail
;
33019 Py_INCREF(Py_None
); resultobj
= Py_None
;
33026 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33027 PyObject
*resultobj
;
33028 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33030 PyObject
* obj0
= 0 ;
33031 char *kwnames
[] = {
33032 (char *) "self", NULL
33035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
33036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33037 if (SWIG_arg_fail(1)) SWIG_fail
;
33039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33041 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
33042 result
= (wxString
*) &_result_ref
;
33045 wxPyEndAllowThreads(__tstate
);
33046 if (PyErr_Occurred()) SWIG_fail
;
33050 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33052 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33061 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33062 PyObject
*resultobj
;
33063 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33064 wxString
*arg2
= 0 ;
33065 bool temp2
= false ;
33066 PyObject
* obj0
= 0 ;
33067 PyObject
* obj1
= 0 ;
33068 char *kwnames
[] = {
33069 (char *) "self",(char *) "link", NULL
33072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
33073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33074 if (SWIG_arg_fail(1)) SWIG_fail
;
33076 arg2
= wxString_in_helper(obj1
);
33077 if (arg2
== NULL
) SWIG_fail
;
33081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33082 (arg1
)->SetLink((wxString
const &)*arg2
);
33084 wxPyEndAllowThreads(__tstate
);
33085 if (PyErr_Occurred()) SWIG_fail
;
33087 Py_INCREF(Py_None
); resultobj
= Py_None
;
33102 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33103 PyObject
*resultobj
;
33104 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33106 PyObject
* obj0
= 0 ;
33107 char *kwnames
[] = {
33108 (char *) "self", NULL
33111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
33112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33113 if (SWIG_arg_fail(1)) SWIG_fail
;
33115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33117 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
33118 result
= (wxString
*) &_result_ref
;
33121 wxPyEndAllowThreads(__tstate
);
33122 if (PyErr_Occurred()) SWIG_fail
;
33126 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33128 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33137 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33138 PyObject
*resultobj
;
33139 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33140 wxString
*arg2
= 0 ;
33141 bool temp2
= false ;
33142 PyObject
* obj0
= 0 ;
33143 PyObject
* obj1
= 0 ;
33144 char *kwnames
[] = {
33145 (char *) "self",(char *) "target", NULL
33148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
33149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33150 if (SWIG_arg_fail(1)) SWIG_fail
;
33152 arg2
= wxString_in_helper(obj1
);
33153 if (arg2
== NULL
) SWIG_fail
;
33157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33158 (arg1
)->SetTarget((wxString
const &)*arg2
);
33160 wxPyEndAllowThreads(__tstate
);
33161 if (PyErr_Occurred()) SWIG_fail
;
33163 Py_INCREF(Py_None
); resultobj
= Py_None
;
33178 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
33180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33181 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
33183 return Py_BuildValue((char *)"");
33185 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33186 PyObject
*resultobj
;
33187 wxWindow
*arg1
= (wxWindow
*) NULL
;
33188 bool arg2
= (bool) true ;
33189 wxContextHelp
*result
;
33190 PyObject
* obj0
= 0 ;
33191 PyObject
* obj1
= 0 ;
33192 char *kwnames
[] = {
33193 (char *) "window",(char *) "doNow", NULL
33196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33199 if (SWIG_arg_fail(1)) SWIG_fail
;
33203 arg2
= (bool)(SWIG_As_bool(obj1
));
33204 if (SWIG_arg_fail(2)) SWIG_fail
;
33208 if (!wxPyCheckForApp()) SWIG_fail
;
33209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33210 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
33212 wxPyEndAllowThreads(__tstate
);
33213 if (PyErr_Occurred()) SWIG_fail
;
33215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
33222 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33223 PyObject
*resultobj
;
33224 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33225 PyObject
* obj0
= 0 ;
33226 char *kwnames
[] = {
33227 (char *) "self", NULL
33230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
33231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33232 if (SWIG_arg_fail(1)) SWIG_fail
;
33234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33237 wxPyEndAllowThreads(__tstate
);
33238 if (PyErr_Occurred()) SWIG_fail
;
33240 Py_INCREF(Py_None
); resultobj
= Py_None
;
33247 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33248 PyObject
*resultobj
;
33249 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33250 wxWindow
*arg2
= (wxWindow
*) NULL
;
33252 PyObject
* obj0
= 0 ;
33253 PyObject
* obj1
= 0 ;
33254 char *kwnames
[] = {
33255 (char *) "self",(char *) "window", NULL
33258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33260 if (SWIG_arg_fail(1)) SWIG_fail
;
33262 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33263 if (SWIG_arg_fail(2)) SWIG_fail
;
33266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33267 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
33269 wxPyEndAllowThreads(__tstate
);
33270 if (PyErr_Occurred()) SWIG_fail
;
33273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33281 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33282 PyObject
*resultobj
;
33283 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33285 PyObject
* obj0
= 0 ;
33286 char *kwnames
[] = {
33287 (char *) "self", NULL
33290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
33291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33292 if (SWIG_arg_fail(1)) SWIG_fail
;
33294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33295 result
= (bool)(arg1
)->EndContextHelp();
33297 wxPyEndAllowThreads(__tstate
);
33298 if (PyErr_Occurred()) SWIG_fail
;
33301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33309 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
33311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33312 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
33314 return Py_BuildValue((char *)"");
33316 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33317 PyObject
*resultobj
;
33318 wxWindow
*arg1
= (wxWindow
*) 0 ;
33319 int arg2
= (int) wxID_CONTEXT_HELP
;
33320 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33321 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33322 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33323 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33324 long arg5
= (long) wxBU_AUTODRAW
;
33325 wxContextHelpButton
*result
;
33328 PyObject
* obj0
= 0 ;
33329 PyObject
* obj1
= 0 ;
33330 PyObject
* obj2
= 0 ;
33331 PyObject
* obj3
= 0 ;
33332 PyObject
* obj4
= 0 ;
33333 char *kwnames
[] = {
33334 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33339 if (SWIG_arg_fail(1)) SWIG_fail
;
33342 arg2
= (int)(SWIG_As_int(obj1
));
33343 if (SWIG_arg_fail(2)) SWIG_fail
;
33349 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33355 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33360 arg5
= (long)(SWIG_As_long(obj4
));
33361 if (SWIG_arg_fail(5)) SWIG_fail
;
33365 if (!wxPyCheckForApp()) SWIG_fail
;
33366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33367 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33369 wxPyEndAllowThreads(__tstate
);
33370 if (PyErr_Occurred()) SWIG_fail
;
33372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
33379 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
33381 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33382 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
33384 return Py_BuildValue((char *)"");
33386 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33387 PyObject
*resultobj
;
33388 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33389 wxHelpProvider
*result
;
33390 PyObject
* obj0
= 0 ;
33391 char *kwnames
[] = {
33392 (char *) "helpProvider", NULL
33395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
33396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33397 if (SWIG_arg_fail(1)) SWIG_fail
;
33399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33400 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
33402 wxPyEndAllowThreads(__tstate
);
33403 if (PyErr_Occurred()) SWIG_fail
;
33405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33412 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33413 PyObject
*resultobj
;
33414 wxHelpProvider
*result
;
33415 char *kwnames
[] = {
33419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
33421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33422 result
= (wxHelpProvider
*)wxHelpProvider::Get();
33424 wxPyEndAllowThreads(__tstate
);
33425 if (PyErr_Occurred()) SWIG_fail
;
33427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33434 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33435 PyObject
*resultobj
;
33436 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33437 wxWindow
*arg2
= (wxWindow
*) 0 ;
33439 PyObject
* obj0
= 0 ;
33440 PyObject
* obj1
= 0 ;
33441 char *kwnames
[] = {
33442 (char *) "self",(char *) "window", NULL
33445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33447 if (SWIG_arg_fail(1)) SWIG_fail
;
33448 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33449 if (SWIG_arg_fail(2)) SWIG_fail
;
33451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33452 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
33454 wxPyEndAllowThreads(__tstate
);
33455 if (PyErr_Occurred()) SWIG_fail
;
33459 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33461 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33470 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33471 PyObject
*resultobj
;
33472 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33473 wxWindow
*arg2
= (wxWindow
*) 0 ;
33475 PyObject
* obj0
= 0 ;
33476 PyObject
* obj1
= 0 ;
33477 char *kwnames
[] = {
33478 (char *) "self",(char *) "window", NULL
33481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33483 if (SWIG_arg_fail(1)) SWIG_fail
;
33484 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33485 if (SWIG_arg_fail(2)) SWIG_fail
;
33487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33488 result
= (bool)(arg1
)->ShowHelp(arg2
);
33490 wxPyEndAllowThreads(__tstate
);
33491 if (PyErr_Occurred()) SWIG_fail
;
33494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33502 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33503 PyObject
*resultobj
;
33504 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33505 wxWindow
*arg2
= (wxWindow
*) 0 ;
33506 wxString
*arg3
= 0 ;
33507 bool temp3
= false ;
33508 PyObject
* obj0
= 0 ;
33509 PyObject
* obj1
= 0 ;
33510 PyObject
* obj2
= 0 ;
33511 char *kwnames
[] = {
33512 (char *) "self",(char *) "window",(char *) "text", NULL
33515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33517 if (SWIG_arg_fail(1)) SWIG_fail
;
33518 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33519 if (SWIG_arg_fail(2)) SWIG_fail
;
33521 arg3
= wxString_in_helper(obj2
);
33522 if (arg3
== NULL
) SWIG_fail
;
33526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33527 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33529 wxPyEndAllowThreads(__tstate
);
33530 if (PyErr_Occurred()) SWIG_fail
;
33532 Py_INCREF(Py_None
); resultobj
= Py_None
;
33547 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33548 PyObject
*resultobj
;
33549 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33551 wxString
*arg3
= 0 ;
33552 bool temp3
= false ;
33553 PyObject
* obj0
= 0 ;
33554 PyObject
* obj1
= 0 ;
33555 PyObject
* obj2
= 0 ;
33556 char *kwnames
[] = {
33557 (char *) "self",(char *) "id",(char *) "text", NULL
33560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33562 if (SWIG_arg_fail(1)) SWIG_fail
;
33564 arg2
= (int)(SWIG_As_int(obj1
));
33565 if (SWIG_arg_fail(2)) SWIG_fail
;
33568 arg3
= wxString_in_helper(obj2
);
33569 if (arg3
== NULL
) SWIG_fail
;
33573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33574 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33576 wxPyEndAllowThreads(__tstate
);
33577 if (PyErr_Occurred()) SWIG_fail
;
33579 Py_INCREF(Py_None
); resultobj
= Py_None
;
33594 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33595 PyObject
*resultobj
;
33596 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33597 wxWindow
*arg2
= (wxWindow
*) 0 ;
33598 PyObject
* obj0
= 0 ;
33599 PyObject
* obj1
= 0 ;
33600 char *kwnames
[] = {
33601 (char *) "self",(char *) "window", NULL
33604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33606 if (SWIG_arg_fail(1)) SWIG_fail
;
33607 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33608 if (SWIG_arg_fail(2)) SWIG_fail
;
33610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33611 (arg1
)->RemoveHelp(arg2
);
33613 wxPyEndAllowThreads(__tstate
);
33614 if (PyErr_Occurred()) SWIG_fail
;
33616 Py_INCREF(Py_None
); resultobj
= Py_None
;
33623 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33624 PyObject
*resultobj
;
33625 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33626 PyObject
* obj0
= 0 ;
33627 char *kwnames
[] = {
33628 (char *) "self", NULL
33631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
33632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33633 if (SWIG_arg_fail(1)) SWIG_fail
;
33635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33636 wxHelpProvider_Destroy(arg1
);
33638 wxPyEndAllowThreads(__tstate
);
33639 if (PyErr_Occurred()) SWIG_fail
;
33641 Py_INCREF(Py_None
); resultobj
= Py_None
;
33648 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33651 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
33653 return Py_BuildValue((char *)"");
33655 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33656 PyObject
*resultobj
;
33657 wxSimpleHelpProvider
*result
;
33658 char *kwnames
[] = {
33662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
33664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33665 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
33667 wxPyEndAllowThreads(__tstate
);
33668 if (PyErr_Occurred()) SWIG_fail
;
33670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
33677 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33679 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33680 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
33682 return Py_BuildValue((char *)"");
33684 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33685 PyObject
*resultobj
;
33686 wxBitmap
*arg1
= 0 ;
33687 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33688 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33689 wxGenericDragImage
*result
;
33690 PyObject
* obj0
= 0 ;
33691 PyObject
* obj1
= 0 ;
33692 char *kwnames
[] = {
33693 (char *) "image",(char *) "cursor", NULL
33696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
33698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33699 if (SWIG_arg_fail(1)) SWIG_fail
;
33700 if (arg1
== NULL
) {
33701 SWIG_null_ref("wxBitmap");
33703 if (SWIG_arg_fail(1)) SWIG_fail
;
33707 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33708 if (SWIG_arg_fail(2)) SWIG_fail
;
33709 if (arg2
== NULL
) {
33710 SWIG_null_ref("wxCursor");
33712 if (SWIG_arg_fail(2)) SWIG_fail
;
33716 if (!wxPyCheckForApp()) SWIG_fail
;
33717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33718 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
33720 wxPyEndAllowThreads(__tstate
);
33721 if (PyErr_Occurred()) SWIG_fail
;
33723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33730 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33731 PyObject
*resultobj
;
33733 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33734 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33735 wxGenericDragImage
*result
;
33736 PyObject
* obj0
= 0 ;
33737 PyObject
* obj1
= 0 ;
33738 char *kwnames
[] = {
33739 (char *) "image",(char *) "cursor", NULL
33742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
33744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
33745 if (SWIG_arg_fail(1)) SWIG_fail
;
33746 if (arg1
== NULL
) {
33747 SWIG_null_ref("wxIcon");
33749 if (SWIG_arg_fail(1)) SWIG_fail
;
33753 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33754 if (SWIG_arg_fail(2)) SWIG_fail
;
33755 if (arg2
== NULL
) {
33756 SWIG_null_ref("wxCursor");
33758 if (SWIG_arg_fail(2)) SWIG_fail
;
33762 if (!wxPyCheckForApp()) SWIG_fail
;
33763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33764 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
33766 wxPyEndAllowThreads(__tstate
);
33767 if (PyErr_Occurred()) SWIG_fail
;
33769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33776 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33777 PyObject
*resultobj
;
33778 wxString
*arg1
= 0 ;
33779 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33780 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33781 wxGenericDragImage
*result
;
33782 bool temp1
= false ;
33783 PyObject
* obj0
= 0 ;
33784 PyObject
* obj1
= 0 ;
33785 char *kwnames
[] = {
33786 (char *) "str",(char *) "cursor", NULL
33789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
33791 arg1
= wxString_in_helper(obj0
);
33792 if (arg1
== NULL
) SWIG_fail
;
33797 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33798 if (SWIG_arg_fail(2)) SWIG_fail
;
33799 if (arg2
== NULL
) {
33800 SWIG_null_ref("wxCursor");
33802 if (SWIG_arg_fail(2)) SWIG_fail
;
33806 if (!wxPyCheckForApp()) SWIG_fail
;
33807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33808 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
33810 wxPyEndAllowThreads(__tstate
);
33811 if (PyErr_Occurred()) SWIG_fail
;
33813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33828 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33829 PyObject
*resultobj
;
33830 wxPyTreeCtrl
*arg1
= 0 ;
33831 wxTreeItemId
*arg2
= 0 ;
33832 wxGenericDragImage
*result
;
33833 PyObject
* obj0
= 0 ;
33834 PyObject
* obj1
= 0 ;
33835 char *kwnames
[] = {
33836 (char *) "treeCtrl",(char *) "id", NULL
33839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33842 if (SWIG_arg_fail(1)) SWIG_fail
;
33843 if (arg1
== NULL
) {
33844 SWIG_null_ref("wxPyTreeCtrl");
33846 if (SWIG_arg_fail(1)) SWIG_fail
;
33849 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
33850 if (SWIG_arg_fail(2)) SWIG_fail
;
33851 if (arg2
== NULL
) {
33852 SWIG_null_ref("wxTreeItemId");
33854 if (SWIG_arg_fail(2)) SWIG_fail
;
33857 if (!wxPyCheckForApp()) SWIG_fail
;
33858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33859 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
33861 wxPyEndAllowThreads(__tstate
);
33862 if (PyErr_Occurred()) SWIG_fail
;
33864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33871 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33872 PyObject
*resultobj
;
33873 wxPyListCtrl
*arg1
= 0 ;
33875 wxGenericDragImage
*result
;
33876 PyObject
* obj0
= 0 ;
33877 PyObject
* obj1
= 0 ;
33878 char *kwnames
[] = {
33879 (char *) "listCtrl",(char *) "id", NULL
33882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33885 if (SWIG_arg_fail(1)) SWIG_fail
;
33886 if (arg1
== NULL
) {
33887 SWIG_null_ref("wxPyListCtrl");
33889 if (SWIG_arg_fail(1)) SWIG_fail
;
33892 arg2
= (long)(SWIG_As_long(obj1
));
33893 if (SWIG_arg_fail(2)) SWIG_fail
;
33896 if (!wxPyCheckForApp()) SWIG_fail
;
33897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33898 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
33900 wxPyEndAllowThreads(__tstate
);
33901 if (PyErr_Occurred()) SWIG_fail
;
33903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33910 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33911 PyObject
*resultobj
;
33912 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33913 PyObject
* obj0
= 0 ;
33914 char *kwnames
[] = {
33915 (char *) "self", NULL
33918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
33919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33920 if (SWIG_arg_fail(1)) SWIG_fail
;
33922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33925 wxPyEndAllowThreads(__tstate
);
33926 if (PyErr_Occurred()) SWIG_fail
;
33928 Py_INCREF(Py_None
); resultobj
= Py_None
;
33935 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33936 PyObject
*resultobj
;
33937 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33938 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33939 PyObject
* obj0
= 0 ;
33940 PyObject
* obj1
= 0 ;
33941 char *kwnames
[] = {
33942 (char *) "self",(char *) "bitmap", NULL
33945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33947 if (SWIG_arg_fail(1)) SWIG_fail
;
33948 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33949 if (SWIG_arg_fail(2)) SWIG_fail
;
33951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33952 (arg1
)->SetBackingBitmap(arg2
);
33954 wxPyEndAllowThreads(__tstate
);
33955 if (PyErr_Occurred()) SWIG_fail
;
33957 Py_INCREF(Py_None
); resultobj
= Py_None
;
33964 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33965 PyObject
*resultobj
;
33966 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33967 wxPoint
*arg2
= 0 ;
33968 wxWindow
*arg3
= (wxWindow
*) 0 ;
33969 bool arg4
= (bool) false ;
33970 wxRect
*arg5
= (wxRect
*) NULL
;
33973 PyObject
* obj0
= 0 ;
33974 PyObject
* obj1
= 0 ;
33975 PyObject
* obj2
= 0 ;
33976 PyObject
* obj3
= 0 ;
33977 PyObject
* obj4
= 0 ;
33978 char *kwnames
[] = {
33979 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
33982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33984 if (SWIG_arg_fail(1)) SWIG_fail
;
33987 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33989 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33990 if (SWIG_arg_fail(3)) SWIG_fail
;
33993 arg4
= (bool)(SWIG_As_bool(obj3
));
33994 if (SWIG_arg_fail(4)) SWIG_fail
;
33998 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
33999 if (SWIG_arg_fail(5)) SWIG_fail
;
34002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34003 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
34005 wxPyEndAllowThreads(__tstate
);
34006 if (PyErr_Occurred()) SWIG_fail
;
34009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34017 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34018 PyObject
*resultobj
;
34019 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34020 wxPoint
*arg2
= 0 ;
34021 wxWindow
*arg3
= (wxWindow
*) 0 ;
34022 wxWindow
*arg4
= (wxWindow
*) 0 ;
34025 PyObject
* obj0
= 0 ;
34026 PyObject
* obj1
= 0 ;
34027 PyObject
* obj2
= 0 ;
34028 PyObject
* obj3
= 0 ;
34029 char *kwnames
[] = {
34030 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34035 if (SWIG_arg_fail(1)) SWIG_fail
;
34038 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34040 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34041 if (SWIG_arg_fail(3)) SWIG_fail
;
34042 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34043 if (SWIG_arg_fail(4)) SWIG_fail
;
34045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34046 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
34048 wxPyEndAllowThreads(__tstate
);
34049 if (PyErr_Occurred()) SWIG_fail
;
34052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34060 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34061 PyObject
*resultobj
;
34062 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34064 PyObject
* obj0
= 0 ;
34065 char *kwnames
[] = {
34066 (char *) "self", NULL
34069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
34070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34071 if (SWIG_arg_fail(1)) SWIG_fail
;
34073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34074 result
= (bool)(arg1
)->EndDrag();
34076 wxPyEndAllowThreads(__tstate
);
34077 if (PyErr_Occurred()) SWIG_fail
;
34080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34088 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34089 PyObject
*resultobj
;
34090 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34091 wxPoint
*arg2
= 0 ;
34094 PyObject
* obj0
= 0 ;
34095 PyObject
* obj1
= 0 ;
34096 char *kwnames
[] = {
34097 (char *) "self",(char *) "pt", NULL
34100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
34101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34102 if (SWIG_arg_fail(1)) SWIG_fail
;
34105 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34109 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
34111 wxPyEndAllowThreads(__tstate
);
34112 if (PyErr_Occurred()) SWIG_fail
;
34115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34123 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34124 PyObject
*resultobj
;
34125 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34127 PyObject
* obj0
= 0 ;
34128 char *kwnames
[] = {
34129 (char *) "self", NULL
34132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
34133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34134 if (SWIG_arg_fail(1)) SWIG_fail
;
34136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34137 result
= (bool)(arg1
)->Show();
34139 wxPyEndAllowThreads(__tstate
);
34140 if (PyErr_Occurred()) SWIG_fail
;
34143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34151 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34152 PyObject
*resultobj
;
34153 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34155 PyObject
* obj0
= 0 ;
34156 char *kwnames
[] = {
34157 (char *) "self", NULL
34160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
34161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34162 if (SWIG_arg_fail(1)) SWIG_fail
;
34164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34165 result
= (bool)(arg1
)->Hide();
34167 wxPyEndAllowThreads(__tstate
);
34168 if (PyErr_Occurred()) SWIG_fail
;
34171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34179 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34180 PyObject
*resultobj
;
34181 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34182 wxPoint
*arg2
= 0 ;
34185 PyObject
* obj0
= 0 ;
34186 PyObject
* obj1
= 0 ;
34187 char *kwnames
[] = {
34188 (char *) "self",(char *) "pos", NULL
34191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
34192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34193 if (SWIG_arg_fail(1)) SWIG_fail
;
34196 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34200 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
34202 wxPyEndAllowThreads(__tstate
);
34203 if (PyErr_Occurred()) SWIG_fail
;
34206 wxRect
* resultptr
;
34207 resultptr
= new wxRect((wxRect
&)(result
));
34208 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
34216 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34217 PyObject
*resultobj
;
34218 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34220 wxPoint
*arg3
= 0 ;
34223 PyObject
* obj0
= 0 ;
34224 PyObject
* obj1
= 0 ;
34225 PyObject
* obj2
= 0 ;
34226 char *kwnames
[] = {
34227 (char *) "self",(char *) "dc",(char *) "pos", NULL
34230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34232 if (SWIG_arg_fail(1)) SWIG_fail
;
34234 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34235 if (SWIG_arg_fail(2)) SWIG_fail
;
34236 if (arg2
== NULL
) {
34237 SWIG_null_ref("wxDC");
34239 if (SWIG_arg_fail(2)) SWIG_fail
;
34243 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34247 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
34249 wxPyEndAllowThreads(__tstate
);
34250 if (PyErr_Occurred()) SWIG_fail
;
34253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34261 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34262 PyObject
*resultobj
;
34263 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34265 wxMemoryDC
*arg3
= 0 ;
34271 PyObject
* obj0
= 0 ;
34272 PyObject
* obj1
= 0 ;
34273 PyObject
* obj2
= 0 ;
34274 PyObject
* obj3
= 0 ;
34275 PyObject
* obj4
= 0 ;
34276 char *kwnames
[] = {
34277 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34282 if (SWIG_arg_fail(1)) SWIG_fail
;
34284 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34285 if (SWIG_arg_fail(2)) SWIG_fail
;
34286 if (arg2
== NULL
) {
34287 SWIG_null_ref("wxDC");
34289 if (SWIG_arg_fail(2)) SWIG_fail
;
34292 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
34293 if (SWIG_arg_fail(3)) SWIG_fail
;
34294 if (arg3
== NULL
) {
34295 SWIG_null_ref("wxMemoryDC");
34297 if (SWIG_arg_fail(3)) SWIG_fail
;
34301 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34305 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
34308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34309 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
34311 wxPyEndAllowThreads(__tstate
);
34312 if (PyErr_Occurred()) SWIG_fail
;
34315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34323 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34324 PyObject
*resultobj
;
34325 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34326 wxPoint
*arg2
= 0 ;
34327 wxPoint
*arg3
= 0 ;
34333 PyObject
* obj0
= 0 ;
34334 PyObject
* obj1
= 0 ;
34335 PyObject
* obj2
= 0 ;
34336 PyObject
* obj3
= 0 ;
34337 PyObject
* obj4
= 0 ;
34338 char *kwnames
[] = {
34339 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34344 if (SWIG_arg_fail(1)) SWIG_fail
;
34347 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34351 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34354 arg4
= (bool)(SWIG_As_bool(obj3
));
34355 if (SWIG_arg_fail(4)) SWIG_fail
;
34358 arg5
= (bool)(SWIG_As_bool(obj4
));
34359 if (SWIG_arg_fail(5)) SWIG_fail
;
34362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34363 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
34365 wxPyEndAllowThreads(__tstate
);
34366 if (PyErr_Occurred()) SWIG_fail
;
34369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34377 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
34379 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34380 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
34382 return Py_BuildValue((char *)"");
34384 static int _wrap_DatePickerCtrlNameStr_set(PyObject
*) {
34385 PyErr_SetString(PyExc_TypeError
,"Variable DatePickerCtrlNameStr is read-only.");
34390 static PyObject
*_wrap_DatePickerCtrlNameStr_get(void) {
34395 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34397 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34404 static PyObject
*_wrap_new_DatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34405 PyObject
*resultobj
;
34406 wxWindow
*arg1
= (wxWindow
*) 0 ;
34407 int arg2
= (int) -1 ;
34408 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
34409 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
34410 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34411 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34412 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34413 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34414 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34415 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34416 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34417 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
34418 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34419 wxDatePickerCtrl
*result
;
34422 bool temp8
= false ;
34423 PyObject
* obj0
= 0 ;
34424 PyObject
* obj1
= 0 ;
34425 PyObject
* obj2
= 0 ;
34426 PyObject
* obj3
= 0 ;
34427 PyObject
* obj4
= 0 ;
34428 PyObject
* obj5
= 0 ;
34429 PyObject
* obj6
= 0 ;
34430 PyObject
* obj7
= 0 ;
34431 char *kwnames
[] = {
34432 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
34436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34437 if (SWIG_arg_fail(1)) SWIG_fail
;
34440 arg2
= (int)(SWIG_As_int(obj1
));
34441 if (SWIG_arg_fail(2)) SWIG_fail
;
34446 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34447 if (SWIG_arg_fail(3)) SWIG_fail
;
34448 if (arg3
== NULL
) {
34449 SWIG_null_ref("wxDateTime");
34451 if (SWIG_arg_fail(3)) SWIG_fail
;
34457 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34463 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34468 arg6
= (long)(SWIG_As_long(obj5
));
34469 if (SWIG_arg_fail(6)) SWIG_fail
;
34474 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34475 if (SWIG_arg_fail(7)) SWIG_fail
;
34476 if (arg7
== NULL
) {
34477 SWIG_null_ref("wxValidator");
34479 if (SWIG_arg_fail(7)) SWIG_fail
;
34484 arg8
= wxString_in_helper(obj7
);
34485 if (arg8
== NULL
) SWIG_fail
;
34490 if (!wxPyCheckForApp()) SWIG_fail
;
34491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34492 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34494 wxPyEndAllowThreads(__tstate
);
34495 if (PyErr_Occurred()) SWIG_fail
;
34497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34512 static PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34513 PyObject
*resultobj
;
34514 wxDatePickerCtrl
*result
;
34515 char *kwnames
[] = {
34519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDatePickerCtrl",kwnames
)) goto fail
;
34521 if (!wxPyCheckForApp()) SWIG_fail
;
34522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34523 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
34525 wxPyEndAllowThreads(__tstate
);
34526 if (PyErr_Occurred()) SWIG_fail
;
34528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34535 static PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34536 PyObject
*resultobj
;
34537 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34538 wxWindow
*arg2
= (wxWindow
*) 0 ;
34539 int arg3
= (int) -1 ;
34540 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
34541 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
34542 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
34543 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
34544 wxSize
const &arg6_defvalue
= wxDefaultSize
;
34545 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
34546 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34547 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
34548 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
34549 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
34550 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
34554 bool temp9
= false ;
34555 PyObject
* obj0
= 0 ;
34556 PyObject
* obj1
= 0 ;
34557 PyObject
* obj2
= 0 ;
34558 PyObject
* obj3
= 0 ;
34559 PyObject
* obj4
= 0 ;
34560 PyObject
* obj5
= 0 ;
34561 PyObject
* obj6
= 0 ;
34562 PyObject
* obj7
= 0 ;
34563 PyObject
* obj8
= 0 ;
34564 char *kwnames
[] = {
34565 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
34569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34570 if (SWIG_arg_fail(1)) SWIG_fail
;
34571 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34572 if (SWIG_arg_fail(2)) SWIG_fail
;
34575 arg3
= (int)(SWIG_As_int(obj2
));
34576 if (SWIG_arg_fail(3)) SWIG_fail
;
34581 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34582 if (SWIG_arg_fail(4)) SWIG_fail
;
34583 if (arg4
== NULL
) {
34584 SWIG_null_ref("wxDateTime");
34586 if (SWIG_arg_fail(4)) SWIG_fail
;
34592 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
34598 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
34603 arg7
= (long)(SWIG_As_long(obj6
));
34604 if (SWIG_arg_fail(7)) SWIG_fail
;
34609 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34610 if (SWIG_arg_fail(8)) SWIG_fail
;
34611 if (arg8
== NULL
) {
34612 SWIG_null_ref("wxValidator");
34614 if (SWIG_arg_fail(8)) SWIG_fail
;
34619 arg9
= wxString_in_helper(obj8
);
34620 if (arg9
== NULL
) SWIG_fail
;
34625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34626 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
34628 wxPyEndAllowThreads(__tstate
);
34629 if (PyErr_Occurred()) SWIG_fail
;
34632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34648 static PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34649 PyObject
*resultobj
;
34650 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34651 wxDateTime
*arg2
= 0 ;
34652 PyObject
* obj0
= 0 ;
34653 PyObject
* obj1
= 0 ;
34654 char *kwnames
[] = {
34655 (char *) "self",(char *) "dt", NULL
34658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
34659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34660 if (SWIG_arg_fail(1)) SWIG_fail
;
34662 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34663 if (SWIG_arg_fail(2)) SWIG_fail
;
34664 if (arg2
== NULL
) {
34665 SWIG_null_ref("wxDateTime");
34667 if (SWIG_arg_fail(2)) SWIG_fail
;
34670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34671 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
34673 wxPyEndAllowThreads(__tstate
);
34674 if (PyErr_Occurred()) SWIG_fail
;
34676 Py_INCREF(Py_None
); resultobj
= Py_None
;
34683 static PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34684 PyObject
*resultobj
;
34685 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34687 PyObject
* obj0
= 0 ;
34688 char *kwnames
[] = {
34689 (char *) "self", NULL
34692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
34693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34694 if (SWIG_arg_fail(1)) SWIG_fail
;
34696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34697 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
34699 wxPyEndAllowThreads(__tstate
);
34700 if (PyErr_Occurred()) SWIG_fail
;
34703 wxDateTime
* resultptr
;
34704 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34705 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34713 static PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34714 PyObject
*resultobj
;
34715 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34716 wxDateTime
*arg2
= 0 ;
34717 wxDateTime
*arg3
= 0 ;
34718 PyObject
* obj0
= 0 ;
34719 PyObject
* obj1
= 0 ;
34720 PyObject
* obj2
= 0 ;
34721 char *kwnames
[] = {
34722 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34727 if (SWIG_arg_fail(1)) SWIG_fail
;
34729 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34730 if (SWIG_arg_fail(2)) SWIG_fail
;
34731 if (arg2
== NULL
) {
34732 SWIG_null_ref("wxDateTime");
34734 if (SWIG_arg_fail(2)) SWIG_fail
;
34737 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34738 if (SWIG_arg_fail(3)) SWIG_fail
;
34739 if (arg3
== NULL
) {
34740 SWIG_null_ref("wxDateTime");
34742 if (SWIG_arg_fail(3)) SWIG_fail
;
34745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34746 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
34748 wxPyEndAllowThreads(__tstate
);
34749 if (PyErr_Occurred()) SWIG_fail
;
34751 Py_INCREF(Py_None
); resultobj
= Py_None
;
34758 static PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34759 PyObject
*resultobj
;
34760 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34762 PyObject
* obj0
= 0 ;
34763 char *kwnames
[] = {
34764 (char *) "self", NULL
34767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames
,&obj0
)) goto fail
;
34768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34769 if (SWIG_arg_fail(1)) SWIG_fail
;
34771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34772 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
34774 wxPyEndAllowThreads(__tstate
);
34775 if (PyErr_Occurred()) SWIG_fail
;
34778 wxDateTime
* resultptr
;
34779 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34780 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34788 static PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34789 PyObject
*resultobj
;
34790 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34792 PyObject
* obj0
= 0 ;
34793 char *kwnames
[] = {
34794 (char *) "self", NULL
34797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames
,&obj0
)) goto fail
;
34798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34799 if (SWIG_arg_fail(1)) SWIG_fail
;
34801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34802 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
34804 wxPyEndAllowThreads(__tstate
);
34805 if (PyErr_Occurred()) SWIG_fail
;
34808 wxDateTime
* resultptr
;
34809 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34810 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34818 static PyObject
* DatePickerCtrl_swigregister(PyObject
*, PyObject
*args
) {
34820 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34821 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl
, obj
);
34823 return Py_BuildValue((char *)"");
34825 static PyMethodDef SwigMethods
[] = {
34826 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34827 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34828 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34829 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34830 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34831 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34832 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
34833 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34834 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34835 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34836 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34837 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34838 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34839 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34840 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34841 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34842 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34843 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34844 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34845 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34846 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34847 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
34848 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34849 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34850 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34851 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34852 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34853 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34854 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34855 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34856 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34857 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34858 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34859 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
34860 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34861 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34862 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34863 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34864 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
34865 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34866 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34867 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34868 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34869 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34870 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34871 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34872 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34873 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34874 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34875 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34876 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34877 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34878 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34879 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34880 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34881 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34882 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34883 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34884 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34885 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34886 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34887 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34888 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34889 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34890 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34891 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34892 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34893 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34894 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
34895 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34896 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34897 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34898 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34899 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34900 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34901 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34902 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34903 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34904 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34905 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34906 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34907 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34908 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
34909 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34910 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34911 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34912 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34913 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
34914 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34915 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34916 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34917 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34918 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34919 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34920 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
34921 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34922 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34923 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34924 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34925 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
34926 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34927 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34928 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34929 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34930 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34931 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34932 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34933 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
34934 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34935 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34936 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34937 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34938 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34939 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34940 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34941 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34942 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34943 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34944 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34945 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34946 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34947 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34948 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34949 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34950 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34951 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34952 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34953 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34954 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34955 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34956 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
34957 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34958 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34959 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34960 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34961 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34962 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34963 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34964 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34965 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
34966 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34967 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34968 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34969 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34970 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34971 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34972 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34973 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34974 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34975 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34976 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34977 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34978 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34979 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34980 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34981 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34982 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34983 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34984 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34985 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34986 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34987 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34988 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34989 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34990 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34991 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34992 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34993 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34994 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34995 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34996 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
34997 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34998 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34999 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35000 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35001 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35002 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35003 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35004 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35005 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35006 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35007 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35008 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35009 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35010 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35011 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35012 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35013 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35014 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35015 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35016 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35017 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35018 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35019 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35020 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35021 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35022 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35023 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35024 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35025 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35026 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35027 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35028 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35029 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35030 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35031 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35032 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35033 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35034 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35035 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35036 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35037 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35038 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35039 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35040 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35041 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35042 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35043 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35044 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35045 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35046 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35047 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35048 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35049 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35050 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35051 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35052 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
35053 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35054 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35055 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35056 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35057 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
35058 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35059 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35060 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35061 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35062 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35063 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35064 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35065 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35066 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35067 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35068 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35069 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
35070 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35071 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35072 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35073 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35074 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35075 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35076 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35077 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35078 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35079 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35080 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35081 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35082 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
35083 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35084 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35085 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35086 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35087 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35088 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35089 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35090 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35091 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35092 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35093 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35094 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
35095 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35096 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35097 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35098 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
35099 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35100 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35102 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35103 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35104 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35105 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35106 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35107 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35108 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35109 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35110 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35111 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35112 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35113 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35114 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35115 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35116 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
35117 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35118 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35119 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35120 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35121 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35122 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35123 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
35124 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35125 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35126 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35127 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35128 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35129 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35130 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35131 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35132 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35133 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35134 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35135 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35136 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35137 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35138 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35139 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35140 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35142 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35144 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35147 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
35150 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35151 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35152 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35155 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35156 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35157 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
35158 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35159 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35161 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35162 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35163 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35164 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35165 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35169 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35173 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35174 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35175 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35177 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35178 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35179 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
35180 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35181 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
35186 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35187 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35189 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35194 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
) _wrap_Notebook_GetThemeBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
35197 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
35199 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35200 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35201 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35202 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35203 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35204 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
35205 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35206 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
35207 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35208 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35210 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
35213 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
35215 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35218 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
35220 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
35225 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35226 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35229 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35236 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35243 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35244 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35245 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35246 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35247 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35248 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35249 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35250 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35251 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35252 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35253 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35254 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
35255 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35256 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35257 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35258 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35259 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35260 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35261 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35262 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35263 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35264 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35265 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35266 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35267 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35268 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35269 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35270 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35271 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35272 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35273 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35274 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35275 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35276 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35277 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35278 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35279 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35280 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35281 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35282 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35283 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35284 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35285 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35286 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35287 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35288 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35289 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35290 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35291 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35292 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35293 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35294 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35295 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35296 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35297 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35298 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35299 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
35300 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35301 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35302 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35303 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35304 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35305 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
35306 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35307 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35308 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35309 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35310 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35311 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35312 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35313 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35314 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35315 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35316 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35317 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
35318 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35319 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35320 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35321 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35322 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35323 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35324 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35325 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35326 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35327 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35328 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35329 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35330 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35331 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35332 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35333 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35334 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35335 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35336 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35337 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35338 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35339 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35340 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35341 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35342 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35343 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35344 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35345 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35346 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35347 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35348 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35349 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35350 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35351 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35352 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35353 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35354 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35355 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35356 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35357 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35358 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35359 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35360 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35361 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35362 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35363 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35364 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35365 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35366 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35367 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35368 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35369 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
35370 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35371 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35372 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35373 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35374 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35375 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35376 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35377 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35378 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35379 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35380 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35381 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35382 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35383 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35384 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35385 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35386 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35387 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35388 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35389 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35390 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35391 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35392 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35393 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35394 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35395 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35396 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
35397 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35398 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35399 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35400 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35401 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35402 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35403 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35404 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35405 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35406 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35407 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35408 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35409 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35410 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35411 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35413 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35414 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35415 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35416 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35417 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35418 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35419 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35420 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35421 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35422 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35423 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35424 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35425 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35426 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35427 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35428 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35429 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35430 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35431 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35432 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35433 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35434 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35435 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35436 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35438 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35439 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35440 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35441 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35442 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35443 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35444 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35445 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35446 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35447 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35448 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35450 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35451 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35452 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35453 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35454 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35455 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35456 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35457 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35458 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35459 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35460 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35461 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35462 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35463 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35464 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35465 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35466 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35467 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
35468 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35469 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35470 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35471 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35472 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35473 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35474 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35475 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35476 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35477 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35478 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35479 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
35480 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35481 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35482 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35483 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35484 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35485 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35486 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35487 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
35488 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35489 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35490 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35491 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35492 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35493 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35494 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
35495 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35496 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35497 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35498 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35499 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35500 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35501 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35502 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35503 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35504 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35505 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35506 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35507 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35508 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35509 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35510 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
35511 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35512 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35513 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35514 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35515 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35516 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35517 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35518 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35519 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35520 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35521 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35522 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35523 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35524 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35525 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35526 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35527 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35528 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35529 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35530 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35531 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35532 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35533 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35534 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35535 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35536 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35537 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35538 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35539 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35540 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35541 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35542 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35543 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35544 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35545 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35546 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35547 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35548 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35549 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35550 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35551 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35552 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35553 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35554 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35555 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35556 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35557 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35558 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35559 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35560 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35561 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35562 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35563 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35564 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35565 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35566 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35567 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35568 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35569 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35570 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35571 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35572 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35573 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35574 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35575 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35576 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35577 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35578 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35579 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35580 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35581 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35582 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35583 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35584 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35585 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35586 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
35587 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35588 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35589 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35590 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35591 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35592 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35593 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35594 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35595 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35596 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35597 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35598 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35599 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35600 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35601 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35602 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35603 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35604 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35605 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35606 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35607 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35608 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
35609 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35610 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35611 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35612 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35613 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
35614 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35615 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35616 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35617 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35618 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35619 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35620 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35621 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35622 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35623 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35624 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35625 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35626 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35627 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35628 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35629 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35630 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35631 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35632 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35633 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35634 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35635 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35636 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35637 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35638 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35639 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
35640 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35641 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35642 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35643 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35644 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35645 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35646 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35647 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
35648 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35649 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35650 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35651 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35652 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
35653 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35654 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
35655 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35656 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35657 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35658 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35659 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35660 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35661 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35662 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35663 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
35664 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35665 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
35666 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35667 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35668 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35669 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35670 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35671 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35672 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35673 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35674 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35675 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35676 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35677 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35678 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35679 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35680 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35681 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35682 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35683 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
35684 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35685 { (char *)"new_PreDatePickerCtrl", (PyCFunction
) _wrap_new_PreDatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35686 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35687 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35688 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
) _wrap_DatePickerCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35689 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35690 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetLowerLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35691 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetUpperLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35692 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
35693 { NULL
, NULL
, 0, NULL
}
35697 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35699 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
35700 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
35702 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
35703 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35705 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
35706 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35708 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
35709 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35711 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
35712 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
35714 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
35715 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35717 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
35718 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
35720 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
35721 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
35723 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
35724 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
35726 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
35727 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35729 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
35730 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
35732 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
35733 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
35735 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
35736 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
35738 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
35739 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
35741 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
35742 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35744 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
35745 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35747 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
35748 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
35750 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
35751 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
35753 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
35754 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
35756 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
35757 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
35759 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
35760 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
35762 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
35763 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35765 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
35766 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
35768 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
35769 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35771 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
35772 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35774 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
35775 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35777 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
35778 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
35780 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
35781 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
35783 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
35784 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35786 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
35787 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35789 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
35790 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
35792 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
35793 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
35795 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
35796 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
35798 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
35799 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
35801 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
35802 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
35804 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
35805 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
35807 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
35808 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
35810 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
35811 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
35813 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
35814 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35816 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
35817 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35819 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
35820 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35822 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
35823 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35825 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
35826 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35828 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
35829 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
35831 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
35832 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
35834 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
35835 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35837 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
35838 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
35840 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
35841 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
35843 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
35844 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35846 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
35847 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35849 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
35850 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35852 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
35853 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
35855 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
35856 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
35858 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
35859 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35861 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
35862 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
35864 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
35865 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35867 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
35868 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35870 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
35871 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
35873 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
35874 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35876 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
35877 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35879 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
35880 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
35882 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
35883 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
35885 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
35886 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
35888 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
35889 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
35891 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
35892 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
35894 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
35895 return (void *)((wxControl
*) ((wxPyControl
*) x
));
35897 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
35898 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
35900 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
35901 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35903 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
35904 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
35906 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
35907 return (void *)((wxControl
*) ((wxComboBox
*) x
));
35909 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
35910 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
35912 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
35913 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
35915 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
35916 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
35918 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
35919 return (void *)((wxControl
*) ((wxGauge
*) x
));
35921 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
35922 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
35924 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
35925 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35927 static void *_p_wxListbookTo_p_wxControl(void *x
) {
35928 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
35930 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
35931 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
35933 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
35934 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
35936 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
35937 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
35939 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
35940 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35942 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
35943 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35945 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
35946 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35948 static void *_p_wxListViewTo_p_wxControl(void *x
) {
35949 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
35951 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
35952 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
35954 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
35955 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
35957 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
35958 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
35960 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
35961 return (void *)((wxControl
*) ((wxStaticText
*) x
));
35963 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
35964 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
35966 static void *_p_wxSliderTo_p_wxControl(void *x
) {
35967 return (void *)((wxControl
*) ((wxSlider
*) x
));
35969 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
35970 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
35972 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
35973 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
35975 static void *_p_wxButtonTo_p_wxControl(void *x
) {
35976 return (void *)((wxControl
*) ((wxButton
*) x
));
35978 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
35979 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
35981 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
35982 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
35984 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
35985 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
35987 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
35988 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
35990 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
35991 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35993 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
35994 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35996 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
35997 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35999 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
36000 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
36002 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
36003 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36005 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
36006 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36008 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
36009 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36011 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
36012 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36014 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
36015 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36017 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
36018 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
36020 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
36021 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
36023 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
36024 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
36026 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
36027 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36029 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
36030 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
36032 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
36033 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
36035 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
36036 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36038 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
36039 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
36041 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
36042 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36044 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
36045 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36047 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
36048 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
36050 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
36051 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
36053 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
36054 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36056 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
36057 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36059 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
36060 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36062 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
36063 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36065 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
36066 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36068 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
36069 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
36071 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
36072 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36074 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
36075 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36077 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
36078 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36080 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
36081 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36083 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
36084 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36086 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
36087 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36089 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
36090 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36092 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
36093 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36095 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
36096 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36098 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
36099 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36101 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
36102 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36104 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
36105 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36107 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
36108 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36110 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
36111 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36113 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
36114 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36116 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
36117 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36119 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
36120 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36122 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
36123 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36125 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
36126 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36128 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
36129 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36131 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
36132 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36134 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
36135 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36137 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
36138 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36140 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
36141 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36143 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
36144 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36146 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
36147 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36149 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
36150 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
36152 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
36153 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
36155 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
36156 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36158 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
36159 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36161 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
36162 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
36164 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36165 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36167 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36168 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36170 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36171 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36173 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36174 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36176 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36177 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36179 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
36180 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36182 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36183 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36185 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36186 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36188 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36189 return (void *)((wxObject
*) ((wxSizer
*) x
));
36191 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36192 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36194 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
36195 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36197 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
36198 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36200 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36201 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36203 static void *_p_wxEventTo_p_wxObject(void *x
) {
36204 return (void *)((wxObject
*) ((wxEvent
*) x
));
36206 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36207 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36209 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36210 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36212 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36213 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36215 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
36216 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36218 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
36219 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36221 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
36222 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36224 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36225 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36227 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36228 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36230 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36231 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36233 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36234 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36236 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36237 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36239 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36240 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36242 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
36243 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36245 static void *_p_wxControlTo_p_wxObject(void *x
) {
36246 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36248 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
36249 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36251 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
36252 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36254 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
36255 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36257 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
36258 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36260 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
36261 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36263 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36264 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36266 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
36267 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36269 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36270 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36272 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36273 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36275 static void *_p_wxListViewTo_p_wxObject(void *x
) {
36276 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36278 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
36279 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36281 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
36282 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36284 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36285 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36287 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36288 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36290 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
36291 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36293 static void *_p_wxListbookTo_p_wxObject(void *x
) {
36294 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36296 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36297 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36299 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
36300 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36302 static void *_p_wxSliderTo_p_wxObject(void *x
) {
36303 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36305 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36306 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36308 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
36309 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
36311 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36312 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36314 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36315 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36317 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36318 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36320 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36321 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36323 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36324 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36326 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36327 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36329 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36330 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36332 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36333 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36335 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
36336 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36338 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
36339 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
36341 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
36342 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36344 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36345 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36347 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36348 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36350 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36351 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36353 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36354 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36356 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36357 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36359 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36360 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36362 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36363 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36365 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36366 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36368 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36369 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36371 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36372 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36374 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36375 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36377 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36378 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36380 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36381 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36383 static void *_p_wxListEventTo_p_wxObject(void *x
) {
36384 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
36386 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
36387 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36389 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
36390 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36392 static void *_p_wxButtonTo_p_wxObject(void *x
) {
36393 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36395 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
36396 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36398 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
36399 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36401 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
36402 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36404 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36405 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36407 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36408 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36410 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
36411 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36413 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
36414 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36416 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
36417 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36419 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
36420 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
36422 static void *_p_wxListItemTo_p_wxObject(void *x
) {
36423 return (void *)((wxObject
*) ((wxListItem
*) x
));
36425 static void *_p_wxImageTo_p_wxObject(void *x
) {
36426 return (void *)((wxObject
*) ((wxImage
*) x
));
36428 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
36429 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
36431 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36432 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36434 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
36435 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36437 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
36438 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
36440 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
36441 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36443 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
36444 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36446 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
36447 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36449 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
36450 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36452 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36453 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36455 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36456 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36458 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36459 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36461 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36462 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36464 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36465 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36467 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36468 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36470 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36471 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36473 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36474 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36476 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36477 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36479 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36480 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36482 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36483 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36485 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36486 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36488 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36489 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36491 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
36492 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36494 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
36495 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36497 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36498 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36500 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36501 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36503 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
36504 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36506 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36507 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36509 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36510 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36512 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36513 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36515 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
36516 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36518 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36519 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36521 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
36522 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
36524 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
36525 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36527 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36528 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36530 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36531 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36533 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
36534 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
36536 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36537 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36539 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
36540 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
36542 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
36543 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36545 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
36546 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
36548 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
36549 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
36551 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36552 return (void *)((wxWindow
*) ((wxControl
*) x
));
36554 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
36555 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
36557 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
36558 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36560 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
36561 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
36563 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
36564 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
36566 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
36567 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
36569 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
36570 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
36572 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
36573 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
36575 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36576 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36578 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
36579 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
36581 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
36582 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
36584 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
36585 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36587 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
36588 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36590 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
36591 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
36593 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
36594 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
36596 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
36597 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
36599 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
36600 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36602 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
36603 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36605 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
36606 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36608 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
36609 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36611 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
36612 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36614 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
36615 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
36617 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
36618 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
36620 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
36621 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
36623 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
36624 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
36626 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
36627 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
36629 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
36630 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
36632 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
36633 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
36635 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
36636 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36638 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
36639 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36641 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
36642 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
36644 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
36645 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
36647 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36648 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36650 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36651 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36653 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36654 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36656 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
36657 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36659 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
36660 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36662 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
36663 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
36665 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
36666 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36668 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
36669 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36671 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
36672 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36674 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
36675 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36677 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
36678 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36680 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
36681 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36683 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
36684 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
36686 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
36687 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36689 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
36690 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
36692 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
36693 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36695 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
36696 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36698 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
36699 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36701 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
36702 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
36704 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
36705 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36707 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
36708 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36710 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
36711 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36713 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
36714 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
36716 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
36717 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
36719 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
36720 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
36722 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
36723 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
36725 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}};
36726 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}};
36727 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}};
36728 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}};
36729 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}};
36730 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}};
36731 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}};
36732 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}};
36733 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}};
36734 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}};
36735 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}};
36736 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}};
36737 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}};
36738 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}};
36739 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}};
36740 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}};
36741 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}};
36742 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}};
36743 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}};
36744 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}};
36745 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}};
36746 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}};
36747 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}};
36748 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}};
36749 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}};
36750 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}};
36751 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}};
36752 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}};
36753 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}};
36754 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}};
36755 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}};
36756 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}};
36757 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}};
36758 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}};
36759 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}};
36760 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}};
36761 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}};
36762 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}};
36763 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}};
36764 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}};
36765 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}};
36766 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}};
36767 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}};
36768 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}};
36769 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}};
36770 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}};
36771 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}};
36772 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}};
36773 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}};
36774 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}};
36775 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}};
36776 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}};
36777 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}};
36778 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}};
36779 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}};
36780 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}};
36781 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}};
36782 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}};
36783 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}};
36784 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}};
36785 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}};
36786 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}};
36787 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}};
36788 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}};
36789 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}};
36790 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}};
36791 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}};
36792 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}};
36793 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}};
36794 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}};
36795 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}};
36796 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}};
36797 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}};
36798 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}};
36799 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}};
36800 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}};
36801 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}};
36802 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}};
36803 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}};
36804 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}};
36805 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}};
36806 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}};
36807 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}};
36808 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}};
36809 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}};
36810 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}};
36811 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}};
36812 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}};
36813 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}};
36814 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}};
36815 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}};
36816 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}};
36817 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}};
36818 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}};
36819 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}};
36820 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}};
36821 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}};
36822 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}};
36824 static swig_type_info
*swig_types_initial
[] = {
36825 _swigt__p_wxTextUrlEvent
,
36827 _swigt__p_wxCheckBox
,
36828 _swigt__p_wxPyTreeCtrl
,
36830 _swigt__p_wxGenericDirCtrl
,
36832 _swigt__p_wxItemContainer
,
36833 _swigt__p_wxPyListCtrl
,
36834 _swigt__p_wxPyTreeItemData
,
36835 _swigt__p_wxDirFilterListCtrl
,
36836 _swigt__p_wxStaticLine
,
36837 _swigt__p_wxControl
,
36838 _swigt__p_wxPyControl
,
36840 _swigt__p_wxToolBarBase
,
36842 _swigt__p_wxToggleButton
,
36843 _swigt__p_wxRadioButton
,
36844 _swigt__p_wxChoice
,
36845 _swigt__p_wxMemoryDC
,
36847 _swigt__std__ptrdiff_t
,
36848 _swigt__p_wxListItemAttr
,
36853 _swigt__p_wxListView
,
36855 _swigt__p_wxVisualAttributes
,
36856 _swigt__p_wxTextCtrl
,
36857 _swigt__p_wxNotebook
,
36858 _swigt__p_wxChoicebook
,
36859 _swigt__p_wxNotifyEvent
,
36860 _swigt__p_wxArrayString
,
36861 _swigt__p_form_ops_t
,
36862 _swigt__p_wxListbook
,
36863 _swigt__p_wxStaticBitmap
,
36864 _swigt__p_wxSlider
,
36865 _swigt__p_wxStaticBox
,
36866 _swigt__p_wxArrayInt
,
36867 _swigt__p_wxContextHelp
,
36869 _swigt__p_wxDuplexMode
,
36870 _swigt__p_wxBookCtrlBase
,
36871 _swigt__p_wxEvtHandler
,
36872 _swigt__p_wxListEvent
,
36873 _swigt__p_wxCheckListBox
,
36874 _swigt__p_wxListBox
,
36875 _swigt__p_wxSpinButton
,
36876 _swigt__p_wxButton
,
36877 _swigt__p_wxBitmapButton
,
36879 _swigt__p_wxContextHelpButton
,
36880 _swigt__p_wxRadioBox
,
36881 _swigt__p_wxScrollBar
,
36883 _swigt__p_wxComboBox
,
36884 _swigt__p_wxTreeItemId
,
36885 _swigt__p_wxHelpEvent
,
36886 _swigt__p_wxListItem
,
36887 _swigt__p_wxNotebookSizer
,
36888 _swigt__p_wxSpinEvent
,
36889 _swigt__p_wxGenericDragImage
,
36890 _swigt__p_wxSpinCtrl
,
36891 _swigt__p_wxPaperSize
,
36892 _swigt__p_wxImageList
,
36893 _swigt__p_wxHelpProvider
,
36894 _swigt__p_wxTextAttr
,
36895 _swigt__p_wxSimpleHelpProvider
,
36896 _swigt__p_wxChoicebookEvent
,
36897 _swigt__p_wxListbookEvent
,
36898 _swigt__p_wxNotebookEvent
,
36900 _swigt__p_wxObject
,
36901 _swigt__p_wxCursor
,
36902 _swigt__p_wxDateTime
,
36903 _swigt__p_wxKeyEvent
,
36904 _swigt__p_unsigned_long
,
36905 _swigt__p_wxWindow
,
36906 _swigt__p_wxString
,
36907 _swigt__p_wxBitmap
,
36908 _swigt__unsigned_int
,
36909 _swigt__p_unsigned_int
,
36910 _swigt__p_unsigned_char
,
36911 _swigt__p_wxMouseEvent
,
36912 _swigt__p_wxBookCtrlBaseEvent
,
36913 _swigt__p_wxTreeEvent
,
36914 _swigt__p_wxCommandEvent
,
36915 _swigt__p_wxStaticText
,
36916 _swigt__p_wxDatePickerCtrl
,
36917 _swigt__p_wxControlWithItems
,
36918 _swigt__p_wxToolBarToolBase
,
36919 _swigt__p_wxColour
,
36920 _swigt__p_wxToolBar
,
36921 _swigt__p_wxBookCtrlSizer
,
36922 _swigt__p_wxValidator
,
36927 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36929 static swig_const_info swig_const_table
[] = {
36930 {0, 0, 0, 0.0, 0, 0}};
36941 /* Python-specific SWIG API */
36942 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36943 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36944 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36946 /* -----------------------------------------------------------------------------
36947 * global variable support code.
36948 * ----------------------------------------------------------------------------- */
36950 typedef struct swig_globalvar
{
36951 char *name
; /* Name of global variable */
36952 PyObject
*(*get_attr
)(); /* Return the current value */
36953 int (*set_attr
)(PyObject
*); /* Set the value */
36954 struct swig_globalvar
*next
;
36957 typedef struct swig_varlinkobject
{
36959 swig_globalvar
*vars
;
36960 } swig_varlinkobject
;
36963 swig_varlink_repr(swig_varlinkobject
*v
) {
36965 return PyString_FromString("<Swig global variables>");
36969 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
36970 swig_globalvar
*var
;
36972 fprintf(fp
,"Swig global variables { ");
36973 for (var
= v
->vars
; var
; var
=var
->next
) {
36974 fprintf(fp
,"%s", var
->name
);
36975 if (var
->next
) fprintf(fp
,", ");
36977 fprintf(fp
," }\n");
36982 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36983 swig_globalvar
*var
= v
->vars
;
36985 if (strcmp(var
->name
,n
) == 0) {
36986 return (*var
->get_attr
)();
36990 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36995 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
36996 swig_globalvar
*var
= v
->vars
;
36998 if (strcmp(var
->name
,n
) == 0) {
36999 return (*var
->set_attr
)(p
);
37003 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37007 static PyTypeObject varlinktype
= {
37008 PyObject_HEAD_INIT(0)
37009 0, /* Number of items in variable part (ob_size) */
37010 (char *)"swigvarlink", /* Type name (tp_name) */
37011 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
37012 0, /* Itemsize (tp_itemsize) */
37013 0, /* Deallocator (tp_dealloc) */
37014 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
37015 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
37016 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
37017 0, /* tp_compare */
37018 (reprfunc
) swig_varlink_repr
, /* tp_repr */
37019 0, /* tp_as_number */
37020 0, /* tp_as_sequence */
37021 0, /* tp_as_mapping */
37025 0, /* tp_getattro */
37026 0, /* tp_setattro */
37027 0, /* tp_as_buffer */
37030 #if PY_VERSION_HEX >= 0x02000000
37031 0, /* tp_traverse */
37034 #if PY_VERSION_HEX >= 0x02010000
37035 0, /* tp_richcompare */
37036 0, /* tp_weaklistoffset */
37038 #if PY_VERSION_HEX >= 0x02020000
37039 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37041 #if PY_VERSION_HEX >= 0x02030000
37044 #ifdef COUNT_ALLOCS
37045 0,0,0,0 /* tp_alloc -> tp_next */
37049 /* Create a variable linking object for use later */
37051 SWIG_Python_newvarlink(void) {
37052 swig_varlinkobject
*result
= 0;
37053 result
= PyMem_NEW(swig_varlinkobject
,1);
37054 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
37055 result
->ob_type
= &varlinktype
;
37057 result
->ob_refcnt
= 0;
37058 Py_XINCREF((PyObject
*) result
);
37059 return ((PyObject
*) result
);
37063 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
37064 swig_varlinkobject
*v
;
37065 swig_globalvar
*gv
;
37066 v
= (swig_varlinkobject
*) p
;
37067 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
37068 gv
->name
= (char *) malloc(strlen(name
)+1);
37069 strcpy(gv
->name
,name
);
37070 gv
->get_attr
= get_attr
;
37071 gv
->set_attr
= set_attr
;
37072 gv
->next
= v
->vars
;
37076 /* -----------------------------------------------------------------------------
37077 * constants/methods manipulation
37078 * ----------------------------------------------------------------------------- */
37080 /* Install Constants */
37082 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
37085 for (i
= 0; constants
[i
].type
; i
++) {
37086 switch(constants
[i
].type
) {
37088 obj
= PyInt_FromLong(constants
[i
].lvalue
);
37090 case SWIG_PY_FLOAT
:
37091 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
37093 case SWIG_PY_STRING
:
37094 if (constants
[i
].pvalue
) {
37095 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
37097 Py_INCREF(Py_None
);
37101 case SWIG_PY_POINTER
:
37102 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37104 case SWIG_PY_BINARY
:
37105 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37112 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
37118 /* -----------------------------------------------------------------------------*/
37119 /* Fix SwigMethods to carry the callback ptrs when needed */
37120 /* -----------------------------------------------------------------------------*/
37123 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37124 swig_const_info
*const_table
,
37125 swig_type_info
**types
,
37126 swig_type_info
**types_initial
) {
37128 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37129 char *c
= methods
[i
].ml_doc
;
37130 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37132 swig_const_info
*ci
= 0;
37133 char *name
= c
+ 10;
37134 for (j
= 0; const_table
[j
].type
; j
++) {
37135 if (strncmp(const_table
[j
].name
, name
,
37136 strlen(const_table
[j
].name
)) == 0) {
37137 ci
= &(const_table
[j
]);
37142 size_t shift
= (ci
->ptype
) - types
;
37143 swig_type_info
*ty
= types_initial
[shift
];
37144 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37145 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37146 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37148 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
37149 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37151 strncpy(buff
, "swig_ptr: ", 10);
37153 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37154 methods
[i
].ml_doc
= ndoc
;
37160 /* -----------------------------------------------------------------------------*
37161 * Initialize type list
37162 * -----------------------------------------------------------------------------*/
37164 #if PY_MAJOR_VERSION < 2
37165 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37166 is copied out of Python/modsupport.c in python version 2.3.4 */
37168 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
37171 if (!PyModule_Check(m
)) {
37172 PyErr_SetString(PyExc_TypeError
,
37173 "PyModule_AddObject() needs module as first arg");
37177 PyErr_SetString(PyExc_TypeError
,
37178 "PyModule_AddObject() needs non-NULL value");
37182 dict
= PyModule_GetDict(m
);
37183 if (dict
== NULL
) {
37184 /* Internal error -- modules must have a dict! */
37185 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
37186 PyModule_GetName(m
));
37189 if (PyDict_SetItemString(dict
, name
, o
))
37196 static swig_type_info
**
37197 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
37198 static PyMethodDef swig_empty_runtime_method_table
[] = {
37200 NULL
, NULL
, 0, NULL
37204 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
37205 swig_empty_runtime_method_table
);
37206 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
37207 if (pointer
&& module) {
37208 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
37210 return type_list_handle
;
37213 static swig_type_info
**
37214 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
37215 swig_type_info
**type_pointer
;
37217 /* first check if module already created */
37218 type_pointer
= SWIG_Python_GetTypeListHandle();
37219 if (type_pointer
) {
37220 return type_pointer
;
37222 /* create a new module and variable */
37223 return SWIG_Python_SetTypeListHandle(type_list_handle
);
37231 /* -----------------------------------------------------------------------------*
37232 * Partial Init method
37233 * -----------------------------------------------------------------------------*/
37235 #ifdef SWIG_LINK_RUNTIME
37239 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37245 SWIGEXPORT(void) SWIG_init(void) {
37246 static PyObject
*SWIG_globals
= 0;
37247 static int typeinit
= 0;
37250 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
37252 /* Fix SwigMethods to carry the callback ptrs when needed */
37253 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
37255 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37256 d
= PyModule_GetDict(m
);
37259 #ifdef SWIG_LINK_RUNTIME
37260 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
37262 # ifndef SWIG_STATIC_RUNTIME
37263 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
37266 for (i
= 0; swig_types_initial
[i
]; i
++) {
37267 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
37271 SWIG_InstallConstants(d
,swig_const_table
);
37273 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
37274 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
37276 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT
)));
37279 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)(wxBU_TOP
)));
37282 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT
)));
37285 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM
)));
37288 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK
)));
37291 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT
)));
37294 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW
)));
37296 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
37298 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE
)));
37301 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE
)));
37304 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
37307 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED
)));
37310 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED
)));
37313 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED
)));
37315 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
37316 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
37317 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
37319 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL
)));
37322 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL
)));
37325 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH
)));
37328 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR
)));
37330 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
37331 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
37332 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
37333 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
37334 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
37336 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL
)));
37339 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL
)));
37342 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY
)));
37345 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE
)));
37348 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB
)));
37351 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT
)));
37354 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER
)));
37357 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT
)));
37360 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE
)));
37363 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)(wxTE_RICH
)));
37366 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER
)));
37369 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD
)));
37372 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL
)));
37375 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL
)));
37378 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP
)));
37381 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP
)));
37384 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP
)));
37387 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2
)));
37390 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT
)));
37393 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT
)));
37396 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE
)));
37399 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER
)));
37402 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT
)));
37405 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED
)));
37408 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR
)));
37411 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
37414 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE
)));
37417 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE
)));
37420 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT
)));
37423 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC
)));
37426 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE
)));
37429 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT
)));
37432 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT
)));
37435 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT
)));
37438 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT
)));
37441 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS
)));
37444 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN
)));
37447 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE
)));
37450 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT
)));
37453 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW
)));
37456 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND
)));
37459 PyDict_SetItemString(d
,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord
)));
37462 PyDict_SetItemString(d
,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord
)));
37464 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
37465 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
37466 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
37467 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
37468 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
37469 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
37470 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
37472 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL
)));
37475 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL
)));
37478 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS
)));
37481 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP
)));
37483 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
37484 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
37485 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
37486 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
37488 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL
)));
37491 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL
)));
37494 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS
)));
37497 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS
)));
37500 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT
)));
37503 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)(wxSL_TOP
)));
37506 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT
)));
37509 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM
)));
37512 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH
)));
37515 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE
)));
37518 PyDict_SetItemString(d
,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE
)));
37520 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
37521 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
37522 SWIG_addvarlink(SWIG_globals
,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get
, _wrap_NotebookNameStr_set
);
37524 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH
)));
37527 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)(wxNB_TOP
)));
37530 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT
)));
37533 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT
)));
37536 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM
)));
37539 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE
)));
37542 PyDict_SetItemString(d
,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME
)));
37545 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE
)));
37548 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON
)));
37551 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL
)));
37554 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM
)));
37556 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
37557 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
37559 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT
)));
37562 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)(wxLB_TOP
)));
37565 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM
)));
37568 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT
)));
37571 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT
)));
37574 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK
)));
37576 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
37577 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
37579 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT
)));
37582 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP
)));
37585 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM
)));
37588 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT
)));
37591 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT
)));
37594 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK
)));
37596 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
37597 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
37599 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON
)));
37602 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR
)));
37605 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL
)));
37608 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL
)));
37611 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL
)));
37614 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS
)));
37617 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT
)));
37620 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE
)));
37623 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS
)));
37626 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT
)));
37629 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER
)));
37632 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN
)));
37635 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT
)));
37638 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT
)));
37640 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
37642 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES
)));
37645 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES
)));
37648 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)(wxLC_ICON
)));
37651 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON
)));
37654 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)(wxLC_LIST
)));
37657 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT
)));
37660 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP
)));
37663 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT
)));
37666 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE
)));
37669 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL
)));
37672 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS
)));
37675 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER
)));
37678 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER
)));
37681 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL
)));
37684 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING
)));
37687 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING
)));
37690 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE
)));
37693 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN
)));
37696 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT
)));
37699 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE
)));
37702 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT
)));
37705 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE
)));
37708 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA
)));
37711 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM
)));
37714 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH
)));
37717 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT
)));
37720 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE
)));
37723 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED
)));
37726 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED
)));
37729 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED
)));
37732 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT
)));
37735 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED
)));
37738 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED
)));
37741 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE
)));
37744 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED
)));
37747 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE
)));
37750 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE
)));
37753 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW
)));
37756 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE
)));
37759 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON
)));
37762 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL
)));
37765 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT
)));
37768 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON
)));
37771 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT
)));
37774 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT
)));
37777 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM
)));
37780 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE
)));
37783 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL
)));
37786 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW
)));
37789 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT
)));
37792 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT
)));
37795 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT
)));
37798 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT
)));
37801 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP
)));
37804 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID
)));
37807 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT
)));
37810 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT
)));
37813 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE
)));
37816 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER
)));
37819 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE
)));
37822 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER
)));
37825 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS
)));
37828 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON
)));
37831 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL
)));
37834 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP
)));
37837 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN
)));
37840 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT
)));
37843 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT
)));
37845 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
37846 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
37847 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
37848 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
37849 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
37850 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
37851 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
37852 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
37853 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
37854 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
37855 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
37856 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
37857 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
37858 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
37859 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
37860 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
37861 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
37862 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
37863 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
37864 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
37865 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
37866 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
37868 // Map renamed classes back to their common name for OOR
37869 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37871 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
37873 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS
)));
37876 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS
)));
37879 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES
)));
37882 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT
)));
37885 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE
)));
37888 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE
)));
37891 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED
)));
37894 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
37897 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS
)));
37900 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT
)));
37903 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES
)));
37906 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT
)));
37909 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE
)));
37912 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS
)));
37915 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS
)));
37918 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS
)));
37921 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal
)));
37924 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected
)));
37927 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded
)));
37930 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded
)));
37933 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max
)));
37936 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE
)));
37939 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW
)));
37942 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE
)));
37945 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON
)));
37948 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON
)));
37951 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT
)));
37954 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL
)));
37957 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT
)));
37960 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON
)));
37963 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT
)));
37966 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT
)));
37969 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART
)));
37972 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART
)));
37975 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM
)));
37977 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
37978 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
37979 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
37980 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
37981 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
37982 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
37983 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
37984 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
37985 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
37986 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
37987 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
37988 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
37989 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
37990 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
37991 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
37992 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
37993 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
37994 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
37995 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
37996 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
37997 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
37999 // Map renamed classes back to their common name for OOR
38000 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38001 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38003 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
38005 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY
)));
38008 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST
)));
38011 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS
)));
38014 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL
)));
38017 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS
)));
38020 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP
)));
38023 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP
)));
38025 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
38026 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
38028 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38030 SWIG_addvarlink(SWIG_globals
,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get
, _wrap_DatePickerCtrlNameStr_set
);
38032 PyDict_SetItemString(d
,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT
)));
38035 PyDict_SetItemString(d
,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN
)));
38038 PyDict_SetItemString(d
,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN
)));
38041 PyDict_SetItemString(d
,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY
)));
38044 PyDict_SetItemString(d
,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE
)));