1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1343 #define SWIGTYPE_p_wxSizer swig_types[1]
1344 #define SWIGTYPE_p_wxCheckBox swig_types[2]
1345 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
1346 #define SWIGTYPE_p_wxEvent swig_types[4]
1347 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
1348 #define SWIGTYPE_p_bool swig_types[6]
1349 #define SWIGTYPE_p_wxItemContainer swig_types[7]
1350 #define SWIGTYPE_p_wxPyListCtrl swig_types[8]
1351 #define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
1352 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
1353 #define SWIGTYPE_p_wxStaticLine swig_types[11]
1354 #define SWIGTYPE_p_wxControl swig_types[12]
1355 #define SWIGTYPE_p_wxPyControl swig_types[13]
1356 #define SWIGTYPE_p_wxGauge swig_types[14]
1357 #define SWIGTYPE_p_wxToolBarBase swig_types[15]
1358 #define SWIGTYPE_p_wxFont swig_types[16]
1359 #define SWIGTYPE_p_wxToggleButton swig_types[17]
1360 #define SWIGTYPE_p_wxRadioButton swig_types[18]
1361 #define SWIGTYPE_p_wxChoice swig_types[19]
1362 #define SWIGTYPE_p_wxMemoryDC swig_types[20]
1363 #define SWIGTYPE_ptrdiff_t swig_types[21]
1364 #define SWIGTYPE_std__ptrdiff_t swig_types[22]
1365 #define SWIGTYPE_p_wxListItemAttr swig_types[23]
1366 #define SWIGTYPE_p_void swig_types[24]
1367 #define SWIGTYPE_p_int swig_types[25]
1368 #define SWIGTYPE_p_wxSize swig_types[26]
1369 #define SWIGTYPE_p_wxDC swig_types[27]
1370 #define SWIGTYPE_p_wxListView swig_types[28]
1371 #define SWIGTYPE_p_wxIcon swig_types[29]
1372 #define SWIGTYPE_p_wxVisualAttributes swig_types[30]
1373 #define SWIGTYPE_p_wxTextCtrl swig_types[31]
1374 #define SWIGTYPE_p_wxNotebook swig_types[32]
1375 #define SWIGTYPE_p_wxChoicebook swig_types[33]
1376 #define SWIGTYPE_p_wxNotifyEvent swig_types[34]
1377 #define SWIGTYPE_p_wxArrayString swig_types[35]
1378 #define SWIGTYPE_p_form_ops_t swig_types[36]
1379 #define SWIGTYPE_p_wxListbook swig_types[37]
1380 #define SWIGTYPE_p_wxStaticBitmap swig_types[38]
1381 #define SWIGTYPE_p_wxSlider swig_types[39]
1382 #define SWIGTYPE_p_wxStaticBox swig_types[40]
1383 #define SWIGTYPE_p_wxArrayInt swig_types[41]
1384 #define SWIGTYPE_p_wxContextHelp swig_types[42]
1385 #define SWIGTYPE_p_long swig_types[43]
1386 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
1387 #define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
1388 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
1389 #define SWIGTYPE_p_wxListEvent swig_types[47]
1390 #define SWIGTYPE_p_wxCheckListBox swig_types[48]
1391 #define SWIGTYPE_p_wxListBox swig_types[49]
1392 #define SWIGTYPE_p_wxSpinButton swig_types[50]
1393 #define SWIGTYPE_p_wxButton swig_types[51]
1394 #define SWIGTYPE_p_wxBitmapButton swig_types[52]
1395 #define SWIGTYPE_p_wxRect swig_types[53]
1396 #define SWIGTYPE_p_wxContextHelpButton swig_types[54]
1397 #define SWIGTYPE_p_wxRadioBox swig_types[55]
1398 #define SWIGTYPE_p_wxScrollBar swig_types[56]
1399 #define SWIGTYPE_p_char swig_types[57]
1400 #define SWIGTYPE_p_wxComboBox swig_types[58]
1401 #define SWIGTYPE_p_wxTreeItemId swig_types[59]
1402 #define SWIGTYPE_p_wxHelpEvent swig_types[60]
1403 #define SWIGTYPE_p_wxListItem swig_types[61]
1404 #define SWIGTYPE_p_wxNotebookSizer swig_types[62]
1405 #define SWIGTYPE_p_wxSpinEvent swig_types[63]
1406 #define SWIGTYPE_p_wxGenericDragImage swig_types[64]
1407 #define SWIGTYPE_p_wxSpinCtrl swig_types[65]
1408 #define SWIGTYPE_p_wxPaperSize swig_types[66]
1409 #define SWIGTYPE_p_wxImageList swig_types[67]
1410 #define SWIGTYPE_p_wxHelpProvider swig_types[68]
1411 #define SWIGTYPE_p_wxTextAttr swig_types[69]
1412 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
1413 #define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
1414 #define SWIGTYPE_p_wxListbookEvent swig_types[72]
1415 #define SWIGTYPE_p_wxNotebookEvent swig_types[73]
1416 #define SWIGTYPE_p_wxPoint swig_types[74]
1417 #define SWIGTYPE_p_wxObject swig_types[75]
1418 #define SWIGTYPE_p_wxCursor swig_types[76]
1419 #define SWIGTYPE_p_wxDateTime swig_types[77]
1420 #define SWIGTYPE_p_wxKeyEvent swig_types[78]
1421 #define SWIGTYPE_p_unsigned_long swig_types[79]
1422 #define SWIGTYPE_p_wxWindow swig_types[80]
1423 #define SWIGTYPE_p_wxString swig_types[81]
1424 #define SWIGTYPE_p_wxBitmap swig_types[82]
1425 #define SWIGTYPE_unsigned_int swig_types[83]
1426 #define SWIGTYPE_p_unsigned_int swig_types[84]
1427 #define SWIGTYPE_p_unsigned_char swig_types[85]
1428 #define SWIGTYPE_p_wxMouseEvent swig_types[86]
1429 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[87]
1430 #define SWIGTYPE_p_wxTreeEvent swig_types[88]
1431 #define SWIGTYPE_p_wxCommandEvent swig_types[89]
1432 #define SWIGTYPE_p_wxStaticText swig_types[90]
1433 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[91]
1434 #define SWIGTYPE_p_wxControlWithItems swig_types[92]
1435 #define SWIGTYPE_p_wxToolBarToolBase swig_types[93]
1436 #define SWIGTYPE_p_wxColour swig_types[94]
1437 #define SWIGTYPE_p_wxToolBar swig_types[95]
1438 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[96]
1439 #define SWIGTYPE_p_wxValidator swig_types[97]
1440 static swig_type_info
*swig_types
[99];
1442 /* -------- TYPES TABLE (END) -------- */
1445 /*-----------------------------------------------
1446 @(target):= _controls_.so
1447 ------------------------------------------------*/
1448 #define SWIG_init init_controls_
1450 #define SWIG_name "_controls_"
1452 #include "wx/wxPython/wxPython.h"
1453 #include "wx/wxPython/pyclasses.h"
1455 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1456 static const wxString
wxPyEmptyString(wxEmptyString
);
1457 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1459 const wxArrayString wxPyEmptyStringArray
;
1461 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
1463 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1464 #define SWIG_From_int PyInt_FromLong
1472 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1475 if (value
< min_value
) {
1477 PyErr_Format(PyExc_OverflowError
,
1478 "value %ld is less than '%s' minimum %ld",
1479 value
, errmsg
, min_value
);
1482 } else if (value
> max_value
) {
1484 PyErr_Format(PyExc_OverflowError
,
1485 "value %ld is greater than '%s' maximum %ld",
1486 value
, errmsg
, max_value
);
1495 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1497 if (PyNumber_Check(obj
)) {
1498 if (val
) *val
= PyInt_AsLong(obj
);
1502 SWIG_type_error("number", obj
);
1508 #if INT_MAX != LONG_MAX
1510 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1512 const char* errmsg
= val
? "int" : (char*)0;
1514 if (SWIG_AsVal_long(obj
, &v
)) {
1515 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1516 if (val
) *val
= (int)(v
);
1525 SWIG_type_error(errmsg
, obj
);
1531 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1533 return SWIG_AsVal_long(obj
,(long*)val
);
1539 SWIG_As_int(PyObject
* obj
)
1542 if (!SWIG_AsVal_int(obj
, &v
)) {
1544 this is needed to make valgrind/purify happier.
1546 memset((void*)&v
, 0, sizeof(int));
1552 SWIGINTERNSHORT
long
1553 SWIG_As_long(PyObject
* obj
)
1556 if (!SWIG_AsVal_long(obj
, &v
)) {
1558 this is needed to make valgrind/purify happier.
1560 memset((void*)&v
, 0, sizeof(long));
1567 SWIG_Check_int(PyObject
* obj
)
1569 return SWIG_AsVal_int(obj
, (int*)0);
1574 SWIG_Check_long(PyObject
* obj
)
1576 return SWIG_AsVal_long(obj
, (long*)0);
1579 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
1582 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1584 if (obj
== Py_True
) {
1585 if (val
) *val
= true;
1588 if (obj
== Py_False
) {
1589 if (val
) *val
= false;
1593 if (SWIG_AsVal_int(obj
, &res
)) {
1594 if (val
) *val
= res
? true : false;
1600 SWIG_type_error("bool", obj
);
1606 SWIGINTERNSHORT
bool
1607 SWIG_As_bool(PyObject
* obj
)
1610 if (!SWIG_AsVal_bool(obj
, &v
)) {
1612 this is needed to make valgrind/purify happier.
1614 memset((void*)&v
, 0, sizeof(bool));
1621 SWIG_Check_bool(PyObject
* obj
)
1623 return SWIG_AsVal_bool(obj
, (bool*)0);
1626 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
1627 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
1629 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1630 #define SWIG_From_long PyInt_FromLong
1634 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1640 } else if (target
== Py_None
) {
1644 if (!PyTuple_Check(target
)) {
1646 target
= PyTuple_New(1);
1647 PyTuple_SetItem(target
, 0, o2
);
1649 o3
= PyTuple_New(1);
1650 PyTuple_SetItem(o3
, 0, o
);
1653 target
= PySequence_Concat(o2
, o3
);
1661 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
1662 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
1663 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
1664 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
1666 #include <wx/checklst.h>
1669 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
1670 static void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
1672 wxPyClientData
* data
= new wxPyClientData(clientData
);
1673 self
->Insert(item
, pos
, data
);
1675 self
->Insert(item
, pos
);
1677 static PyObject
*wxListBox_GetSelections(wxListBox
*self
){
1679 self
->GetSelections(lst
);
1680 PyObject
*tup
= PyTuple_New(lst
.GetCount());
1681 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
1682 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
1686 static void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1688 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1689 self
->GetItem(item
)->SetTextColour(c
);
1692 static void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1694 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1695 self
->GetItem(item
)->SetBackgroundColour(c
);
1698 static void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
1700 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1701 self
->GetItem(item
)->SetFont(f
);
1704 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
1707 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1710 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1711 SWIG_type_error("unsigned number", obj
);
1714 *val
= (unsigned long)v
;
1719 SWIGINTERNSHORT
unsigned long
1720 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1723 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1725 this is needed to make valgrind/purify happier.
1727 memset((void*)&v
, 0, sizeof(unsigned long));
1734 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1736 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1739 static void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
1740 self
->AppendText(text
);
1742 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
1743 return self
->GetValue().Mid(from
, to
- from
);
1745 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
1746 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
1747 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1748 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
1749 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
1750 static int wxRadioBox_GetColumnCount(wxRadioBox
const *self
){ return -1; }
1751 static int wxRadioBox_GetRowCount(wxRadioBox
const *self
){ return -1; }
1752 static int wxRadioBox_GetNextItem(wxRadioBox
const *self
,int item
,wxDirection dir
,long style
){ return -1; }
1754 #include <wx/slider.h>
1757 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
1758 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
1760 #if !wxUSE_TOGGLEBTN
1761 // implement dummy items for platforms that don't have this class
1763 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1765 class wxToggleButton
: public wxControl
1768 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
1769 const wxPoint
&, const wxSize
&, long,
1770 const wxValidator
&, const wxString
&)
1771 { wxPyRaiseNotImplemented(); }
1774 { wxPyRaiseNotImplemented(); }
1778 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
1780 SWIGINTERNSHORT PyObject
*
1781 SWIG_From_unsigned_SS_long(unsigned long value
)
1783 return (value
> LONG_MAX
) ?
1784 PyLong_FromUnsignedLong(value
)
1785 : PyInt_FromLong((long)(value
));
1788 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1789 static PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
1790 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
1792 Py_INCREF(udata
->m_obj
);
1793 return udata
->m_obj
;
1799 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
1800 self
->SetClientData(new wxPyUserData(clientData
));
1802 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
){
1803 wxPyUserData
* udata
= NULL
;
1804 if (clientData
&& clientData
!= Py_None
)
1805 udata
= new wxPyUserData(clientData
);
1806 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
1807 shortHelp
, longHelp
, udata
);
1809 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
){
1810 wxPyUserData
* udata
= NULL
;
1811 if (clientData
&& clientData
!= Py_None
)
1812 udata
= new wxPyUserData(clientData
);
1813 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
1814 shortHelp
, longHelp
, udata
);
1816 static PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
1817 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
1819 Py_INCREF(udata
->m_obj
);
1820 return udata
->m_obj
;
1826 static void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
1827 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
1830 #include <wx/listctrl.h>
1832 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
1833 static void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
1834 // Python aware sorting function for wxPyListCtrl
1835 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
1837 PyObject
* func
= (PyObject
*)funcPtr
;
1838 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1840 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
1841 PyObject
* result
= PyEval_CallObject(func
, args
);
1844 retval
= PyInt_AsLong(result
);
1848 wxPyEndBlockThreads(blocked
);
1852 // C++ Version of a Python aware class
1853 class wxPyListCtrl
: public wxListCtrl
{
1854 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
1856 wxPyListCtrl() : wxListCtrl() {}
1857 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
1861 const wxValidator
& validator
,
1862 const wxString
& name
) :
1863 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1865 bool Create(wxWindow
* parent
, wxWindowID id
,
1869 const wxValidator
& validator
,
1870 const wxString
& name
) {
1871 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1874 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
1875 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
1877 // use the virtual version to avoid a confusing assert in the base class
1878 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
1883 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
1885 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
1886 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
1887 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
1890 static wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
1892 item
.SetMask( wxLIST_MASK_STATE
|
1900 if (self
->GetColumn(col
, item
))
1901 return new wxListItem(item
);
1905 static wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
1906 wxListItem
* info
= new wxListItem
;
1907 info
->m_itemId
= itemId
;
1909 info
->m_mask
= 0xFFFF;
1910 self
->GetItem(*info
);
1913 static wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
1915 self
->GetItemPosition(item
, pos
);
1918 static wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
1920 self
->GetItemRect(item
, rect
, code
);
1924 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
1925 if (!PyCallable_Check(func
))
1927 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
1929 static wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
1933 return (wxWindow
*)self
->m_mainWin
;
1937 #include <wx/treectrl.h>
1938 #include "wx/wxPython/pytree.h"
1940 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1941 static bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
1942 static bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
1943 static void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
1944 // C++ version of Python aware wxTreeCtrl
1945 class wxPyTreeCtrl
: public wxTreeCtrl
{
1946 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
1948 wxPyTreeCtrl() : wxTreeCtrl() {}
1949 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
1953 const wxValidator
& validator
,
1954 const wxString
& name
) :
1955 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1957 bool Create(wxWindow
*parent
, wxWindowID id
,
1961 const wxValidator
& validator
,
1962 const wxString
& name
) {
1963 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1967 int OnCompareItems(const wxTreeItemId
& item1
,
1968 const wxTreeItemId
& item2
) {
1971 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1972 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
1973 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
1974 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
1975 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
1979 wxPyEndBlockThreads(blocked
);
1981 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
1987 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
1991 #if UINT_MAX < LONG_MAX
1992 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1993 #define SWIG_From_unsigned_SS_int SWIG_From_long
1996 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1997 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2003 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2004 unsigned long max_value
,
2007 if (value
> max_value
) {
2009 PyErr_Format(PyExc_OverflowError
,
2010 "value %lu is greater than '%s' minimum %lu",
2011 value
, errmsg
, max_value
);
2019 #if UINT_MAX != ULONG_MAX
2021 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2023 const char* errmsg
= val
? "unsigned int" : (char*)0;
2025 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2026 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2027 if (val
) *val
= (unsigned int)(v
);
2034 SWIG_type_error(errmsg
, obj
);
2039 SWIGINTERNSHORT
unsigned int
2040 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2042 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2047 SWIGINTERNSHORT
unsigned int
2048 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2051 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2053 this is needed to make valgrind/purify happier.
2055 memset((void*)&v
, 0, sizeof(unsigned int));
2062 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2064 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2067 static wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2068 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2070 data
= new wxPyTreeItemData();
2071 data
->SetId(item
); // set the id
2072 self
->SetItemData(item
, data
);
2076 static PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2077 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2079 data
= new wxPyTreeItemData();
2080 data
->SetId(item
); // set the id
2081 self
->SetItemData(item
, data
);
2083 return data
->GetData();
2085 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
2086 data
->SetId(item
); // set the id
2087 self
->SetItemData(item
, data
);
2089 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
2090 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2092 data
= new wxPyTreeItemData(obj
);
2093 data
->SetId(item
); // set the id
2094 self
->SetItemData(item
, data
);
2098 static PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
2099 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2100 PyObject
* rval
= PyList_New(0);
2101 wxArrayTreeItemIds array
;
2103 num
= self
->GetSelections(array
);
2104 for (x
=0; x
< num
; x
++) {
2105 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
2106 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
2107 PyList_Append(rval
, item
);
2110 wxPyEndBlockThreads(blocked
);
2113 static PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2115 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
2116 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2117 PyObject
* tup
= PyTuple_New(2);
2118 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2119 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2120 wxPyEndBlockThreads(blocked
);
2123 static PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
2124 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
2125 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2126 PyObject
* tup
= PyTuple_New(2);
2127 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2128 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2129 wxPyEndBlockThreads(blocked
);
2132 static PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
2134 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
2135 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2136 wxRect
* r
= new wxRect(rect
);
2137 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
2138 wxPyEndBlockThreads(blocked
);
2144 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
2146 SWIGINTERNSHORT PyObject
*
2147 SWIG_From_bool(bool value
)
2149 PyObject
*obj
= value
? Py_True
: Py_False
;
2155 // C++ version of Python aware wxControl
2156 class wxPyControl
: public wxControl
2158 DECLARE_DYNAMIC_CLASS(wxPyControl
)
2160 wxPyControl() : wxControl() {}
2161 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
2162 const wxPoint
& pos
= wxDefaultPosition
,
2163 const wxSize
& size
= wxDefaultSize
,
2165 const wxValidator
& validator
=wxDefaultValidator
,
2166 const wxString
& name
= wxPyControlNameStr
)
2167 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2169 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
2171 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2172 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2173 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2174 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2176 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2177 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2178 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2180 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2181 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2183 DEC_PYCALLBACK__(InitDialog
);
2184 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2185 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2186 DEC_PYCALLBACK_BOOL_(Validate
);
2188 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2189 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2190 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2192 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2193 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2195 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
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_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
2232 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
2236 static void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
2238 #include <wx/generic/dragimgg.h>
2240 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
2241 static wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
2243 self
->GetRange(&rv
, NULL
);
2246 static wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
2248 self
->GetRange(NULL
, &rv
);
2254 static int _wrap_ButtonNameStr_set(PyObject
*) {
2255 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
2260 static PyObject
*_wrap_ButtonNameStr_get(void) {
2265 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2267 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2274 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2275 PyObject
*resultobj
;
2276 wxWindow
*arg1
= (wxWindow
*) 0 ;
2277 int arg2
= (int) -1 ;
2278 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2279 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2280 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2281 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2282 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2283 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2284 long arg6
= (long) 0 ;
2285 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2286 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2287 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2288 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2290 bool temp3
= false ;
2293 bool temp8
= false ;
2294 PyObject
* obj0
= 0 ;
2295 PyObject
* obj1
= 0 ;
2296 PyObject
* obj2
= 0 ;
2297 PyObject
* obj3
= 0 ;
2298 PyObject
* obj4
= 0 ;
2299 PyObject
* obj5
= 0 ;
2300 PyObject
* obj6
= 0 ;
2301 PyObject
* obj7
= 0 ;
2303 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2308 if (SWIG_arg_fail(1)) SWIG_fail
;
2311 arg2
= (int)(SWIG_As_int(obj1
));
2312 if (SWIG_arg_fail(2)) SWIG_fail
;
2317 arg3
= wxString_in_helper(obj2
);
2318 if (arg3
== NULL
) SWIG_fail
;
2325 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2331 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2336 arg6
= (long)(SWIG_As_long(obj5
));
2337 if (SWIG_arg_fail(6)) SWIG_fail
;
2342 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2343 if (SWIG_arg_fail(7)) SWIG_fail
;
2345 SWIG_null_ref("wxValidator");
2347 if (SWIG_arg_fail(7)) SWIG_fail
;
2352 arg8
= wxString_in_helper(obj7
);
2353 if (arg8
== NULL
) SWIG_fail
;
2358 if (!wxPyCheckForApp()) SWIG_fail
;
2359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2360 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2362 wxPyEndAllowThreads(__tstate
);
2363 if (PyErr_Occurred()) SWIG_fail
;
2365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2388 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2389 PyObject
*resultobj
;
2395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
2397 if (!wxPyCheckForApp()) SWIG_fail
;
2398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2399 result
= (wxButton
*)new wxButton();
2401 wxPyEndAllowThreads(__tstate
);
2402 if (PyErr_Occurred()) SWIG_fail
;
2404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2411 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2412 PyObject
*resultobj
;
2413 wxButton
*arg1
= (wxButton
*) 0 ;
2414 wxWindow
*arg2
= (wxWindow
*) 0 ;
2415 int arg3
= (int) -1 ;
2416 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2417 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2418 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2419 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2420 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2421 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2422 long arg7
= (long) 0 ;
2423 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2424 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2425 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2426 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2428 bool temp4
= false ;
2431 bool temp9
= false ;
2432 PyObject
* obj0
= 0 ;
2433 PyObject
* obj1
= 0 ;
2434 PyObject
* obj2
= 0 ;
2435 PyObject
* obj3
= 0 ;
2436 PyObject
* obj4
= 0 ;
2437 PyObject
* obj5
= 0 ;
2438 PyObject
* obj6
= 0 ;
2439 PyObject
* obj7
= 0 ;
2440 PyObject
* obj8
= 0 ;
2442 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2447 if (SWIG_arg_fail(1)) SWIG_fail
;
2448 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2449 if (SWIG_arg_fail(2)) SWIG_fail
;
2452 arg3
= (int)(SWIG_As_int(obj2
));
2453 if (SWIG_arg_fail(3)) SWIG_fail
;
2458 arg4
= wxString_in_helper(obj3
);
2459 if (arg4
== NULL
) SWIG_fail
;
2466 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2472 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2477 arg7
= (long)(SWIG_As_long(obj6
));
2478 if (SWIG_arg_fail(7)) SWIG_fail
;
2483 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2484 if (SWIG_arg_fail(8)) SWIG_fail
;
2486 SWIG_null_ref("wxValidator");
2488 if (SWIG_arg_fail(8)) SWIG_fail
;
2493 arg9
= wxString_in_helper(obj8
);
2494 if (arg9
== NULL
) SWIG_fail
;
2499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2500 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2502 wxPyEndAllowThreads(__tstate
);
2503 if (PyErr_Occurred()) SWIG_fail
;
2506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2530 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2531 PyObject
*resultobj
;
2532 wxButton
*arg1
= (wxButton
*) 0 ;
2533 PyObject
* obj0
= 0 ;
2535 (char *) "self", NULL
2538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
2539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2540 if (SWIG_arg_fail(1)) SWIG_fail
;
2542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2543 (arg1
)->SetDefault();
2545 wxPyEndAllowThreads(__tstate
);
2546 if (PyErr_Occurred()) SWIG_fail
;
2548 Py_INCREF(Py_None
); resultobj
= Py_None
;
2555 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2556 PyObject
*resultobj
;
2562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
2564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2565 result
= wxButton::GetDefaultSize();
2567 wxPyEndAllowThreads(__tstate
);
2568 if (PyErr_Occurred()) SWIG_fail
;
2572 resultptr
= new wxSize((wxSize
&)(result
));
2573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2581 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2582 PyObject
*resultobj
;
2583 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2584 wxVisualAttributes result
;
2585 PyObject
* obj0
= 0 ;
2587 (char *) "variant", NULL
2590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2593 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2594 if (SWIG_arg_fail(1)) SWIG_fail
;
2598 if (!wxPyCheckForApp()) SWIG_fail
;
2599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2600 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2602 wxPyEndAllowThreads(__tstate
);
2603 if (PyErr_Occurred()) SWIG_fail
;
2606 wxVisualAttributes
* resultptr
;
2607 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2616 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
2618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2619 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
2621 return Py_BuildValue((char *)"");
2623 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2624 PyObject
*resultobj
;
2625 wxWindow
*arg1
= (wxWindow
*) 0 ;
2626 int arg2
= (int) -1 ;
2627 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
2628 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
2629 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2630 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2631 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2632 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2633 long arg6
= (long) wxBU_AUTODRAW
;
2634 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2635 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2636 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2637 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2638 wxBitmapButton
*result
;
2641 bool temp8
= false ;
2642 PyObject
* obj0
= 0 ;
2643 PyObject
* obj1
= 0 ;
2644 PyObject
* obj2
= 0 ;
2645 PyObject
* obj3
= 0 ;
2646 PyObject
* obj4
= 0 ;
2647 PyObject
* obj5
= 0 ;
2648 PyObject
* obj6
= 0 ;
2649 PyObject
* obj7
= 0 ;
2651 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2656 if (SWIG_arg_fail(1)) SWIG_fail
;
2659 arg2
= (int)(SWIG_As_int(obj1
));
2660 if (SWIG_arg_fail(2)) SWIG_fail
;
2665 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2666 if (SWIG_arg_fail(3)) SWIG_fail
;
2668 SWIG_null_ref("wxBitmap");
2670 if (SWIG_arg_fail(3)) SWIG_fail
;
2676 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2682 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2687 arg6
= (long)(SWIG_As_long(obj5
));
2688 if (SWIG_arg_fail(6)) SWIG_fail
;
2693 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2694 if (SWIG_arg_fail(7)) SWIG_fail
;
2696 SWIG_null_ref("wxValidator");
2698 if (SWIG_arg_fail(7)) SWIG_fail
;
2703 arg8
= wxString_in_helper(obj7
);
2704 if (arg8
== NULL
) SWIG_fail
;
2709 if (!wxPyCheckForApp()) SWIG_fail
;
2710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2711 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2713 wxPyEndAllowThreads(__tstate
);
2714 if (PyErr_Occurred()) SWIG_fail
;
2716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2731 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2732 PyObject
*resultobj
;
2733 wxBitmapButton
*result
;
2738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
2740 if (!wxPyCheckForApp()) SWIG_fail
;
2741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2742 result
= (wxBitmapButton
*)new wxBitmapButton();
2744 wxPyEndAllowThreads(__tstate
);
2745 if (PyErr_Occurred()) SWIG_fail
;
2747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2754 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2755 PyObject
*resultobj
;
2756 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2757 wxWindow
*arg2
= (wxWindow
*) 0 ;
2758 int arg3
= (int) -1 ;
2759 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
2760 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
2761 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2762 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2763 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2764 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2765 long arg7
= (long) wxBU_AUTODRAW
;
2766 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2767 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2768 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2769 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2773 bool temp9
= false ;
2774 PyObject
* obj0
= 0 ;
2775 PyObject
* obj1
= 0 ;
2776 PyObject
* obj2
= 0 ;
2777 PyObject
* obj3
= 0 ;
2778 PyObject
* obj4
= 0 ;
2779 PyObject
* obj5
= 0 ;
2780 PyObject
* obj6
= 0 ;
2781 PyObject
* obj7
= 0 ;
2782 PyObject
* obj8
= 0 ;
2784 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2789 if (SWIG_arg_fail(1)) SWIG_fail
;
2790 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2791 if (SWIG_arg_fail(2)) SWIG_fail
;
2794 arg3
= (int)(SWIG_As_int(obj2
));
2795 if (SWIG_arg_fail(3)) SWIG_fail
;
2800 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2801 if (SWIG_arg_fail(4)) SWIG_fail
;
2803 SWIG_null_ref("wxBitmap");
2805 if (SWIG_arg_fail(4)) SWIG_fail
;
2811 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2817 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2822 arg7
= (long)(SWIG_As_long(obj6
));
2823 if (SWIG_arg_fail(7)) SWIG_fail
;
2828 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2829 if (SWIG_arg_fail(8)) SWIG_fail
;
2831 SWIG_null_ref("wxValidator");
2833 if (SWIG_arg_fail(8)) SWIG_fail
;
2838 arg9
= wxString_in_helper(obj8
);
2839 if (arg9
== NULL
) SWIG_fail
;
2844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2845 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2847 wxPyEndAllowThreads(__tstate
);
2848 if (PyErr_Occurred()) SWIG_fail
;
2851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2867 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2868 PyObject
*resultobj
;
2869 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2871 PyObject
* obj0
= 0 ;
2873 (char *) "self", NULL
2876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
2877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2878 if (SWIG_arg_fail(1)) SWIG_fail
;
2880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2881 result
= (arg1
)->GetBitmapLabel();
2883 wxPyEndAllowThreads(__tstate
);
2884 if (PyErr_Occurred()) SWIG_fail
;
2887 wxBitmap
* resultptr
;
2888 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2889 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2897 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2898 PyObject
*resultobj
;
2899 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2901 PyObject
* obj0
= 0 ;
2903 (char *) "self", NULL
2906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
2907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2908 if (SWIG_arg_fail(1)) SWIG_fail
;
2910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2911 result
= (arg1
)->GetBitmapDisabled();
2913 wxPyEndAllowThreads(__tstate
);
2914 if (PyErr_Occurred()) SWIG_fail
;
2917 wxBitmap
* resultptr
;
2918 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2919 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2927 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2928 PyObject
*resultobj
;
2929 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2931 PyObject
* obj0
= 0 ;
2933 (char *) "self", NULL
2936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
2937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2938 if (SWIG_arg_fail(1)) SWIG_fail
;
2940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2941 result
= (arg1
)->GetBitmapFocus();
2943 wxPyEndAllowThreads(__tstate
);
2944 if (PyErr_Occurred()) SWIG_fail
;
2947 wxBitmap
* resultptr
;
2948 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2949 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2957 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2958 PyObject
*resultobj
;
2959 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2961 PyObject
* obj0
= 0 ;
2963 (char *) "self", NULL
2966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
2967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2968 if (SWIG_arg_fail(1)) SWIG_fail
;
2970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2971 result
= (arg1
)->GetBitmapSelected();
2973 wxPyEndAllowThreads(__tstate
);
2974 if (PyErr_Occurred()) SWIG_fail
;
2977 wxBitmap
* resultptr
;
2978 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2979 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2987 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2988 PyObject
*resultobj
;
2989 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2990 wxBitmap
*arg2
= 0 ;
2991 PyObject
* obj0
= 0 ;
2992 PyObject
* obj1
= 0 ;
2994 (char *) "self",(char *) "bitmap", NULL
2997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
2998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2999 if (SWIG_arg_fail(1)) SWIG_fail
;
3001 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3002 if (SWIG_arg_fail(2)) SWIG_fail
;
3004 SWIG_null_ref("wxBitmap");
3006 if (SWIG_arg_fail(2)) SWIG_fail
;
3009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3010 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
3012 wxPyEndAllowThreads(__tstate
);
3013 if (PyErr_Occurred()) SWIG_fail
;
3015 Py_INCREF(Py_None
); resultobj
= Py_None
;
3022 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3023 PyObject
*resultobj
;
3024 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3025 wxBitmap
*arg2
= 0 ;
3026 PyObject
* obj0
= 0 ;
3027 PyObject
* obj1
= 0 ;
3029 (char *) "self",(char *) "bitmap", NULL
3032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
3033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3034 if (SWIG_arg_fail(1)) SWIG_fail
;
3036 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3037 if (SWIG_arg_fail(2)) SWIG_fail
;
3039 SWIG_null_ref("wxBitmap");
3041 if (SWIG_arg_fail(2)) SWIG_fail
;
3044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3045 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
3047 wxPyEndAllowThreads(__tstate
);
3048 if (PyErr_Occurred()) SWIG_fail
;
3050 Py_INCREF(Py_None
); resultobj
= Py_None
;
3057 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3058 PyObject
*resultobj
;
3059 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3060 wxBitmap
*arg2
= 0 ;
3061 PyObject
* obj0
= 0 ;
3062 PyObject
* obj1
= 0 ;
3064 (char *) "self",(char *) "bitmap", NULL
3067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
3068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3069 if (SWIG_arg_fail(1)) SWIG_fail
;
3071 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3072 if (SWIG_arg_fail(2)) SWIG_fail
;
3074 SWIG_null_ref("wxBitmap");
3076 if (SWIG_arg_fail(2)) SWIG_fail
;
3079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3080 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
3082 wxPyEndAllowThreads(__tstate
);
3083 if (PyErr_Occurred()) SWIG_fail
;
3085 Py_INCREF(Py_None
); resultobj
= Py_None
;
3092 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3093 PyObject
*resultobj
;
3094 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3095 wxBitmap
*arg2
= 0 ;
3096 PyObject
* obj0
= 0 ;
3097 PyObject
* obj1
= 0 ;
3099 (char *) "self",(char *) "bitmap", NULL
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3104 if (SWIG_arg_fail(1)) SWIG_fail
;
3106 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3107 if (SWIG_arg_fail(2)) SWIG_fail
;
3109 SWIG_null_ref("wxBitmap");
3111 if (SWIG_arg_fail(2)) SWIG_fail
;
3114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3115 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
3117 wxPyEndAllowThreads(__tstate
);
3118 if (PyErr_Occurred()) SWIG_fail
;
3120 Py_INCREF(Py_None
); resultobj
= Py_None
;
3127 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3128 PyObject
*resultobj
;
3129 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3132 PyObject
* obj0
= 0 ;
3133 PyObject
* obj1
= 0 ;
3134 PyObject
* obj2
= 0 ;
3136 (char *) "self",(char *) "x",(char *) "y", NULL
3139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3141 if (SWIG_arg_fail(1)) SWIG_fail
;
3143 arg2
= (int)(SWIG_As_int(obj1
));
3144 if (SWIG_arg_fail(2)) SWIG_fail
;
3147 arg3
= (int)(SWIG_As_int(obj2
));
3148 if (SWIG_arg_fail(3)) SWIG_fail
;
3151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3152 (arg1
)->SetMargins(arg2
,arg3
);
3154 wxPyEndAllowThreads(__tstate
);
3155 if (PyErr_Occurred()) SWIG_fail
;
3157 Py_INCREF(Py_None
); resultobj
= Py_None
;
3164 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3165 PyObject
*resultobj
;
3166 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3168 PyObject
* obj0
= 0 ;
3170 (char *) "self", NULL
3173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
3174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3175 if (SWIG_arg_fail(1)) SWIG_fail
;
3177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3178 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
3180 wxPyEndAllowThreads(__tstate
);
3181 if (PyErr_Occurred()) SWIG_fail
;
3184 resultobj
= SWIG_From_int((int)(result
));
3192 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3193 PyObject
*resultobj
;
3194 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3196 PyObject
* obj0
= 0 ;
3198 (char *) "self", NULL
3201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
3202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3203 if (SWIG_arg_fail(1)) SWIG_fail
;
3205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3206 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
3208 wxPyEndAllowThreads(__tstate
);
3209 if (PyErr_Occurred()) SWIG_fail
;
3212 resultobj
= SWIG_From_int((int)(result
));
3220 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
3222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3223 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
3225 return Py_BuildValue((char *)"");
3227 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
3228 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
3233 static PyObject
*_wrap_CheckBoxNameStr_get(void) {
3238 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3240 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3247 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3248 PyObject
*resultobj
;
3249 wxWindow
*arg1
= (wxWindow
*) 0 ;
3250 int arg2
= (int) -1 ;
3251 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3252 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3253 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3254 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3255 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3256 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3257 long arg6
= (long) 0 ;
3258 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3259 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3260 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
3261 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3263 bool temp3
= false ;
3266 bool temp8
= false ;
3267 PyObject
* obj0
= 0 ;
3268 PyObject
* obj1
= 0 ;
3269 PyObject
* obj2
= 0 ;
3270 PyObject
* obj3
= 0 ;
3271 PyObject
* obj4
= 0 ;
3272 PyObject
* obj5
= 0 ;
3273 PyObject
* obj6
= 0 ;
3274 PyObject
* obj7
= 0 ;
3276 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3281 if (SWIG_arg_fail(1)) SWIG_fail
;
3284 arg2
= (int)(SWIG_As_int(obj1
));
3285 if (SWIG_arg_fail(2)) SWIG_fail
;
3290 arg3
= wxString_in_helper(obj2
);
3291 if (arg3
== NULL
) SWIG_fail
;
3298 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3304 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3309 arg6
= (long)(SWIG_As_long(obj5
));
3310 if (SWIG_arg_fail(6)) SWIG_fail
;
3315 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3316 if (SWIG_arg_fail(7)) SWIG_fail
;
3318 SWIG_null_ref("wxValidator");
3320 if (SWIG_arg_fail(7)) SWIG_fail
;
3325 arg8
= wxString_in_helper(obj7
);
3326 if (arg8
== NULL
) SWIG_fail
;
3331 if (!wxPyCheckForApp()) SWIG_fail
;
3332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3333 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3335 wxPyEndAllowThreads(__tstate
);
3336 if (PyErr_Occurred()) SWIG_fail
;
3338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3361 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
*resultobj
;
3368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
3370 if (!wxPyCheckForApp()) SWIG_fail
;
3371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3372 result
= (wxCheckBox
*)new wxCheckBox();
3374 wxPyEndAllowThreads(__tstate
);
3375 if (PyErr_Occurred()) SWIG_fail
;
3377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3384 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3385 PyObject
*resultobj
;
3386 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3387 wxWindow
*arg2
= (wxWindow
*) 0 ;
3388 int arg3
= (int) -1 ;
3389 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3390 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3391 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3392 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3393 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3394 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3395 long arg7
= (long) 0 ;
3396 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3397 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3398 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
3399 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3401 bool temp4
= false ;
3404 bool temp9
= false ;
3405 PyObject
* obj0
= 0 ;
3406 PyObject
* obj1
= 0 ;
3407 PyObject
* obj2
= 0 ;
3408 PyObject
* obj3
= 0 ;
3409 PyObject
* obj4
= 0 ;
3410 PyObject
* obj5
= 0 ;
3411 PyObject
* obj6
= 0 ;
3412 PyObject
* obj7
= 0 ;
3413 PyObject
* obj8
= 0 ;
3415 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3420 if (SWIG_arg_fail(1)) SWIG_fail
;
3421 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3422 if (SWIG_arg_fail(2)) SWIG_fail
;
3425 arg3
= (int)(SWIG_As_int(obj2
));
3426 if (SWIG_arg_fail(3)) SWIG_fail
;
3431 arg4
= wxString_in_helper(obj3
);
3432 if (arg4
== NULL
) SWIG_fail
;
3439 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3445 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3450 arg7
= (long)(SWIG_As_long(obj6
));
3451 if (SWIG_arg_fail(7)) SWIG_fail
;
3456 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3457 if (SWIG_arg_fail(8)) SWIG_fail
;
3459 SWIG_null_ref("wxValidator");
3461 if (SWIG_arg_fail(8)) SWIG_fail
;
3466 arg9
= wxString_in_helper(obj8
);
3467 if (arg9
== NULL
) SWIG_fail
;
3472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3473 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3475 wxPyEndAllowThreads(__tstate
);
3476 if (PyErr_Occurred()) SWIG_fail
;
3479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3503 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3504 PyObject
*resultobj
;
3505 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3507 PyObject
* obj0
= 0 ;
3509 (char *) "self", NULL
3512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
3513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3514 if (SWIG_arg_fail(1)) SWIG_fail
;
3516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3517 result
= (bool)(arg1
)->GetValue();
3519 wxPyEndAllowThreads(__tstate
);
3520 if (PyErr_Occurred()) SWIG_fail
;
3523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3531 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3532 PyObject
*resultobj
;
3533 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3535 PyObject
* obj0
= 0 ;
3537 (char *) "self", NULL
3540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
3541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3542 if (SWIG_arg_fail(1)) SWIG_fail
;
3544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3545 result
= (bool)(arg1
)->IsChecked();
3547 wxPyEndAllowThreads(__tstate
);
3548 if (PyErr_Occurred()) SWIG_fail
;
3551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3559 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3560 PyObject
*resultobj
;
3561 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3563 PyObject
* obj0
= 0 ;
3564 PyObject
* obj1
= 0 ;
3566 (char *) "self",(char *) "state", NULL
3569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3571 if (SWIG_arg_fail(1)) SWIG_fail
;
3573 arg2
= (bool const)(SWIG_As_bool(obj1
));
3574 if (SWIG_arg_fail(2)) SWIG_fail
;
3577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3578 (arg1
)->SetValue(arg2
);
3580 wxPyEndAllowThreads(__tstate
);
3581 if (PyErr_Occurred()) SWIG_fail
;
3583 Py_INCREF(Py_None
); resultobj
= Py_None
;
3590 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3591 PyObject
*resultobj
;
3592 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3593 wxCheckBoxState result
;
3594 PyObject
* obj0
= 0 ;
3596 (char *) "self", NULL
3599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
3600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3601 if (SWIG_arg_fail(1)) SWIG_fail
;
3603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3604 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
3606 wxPyEndAllowThreads(__tstate
);
3607 if (PyErr_Occurred()) SWIG_fail
;
3609 resultobj
= SWIG_From_int((result
));
3616 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3617 PyObject
*resultobj
;
3618 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3619 wxCheckBoxState arg2
;
3620 PyObject
* obj0
= 0 ;
3621 PyObject
* obj1
= 0 ;
3623 (char *) "self",(char *) "state", NULL
3626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3628 if (SWIG_arg_fail(1)) SWIG_fail
;
3630 arg2
= (wxCheckBoxState
)(SWIG_As_int(obj1
));
3631 if (SWIG_arg_fail(2)) SWIG_fail
;
3634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3635 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
3637 wxPyEndAllowThreads(__tstate
);
3638 if (PyErr_Occurred()) SWIG_fail
;
3640 Py_INCREF(Py_None
); resultobj
= Py_None
;
3647 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3648 PyObject
*resultobj
;
3649 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3651 PyObject
* obj0
= 0 ;
3653 (char *) "self", NULL
3656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
3657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3658 if (SWIG_arg_fail(1)) SWIG_fail
;
3660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3661 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
3663 wxPyEndAllowThreads(__tstate
);
3664 if (PyErr_Occurred()) SWIG_fail
;
3667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3675 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3676 PyObject
*resultobj
;
3677 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3679 PyObject
* obj0
= 0 ;
3681 (char *) "self", NULL
3684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
3685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3686 if (SWIG_arg_fail(1)) SWIG_fail
;
3688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3689 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
3691 wxPyEndAllowThreads(__tstate
);
3692 if (PyErr_Occurred()) SWIG_fail
;
3695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3703 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3704 PyObject
*resultobj
;
3705 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3706 wxVisualAttributes result
;
3707 PyObject
* obj0
= 0 ;
3709 (char *) "variant", NULL
3712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3715 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3716 if (SWIG_arg_fail(1)) SWIG_fail
;
3720 if (!wxPyCheckForApp()) SWIG_fail
;
3721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3722 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3724 wxPyEndAllowThreads(__tstate
);
3725 if (PyErr_Occurred()) SWIG_fail
;
3728 wxVisualAttributes
* resultptr
;
3729 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3730 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3738 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
3740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3741 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
3743 return Py_BuildValue((char *)"");
3745 static int _wrap_ChoiceNameStr_set(PyObject
*) {
3746 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
3751 static PyObject
*_wrap_ChoiceNameStr_get(void) {
3756 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3758 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3765 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3766 PyObject
*resultobj
;
3767 wxWindow
*arg1
= (wxWindow
*) 0 ;
3768 int arg2
= (int) -1 ;
3769 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3770 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3771 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3772 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3773 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
3774 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
3775 long arg6
= (long) 0 ;
3776 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3777 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3778 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
3779 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3783 bool temp5
= false ;
3784 bool temp8
= false ;
3785 PyObject
* obj0
= 0 ;
3786 PyObject
* obj1
= 0 ;
3787 PyObject
* obj2
= 0 ;
3788 PyObject
* obj3
= 0 ;
3789 PyObject
* obj4
= 0 ;
3790 PyObject
* obj5
= 0 ;
3791 PyObject
* obj6
= 0 ;
3792 PyObject
* obj7
= 0 ;
3794 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3799 if (SWIG_arg_fail(1)) SWIG_fail
;
3802 arg2
= (int)(SWIG_As_int(obj1
));
3803 if (SWIG_arg_fail(2)) SWIG_fail
;
3809 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3815 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3820 if (! PySequence_Check(obj4
)) {
3821 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3824 arg5
= new wxArrayString
;
3826 int i
, len
=PySequence_Length(obj4
);
3827 for (i
=0; i
<len
; i
++) {
3828 PyObject
* item
= PySequence_GetItem(obj4
, i
);
3830 PyObject
* str
= PyObject_Unicode(item
);
3832 PyObject
* str
= PyObject_Str(item
);
3834 if (PyErr_Occurred()) SWIG_fail
;
3835 arg5
->Add(Py2wxString(str
));
3843 arg6
= (long)(SWIG_As_long(obj5
));
3844 if (SWIG_arg_fail(6)) SWIG_fail
;
3849 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3850 if (SWIG_arg_fail(7)) SWIG_fail
;
3852 SWIG_null_ref("wxValidator");
3854 if (SWIG_arg_fail(7)) SWIG_fail
;
3859 arg8
= wxString_in_helper(obj7
);
3860 if (arg8
== NULL
) SWIG_fail
;
3865 if (!wxPyCheckForApp()) SWIG_fail
;
3866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3867 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3869 wxPyEndAllowThreads(__tstate
);
3870 if (PyErr_Occurred()) SWIG_fail
;
3872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3874 if (temp5
) delete arg5
;
3883 if (temp5
) delete arg5
;
3893 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3894 PyObject
*resultobj
;
3900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
3902 if (!wxPyCheckForApp()) SWIG_fail
;
3903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3904 result
= (wxChoice
*)new wxChoice();
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) SWIG_fail
;
3909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3916 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3917 PyObject
*resultobj
;
3918 wxChoice
*arg1
= (wxChoice
*) 0 ;
3919 wxWindow
*arg2
= (wxWindow
*) 0 ;
3920 int arg3
= (int) -1 ;
3921 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3922 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3923 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3924 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3925 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3926 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3927 long arg7
= (long) 0 ;
3928 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3929 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3930 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
3931 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3935 bool temp6
= false ;
3936 bool temp9
= false ;
3937 PyObject
* obj0
= 0 ;
3938 PyObject
* obj1
= 0 ;
3939 PyObject
* obj2
= 0 ;
3940 PyObject
* obj3
= 0 ;
3941 PyObject
* obj4
= 0 ;
3942 PyObject
* obj5
= 0 ;
3943 PyObject
* obj6
= 0 ;
3944 PyObject
* obj7
= 0 ;
3945 PyObject
* obj8
= 0 ;
3947 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
3952 if (SWIG_arg_fail(1)) SWIG_fail
;
3953 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3954 if (SWIG_arg_fail(2)) SWIG_fail
;
3957 arg3
= (int)(SWIG_As_int(obj2
));
3958 if (SWIG_arg_fail(3)) SWIG_fail
;
3964 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3970 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3975 if (! PySequence_Check(obj5
)) {
3976 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3979 arg6
= new wxArrayString
;
3981 int i
, len
=PySequence_Length(obj5
);
3982 for (i
=0; i
<len
; i
++) {
3983 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3985 PyObject
* str
= PyObject_Unicode(item
);
3987 PyObject
* str
= PyObject_Str(item
);
3989 if (PyErr_Occurred()) SWIG_fail
;
3990 arg6
->Add(Py2wxString(str
));
3998 arg7
= (long)(SWIG_As_long(obj6
));
3999 if (SWIG_arg_fail(7)) SWIG_fail
;
4004 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4005 if (SWIG_arg_fail(8)) SWIG_fail
;
4007 SWIG_null_ref("wxValidator");
4009 if (SWIG_arg_fail(8)) SWIG_fail
;
4014 arg9
= wxString_in_helper(obj8
);
4015 if (arg9
== NULL
) SWIG_fail
;
4020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4021 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4023 wxPyEndAllowThreads(__tstate
);
4024 if (PyErr_Occurred()) SWIG_fail
;
4027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4030 if (temp6
) delete arg6
;
4039 if (temp6
) delete arg6
;
4049 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4050 PyObject
*resultobj
;
4051 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4052 wxVisualAttributes result
;
4053 PyObject
* obj0
= 0 ;
4055 (char *) "variant", NULL
4058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4061 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
4062 if (SWIG_arg_fail(1)) SWIG_fail
;
4066 if (!wxPyCheckForApp()) SWIG_fail
;
4067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4068 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4070 wxPyEndAllowThreads(__tstate
);
4071 if (PyErr_Occurred()) SWIG_fail
;
4074 wxVisualAttributes
* resultptr
;
4075 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
4076 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4084 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
4086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4087 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
4089 return Py_BuildValue((char *)"");
4091 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
4092 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
4097 static PyObject
*_wrap_ComboBoxNameStr_get(void) {
4102 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4104 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4111 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
*resultobj
;
4113 wxWindow
*arg1
= (wxWindow
*) 0 ;
4114 int arg2
= (int) -1 ;
4115 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4116 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4117 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4118 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4119 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4120 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4121 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4122 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4123 long arg7
= (long) 0 ;
4124 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4125 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4126 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
4127 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4129 bool temp3
= false ;
4132 bool temp6
= false ;
4133 bool temp9
= false ;
4134 PyObject
* obj0
= 0 ;
4135 PyObject
* obj1
= 0 ;
4136 PyObject
* obj2
= 0 ;
4137 PyObject
* obj3
= 0 ;
4138 PyObject
* obj4
= 0 ;
4139 PyObject
* obj5
= 0 ;
4140 PyObject
* obj6
= 0 ;
4141 PyObject
* obj7
= 0 ;
4142 PyObject
* obj8
= 0 ;
4144 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4149 if (SWIG_arg_fail(1)) SWIG_fail
;
4152 arg2
= (int)(SWIG_As_int(obj1
));
4153 if (SWIG_arg_fail(2)) SWIG_fail
;
4158 arg3
= wxString_in_helper(obj2
);
4159 if (arg3
== NULL
) SWIG_fail
;
4166 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4172 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4177 if (! PySequence_Check(obj5
)) {
4178 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4181 arg6
= new wxArrayString
;
4183 int i
, len
=PySequence_Length(obj5
);
4184 for (i
=0; i
<len
; i
++) {
4185 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4187 PyObject
* str
= PyObject_Unicode(item
);
4189 PyObject
* str
= PyObject_Str(item
);
4191 if (PyErr_Occurred()) SWIG_fail
;
4192 arg6
->Add(Py2wxString(str
));
4200 arg7
= (long)(SWIG_As_long(obj6
));
4201 if (SWIG_arg_fail(7)) SWIG_fail
;
4206 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4207 if (SWIG_arg_fail(8)) SWIG_fail
;
4209 SWIG_null_ref("wxValidator");
4211 if (SWIG_arg_fail(8)) SWIG_fail
;
4216 arg9
= wxString_in_helper(obj8
);
4217 if (arg9
== NULL
) SWIG_fail
;
4222 if (!wxPyCheckForApp()) SWIG_fail
;
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 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
);
4226 wxPyEndAllowThreads(__tstate
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4235 if (temp6
) delete arg6
;
4248 if (temp6
) delete arg6
;
4258 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4259 PyObject
*resultobj
;
4265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
4267 if (!wxPyCheckForApp()) SWIG_fail
;
4268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4269 result
= (wxComboBox
*)new wxComboBox();
4271 wxPyEndAllowThreads(__tstate
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4281 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4282 PyObject
*resultobj
;
4283 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4284 wxWindow
*arg2
= (wxWindow
*) 0 ;
4285 int arg3
= (int) -1 ;
4286 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4287 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4288 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4289 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4290 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4291 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4292 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
4293 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
4294 long arg8
= (long) 0 ;
4295 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4296 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4297 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
4298 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4300 bool temp4
= false ;
4303 bool temp7
= false ;
4304 bool temp10
= false ;
4305 PyObject
* obj0
= 0 ;
4306 PyObject
* obj1
= 0 ;
4307 PyObject
* obj2
= 0 ;
4308 PyObject
* obj3
= 0 ;
4309 PyObject
* obj4
= 0 ;
4310 PyObject
* obj5
= 0 ;
4311 PyObject
* obj6
= 0 ;
4312 PyObject
* obj7
= 0 ;
4313 PyObject
* obj8
= 0 ;
4314 PyObject
* obj9
= 0 ;
4316 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
4320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4321 if (SWIG_arg_fail(1)) SWIG_fail
;
4322 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4323 if (SWIG_arg_fail(2)) SWIG_fail
;
4326 arg3
= (int)(SWIG_As_int(obj2
));
4327 if (SWIG_arg_fail(3)) SWIG_fail
;
4332 arg4
= wxString_in_helper(obj3
);
4333 if (arg4
== NULL
) SWIG_fail
;
4340 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4346 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4351 if (! PySequence_Check(obj6
)) {
4352 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4355 arg7
= new wxArrayString
;
4357 int i
, len
=PySequence_Length(obj6
);
4358 for (i
=0; i
<len
; i
++) {
4359 PyObject
* item
= PySequence_GetItem(obj6
, i
);
4361 PyObject
* str
= PyObject_Unicode(item
);
4363 PyObject
* str
= PyObject_Str(item
);
4365 if (PyErr_Occurred()) SWIG_fail
;
4366 arg7
->Add(Py2wxString(str
));
4374 arg8
= (long)(SWIG_As_long(obj7
));
4375 if (SWIG_arg_fail(8)) SWIG_fail
;
4380 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4381 if (SWIG_arg_fail(9)) SWIG_fail
;
4383 SWIG_null_ref("wxValidator");
4385 if (SWIG_arg_fail(9)) SWIG_fail
;
4390 arg10
= wxString_in_helper(obj9
);
4391 if (arg10
== NULL
) SWIG_fail
;
4396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4397 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
);
4399 wxPyEndAllowThreads(__tstate
);
4400 if (PyErr_Occurred()) SWIG_fail
;
4403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4410 if (temp7
) delete arg7
;
4423 if (temp7
) delete arg7
;
4433 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
*resultobj
;
4435 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4437 PyObject
* obj0
= 0 ;
4439 (char *) "self", NULL
4442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
4443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4444 if (SWIG_arg_fail(1)) SWIG_fail
;
4446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4447 result
= ((wxComboBox
const *)arg1
)->GetValue();
4449 wxPyEndAllowThreads(__tstate
);
4450 if (PyErr_Occurred()) SWIG_fail
;
4454 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4456 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4465 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4466 PyObject
*resultobj
;
4467 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4468 wxString
*arg2
= 0 ;
4469 bool temp2
= false ;
4470 PyObject
* obj0
= 0 ;
4471 PyObject
* obj1
= 0 ;
4473 (char *) "self",(char *) "value", NULL
4476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4478 if (SWIG_arg_fail(1)) SWIG_fail
;
4480 arg2
= wxString_in_helper(obj1
);
4481 if (arg2
== NULL
) SWIG_fail
;
4485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4486 (arg1
)->SetValue((wxString
const &)*arg2
);
4488 wxPyEndAllowThreads(__tstate
);
4489 if (PyErr_Occurred()) SWIG_fail
;
4491 Py_INCREF(Py_None
); resultobj
= Py_None
;
4506 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4507 PyObject
*resultobj
;
4508 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4509 PyObject
* obj0
= 0 ;
4511 (char *) "self", NULL
4514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
4515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4516 if (SWIG_arg_fail(1)) SWIG_fail
;
4518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 wxPyEndAllowThreads(__tstate
);
4522 if (PyErr_Occurred()) SWIG_fail
;
4524 Py_INCREF(Py_None
); resultobj
= Py_None
;
4531 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
*resultobj
;
4533 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4534 PyObject
* obj0
= 0 ;
4536 (char *) "self", NULL
4539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
4540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4541 if (SWIG_arg_fail(1)) SWIG_fail
;
4543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4546 wxPyEndAllowThreads(__tstate
);
4547 if (PyErr_Occurred()) SWIG_fail
;
4549 Py_INCREF(Py_None
); resultobj
= Py_None
;
4556 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4557 PyObject
*resultobj
;
4558 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4559 PyObject
* obj0
= 0 ;
4561 (char *) "self", NULL
4564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
4565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4566 if (SWIG_arg_fail(1)) SWIG_fail
;
4568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4571 wxPyEndAllowThreads(__tstate
);
4572 if (PyErr_Occurred()) SWIG_fail
;
4574 Py_INCREF(Py_None
); resultobj
= Py_None
;
4581 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4582 PyObject
*resultobj
;
4583 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4585 PyObject
* obj0
= 0 ;
4586 PyObject
* obj1
= 0 ;
4588 (char *) "self",(char *) "pos", NULL
4591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4593 if (SWIG_arg_fail(1)) SWIG_fail
;
4595 arg2
= (long)(SWIG_As_long(obj1
));
4596 if (SWIG_arg_fail(2)) SWIG_fail
;
4599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4600 (arg1
)->SetInsertionPoint(arg2
);
4602 wxPyEndAllowThreads(__tstate
);
4603 if (PyErr_Occurred()) SWIG_fail
;
4605 Py_INCREF(Py_None
); resultobj
= Py_None
;
4612 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4613 PyObject
*resultobj
;
4614 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4616 PyObject
* obj0
= 0 ;
4618 (char *) "self", NULL
4621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
4622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4623 if (SWIG_arg_fail(1)) SWIG_fail
;
4625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4626 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
4628 wxPyEndAllowThreads(__tstate
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4632 resultobj
= SWIG_From_long((long)(result
));
4640 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4641 PyObject
*resultobj
;
4642 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4644 PyObject
* obj0
= 0 ;
4646 (char *) "self", NULL
4649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
4650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4651 if (SWIG_arg_fail(1)) SWIG_fail
;
4653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4654 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
4656 wxPyEndAllowThreads(__tstate
);
4657 if (PyErr_Occurred()) SWIG_fail
;
4660 resultobj
= SWIG_From_long((long)(result
));
4668 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
*resultobj
;
4670 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4673 wxString
*arg4
= 0 ;
4674 bool temp4
= false ;
4675 PyObject
* obj0
= 0 ;
4676 PyObject
* obj1
= 0 ;
4677 PyObject
* obj2
= 0 ;
4678 PyObject
* obj3
= 0 ;
4680 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4685 if (SWIG_arg_fail(1)) SWIG_fail
;
4687 arg2
= (long)(SWIG_As_long(obj1
));
4688 if (SWIG_arg_fail(2)) SWIG_fail
;
4691 arg3
= (long)(SWIG_As_long(obj2
));
4692 if (SWIG_arg_fail(3)) SWIG_fail
;
4695 arg4
= wxString_in_helper(obj3
);
4696 if (arg4
== NULL
) SWIG_fail
;
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4701 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
4703 wxPyEndAllowThreads(__tstate
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4706 Py_INCREF(Py_None
); resultobj
= Py_None
;
4721 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4722 PyObject
*resultobj
;
4723 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4725 PyObject
* obj0
= 0 ;
4726 PyObject
* obj1
= 0 ;
4728 (char *) "self",(char *) "n", NULL
4731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4733 if (SWIG_arg_fail(1)) SWIG_fail
;
4735 arg2
= (int)(SWIG_As_int(obj1
));
4736 if (SWIG_arg_fail(2)) SWIG_fail
;
4739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4740 (arg1
)->SetSelection(arg2
);
4742 wxPyEndAllowThreads(__tstate
);
4743 if (PyErr_Occurred()) SWIG_fail
;
4745 Py_INCREF(Py_None
); resultobj
= Py_None
;
4752 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4753 PyObject
*resultobj
;
4754 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4757 PyObject
* obj0
= 0 ;
4758 PyObject
* obj1
= 0 ;
4759 PyObject
* obj2
= 0 ;
4761 (char *) "self",(char *) "from",(char *) "to", NULL
4764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4766 if (SWIG_arg_fail(1)) SWIG_fail
;
4768 arg2
= (long)(SWIG_As_long(obj1
));
4769 if (SWIG_arg_fail(2)) SWIG_fail
;
4772 arg3
= (long)(SWIG_As_long(obj2
));
4773 if (SWIG_arg_fail(3)) SWIG_fail
;
4776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4777 (arg1
)->SetSelection(arg2
,arg3
);
4779 wxPyEndAllowThreads(__tstate
);
4780 if (PyErr_Occurred()) SWIG_fail
;
4782 Py_INCREF(Py_None
); resultobj
= Py_None
;
4789 static PyObject
*_wrap_ComboBox_GetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4790 PyObject
*resultobj
;
4791 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4792 long *arg2
= (long *) 0 ;
4793 long *arg3
= (long *) 0 ;
4798 PyObject
* obj0
= 0 ;
4800 (char *) "self", NULL
4803 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4804 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetMark",kwnames
,&obj0
)) goto fail
;
4806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4807 if (SWIG_arg_fail(1)) SWIG_fail
;
4809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4810 (arg1
)->GetSelection(arg2
,arg3
);
4812 wxPyEndAllowThreads(__tstate
);
4813 if (PyErr_Occurred()) SWIG_fail
;
4815 Py_INCREF(Py_None
); resultobj
= Py_None
;
4816 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4817 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
4818 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4819 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
4826 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4827 PyObject
*resultobj
;
4828 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4829 wxString
*arg2
= 0 ;
4831 bool temp2
= false ;
4832 PyObject
* obj0
= 0 ;
4833 PyObject
* obj1
= 0 ;
4835 (char *) "self",(char *) "string", NULL
4838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4840 if (SWIG_arg_fail(1)) SWIG_fail
;
4842 arg2
= wxString_in_helper(obj1
);
4843 if (arg2
== NULL
) SWIG_fail
;
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
4850 wxPyEndAllowThreads(__tstate
);
4851 if (PyErr_Occurred()) SWIG_fail
;
4854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4870 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
*resultobj
;
4872 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4874 wxString
*arg3
= 0 ;
4875 bool temp3
= false ;
4876 PyObject
* obj0
= 0 ;
4877 PyObject
* obj1
= 0 ;
4878 PyObject
* obj2
= 0 ;
4880 (char *) "self",(char *) "n",(char *) "string", NULL
4883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4885 if (SWIG_arg_fail(1)) SWIG_fail
;
4887 arg2
= (int)(SWIG_As_int(obj1
));
4888 if (SWIG_arg_fail(2)) SWIG_fail
;
4891 arg3
= wxString_in_helper(obj2
);
4892 if (arg3
== NULL
) SWIG_fail
;
4896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4897 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
4899 wxPyEndAllowThreads(__tstate
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4902 Py_INCREF(Py_None
); resultobj
= Py_None
;
4917 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4918 PyObject
*resultobj
;
4919 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4921 PyObject
* obj0
= 0 ;
4922 PyObject
* obj1
= 0 ;
4924 (char *) "self",(char *) "editable", NULL
4927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
4928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4929 if (SWIG_arg_fail(1)) SWIG_fail
;
4931 arg2
= (bool)(SWIG_As_bool(obj1
));
4932 if (SWIG_arg_fail(2)) SWIG_fail
;
4935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4936 (arg1
)->SetEditable(arg2
);
4938 wxPyEndAllowThreads(__tstate
);
4939 if (PyErr_Occurred()) SWIG_fail
;
4941 Py_INCREF(Py_None
); resultobj
= Py_None
;
4948 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4949 PyObject
*resultobj
;
4950 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4951 PyObject
* obj0
= 0 ;
4953 (char *) "self", NULL
4956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
4957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4958 if (SWIG_arg_fail(1)) SWIG_fail
;
4960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4961 (arg1
)->SetInsertionPointEnd();
4963 wxPyEndAllowThreads(__tstate
);
4964 if (PyErr_Occurred()) SWIG_fail
;
4966 Py_INCREF(Py_None
); resultobj
= Py_None
;
4973 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4974 PyObject
*resultobj
;
4975 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4978 PyObject
* obj0
= 0 ;
4979 PyObject
* obj1
= 0 ;
4980 PyObject
* obj2
= 0 ;
4982 (char *) "self",(char *) "from",(char *) "to", NULL
4985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4987 if (SWIG_arg_fail(1)) SWIG_fail
;
4989 arg2
= (long)(SWIG_As_long(obj1
));
4990 if (SWIG_arg_fail(2)) SWIG_fail
;
4993 arg3
= (long)(SWIG_As_long(obj2
));
4994 if (SWIG_arg_fail(3)) SWIG_fail
;
4997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4998 (arg1
)->Remove(arg2
,arg3
);
5000 wxPyEndAllowThreads(__tstate
);
5001 if (PyErr_Occurred()) SWIG_fail
;
5003 Py_INCREF(Py_None
); resultobj
= Py_None
;
5010 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5011 PyObject
*resultobj
;
5012 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5014 PyObject
* obj0
= 0 ;
5016 (char *) "self", NULL
5019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
5020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5021 if (SWIG_arg_fail(1)) SWIG_fail
;
5023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5024 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
5026 wxPyEndAllowThreads(__tstate
);
5027 if (PyErr_Occurred()) SWIG_fail
;
5030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5038 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5039 PyObject
*resultobj
;
5040 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5041 PyObject
* obj0
= 0 ;
5043 (char *) "self", NULL
5046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
5047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5048 if (SWIG_arg_fail(1)) SWIG_fail
;
5050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5053 wxPyEndAllowThreads(__tstate
);
5054 if (PyErr_Occurred()) SWIG_fail
;
5056 Py_INCREF(Py_None
); resultobj
= Py_None
;
5063 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
*resultobj
;
5065 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5066 PyObject
* obj0
= 0 ;
5068 (char *) "self", NULL
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5073 if (SWIG_arg_fail(1)) SWIG_fail
;
5075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5078 wxPyEndAllowThreads(__tstate
);
5079 if (PyErr_Occurred()) SWIG_fail
;
5081 Py_INCREF(Py_None
); resultobj
= Py_None
;
5088 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
*resultobj
;
5090 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5091 PyObject
* obj0
= 0 ;
5093 (char *) "self", NULL
5096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5098 if (SWIG_arg_fail(1)) SWIG_fail
;
5100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5101 (arg1
)->SelectAll();
5103 wxPyEndAllowThreads(__tstate
);
5104 if (PyErr_Occurred()) SWIG_fail
;
5106 Py_INCREF(Py_None
); resultobj
= Py_None
;
5113 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5114 PyObject
*resultobj
;
5115 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5117 PyObject
* obj0
= 0 ;
5119 (char *) "self", NULL
5122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
5123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5124 if (SWIG_arg_fail(1)) SWIG_fail
;
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
5129 wxPyEndAllowThreads(__tstate
);
5130 if (PyErr_Occurred()) SWIG_fail
;
5133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5141 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
*resultobj
;
5143 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5145 PyObject
* obj0
= 0 ;
5147 (char *) "self", NULL
5150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5152 if (SWIG_arg_fail(1)) SWIG_fail
;
5154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5155 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5157 wxPyEndAllowThreads(__tstate
);
5158 if (PyErr_Occurred()) SWIG_fail
;
5161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5169 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
*resultobj
;
5171 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5173 PyObject
* obj0
= 0 ;
5175 (char *) "self", NULL
5178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5180 if (SWIG_arg_fail(1)) SWIG_fail
;
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5197 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
*resultobj
;
5199 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5201 PyObject
* obj0
= 0 ;
5203 (char *) "self", NULL
5206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5208 if (SWIG_arg_fail(1)) SWIG_fail
;
5210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5211 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5213 wxPyEndAllowThreads(__tstate
);
5214 if (PyErr_Occurred()) SWIG_fail
;
5217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5225 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5226 PyObject
*resultobj
;
5227 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5229 PyObject
* obj0
= 0 ;
5231 (char *) "self", NULL
5234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
5235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5236 if (SWIG_arg_fail(1)) SWIG_fail
;
5238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5239 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
5241 wxPyEndAllowThreads(__tstate
);
5242 if (PyErr_Occurred()) SWIG_fail
;
5245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5253 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5254 PyObject
*resultobj
;
5255 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5256 wxVisualAttributes result
;
5257 PyObject
* obj0
= 0 ;
5259 (char *) "variant", NULL
5262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5265 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5266 if (SWIG_arg_fail(1)) SWIG_fail
;
5270 if (!wxPyCheckForApp()) SWIG_fail
;
5271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5272 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5274 wxPyEndAllowThreads(__tstate
);
5275 if (PyErr_Occurred()) SWIG_fail
;
5278 wxVisualAttributes
* resultptr
;
5279 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5280 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5288 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5290 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5291 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5293 return Py_BuildValue((char *)"");
5295 static int _wrap_GaugeNameStr_set(PyObject
*) {
5296 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5301 static PyObject
*_wrap_GaugeNameStr_get(void) {
5306 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5308 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5315 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5316 PyObject
*resultobj
;
5317 wxWindow
*arg1
= (wxWindow
*) 0 ;
5318 int arg2
= (int) -1 ;
5319 int arg3
= (int) 100 ;
5320 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5321 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5322 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5323 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5324 long arg6
= (long) wxGA_HORIZONTAL
;
5325 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5326 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5327 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5328 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5332 bool temp8
= false ;
5333 PyObject
* obj0
= 0 ;
5334 PyObject
* obj1
= 0 ;
5335 PyObject
* obj2
= 0 ;
5336 PyObject
* obj3
= 0 ;
5337 PyObject
* obj4
= 0 ;
5338 PyObject
* obj5
= 0 ;
5339 PyObject
* obj6
= 0 ;
5340 PyObject
* obj7
= 0 ;
5342 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5347 if (SWIG_arg_fail(1)) SWIG_fail
;
5350 arg2
= (int)(SWIG_As_int(obj1
));
5351 if (SWIG_arg_fail(2)) SWIG_fail
;
5356 arg3
= (int)(SWIG_As_int(obj2
));
5357 if (SWIG_arg_fail(3)) SWIG_fail
;
5363 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5369 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5374 arg6
= (long)(SWIG_As_long(obj5
));
5375 if (SWIG_arg_fail(6)) SWIG_fail
;
5380 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5381 if (SWIG_arg_fail(7)) SWIG_fail
;
5383 SWIG_null_ref("wxValidator");
5385 if (SWIG_arg_fail(7)) SWIG_fail
;
5390 arg8
= wxString_in_helper(obj7
);
5391 if (arg8
== NULL
) SWIG_fail
;
5396 if (!wxPyCheckForApp()) SWIG_fail
;
5397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5398 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5400 wxPyEndAllowThreads(__tstate
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5418 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
*resultobj
;
5425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5427 if (!wxPyCheckForApp()) SWIG_fail
;
5428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5429 result
= (wxGauge
*)new wxGauge();
5431 wxPyEndAllowThreads(__tstate
);
5432 if (PyErr_Occurred()) SWIG_fail
;
5434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5441 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5442 PyObject
*resultobj
;
5443 wxGauge
*arg1
= (wxGauge
*) 0 ;
5444 wxWindow
*arg2
= (wxWindow
*) 0 ;
5445 int arg3
= (int) -1 ;
5446 int arg4
= (int) 100 ;
5447 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5448 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5449 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5450 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5451 long arg7
= (long) wxGA_HORIZONTAL
;
5452 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5453 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5454 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5455 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5459 bool temp9
= false ;
5460 PyObject
* obj0
= 0 ;
5461 PyObject
* obj1
= 0 ;
5462 PyObject
* obj2
= 0 ;
5463 PyObject
* obj3
= 0 ;
5464 PyObject
* obj4
= 0 ;
5465 PyObject
* obj5
= 0 ;
5466 PyObject
* obj6
= 0 ;
5467 PyObject
* obj7
= 0 ;
5468 PyObject
* obj8
= 0 ;
5470 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5475 if (SWIG_arg_fail(1)) SWIG_fail
;
5476 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5477 if (SWIG_arg_fail(2)) SWIG_fail
;
5480 arg3
= (int)(SWIG_As_int(obj2
));
5481 if (SWIG_arg_fail(3)) SWIG_fail
;
5486 arg4
= (int)(SWIG_As_int(obj3
));
5487 if (SWIG_arg_fail(4)) SWIG_fail
;
5493 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5499 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5504 arg7
= (long)(SWIG_As_long(obj6
));
5505 if (SWIG_arg_fail(7)) SWIG_fail
;
5510 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5511 if (SWIG_arg_fail(8)) SWIG_fail
;
5513 SWIG_null_ref("wxValidator");
5515 if (SWIG_arg_fail(8)) SWIG_fail
;
5520 arg9
= wxString_in_helper(obj8
);
5521 if (arg9
== NULL
) SWIG_fail
;
5526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5527 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5529 wxPyEndAllowThreads(__tstate
);
5530 if (PyErr_Occurred()) SWIG_fail
;
5533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5549 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5550 PyObject
*resultobj
;
5551 wxGauge
*arg1
= (wxGauge
*) 0 ;
5553 PyObject
* obj0
= 0 ;
5554 PyObject
* obj1
= 0 ;
5556 (char *) "self",(char *) "range", NULL
5559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5561 if (SWIG_arg_fail(1)) SWIG_fail
;
5563 arg2
= (int)(SWIG_As_int(obj1
));
5564 if (SWIG_arg_fail(2)) SWIG_fail
;
5567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5568 (arg1
)->SetRange(arg2
);
5570 wxPyEndAllowThreads(__tstate
);
5571 if (PyErr_Occurred()) SWIG_fail
;
5573 Py_INCREF(Py_None
); resultobj
= Py_None
;
5580 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
*resultobj
;
5582 wxGauge
*arg1
= (wxGauge
*) 0 ;
5584 PyObject
* obj0
= 0 ;
5586 (char *) "self", NULL
5589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5591 if (SWIG_arg_fail(1)) SWIG_fail
;
5593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5594 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5596 wxPyEndAllowThreads(__tstate
);
5597 if (PyErr_Occurred()) SWIG_fail
;
5600 resultobj
= SWIG_From_int((int)(result
));
5608 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5609 PyObject
*resultobj
;
5610 wxGauge
*arg1
= (wxGauge
*) 0 ;
5612 PyObject
* obj0
= 0 ;
5613 PyObject
* obj1
= 0 ;
5615 (char *) "self",(char *) "pos", NULL
5618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5620 if (SWIG_arg_fail(1)) SWIG_fail
;
5622 arg2
= (int)(SWIG_As_int(obj1
));
5623 if (SWIG_arg_fail(2)) SWIG_fail
;
5626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5627 (arg1
)->SetValue(arg2
);
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5632 Py_INCREF(Py_None
); resultobj
= Py_None
;
5639 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5640 PyObject
*resultobj
;
5641 wxGauge
*arg1
= (wxGauge
*) 0 ;
5643 PyObject
* obj0
= 0 ;
5645 (char *) "self", NULL
5648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5650 if (SWIG_arg_fail(1)) SWIG_fail
;
5652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5653 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5655 wxPyEndAllowThreads(__tstate
);
5656 if (PyErr_Occurred()) SWIG_fail
;
5659 resultobj
= SWIG_From_int((int)(result
));
5667 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
*resultobj
;
5669 wxGauge
*arg1
= (wxGauge
*) 0 ;
5671 PyObject
* obj0
= 0 ;
5673 (char *) "self", NULL
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5678 if (SWIG_arg_fail(1)) SWIG_fail
;
5680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5681 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5683 wxPyEndAllowThreads(__tstate
);
5684 if (PyErr_Occurred()) SWIG_fail
;
5687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5695 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5696 PyObject
*resultobj
;
5697 wxGauge
*arg1
= (wxGauge
*) 0 ;
5699 PyObject
* obj0
= 0 ;
5700 PyObject
* obj1
= 0 ;
5702 (char *) "self",(char *) "w", NULL
5705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5707 if (SWIG_arg_fail(1)) SWIG_fail
;
5709 arg2
= (int)(SWIG_As_int(obj1
));
5710 if (SWIG_arg_fail(2)) SWIG_fail
;
5713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5714 (arg1
)->SetShadowWidth(arg2
);
5716 wxPyEndAllowThreads(__tstate
);
5717 if (PyErr_Occurred()) SWIG_fail
;
5719 Py_INCREF(Py_None
); resultobj
= Py_None
;
5726 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5727 PyObject
*resultobj
;
5728 wxGauge
*arg1
= (wxGauge
*) 0 ;
5730 PyObject
* obj0
= 0 ;
5732 (char *) "self", NULL
5735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
5736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5737 if (SWIG_arg_fail(1)) SWIG_fail
;
5739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5740 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
5742 wxPyEndAllowThreads(__tstate
);
5743 if (PyErr_Occurred()) SWIG_fail
;
5746 resultobj
= SWIG_From_int((int)(result
));
5754 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5755 PyObject
*resultobj
;
5756 wxGauge
*arg1
= (wxGauge
*) 0 ;
5758 PyObject
* obj0
= 0 ;
5759 PyObject
* obj1
= 0 ;
5761 (char *) "self",(char *) "w", NULL
5764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
5765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5766 if (SWIG_arg_fail(1)) SWIG_fail
;
5768 arg2
= (int)(SWIG_As_int(obj1
));
5769 if (SWIG_arg_fail(2)) SWIG_fail
;
5772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5773 (arg1
)->SetBezelFace(arg2
);
5775 wxPyEndAllowThreads(__tstate
);
5776 if (PyErr_Occurred()) SWIG_fail
;
5778 Py_INCREF(Py_None
); resultobj
= Py_None
;
5785 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5786 PyObject
*resultobj
;
5787 wxGauge
*arg1
= (wxGauge
*) 0 ;
5789 PyObject
* obj0
= 0 ;
5791 (char *) "self", NULL
5794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
5795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5796 if (SWIG_arg_fail(1)) SWIG_fail
;
5798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5799 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
5801 wxPyEndAllowThreads(__tstate
);
5802 if (PyErr_Occurred()) SWIG_fail
;
5805 resultobj
= SWIG_From_int((int)(result
));
5813 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
*resultobj
;
5815 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5816 wxVisualAttributes result
;
5817 PyObject
* obj0
= 0 ;
5819 (char *) "variant", NULL
5822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5825 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5826 if (SWIG_arg_fail(1)) SWIG_fail
;
5830 if (!wxPyCheckForApp()) SWIG_fail
;
5831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5832 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5834 wxPyEndAllowThreads(__tstate
);
5835 if (PyErr_Occurred()) SWIG_fail
;
5838 wxVisualAttributes
* resultptr
;
5839 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5840 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5848 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
5850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5851 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
5853 return Py_BuildValue((char *)"");
5855 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
5856 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
5861 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
5866 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5868 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5875 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
5876 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
5881 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
5886 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5888 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5895 static int _wrap_StaticTextNameStr_set(PyObject
*) {
5896 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
5901 static PyObject
*_wrap_StaticTextNameStr_get(void) {
5906 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5908 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5915 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5916 PyObject
*resultobj
;
5917 wxWindow
*arg1
= (wxWindow
*) 0 ;
5918 int arg2
= (int) -1 ;
5919 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5920 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5921 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5922 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5923 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5924 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5925 long arg6
= (long) 0 ;
5926 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
5927 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5928 wxStaticBox
*result
;
5929 bool temp3
= false ;
5932 bool temp7
= false ;
5933 PyObject
* obj0
= 0 ;
5934 PyObject
* obj1
= 0 ;
5935 PyObject
* obj2
= 0 ;
5936 PyObject
* obj3
= 0 ;
5937 PyObject
* obj4
= 0 ;
5938 PyObject
* obj5
= 0 ;
5939 PyObject
* obj6
= 0 ;
5941 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5946 if (SWIG_arg_fail(1)) SWIG_fail
;
5949 arg2
= (int)(SWIG_As_int(obj1
));
5950 if (SWIG_arg_fail(2)) SWIG_fail
;
5955 arg3
= wxString_in_helper(obj2
);
5956 if (arg3
== NULL
) SWIG_fail
;
5963 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5969 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5974 arg6
= (long)(SWIG_As_long(obj5
));
5975 if (SWIG_arg_fail(6)) SWIG_fail
;
5980 arg7
= wxString_in_helper(obj6
);
5981 if (arg7
== NULL
) SWIG_fail
;
5986 if (!wxPyCheckForApp()) SWIG_fail
;
5987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5988 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5990 wxPyEndAllowThreads(__tstate
);
5991 if (PyErr_Occurred()) SWIG_fail
;
5993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6016 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6017 PyObject
*resultobj
;
6018 wxStaticBox
*result
;
6023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
6025 if (!wxPyCheckForApp()) SWIG_fail
;
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 result
= (wxStaticBox
*)new wxStaticBox();
6029 wxPyEndAllowThreads(__tstate
);
6030 if (PyErr_Occurred()) SWIG_fail
;
6032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6039 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6040 PyObject
*resultobj
;
6041 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
6042 wxWindow
*arg2
= (wxWindow
*) 0 ;
6043 int arg3
= (int) -1 ;
6044 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6045 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6046 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6047 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6048 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6049 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6050 long arg7
= (long) 0 ;
6051 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
6052 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6054 bool temp4
= false ;
6057 bool temp8
= false ;
6058 PyObject
* obj0
= 0 ;
6059 PyObject
* obj1
= 0 ;
6060 PyObject
* obj2
= 0 ;
6061 PyObject
* obj3
= 0 ;
6062 PyObject
* obj4
= 0 ;
6063 PyObject
* obj5
= 0 ;
6064 PyObject
* obj6
= 0 ;
6065 PyObject
* obj7
= 0 ;
6067 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6072 if (SWIG_arg_fail(1)) SWIG_fail
;
6073 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6074 if (SWIG_arg_fail(2)) SWIG_fail
;
6077 arg3
= (int)(SWIG_As_int(obj2
));
6078 if (SWIG_arg_fail(3)) SWIG_fail
;
6083 arg4
= wxString_in_helper(obj3
);
6084 if (arg4
== NULL
) SWIG_fail
;
6091 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6097 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6102 arg7
= (long)(SWIG_As_long(obj6
));
6103 if (SWIG_arg_fail(7)) SWIG_fail
;
6108 arg8
= wxString_in_helper(obj7
);
6109 if (arg8
== NULL
) SWIG_fail
;
6114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) SWIG_fail
;
6121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6145 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
*resultobj
;
6147 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6148 wxVisualAttributes result
;
6149 PyObject
* obj0
= 0 ;
6151 (char *) "variant", NULL
6154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6157 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6158 if (SWIG_arg_fail(1)) SWIG_fail
;
6162 if (!wxPyCheckForApp()) SWIG_fail
;
6163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6164 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6166 wxPyEndAllowThreads(__tstate
);
6167 if (PyErr_Occurred()) SWIG_fail
;
6170 wxVisualAttributes
* resultptr
;
6171 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6172 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6180 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6183 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6185 return Py_BuildValue((char *)"");
6187 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6188 PyObject
*resultobj
;
6189 wxWindow
*arg1
= (wxWindow
*) 0 ;
6190 int arg2
= (int) -1 ;
6191 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6192 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6193 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6194 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6195 long arg5
= (long) wxLI_HORIZONTAL
;
6196 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6197 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6198 wxStaticLine
*result
;
6201 bool temp6
= false ;
6202 PyObject
* obj0
= 0 ;
6203 PyObject
* obj1
= 0 ;
6204 PyObject
* obj2
= 0 ;
6205 PyObject
* obj3
= 0 ;
6206 PyObject
* obj4
= 0 ;
6207 PyObject
* obj5
= 0 ;
6209 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6214 if (SWIG_arg_fail(1)) SWIG_fail
;
6217 arg2
= (int)(SWIG_As_int(obj1
));
6218 if (SWIG_arg_fail(2)) SWIG_fail
;
6224 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6230 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6235 arg5
= (long)(SWIG_As_long(obj4
));
6236 if (SWIG_arg_fail(5)) SWIG_fail
;
6241 arg6
= wxString_in_helper(obj5
);
6242 if (arg6
== NULL
) SWIG_fail
;
6247 if (!wxPyCheckForApp()) SWIG_fail
;
6248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6249 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6251 wxPyEndAllowThreads(__tstate
);
6252 if (PyErr_Occurred()) SWIG_fail
;
6254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6269 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
*resultobj
;
6271 wxStaticLine
*result
;
6276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6278 if (!wxPyCheckForApp()) SWIG_fail
;
6279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6280 result
= (wxStaticLine
*)new wxStaticLine();
6282 wxPyEndAllowThreads(__tstate
);
6283 if (PyErr_Occurred()) SWIG_fail
;
6285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6292 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6293 PyObject
*resultobj
;
6294 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6295 wxWindow
*arg2
= (wxWindow
*) 0 ;
6296 int arg3
= (int) -1 ;
6297 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6298 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6299 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6300 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6301 long arg6
= (long) wxLI_HORIZONTAL
;
6302 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6303 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6307 bool temp7
= false ;
6308 PyObject
* obj0
= 0 ;
6309 PyObject
* obj1
= 0 ;
6310 PyObject
* obj2
= 0 ;
6311 PyObject
* obj3
= 0 ;
6312 PyObject
* obj4
= 0 ;
6313 PyObject
* obj5
= 0 ;
6314 PyObject
* obj6
= 0 ;
6316 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6321 if (SWIG_arg_fail(1)) SWIG_fail
;
6322 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6323 if (SWIG_arg_fail(2)) SWIG_fail
;
6326 arg3
= (int)(SWIG_As_int(obj2
));
6327 if (SWIG_arg_fail(3)) SWIG_fail
;
6333 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6339 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6344 arg6
= (long)(SWIG_As_long(obj5
));
6345 if (SWIG_arg_fail(6)) SWIG_fail
;
6350 arg7
= wxString_in_helper(obj6
);
6351 if (arg7
== NULL
) SWIG_fail
;
6356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6357 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6359 wxPyEndAllowThreads(__tstate
);
6360 if (PyErr_Occurred()) SWIG_fail
;
6363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6379 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6380 PyObject
*resultobj
;
6381 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6383 PyObject
* obj0
= 0 ;
6385 (char *) "self", NULL
6388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6390 if (SWIG_arg_fail(1)) SWIG_fail
;
6392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6393 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6395 wxPyEndAllowThreads(__tstate
);
6396 if (PyErr_Occurred()) SWIG_fail
;
6399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6407 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6408 PyObject
*resultobj
;
6414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6417 result
= (int)wxStaticLine::GetDefaultSize();
6419 wxPyEndAllowThreads(__tstate
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6423 resultobj
= SWIG_From_int((int)(result
));
6431 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6432 PyObject
*resultobj
;
6433 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6434 wxVisualAttributes result
;
6435 PyObject
* obj0
= 0 ;
6437 (char *) "variant", NULL
6440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6443 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6444 if (SWIG_arg_fail(1)) SWIG_fail
;
6448 if (!wxPyCheckForApp()) SWIG_fail
;
6449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6450 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6452 wxPyEndAllowThreads(__tstate
);
6453 if (PyErr_Occurred()) SWIG_fail
;
6456 wxVisualAttributes
* resultptr
;
6457 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6458 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6466 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6469 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6471 return Py_BuildValue((char *)"");
6473 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6474 PyObject
*resultobj
;
6475 wxWindow
*arg1
= (wxWindow
*) 0 ;
6476 int arg2
= (int) -1 ;
6477 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6478 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6479 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6480 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6481 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6482 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6483 long arg6
= (long) 0 ;
6484 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6485 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6486 wxStaticText
*result
;
6487 bool temp3
= false ;
6490 bool temp7
= false ;
6491 PyObject
* obj0
= 0 ;
6492 PyObject
* obj1
= 0 ;
6493 PyObject
* obj2
= 0 ;
6494 PyObject
* obj3
= 0 ;
6495 PyObject
* obj4
= 0 ;
6496 PyObject
* obj5
= 0 ;
6497 PyObject
* obj6
= 0 ;
6499 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6504 if (SWIG_arg_fail(1)) SWIG_fail
;
6507 arg2
= (int)(SWIG_As_int(obj1
));
6508 if (SWIG_arg_fail(2)) SWIG_fail
;
6513 arg3
= wxString_in_helper(obj2
);
6514 if (arg3
== NULL
) SWIG_fail
;
6521 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6527 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6532 arg6
= (long)(SWIG_As_long(obj5
));
6533 if (SWIG_arg_fail(6)) SWIG_fail
;
6538 arg7
= wxString_in_helper(obj6
);
6539 if (arg7
== NULL
) SWIG_fail
;
6544 if (!wxPyCheckForApp()) SWIG_fail
;
6545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6546 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6574 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6575 PyObject
*resultobj
;
6576 wxStaticText
*result
;
6581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6583 if (!wxPyCheckForApp()) SWIG_fail
;
6584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6585 result
= (wxStaticText
*)new wxStaticText();
6587 wxPyEndAllowThreads(__tstate
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6597 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6598 PyObject
*resultobj
;
6599 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6600 wxWindow
*arg2
= (wxWindow
*) 0 ;
6601 int arg3
= (int) -1 ;
6602 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6603 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6604 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6605 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6606 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6607 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6608 long arg7
= (long) 0 ;
6609 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6610 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6612 bool temp4
= false ;
6615 bool temp8
= false ;
6616 PyObject
* obj0
= 0 ;
6617 PyObject
* obj1
= 0 ;
6618 PyObject
* obj2
= 0 ;
6619 PyObject
* obj3
= 0 ;
6620 PyObject
* obj4
= 0 ;
6621 PyObject
* obj5
= 0 ;
6622 PyObject
* obj6
= 0 ;
6623 PyObject
* obj7
= 0 ;
6625 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6630 if (SWIG_arg_fail(1)) SWIG_fail
;
6631 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6632 if (SWIG_arg_fail(2)) SWIG_fail
;
6635 arg3
= (int)(SWIG_As_int(obj2
));
6636 if (SWIG_arg_fail(3)) SWIG_fail
;
6641 arg4
= wxString_in_helper(obj3
);
6642 if (arg4
== NULL
) SWIG_fail
;
6649 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6655 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6660 arg7
= (long)(SWIG_As_long(obj6
));
6661 if (SWIG_arg_fail(7)) SWIG_fail
;
6666 arg8
= wxString_in_helper(obj7
);
6667 if (arg8
== NULL
) SWIG_fail
;
6672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6673 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6675 wxPyEndAllowThreads(__tstate
);
6676 if (PyErr_Occurred()) SWIG_fail
;
6679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6703 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6704 PyObject
*resultobj
;
6705 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6706 wxVisualAttributes result
;
6707 PyObject
* obj0
= 0 ;
6709 (char *) "variant", NULL
6712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6715 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6716 if (SWIG_arg_fail(1)) SWIG_fail
;
6720 if (!wxPyCheckForApp()) SWIG_fail
;
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6724 wxPyEndAllowThreads(__tstate
);
6725 if (PyErr_Occurred()) SWIG_fail
;
6728 wxVisualAttributes
* resultptr
;
6729 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6730 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6738 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
6740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6741 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
6743 return Py_BuildValue((char *)"");
6745 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6746 PyObject
*resultobj
;
6747 wxWindow
*arg1
= (wxWindow
*) 0 ;
6748 int arg2
= (int) -1 ;
6749 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
6750 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
6751 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6752 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6753 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6754 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6755 long arg6
= (long) 0 ;
6756 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
6757 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6758 wxStaticBitmap
*result
;
6761 bool temp7
= false ;
6762 PyObject
* obj0
= 0 ;
6763 PyObject
* obj1
= 0 ;
6764 PyObject
* obj2
= 0 ;
6765 PyObject
* obj3
= 0 ;
6766 PyObject
* obj4
= 0 ;
6767 PyObject
* obj5
= 0 ;
6768 PyObject
* obj6
= 0 ;
6770 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6775 if (SWIG_arg_fail(1)) SWIG_fail
;
6778 arg2
= (int)(SWIG_As_int(obj1
));
6779 if (SWIG_arg_fail(2)) SWIG_fail
;
6784 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6785 if (SWIG_arg_fail(3)) SWIG_fail
;
6787 SWIG_null_ref("wxBitmap");
6789 if (SWIG_arg_fail(3)) SWIG_fail
;
6795 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6801 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6806 arg6
= (long)(SWIG_As_long(obj5
));
6807 if (SWIG_arg_fail(6)) SWIG_fail
;
6812 arg7
= wxString_in_helper(obj6
);
6813 if (arg7
== NULL
) SWIG_fail
;
6818 if (!wxPyCheckForApp()) SWIG_fail
;
6819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6820 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6822 wxPyEndAllowThreads(__tstate
);
6823 if (PyErr_Occurred()) SWIG_fail
;
6825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6840 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
*resultobj
;
6842 wxStaticBitmap
*result
;
6847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
6849 if (!wxPyCheckForApp()) SWIG_fail
;
6850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6851 result
= (wxStaticBitmap
*)new wxStaticBitmap();
6853 wxPyEndAllowThreads(__tstate
);
6854 if (PyErr_Occurred()) SWIG_fail
;
6856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6863 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6864 PyObject
*resultobj
;
6865 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6866 wxWindow
*arg2
= (wxWindow
*) 0 ;
6867 int arg3
= (int) -1 ;
6868 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
6869 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
6870 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6871 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6872 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6873 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6874 long arg7
= (long) 0 ;
6875 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
6876 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6880 bool temp8
= false ;
6881 PyObject
* obj0
= 0 ;
6882 PyObject
* obj1
= 0 ;
6883 PyObject
* obj2
= 0 ;
6884 PyObject
* obj3
= 0 ;
6885 PyObject
* obj4
= 0 ;
6886 PyObject
* obj5
= 0 ;
6887 PyObject
* obj6
= 0 ;
6888 PyObject
* obj7
= 0 ;
6890 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6895 if (SWIG_arg_fail(1)) SWIG_fail
;
6896 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6897 if (SWIG_arg_fail(2)) SWIG_fail
;
6900 arg3
= (int)(SWIG_As_int(obj2
));
6901 if (SWIG_arg_fail(3)) SWIG_fail
;
6906 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6907 if (SWIG_arg_fail(4)) SWIG_fail
;
6909 SWIG_null_ref("wxBitmap");
6911 if (SWIG_arg_fail(4)) SWIG_fail
;
6917 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6923 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6928 arg7
= (long)(SWIG_As_long(obj6
));
6929 if (SWIG_arg_fail(7)) SWIG_fail
;
6934 arg8
= wxString_in_helper(obj7
);
6935 if (arg8
== NULL
) SWIG_fail
;
6940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6941 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6943 wxPyEndAllowThreads(__tstate
);
6944 if (PyErr_Occurred()) SWIG_fail
;
6947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6963 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6964 PyObject
*resultobj
;
6965 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6967 PyObject
* obj0
= 0 ;
6969 (char *) "self", NULL
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
6973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6974 if (SWIG_arg_fail(1)) SWIG_fail
;
6976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6977 result
= (arg1
)->GetBitmap();
6979 wxPyEndAllowThreads(__tstate
);
6980 if (PyErr_Occurred()) SWIG_fail
;
6983 wxBitmap
* resultptr
;
6984 resultptr
= new wxBitmap((wxBitmap
&)(result
));
6985 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6993 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6994 PyObject
*resultobj
;
6995 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6996 wxBitmap
*arg2
= 0 ;
6997 PyObject
* obj0
= 0 ;
6998 PyObject
* obj1
= 0 ;
7000 (char *) "self",(char *) "bitmap", NULL
7003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7005 if (SWIG_arg_fail(1)) SWIG_fail
;
7007 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7008 if (SWIG_arg_fail(2)) SWIG_fail
;
7010 SWIG_null_ref("wxBitmap");
7012 if (SWIG_arg_fail(2)) SWIG_fail
;
7015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7016 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
7018 wxPyEndAllowThreads(__tstate
);
7019 if (PyErr_Occurred()) SWIG_fail
;
7021 Py_INCREF(Py_None
); resultobj
= Py_None
;
7028 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7029 PyObject
*resultobj
;
7030 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7032 PyObject
* obj0
= 0 ;
7033 PyObject
* obj1
= 0 ;
7035 (char *) "self",(char *) "icon", NULL
7038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
7039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7040 if (SWIG_arg_fail(1)) SWIG_fail
;
7042 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
7043 if (SWIG_arg_fail(2)) SWIG_fail
;
7045 SWIG_null_ref("wxIcon");
7047 if (SWIG_arg_fail(2)) SWIG_fail
;
7050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7051 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
7053 wxPyEndAllowThreads(__tstate
);
7054 if (PyErr_Occurred()) SWIG_fail
;
7056 Py_INCREF(Py_None
); resultobj
= Py_None
;
7063 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7064 PyObject
*resultobj
;
7065 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7066 wxVisualAttributes result
;
7067 PyObject
* obj0
= 0 ;
7069 (char *) "variant", NULL
7072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7075 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7076 if (SWIG_arg_fail(1)) SWIG_fail
;
7080 if (!wxPyCheckForApp()) SWIG_fail
;
7081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7082 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7084 wxPyEndAllowThreads(__tstate
);
7085 if (PyErr_Occurred()) SWIG_fail
;
7088 wxVisualAttributes
* resultptr
;
7089 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7090 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7098 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7100 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7101 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7103 return Py_BuildValue((char *)"");
7105 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7106 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7111 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7116 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7118 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7125 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7126 PyObject
*resultobj
;
7127 wxWindow
*arg1
= (wxWindow
*) 0 ;
7128 int arg2
= (int) -1 ;
7129 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7130 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7131 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7132 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7133 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7134 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7135 long arg6
= (long) 0 ;
7136 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7137 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7138 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7139 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7143 bool temp5
= false ;
7144 bool temp8
= false ;
7145 PyObject
* obj0
= 0 ;
7146 PyObject
* obj1
= 0 ;
7147 PyObject
* obj2
= 0 ;
7148 PyObject
* obj3
= 0 ;
7149 PyObject
* obj4
= 0 ;
7150 PyObject
* obj5
= 0 ;
7151 PyObject
* obj6
= 0 ;
7152 PyObject
* obj7
= 0 ;
7154 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7159 if (SWIG_arg_fail(1)) SWIG_fail
;
7162 arg2
= (int)(SWIG_As_int(obj1
));
7163 if (SWIG_arg_fail(2)) SWIG_fail
;
7169 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7175 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7180 if (! PySequence_Check(obj4
)) {
7181 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7184 arg5
= new wxArrayString
;
7186 int i
, len
=PySequence_Length(obj4
);
7187 for (i
=0; i
<len
; i
++) {
7188 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7190 PyObject
* str
= PyObject_Unicode(item
);
7192 PyObject
* str
= PyObject_Str(item
);
7194 if (PyErr_Occurred()) SWIG_fail
;
7195 arg5
->Add(Py2wxString(str
));
7203 arg6
= (long)(SWIG_As_long(obj5
));
7204 if (SWIG_arg_fail(6)) SWIG_fail
;
7209 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7210 if (SWIG_arg_fail(7)) SWIG_fail
;
7212 SWIG_null_ref("wxValidator");
7214 if (SWIG_arg_fail(7)) SWIG_fail
;
7219 arg8
= wxString_in_helper(obj7
);
7220 if (arg8
== NULL
) SWIG_fail
;
7225 if (!wxPyCheckForApp()) SWIG_fail
;
7226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7227 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7229 wxPyEndAllowThreads(__tstate
);
7230 if (PyErr_Occurred()) SWIG_fail
;
7232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7234 if (temp5
) delete arg5
;
7243 if (temp5
) delete arg5
;
7253 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
*resultobj
;
7260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7262 if (!wxPyCheckForApp()) SWIG_fail
;
7263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7264 result
= (wxListBox
*)new wxListBox();
7266 wxPyEndAllowThreads(__tstate
);
7267 if (PyErr_Occurred()) SWIG_fail
;
7269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7276 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7277 PyObject
*resultobj
;
7278 wxListBox
*arg1
= (wxListBox
*) 0 ;
7279 wxWindow
*arg2
= (wxWindow
*) 0 ;
7280 int arg3
= (int) -1 ;
7281 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7282 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7283 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7284 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7285 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7286 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7287 long arg7
= (long) 0 ;
7288 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7289 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7290 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7291 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7295 bool temp6
= false ;
7296 bool temp9
= false ;
7297 PyObject
* obj0
= 0 ;
7298 PyObject
* obj1
= 0 ;
7299 PyObject
* obj2
= 0 ;
7300 PyObject
* obj3
= 0 ;
7301 PyObject
* obj4
= 0 ;
7302 PyObject
* obj5
= 0 ;
7303 PyObject
* obj6
= 0 ;
7304 PyObject
* obj7
= 0 ;
7305 PyObject
* obj8
= 0 ;
7307 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7312 if (SWIG_arg_fail(1)) SWIG_fail
;
7313 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7314 if (SWIG_arg_fail(2)) SWIG_fail
;
7317 arg3
= (int)(SWIG_As_int(obj2
));
7318 if (SWIG_arg_fail(3)) SWIG_fail
;
7324 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7330 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7335 if (! PySequence_Check(obj5
)) {
7336 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7339 arg6
= new wxArrayString
;
7341 int i
, len
=PySequence_Length(obj5
);
7342 for (i
=0; i
<len
; i
++) {
7343 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7345 PyObject
* str
= PyObject_Unicode(item
);
7347 PyObject
* str
= PyObject_Str(item
);
7349 if (PyErr_Occurred()) SWIG_fail
;
7350 arg6
->Add(Py2wxString(str
));
7358 arg7
= (long)(SWIG_As_long(obj6
));
7359 if (SWIG_arg_fail(7)) SWIG_fail
;
7364 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7365 if (SWIG_arg_fail(8)) SWIG_fail
;
7367 SWIG_null_ref("wxValidator");
7369 if (SWIG_arg_fail(8)) SWIG_fail
;
7374 arg9
= wxString_in_helper(obj8
);
7375 if (arg9
== NULL
) SWIG_fail
;
7380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7381 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7383 wxPyEndAllowThreads(__tstate
);
7384 if (PyErr_Occurred()) SWIG_fail
;
7387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7390 if (temp6
) delete arg6
;
7399 if (temp6
) delete arg6
;
7409 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7410 PyObject
*resultobj
;
7411 wxListBox
*arg1
= (wxListBox
*) 0 ;
7412 wxString
*arg2
= 0 ;
7414 PyObject
*arg4
= (PyObject
*) NULL
;
7415 bool temp2
= false ;
7416 PyObject
* obj0
= 0 ;
7417 PyObject
* obj1
= 0 ;
7418 PyObject
* obj2
= 0 ;
7419 PyObject
* obj3
= 0 ;
7421 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7426 if (SWIG_arg_fail(1)) SWIG_fail
;
7428 arg2
= wxString_in_helper(obj1
);
7429 if (arg2
== NULL
) SWIG_fail
;
7433 arg3
= (int)(SWIG_As_int(obj2
));
7434 if (SWIG_arg_fail(3)) SWIG_fail
;
7440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7441 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7443 wxPyEndAllowThreads(__tstate
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7446 Py_INCREF(Py_None
); resultobj
= Py_None
;
7461 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7462 PyObject
*resultobj
;
7463 wxListBox
*arg1
= (wxListBox
*) 0 ;
7464 wxArrayString
*arg2
= 0 ;
7466 bool temp2
= false ;
7467 PyObject
* obj0
= 0 ;
7468 PyObject
* obj1
= 0 ;
7469 PyObject
* obj2
= 0 ;
7471 (char *) "self",(char *) "items",(char *) "pos", NULL
7474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7476 if (SWIG_arg_fail(1)) SWIG_fail
;
7478 if (! PySequence_Check(obj1
)) {
7479 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7482 arg2
= new wxArrayString
;
7484 int i
, len
=PySequence_Length(obj1
);
7485 for (i
=0; i
<len
; i
++) {
7486 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7488 PyObject
* str
= PyObject_Unicode(item
);
7490 PyObject
* str
= PyObject_Str(item
);
7492 if (PyErr_Occurred()) SWIG_fail
;
7493 arg2
->Add(Py2wxString(str
));
7499 arg3
= (int)(SWIG_As_int(obj2
));
7500 if (SWIG_arg_fail(3)) SWIG_fail
;
7503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7504 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7506 wxPyEndAllowThreads(__tstate
);
7507 if (PyErr_Occurred()) SWIG_fail
;
7509 Py_INCREF(Py_None
); resultobj
= Py_None
;
7511 if (temp2
) delete arg2
;
7516 if (temp2
) delete arg2
;
7522 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7523 PyObject
*resultobj
;
7524 wxListBox
*arg1
= (wxListBox
*) 0 ;
7525 wxArrayString
*arg2
= 0 ;
7526 bool temp2
= false ;
7527 PyObject
* obj0
= 0 ;
7528 PyObject
* obj1
= 0 ;
7530 (char *) "self",(char *) "items", NULL
7533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7535 if (SWIG_arg_fail(1)) SWIG_fail
;
7537 if (! PySequence_Check(obj1
)) {
7538 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7541 arg2
= new wxArrayString
;
7543 int i
, len
=PySequence_Length(obj1
);
7544 for (i
=0; i
<len
; i
++) {
7545 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7547 PyObject
* str
= PyObject_Unicode(item
);
7549 PyObject
* str
= PyObject_Str(item
);
7551 if (PyErr_Occurred()) SWIG_fail
;
7552 arg2
->Add(Py2wxString(str
));
7558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7559 (arg1
)->Set((wxArrayString
const &)*arg2
);
7561 wxPyEndAllowThreads(__tstate
);
7562 if (PyErr_Occurred()) SWIG_fail
;
7564 Py_INCREF(Py_None
); resultobj
= Py_None
;
7566 if (temp2
) delete arg2
;
7571 if (temp2
) delete arg2
;
7577 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
*resultobj
;
7579 wxListBox
*arg1
= (wxListBox
*) 0 ;
7582 PyObject
* obj0
= 0 ;
7583 PyObject
* obj1
= 0 ;
7585 (char *) "self",(char *) "n", NULL
7588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
7589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7590 if (SWIG_arg_fail(1)) SWIG_fail
;
7592 arg2
= (int)(SWIG_As_int(obj1
));
7593 if (SWIG_arg_fail(2)) SWIG_fail
;
7596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7599 wxPyEndAllowThreads(__tstate
);
7600 if (PyErr_Occurred()) SWIG_fail
;
7603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7611 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
*resultobj
;
7613 wxListBox
*arg1
= (wxListBox
*) 0 ;
7615 bool arg3
= (bool) true ;
7616 PyObject
* obj0
= 0 ;
7617 PyObject
* obj1
= 0 ;
7618 PyObject
* obj2
= 0 ;
7620 (char *) "self",(char *) "n",(char *) "select", NULL
7623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7625 if (SWIG_arg_fail(1)) SWIG_fail
;
7627 arg2
= (int)(SWIG_As_int(obj1
));
7628 if (SWIG_arg_fail(2)) SWIG_fail
;
7632 arg3
= (bool)(SWIG_As_bool(obj2
));
7633 if (SWIG_arg_fail(3)) SWIG_fail
;
7637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7638 (arg1
)->SetSelection(arg2
,arg3
);
7640 wxPyEndAllowThreads(__tstate
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7643 Py_INCREF(Py_None
); resultobj
= Py_None
;
7650 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7651 PyObject
*resultobj
;
7652 wxListBox
*arg1
= (wxListBox
*) 0 ;
7654 PyObject
* obj0
= 0 ;
7655 PyObject
* obj1
= 0 ;
7657 (char *) "self",(char *) "n", NULL
7660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
7661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7662 if (SWIG_arg_fail(1)) SWIG_fail
;
7664 arg2
= (int)(SWIG_As_int(obj1
));
7665 if (SWIG_arg_fail(2)) SWIG_fail
;
7668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7669 (arg1
)->Select(arg2
);
7671 wxPyEndAllowThreads(__tstate
);
7672 if (PyErr_Occurred()) SWIG_fail
;
7674 Py_INCREF(Py_None
); resultobj
= Py_None
;
7681 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7682 PyObject
*resultobj
;
7683 wxListBox
*arg1
= (wxListBox
*) 0 ;
7685 PyObject
* obj0
= 0 ;
7686 PyObject
* obj1
= 0 ;
7688 (char *) "self",(char *) "n", NULL
7691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
7692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7693 if (SWIG_arg_fail(1)) SWIG_fail
;
7695 arg2
= (int)(SWIG_As_int(obj1
));
7696 if (SWIG_arg_fail(2)) SWIG_fail
;
7699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7700 (arg1
)->Deselect(arg2
);
7702 wxPyEndAllowThreads(__tstate
);
7703 if (PyErr_Occurred()) SWIG_fail
;
7705 Py_INCREF(Py_None
); resultobj
= Py_None
;
7712 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7713 PyObject
*resultobj
;
7714 wxListBox
*arg1
= (wxListBox
*) 0 ;
7715 int arg2
= (int) -1 ;
7716 PyObject
* obj0
= 0 ;
7717 PyObject
* obj1
= 0 ;
7719 (char *) "self",(char *) "itemToLeaveSelected", NULL
7722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
7723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7724 if (SWIG_arg_fail(1)) SWIG_fail
;
7727 arg2
= (int)(SWIG_As_int(obj1
));
7728 if (SWIG_arg_fail(2)) SWIG_fail
;
7732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7733 (arg1
)->DeselectAll(arg2
);
7735 wxPyEndAllowThreads(__tstate
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7738 Py_INCREF(Py_None
); resultobj
= Py_None
;
7745 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7746 PyObject
*resultobj
;
7747 wxListBox
*arg1
= (wxListBox
*) 0 ;
7748 wxString
*arg2
= 0 ;
7749 bool arg3
= (bool) true ;
7751 bool temp2
= false ;
7752 PyObject
* obj0
= 0 ;
7753 PyObject
* obj1
= 0 ;
7754 PyObject
* obj2
= 0 ;
7756 (char *) "self",(char *) "s",(char *) "select", NULL
7759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7761 if (SWIG_arg_fail(1)) SWIG_fail
;
7763 arg2
= wxString_in_helper(obj1
);
7764 if (arg2
== NULL
) SWIG_fail
;
7769 arg3
= (bool)(SWIG_As_bool(obj2
));
7770 if (SWIG_arg_fail(3)) SWIG_fail
;
7774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7775 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
7777 wxPyEndAllowThreads(__tstate
);
7778 if (PyErr_Occurred()) SWIG_fail
;
7781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7797 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7798 PyObject
*resultobj
;
7799 wxListBox
*arg1
= (wxListBox
*) 0 ;
7801 PyObject
* obj0
= 0 ;
7803 (char *) "self", NULL
7806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
7807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7808 if (SWIG_arg_fail(1)) SWIG_fail
;
7810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7811 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
7813 wxPyEndAllowThreads(__tstate
);
7814 if (PyErr_Occurred()) SWIG_fail
;
7823 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7824 PyObject
*resultobj
;
7825 wxListBox
*arg1
= (wxListBox
*) 0 ;
7827 PyObject
* obj0
= 0 ;
7828 PyObject
* obj1
= 0 ;
7830 (char *) "self",(char *) "n", NULL
7833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
7834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7835 if (SWIG_arg_fail(1)) SWIG_fail
;
7837 arg2
= (int)(SWIG_As_int(obj1
));
7838 if (SWIG_arg_fail(2)) SWIG_fail
;
7841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7842 (arg1
)->SetFirstItem(arg2
);
7844 wxPyEndAllowThreads(__tstate
);
7845 if (PyErr_Occurred()) SWIG_fail
;
7847 Py_INCREF(Py_None
); resultobj
= Py_None
;
7854 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7855 PyObject
*resultobj
;
7856 wxListBox
*arg1
= (wxListBox
*) 0 ;
7857 wxString
*arg2
= 0 ;
7858 bool temp2
= false ;
7859 PyObject
* obj0
= 0 ;
7860 PyObject
* obj1
= 0 ;
7862 (char *) "self",(char *) "s", NULL
7865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
7866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7867 if (SWIG_arg_fail(1)) SWIG_fail
;
7869 arg2
= wxString_in_helper(obj1
);
7870 if (arg2
== NULL
) SWIG_fail
;
7874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7875 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
7877 wxPyEndAllowThreads(__tstate
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7880 Py_INCREF(Py_None
); resultobj
= Py_None
;
7895 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
*resultobj
;
7897 wxListBox
*arg1
= (wxListBox
*) 0 ;
7899 PyObject
* obj0
= 0 ;
7900 PyObject
* obj1
= 0 ;
7902 (char *) "self",(char *) "n", NULL
7905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7907 if (SWIG_arg_fail(1)) SWIG_fail
;
7909 arg2
= (int)(SWIG_As_int(obj1
));
7910 if (SWIG_arg_fail(2)) SWIG_fail
;
7913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7914 (arg1
)->EnsureVisible(arg2
);
7916 wxPyEndAllowThreads(__tstate
);
7917 if (PyErr_Occurred()) SWIG_fail
;
7919 Py_INCREF(Py_None
); resultobj
= Py_None
;
7926 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7927 PyObject
*resultobj
;
7928 wxListBox
*arg1
= (wxListBox
*) 0 ;
7929 wxString
*arg2
= 0 ;
7930 bool temp2
= false ;
7931 PyObject
* obj0
= 0 ;
7932 PyObject
* obj1
= 0 ;
7934 (char *) "self",(char *) "s", NULL
7937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7939 if (SWIG_arg_fail(1)) SWIG_fail
;
7941 arg2
= wxString_in_helper(obj1
);
7942 if (arg2
== NULL
) SWIG_fail
;
7946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7947 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
7949 wxPyEndAllowThreads(__tstate
);
7950 if (PyErr_Occurred()) SWIG_fail
;
7952 Py_INCREF(Py_None
); resultobj
= Py_None
;
7967 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7968 PyObject
*resultobj
;
7969 wxListBox
*arg1
= (wxListBox
*) 0 ;
7971 PyObject
* obj0
= 0 ;
7973 (char *) "self", NULL
7976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
7977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7978 if (SWIG_arg_fail(1)) SWIG_fail
;
7980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7981 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
7983 wxPyEndAllowThreads(__tstate
);
7984 if (PyErr_Occurred()) SWIG_fail
;
7987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7995 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7996 PyObject
*resultobj
;
7997 wxListBox
*arg1
= (wxListBox
*) 0 ;
7999 wxColour
*arg3
= 0 ;
8001 PyObject
* obj0
= 0 ;
8002 PyObject
* obj1
= 0 ;
8003 PyObject
* obj2
= 0 ;
8005 (char *) "self",(char *) "item",(char *) "c", NULL
8008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8010 if (SWIG_arg_fail(1)) SWIG_fail
;
8012 arg2
= (int)(SWIG_As_int(obj1
));
8013 if (SWIG_arg_fail(2)) SWIG_fail
;
8017 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8021 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8023 wxPyEndAllowThreads(__tstate
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8026 Py_INCREF(Py_None
); resultobj
= Py_None
;
8033 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8034 PyObject
*resultobj
;
8035 wxListBox
*arg1
= (wxListBox
*) 0 ;
8037 wxColour
*arg3
= 0 ;
8039 PyObject
* obj0
= 0 ;
8040 PyObject
* obj1
= 0 ;
8041 PyObject
* obj2
= 0 ;
8043 (char *) "self",(char *) "item",(char *) "c", NULL
8046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8048 if (SWIG_arg_fail(1)) SWIG_fail
;
8050 arg2
= (int)(SWIG_As_int(obj1
));
8051 if (SWIG_arg_fail(2)) SWIG_fail
;
8055 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8059 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8061 wxPyEndAllowThreads(__tstate
);
8062 if (PyErr_Occurred()) SWIG_fail
;
8064 Py_INCREF(Py_None
); resultobj
= Py_None
;
8071 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8072 PyObject
*resultobj
;
8073 wxListBox
*arg1
= (wxListBox
*) 0 ;
8076 PyObject
* obj0
= 0 ;
8077 PyObject
* obj1
= 0 ;
8078 PyObject
* obj2
= 0 ;
8080 (char *) "self",(char *) "item",(char *) "f", NULL
8083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8085 if (SWIG_arg_fail(1)) SWIG_fail
;
8087 arg2
= (int)(SWIG_As_int(obj1
));
8088 if (SWIG_arg_fail(2)) SWIG_fail
;
8091 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8092 if (SWIG_arg_fail(3)) SWIG_fail
;
8094 SWIG_null_ref("wxFont");
8096 if (SWIG_arg_fail(3)) SWIG_fail
;
8099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8100 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8102 wxPyEndAllowThreads(__tstate
);
8103 if (PyErr_Occurred()) SWIG_fail
;
8105 Py_INCREF(Py_None
); resultobj
= Py_None
;
8112 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8113 PyObject
*resultobj
;
8114 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8115 wxVisualAttributes result
;
8116 PyObject
* obj0
= 0 ;
8118 (char *) "variant", NULL
8121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8124 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8125 if (SWIG_arg_fail(1)) SWIG_fail
;
8129 if (!wxPyCheckForApp()) SWIG_fail
;
8130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8131 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8133 wxPyEndAllowThreads(__tstate
);
8134 if (PyErr_Occurred()) SWIG_fail
;
8137 wxVisualAttributes
* resultptr
;
8138 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8139 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8147 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8149 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8150 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8152 return Py_BuildValue((char *)"");
8154 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8155 PyObject
*resultobj
;
8156 wxWindow
*arg1
= (wxWindow
*) 0 ;
8157 int arg2
= (int) -1 ;
8158 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8159 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8160 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8161 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8162 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8163 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8164 long arg6
= (long) 0 ;
8165 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8166 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8167 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8168 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8169 wxCheckListBox
*result
;
8172 bool temp5
= false ;
8173 bool temp8
= false ;
8174 PyObject
* obj0
= 0 ;
8175 PyObject
* obj1
= 0 ;
8176 PyObject
* obj2
= 0 ;
8177 PyObject
* obj3
= 0 ;
8178 PyObject
* obj4
= 0 ;
8179 PyObject
* obj5
= 0 ;
8180 PyObject
* obj6
= 0 ;
8181 PyObject
* obj7
= 0 ;
8183 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8188 if (SWIG_arg_fail(1)) SWIG_fail
;
8191 arg2
= (int)(SWIG_As_int(obj1
));
8192 if (SWIG_arg_fail(2)) SWIG_fail
;
8198 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8204 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8209 if (! PySequence_Check(obj4
)) {
8210 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8213 arg5
= new wxArrayString
;
8215 int i
, len
=PySequence_Length(obj4
);
8216 for (i
=0; i
<len
; i
++) {
8217 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8219 PyObject
* str
= PyObject_Unicode(item
);
8221 PyObject
* str
= PyObject_Str(item
);
8223 if (PyErr_Occurred()) SWIG_fail
;
8224 arg5
->Add(Py2wxString(str
));
8232 arg6
= (long)(SWIG_As_long(obj5
));
8233 if (SWIG_arg_fail(6)) SWIG_fail
;
8238 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8239 if (SWIG_arg_fail(7)) SWIG_fail
;
8241 SWIG_null_ref("wxValidator");
8243 if (SWIG_arg_fail(7)) SWIG_fail
;
8248 arg8
= wxString_in_helper(obj7
);
8249 if (arg8
== NULL
) SWIG_fail
;
8254 if (!wxPyCheckForApp()) SWIG_fail
;
8255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8256 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8258 wxPyEndAllowThreads(__tstate
);
8259 if (PyErr_Occurred()) SWIG_fail
;
8261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8263 if (temp5
) delete arg5
;
8272 if (temp5
) delete arg5
;
8282 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8283 PyObject
*resultobj
;
8284 wxCheckListBox
*result
;
8289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8291 if (!wxPyCheckForApp()) SWIG_fail
;
8292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8293 result
= (wxCheckListBox
*)new wxCheckListBox();
8295 wxPyEndAllowThreads(__tstate
);
8296 if (PyErr_Occurred()) SWIG_fail
;
8298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8305 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8306 PyObject
*resultobj
;
8307 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8308 wxWindow
*arg2
= (wxWindow
*) 0 ;
8309 int arg3
= (int) -1 ;
8310 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8311 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8312 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8313 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8314 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8315 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8316 long arg7
= (long) 0 ;
8317 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8318 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8319 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8320 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8324 bool temp6
= false ;
8325 bool temp9
= false ;
8326 PyObject
* obj0
= 0 ;
8327 PyObject
* obj1
= 0 ;
8328 PyObject
* obj2
= 0 ;
8329 PyObject
* obj3
= 0 ;
8330 PyObject
* obj4
= 0 ;
8331 PyObject
* obj5
= 0 ;
8332 PyObject
* obj6
= 0 ;
8333 PyObject
* obj7
= 0 ;
8334 PyObject
* obj8
= 0 ;
8336 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8341 if (SWIG_arg_fail(1)) SWIG_fail
;
8342 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8343 if (SWIG_arg_fail(2)) SWIG_fail
;
8346 arg3
= (int)(SWIG_As_int(obj2
));
8347 if (SWIG_arg_fail(3)) SWIG_fail
;
8353 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8359 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8364 if (! PySequence_Check(obj5
)) {
8365 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8368 arg6
= new wxArrayString
;
8370 int i
, len
=PySequence_Length(obj5
);
8371 for (i
=0; i
<len
; i
++) {
8372 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8374 PyObject
* str
= PyObject_Unicode(item
);
8376 PyObject
* str
= PyObject_Str(item
);
8378 if (PyErr_Occurred()) SWIG_fail
;
8379 arg6
->Add(Py2wxString(str
));
8387 arg7
= (long)(SWIG_As_long(obj6
));
8388 if (SWIG_arg_fail(7)) SWIG_fail
;
8393 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8394 if (SWIG_arg_fail(8)) SWIG_fail
;
8396 SWIG_null_ref("wxValidator");
8398 if (SWIG_arg_fail(8)) SWIG_fail
;
8403 arg9
= wxString_in_helper(obj8
);
8404 if (arg9
== NULL
) SWIG_fail
;
8409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8410 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8412 wxPyEndAllowThreads(__tstate
);
8413 if (PyErr_Occurred()) SWIG_fail
;
8416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8419 if (temp6
) delete arg6
;
8428 if (temp6
) delete arg6
;
8438 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8439 PyObject
*resultobj
;
8440 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8443 PyObject
* obj0
= 0 ;
8444 PyObject
* obj1
= 0 ;
8446 (char *) "self",(char *) "index", NULL
8449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
8450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8451 if (SWIG_arg_fail(1)) SWIG_fail
;
8453 arg2
= (int)(SWIG_As_int(obj1
));
8454 if (SWIG_arg_fail(2)) SWIG_fail
;
8457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8458 result
= (bool)(arg1
)->IsChecked(arg2
);
8460 wxPyEndAllowThreads(__tstate
);
8461 if (PyErr_Occurred()) SWIG_fail
;
8464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8472 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8473 PyObject
*resultobj
;
8474 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8476 int arg3
= (int) true ;
8477 PyObject
* obj0
= 0 ;
8478 PyObject
* obj1
= 0 ;
8479 PyObject
* obj2
= 0 ;
8481 (char *) "self",(char *) "index",(char *) "check", NULL
8484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
8489 if (SWIG_arg_fail(2)) SWIG_fail
;
8493 arg3
= (int)(SWIG_As_int(obj2
));
8494 if (SWIG_arg_fail(3)) SWIG_fail
;
8498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8499 (arg1
)->Check(arg2
,arg3
);
8501 wxPyEndAllowThreads(__tstate
);
8502 if (PyErr_Occurred()) SWIG_fail
;
8504 Py_INCREF(Py_None
); resultobj
= Py_None
;
8511 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8512 PyObject
*resultobj
;
8513 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8515 PyObject
* obj0
= 0 ;
8517 (char *) "self", NULL
8520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
8521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8522 if (SWIG_arg_fail(1)) SWIG_fail
;
8524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8525 result
= (int)(arg1
)->GetItemHeight();
8527 wxPyEndAllowThreads(__tstate
);
8528 if (PyErr_Occurred()) SWIG_fail
;
8531 resultobj
= SWIG_From_int((int)(result
));
8539 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8540 PyObject
*resultobj
;
8541 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8545 PyObject
* obj0
= 0 ;
8546 PyObject
* obj1
= 0 ;
8548 (char *) "self",(char *) "pt", NULL
8551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8553 if (SWIG_arg_fail(1)) SWIG_fail
;
8556 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8560 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8562 wxPyEndAllowThreads(__tstate
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8566 resultobj
= SWIG_From_int((int)(result
));
8574 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8575 PyObject
*resultobj
;
8576 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8580 PyObject
* obj0
= 0 ;
8581 PyObject
* obj1
= 0 ;
8582 PyObject
* obj2
= 0 ;
8584 (char *) "self",(char *) "x",(char *) "y", NULL
8587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8589 if (SWIG_arg_fail(1)) SWIG_fail
;
8591 arg2
= (int)(SWIG_As_int(obj1
));
8592 if (SWIG_arg_fail(2)) SWIG_fail
;
8595 arg3
= (int)(SWIG_As_int(obj2
));
8596 if (SWIG_arg_fail(3)) SWIG_fail
;
8599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8600 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8602 wxPyEndAllowThreads(__tstate
);
8603 if (PyErr_Occurred()) SWIG_fail
;
8606 resultobj
= SWIG_From_int((int)(result
));
8614 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8617 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8619 return Py_BuildValue((char *)"");
8621 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8622 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8627 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8632 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8634 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8641 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8642 PyObject
*resultobj
;
8643 wxColour
const &arg1_defvalue
= wxNullColour
;
8644 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8645 wxColour
const &arg2_defvalue
= wxNullColour
;
8646 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8647 wxFont
const &arg3_defvalue
= wxNullFont
;
8648 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8649 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8653 PyObject
* obj0
= 0 ;
8654 PyObject
* obj1
= 0 ;
8655 PyObject
* obj2
= 0 ;
8656 PyObject
* obj3
= 0 ;
8658 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8665 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8671 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8676 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8677 if (SWIG_arg_fail(3)) SWIG_fail
;
8679 SWIG_null_ref("wxFont");
8681 if (SWIG_arg_fail(3)) SWIG_fail
;
8686 arg4
= (wxTextAttrAlignment
)(SWIG_As_int(obj3
));
8687 if (SWIG_arg_fail(4)) SWIG_fail
;
8691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8692 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
8694 wxPyEndAllowThreads(__tstate
);
8695 if (PyErr_Occurred()) SWIG_fail
;
8697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8704 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8705 PyObject
*resultobj
;
8706 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8707 PyObject
* obj0
= 0 ;
8709 (char *) "self", NULL
8712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
8713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8714 if (SWIG_arg_fail(1)) SWIG_fail
;
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8719 wxPyEndAllowThreads(__tstate
);
8720 if (PyErr_Occurred()) SWIG_fail
;
8722 Py_INCREF(Py_None
); resultobj
= Py_None
;
8729 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8730 PyObject
*resultobj
;
8731 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8732 PyObject
* obj0
= 0 ;
8734 (char *) "self", NULL
8737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
8738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8739 if (SWIG_arg_fail(1)) SWIG_fail
;
8741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8744 wxPyEndAllowThreads(__tstate
);
8745 if (PyErr_Occurred()) SWIG_fail
;
8747 Py_INCREF(Py_None
); resultobj
= Py_None
;
8754 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8755 PyObject
*resultobj
;
8756 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8757 wxColour
*arg2
= 0 ;
8759 PyObject
* obj0
= 0 ;
8760 PyObject
* obj1
= 0 ;
8762 (char *) "self",(char *) "colText", NULL
8765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8767 if (SWIG_arg_fail(1)) SWIG_fail
;
8770 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8774 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8776 wxPyEndAllowThreads(__tstate
);
8777 if (PyErr_Occurred()) SWIG_fail
;
8779 Py_INCREF(Py_None
); resultobj
= Py_None
;
8786 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8787 PyObject
*resultobj
;
8788 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8789 wxColour
*arg2
= 0 ;
8791 PyObject
* obj0
= 0 ;
8792 PyObject
* obj1
= 0 ;
8794 (char *) "self",(char *) "colBack", NULL
8797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8799 if (SWIG_arg_fail(1)) SWIG_fail
;
8802 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8806 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8808 wxPyEndAllowThreads(__tstate
);
8809 if (PyErr_Occurred()) SWIG_fail
;
8811 Py_INCREF(Py_None
); resultobj
= Py_None
;
8818 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8819 PyObject
*resultobj
;
8820 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8822 long arg3
= (long) wxTEXT_ATTR_FONT
;
8823 PyObject
* obj0
= 0 ;
8824 PyObject
* obj1
= 0 ;
8825 PyObject
* obj2
= 0 ;
8827 (char *) "self",(char *) "font",(char *) "flags", NULL
8830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8832 if (SWIG_arg_fail(1)) SWIG_fail
;
8834 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8835 if (SWIG_arg_fail(2)) SWIG_fail
;
8837 SWIG_null_ref("wxFont");
8839 if (SWIG_arg_fail(2)) SWIG_fail
;
8843 arg3
= (long)(SWIG_As_long(obj2
));
8844 if (SWIG_arg_fail(3)) SWIG_fail
;
8848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8849 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
8851 wxPyEndAllowThreads(__tstate
);
8852 if (PyErr_Occurred()) SWIG_fail
;
8854 Py_INCREF(Py_None
); resultobj
= Py_None
;
8861 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8862 PyObject
*resultobj
;
8863 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8864 wxTextAttrAlignment arg2
;
8865 PyObject
* obj0
= 0 ;
8866 PyObject
* obj1
= 0 ;
8868 (char *) "self",(char *) "alignment", NULL
8871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8873 if (SWIG_arg_fail(1)) SWIG_fail
;
8875 arg2
= (wxTextAttrAlignment
)(SWIG_As_int(obj1
));
8876 if (SWIG_arg_fail(2)) SWIG_fail
;
8879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8880 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
8882 wxPyEndAllowThreads(__tstate
);
8883 if (PyErr_Occurred()) SWIG_fail
;
8885 Py_INCREF(Py_None
); resultobj
= Py_None
;
8892 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8893 PyObject
*resultobj
;
8894 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8895 wxArrayInt
*arg2
= 0 ;
8896 bool temp2
= false ;
8897 PyObject
* obj0
= 0 ;
8898 PyObject
* obj1
= 0 ;
8900 (char *) "self",(char *) "tabs", NULL
8903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
8904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8905 if (SWIG_arg_fail(1)) SWIG_fail
;
8907 if (! PySequence_Check(obj1
)) {
8908 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
8911 arg2
= new wxArrayInt
;
8913 int i
, len
=PySequence_Length(obj1
);
8914 for (i
=0; i
<len
; i
++) {
8915 PyObject
* item
= PySequence_GetItem(obj1
, i
);
8916 PyObject
* number
= PyNumber_Int(item
);
8917 arg2
->Add(PyInt_AS_LONG(number
));
8923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8924 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
8926 wxPyEndAllowThreads(__tstate
);
8927 if (PyErr_Occurred()) SWIG_fail
;
8929 Py_INCREF(Py_None
); resultobj
= Py_None
;
8931 if (temp2
) delete arg2
;
8936 if (temp2
) delete arg2
;
8942 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8943 PyObject
*resultobj
;
8944 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8946 int arg3
= (int) 0 ;
8947 PyObject
* obj0
= 0 ;
8948 PyObject
* obj1
= 0 ;
8949 PyObject
* obj2
= 0 ;
8951 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
8954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8956 if (SWIG_arg_fail(1)) SWIG_fail
;
8958 arg2
= (int)(SWIG_As_int(obj1
));
8959 if (SWIG_arg_fail(2)) SWIG_fail
;
8963 arg3
= (int)(SWIG_As_int(obj2
));
8964 if (SWIG_arg_fail(3)) SWIG_fail
;
8968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8969 (arg1
)->SetLeftIndent(arg2
,arg3
);
8971 wxPyEndAllowThreads(__tstate
);
8972 if (PyErr_Occurred()) SWIG_fail
;
8974 Py_INCREF(Py_None
); resultobj
= Py_None
;
8981 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8982 PyObject
*resultobj
;
8983 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8985 PyObject
* obj0
= 0 ;
8986 PyObject
* obj1
= 0 ;
8988 (char *) "self",(char *) "indent", NULL
8991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
8992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8993 if (SWIG_arg_fail(1)) SWIG_fail
;
8995 arg2
= (int)(SWIG_As_int(obj1
));
8996 if (SWIG_arg_fail(2)) SWIG_fail
;
8999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9000 (arg1
)->SetRightIndent(arg2
);
9002 wxPyEndAllowThreads(__tstate
);
9003 if (PyErr_Occurred()) SWIG_fail
;
9005 Py_INCREF(Py_None
); resultobj
= Py_None
;
9012 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9013 PyObject
*resultobj
;
9014 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9016 PyObject
* obj0
= 0 ;
9017 PyObject
* obj1
= 0 ;
9019 (char *) "self",(char *) "flags", NULL
9022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9024 if (SWIG_arg_fail(1)) SWIG_fail
;
9026 arg2
= (long)(SWIG_As_long(obj1
));
9027 if (SWIG_arg_fail(2)) SWIG_fail
;
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 (arg1
)->SetFlags(arg2
);
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9036 Py_INCREF(Py_None
); resultobj
= Py_None
;
9043 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
*resultobj
;
9045 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9047 PyObject
* obj0
= 0 ;
9049 (char *) "self", NULL
9052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
9053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9054 if (SWIG_arg_fail(1)) SWIG_fail
;
9056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9057 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
9059 wxPyEndAllowThreads(__tstate
);
9060 if (PyErr_Occurred()) SWIG_fail
;
9063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9071 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9072 PyObject
*resultobj
;
9073 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9075 PyObject
* obj0
= 0 ;
9077 (char *) "self", NULL
9080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
9081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9082 if (SWIG_arg_fail(1)) SWIG_fail
;
9084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9085 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
9087 wxPyEndAllowThreads(__tstate
);
9088 if (PyErr_Occurred()) SWIG_fail
;
9091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9099 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9100 PyObject
*resultobj
;
9101 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9103 PyObject
* obj0
= 0 ;
9105 (char *) "self", NULL
9108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
9109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9110 if (SWIG_arg_fail(1)) SWIG_fail
;
9112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9113 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
9115 wxPyEndAllowThreads(__tstate
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9127 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9128 PyObject
*resultobj
;
9129 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9131 PyObject
* obj0
= 0 ;
9133 (char *) "self", NULL
9136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
9137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9138 if (SWIG_arg_fail(1)) SWIG_fail
;
9140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9141 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
9143 wxPyEndAllowThreads(__tstate
);
9144 if (PyErr_Occurred()) SWIG_fail
;
9147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9155 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9156 PyObject
*resultobj
;
9157 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9159 PyObject
* obj0
= 0 ;
9161 (char *) "self", NULL
9164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
9165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9166 if (SWIG_arg_fail(1)) SWIG_fail
;
9168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9169 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
9171 wxPyEndAllowThreads(__tstate
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9183 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9184 PyObject
*resultobj
;
9185 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9187 PyObject
* obj0
= 0 ;
9189 (char *) "self", NULL
9192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
9193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9194 if (SWIG_arg_fail(1)) SWIG_fail
;
9196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9197 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
9199 wxPyEndAllowThreads(__tstate
);
9200 if (PyErr_Occurred()) SWIG_fail
;
9203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9211 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9212 PyObject
*resultobj
;
9213 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9215 PyObject
* obj0
= 0 ;
9217 (char *) "self", NULL
9220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
9221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9222 if (SWIG_arg_fail(1)) SWIG_fail
;
9224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9225 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9227 wxPyEndAllowThreads(__tstate
);
9228 if (PyErr_Occurred()) SWIG_fail
;
9231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9239 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9240 PyObject
*resultobj
;
9241 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9244 PyObject
* obj0
= 0 ;
9245 PyObject
* obj1
= 0 ;
9247 (char *) "self",(char *) "flag", NULL
9250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9252 if (SWIG_arg_fail(1)) SWIG_fail
;
9254 arg2
= (long)(SWIG_As_long(obj1
));
9255 if (SWIG_arg_fail(2)) SWIG_fail
;
9258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9259 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9261 wxPyEndAllowThreads(__tstate
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9273 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9274 PyObject
*resultobj
;
9275 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9277 PyObject
* obj0
= 0 ;
9279 (char *) "self", NULL
9282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9284 if (SWIG_arg_fail(1)) SWIG_fail
;
9286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9288 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9289 result
= (wxColour
*) &_result_ref
;
9292 wxPyEndAllowThreads(__tstate
);
9293 if (PyErr_Occurred()) SWIG_fail
;
9295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9302 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9303 PyObject
*resultobj
;
9304 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9306 PyObject
* obj0
= 0 ;
9308 (char *) "self", NULL
9311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9313 if (SWIG_arg_fail(1)) SWIG_fail
;
9315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9318 result
= (wxColour
*) &_result_ref
;
9321 wxPyEndAllowThreads(__tstate
);
9322 if (PyErr_Occurred()) SWIG_fail
;
9324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9331 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9332 PyObject
*resultobj
;
9333 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9335 PyObject
* obj0
= 0 ;
9337 (char *) "self", NULL
9340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9342 if (SWIG_arg_fail(1)) SWIG_fail
;
9344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9346 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9347 result
= (wxFont
*) &_result_ref
;
9350 wxPyEndAllowThreads(__tstate
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9354 wxFont
* resultptr
= new wxFont(*result
);
9355 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9363 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9364 PyObject
*resultobj
;
9365 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9366 wxTextAttrAlignment result
;
9367 PyObject
* obj0
= 0 ;
9369 (char *) "self", NULL
9372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
9373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9374 if (SWIG_arg_fail(1)) SWIG_fail
;
9376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9377 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9379 wxPyEndAllowThreads(__tstate
);
9380 if (PyErr_Occurred()) SWIG_fail
;
9382 resultobj
= SWIG_From_int((result
));
9389 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9390 PyObject
*resultobj
;
9391 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9393 PyObject
* obj0
= 0 ;
9395 (char *) "self", NULL
9398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
9399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9400 if (SWIG_arg_fail(1)) SWIG_fail
;
9402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9405 result
= (wxArrayInt
*) &_result_ref
;
9408 wxPyEndAllowThreads(__tstate
);
9409 if (PyErr_Occurred()) SWIG_fail
;
9412 resultobj
= PyList_New(0);
9414 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9415 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9416 PyList_Append(resultobj
, val
);
9426 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9427 PyObject
*resultobj
;
9428 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9430 PyObject
* obj0
= 0 ;
9432 (char *) "self", NULL
9435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
9436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9437 if (SWIG_arg_fail(1)) SWIG_fail
;
9439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9440 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
9442 wxPyEndAllowThreads(__tstate
);
9443 if (PyErr_Occurred()) SWIG_fail
;
9446 resultobj
= SWIG_From_long((long)(result
));
9454 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9455 PyObject
*resultobj
;
9456 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9458 PyObject
* obj0
= 0 ;
9460 (char *) "self", NULL
9463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
9464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9465 if (SWIG_arg_fail(1)) SWIG_fail
;
9467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9468 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
9470 wxPyEndAllowThreads(__tstate
);
9471 if (PyErr_Occurred()) SWIG_fail
;
9474 resultobj
= SWIG_From_long((long)(result
));
9482 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9483 PyObject
*resultobj
;
9484 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9486 PyObject
* obj0
= 0 ;
9488 (char *) "self", NULL
9491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
9492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9493 if (SWIG_arg_fail(1)) SWIG_fail
;
9495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9496 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
9498 wxPyEndAllowThreads(__tstate
);
9499 if (PyErr_Occurred()) SWIG_fail
;
9502 resultobj
= SWIG_From_long((long)(result
));
9510 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9511 PyObject
*resultobj
;
9512 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9514 PyObject
* obj0
= 0 ;
9516 (char *) "self", NULL
9519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
9520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9521 if (SWIG_arg_fail(1)) SWIG_fail
;
9523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9524 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9530 resultobj
= SWIG_From_long((long)(result
));
9538 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9539 PyObject
*resultobj
;
9540 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9542 PyObject
* obj0
= 0 ;
9544 (char *) "self", NULL
9547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9549 if (SWIG_arg_fail(1)) SWIG_fail
;
9551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9552 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9554 wxPyEndAllowThreads(__tstate
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9566 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9567 PyObject
*resultobj
;
9568 wxTextAttr
*arg1
= 0 ;
9569 wxTextAttr
*arg2
= 0 ;
9570 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9572 PyObject
* obj0
= 0 ;
9573 PyObject
* obj1
= 0 ;
9574 PyObject
* obj2
= 0 ;
9576 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9582 if (SWIG_arg_fail(1)) SWIG_fail
;
9584 SWIG_null_ref("wxTextAttr");
9586 if (SWIG_arg_fail(1)) SWIG_fail
;
9589 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9590 if (SWIG_arg_fail(2)) SWIG_fail
;
9592 SWIG_null_ref("wxTextAttr");
9594 if (SWIG_arg_fail(2)) SWIG_fail
;
9596 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9597 if (SWIG_arg_fail(3)) SWIG_fail
;
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9602 wxPyEndAllowThreads(__tstate
);
9603 if (PyErr_Occurred()) SWIG_fail
;
9606 wxTextAttr
* resultptr
;
9607 resultptr
= new wxTextAttr((wxTextAttr
&)(result
));
9608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9616 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9619 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9621 return Py_BuildValue((char *)"");
9623 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9624 PyObject
*resultobj
;
9625 wxWindow
*arg1
= (wxWindow
*) 0 ;
9626 int arg2
= (int) -1 ;
9627 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9628 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9629 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9630 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9631 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9632 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9633 long arg6
= (long) 0 ;
9634 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9635 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9636 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9637 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9639 bool temp3
= false ;
9642 bool temp8
= false ;
9643 PyObject
* obj0
= 0 ;
9644 PyObject
* obj1
= 0 ;
9645 PyObject
* obj2
= 0 ;
9646 PyObject
* obj3
= 0 ;
9647 PyObject
* obj4
= 0 ;
9648 PyObject
* obj5
= 0 ;
9649 PyObject
* obj6
= 0 ;
9650 PyObject
* obj7
= 0 ;
9652 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9657 if (SWIG_arg_fail(1)) SWIG_fail
;
9660 arg2
= (int)(SWIG_As_int(obj1
));
9661 if (SWIG_arg_fail(2)) SWIG_fail
;
9666 arg3
= wxString_in_helper(obj2
);
9667 if (arg3
== NULL
) SWIG_fail
;
9674 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9680 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9685 arg6
= (long)(SWIG_As_long(obj5
));
9686 if (SWIG_arg_fail(6)) SWIG_fail
;
9691 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9692 if (SWIG_arg_fail(7)) SWIG_fail
;
9694 SWIG_null_ref("wxValidator");
9696 if (SWIG_arg_fail(7)) SWIG_fail
;
9701 arg8
= wxString_in_helper(obj7
);
9702 if (arg8
== NULL
) SWIG_fail
;
9707 if (!wxPyCheckForApp()) SWIG_fail
;
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) SWIG_fail
;
9714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9737 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9738 PyObject
*resultobj
;
9744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
9746 if (!wxPyCheckForApp()) SWIG_fail
;
9747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9748 result
= (wxTextCtrl
*)new wxTextCtrl();
9750 wxPyEndAllowThreads(__tstate
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9760 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
*resultobj
;
9762 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9763 wxWindow
*arg2
= (wxWindow
*) 0 ;
9764 int arg3
= (int) -1 ;
9765 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9766 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9767 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9768 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9769 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9770 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9771 long arg7
= (long) 0 ;
9772 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9773 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9774 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
9775 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9777 bool temp4
= false ;
9780 bool temp9
= false ;
9781 PyObject
* obj0
= 0 ;
9782 PyObject
* obj1
= 0 ;
9783 PyObject
* obj2
= 0 ;
9784 PyObject
* obj3
= 0 ;
9785 PyObject
* obj4
= 0 ;
9786 PyObject
* obj5
= 0 ;
9787 PyObject
* obj6
= 0 ;
9788 PyObject
* obj7
= 0 ;
9789 PyObject
* obj8
= 0 ;
9791 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
9795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9796 if (SWIG_arg_fail(1)) SWIG_fail
;
9797 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9798 if (SWIG_arg_fail(2)) SWIG_fail
;
9801 arg3
= (int)(SWIG_As_int(obj2
));
9802 if (SWIG_arg_fail(3)) SWIG_fail
;
9807 arg4
= wxString_in_helper(obj3
);
9808 if (arg4
== NULL
) SWIG_fail
;
9815 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9821 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9826 arg7
= (long)(SWIG_As_long(obj6
));
9827 if (SWIG_arg_fail(7)) SWIG_fail
;
9832 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9833 if (SWIG_arg_fail(8)) SWIG_fail
;
9835 SWIG_null_ref("wxValidator");
9837 if (SWIG_arg_fail(8)) SWIG_fail
;
9842 arg9
= wxString_in_helper(obj8
);
9843 if (arg9
== NULL
) SWIG_fail
;
9848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9849 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9851 wxPyEndAllowThreads(__tstate
);
9852 if (PyErr_Occurred()) SWIG_fail
;
9855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9879 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9880 PyObject
*resultobj
;
9881 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9883 PyObject
* obj0
= 0 ;
9885 (char *) "self", NULL
9888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9890 if (SWIG_arg_fail(1)) SWIG_fail
;
9892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9893 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
9895 wxPyEndAllowThreads(__tstate
);
9896 if (PyErr_Occurred()) SWIG_fail
;
9900 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9902 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9911 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9912 PyObject
*resultobj
;
9913 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9914 wxString
*arg2
= 0 ;
9915 bool temp2
= false ;
9916 PyObject
* obj0
= 0 ;
9917 PyObject
* obj1
= 0 ;
9919 (char *) "self",(char *) "value", NULL
9922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9924 if (SWIG_arg_fail(1)) SWIG_fail
;
9926 arg2
= wxString_in_helper(obj1
);
9927 if (arg2
== NULL
) SWIG_fail
;
9931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9932 (arg1
)->SetValue((wxString
const &)*arg2
);
9934 wxPyEndAllowThreads(__tstate
);
9935 if (PyErr_Occurred()) SWIG_fail
;
9937 Py_INCREF(Py_None
); resultobj
= Py_None
;
9952 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9953 PyObject
*resultobj
;
9954 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9958 PyObject
* obj0
= 0 ;
9959 PyObject
* obj1
= 0 ;
9960 PyObject
* obj2
= 0 ;
9962 (char *) "self",(char *) "from",(char *) "to", NULL
9965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9967 if (SWIG_arg_fail(1)) SWIG_fail
;
9969 arg2
= (long)(SWIG_As_long(obj1
));
9970 if (SWIG_arg_fail(2)) SWIG_fail
;
9973 arg3
= (long)(SWIG_As_long(obj2
));
9974 if (SWIG_arg_fail(3)) SWIG_fail
;
9977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9978 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
9980 wxPyEndAllowThreads(__tstate
);
9981 if (PyErr_Occurred()) SWIG_fail
;
9985 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9987 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9996 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9997 PyObject
*resultobj
;
9998 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10001 PyObject
* obj0
= 0 ;
10002 PyObject
* obj1
= 0 ;
10003 char *kwnames
[] = {
10004 (char *) "self",(char *) "lineNo", NULL
10007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10009 if (SWIG_arg_fail(1)) SWIG_fail
;
10011 arg2
= (long)(SWIG_As_long(obj1
));
10012 if (SWIG_arg_fail(2)) SWIG_fail
;
10015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10016 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10022 resultobj
= SWIG_From_int((int)(result
));
10030 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10031 PyObject
*resultobj
;
10032 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10035 PyObject
* obj0
= 0 ;
10036 PyObject
* obj1
= 0 ;
10037 char *kwnames
[] = {
10038 (char *) "self",(char *) "lineNo", NULL
10041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) 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 arg2
= (long)(SWIG_As_long(obj1
));
10046 if (SWIG_arg_fail(2)) SWIG_fail
;
10049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10050 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
10052 wxPyEndAllowThreads(__tstate
);
10053 if (PyErr_Occurred()) SWIG_fail
;
10057 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10059 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10068 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10069 PyObject
*resultobj
;
10070 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10072 PyObject
* obj0
= 0 ;
10073 char *kwnames
[] = {
10074 (char *) "self", NULL
10077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
10078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10079 if (SWIG_arg_fail(1)) SWIG_fail
;
10081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10082 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
10084 wxPyEndAllowThreads(__tstate
);
10085 if (PyErr_Occurred()) SWIG_fail
;
10088 resultobj
= SWIG_From_int((int)(result
));
10096 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10097 PyObject
*resultobj
;
10098 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10100 PyObject
* obj0
= 0 ;
10101 char *kwnames
[] = {
10102 (char *) "self", NULL
10105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
10106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10107 if (SWIG_arg_fail(1)) SWIG_fail
;
10109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10110 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
10112 wxPyEndAllowThreads(__tstate
);
10113 if (PyErr_Occurred()) SWIG_fail
;
10116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10124 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10125 PyObject
*resultobj
;
10126 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10128 PyObject
* obj0
= 0 ;
10129 char *kwnames
[] = {
10130 (char *) "self", NULL
10133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
10134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10135 if (SWIG_arg_fail(1)) SWIG_fail
;
10137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10138 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
10140 wxPyEndAllowThreads(__tstate
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10152 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10153 PyObject
*resultobj
;
10154 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10156 PyObject
* obj0
= 0 ;
10157 char *kwnames
[] = {
10158 (char *) "self", NULL
10161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
10162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10163 if (SWIG_arg_fail(1)) SWIG_fail
;
10165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10166 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
10168 wxPyEndAllowThreads(__tstate
);
10169 if (PyErr_Occurred()) SWIG_fail
;
10172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10180 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10181 PyObject
*resultobj
;
10182 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10184 PyObject
* obj0
= 0 ;
10185 char *kwnames
[] = {
10186 (char *) "self", NULL
10189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
10190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10191 if (SWIG_arg_fail(1)) SWIG_fail
;
10193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10194 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10196 wxPyEndAllowThreads(__tstate
);
10197 if (PyErr_Occurred()) SWIG_fail
;
10200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10208 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10209 PyObject
*resultobj
;
10210 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10211 long *arg2
= (long *) 0 ;
10212 long *arg3
= (long *) 0 ;
10217 PyObject
* obj0
= 0 ;
10218 char *kwnames
[] = {
10219 (char *) "self", NULL
10222 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10223 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10226 if (SWIG_arg_fail(1)) SWIG_fail
;
10228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10229 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10231 wxPyEndAllowThreads(__tstate
);
10232 if (PyErr_Occurred()) SWIG_fail
;
10234 Py_INCREF(Py_None
); resultobj
= Py_None
;
10235 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10236 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10237 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10238 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10245 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10246 PyObject
*resultobj
;
10247 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10249 PyObject
* obj0
= 0 ;
10250 char *kwnames
[] = {
10251 (char *) "self", NULL
10254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10256 if (SWIG_arg_fail(1)) SWIG_fail
;
10258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10259 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10261 wxPyEndAllowThreads(__tstate
);
10262 if (PyErr_Occurred()) SWIG_fail
;
10266 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10268 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10277 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10278 PyObject
*resultobj
;
10279 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10280 PyObject
* obj0
= 0 ;
10281 char *kwnames
[] = {
10282 (char *) "self", NULL
10285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
10286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10287 if (SWIG_arg_fail(1)) SWIG_fail
;
10289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10292 wxPyEndAllowThreads(__tstate
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10295 Py_INCREF(Py_None
); resultobj
= Py_None
;
10302 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10303 PyObject
*resultobj
;
10304 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10307 wxString
*arg4
= 0 ;
10308 bool temp4
= false ;
10309 PyObject
* obj0
= 0 ;
10310 PyObject
* obj1
= 0 ;
10311 PyObject
* obj2
= 0 ;
10312 PyObject
* obj3
= 0 ;
10313 char *kwnames
[] = {
10314 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10319 if (SWIG_arg_fail(1)) SWIG_fail
;
10321 arg2
= (long)(SWIG_As_long(obj1
));
10322 if (SWIG_arg_fail(2)) SWIG_fail
;
10325 arg3
= (long)(SWIG_As_long(obj2
));
10326 if (SWIG_arg_fail(3)) SWIG_fail
;
10329 arg4
= wxString_in_helper(obj3
);
10330 if (arg4
== NULL
) SWIG_fail
;
10334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10335 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10337 wxPyEndAllowThreads(__tstate
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10340 Py_INCREF(Py_None
); resultobj
= Py_None
;
10355 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10356 PyObject
*resultobj
;
10357 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10360 PyObject
* obj0
= 0 ;
10361 PyObject
* obj1
= 0 ;
10362 PyObject
* obj2
= 0 ;
10363 char *kwnames
[] = {
10364 (char *) "self",(char *) "from",(char *) "to", NULL
10367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10369 if (SWIG_arg_fail(1)) SWIG_fail
;
10371 arg2
= (long)(SWIG_As_long(obj1
));
10372 if (SWIG_arg_fail(2)) SWIG_fail
;
10375 arg3
= (long)(SWIG_As_long(obj2
));
10376 if (SWIG_arg_fail(3)) SWIG_fail
;
10379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10380 (arg1
)->Remove(arg2
,arg3
);
10382 wxPyEndAllowThreads(__tstate
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10385 Py_INCREF(Py_None
); resultobj
= Py_None
;
10392 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10393 PyObject
*resultobj
;
10394 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10395 wxString
*arg2
= 0 ;
10397 bool temp2
= false ;
10398 PyObject
* obj0
= 0 ;
10399 PyObject
* obj1
= 0 ;
10400 char *kwnames
[] = {
10401 (char *) "self",(char *) "file", NULL
10404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10406 if (SWIG_arg_fail(1)) SWIG_fail
;
10408 arg2
= wxString_in_helper(obj1
);
10409 if (arg2
== NULL
) SWIG_fail
;
10413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10414 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10416 wxPyEndAllowThreads(__tstate
);
10417 if (PyErr_Occurred()) SWIG_fail
;
10420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10436 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10437 PyObject
*resultobj
;
10438 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10439 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10440 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10442 bool temp2
= false ;
10443 PyObject
* obj0
= 0 ;
10444 PyObject
* obj1
= 0 ;
10445 char *kwnames
[] = {
10446 (char *) "self",(char *) "file", NULL
10449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10451 if (SWIG_arg_fail(1)) SWIG_fail
;
10454 arg2
= wxString_in_helper(obj1
);
10455 if (arg2
== NULL
) SWIG_fail
;
10460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10461 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10463 wxPyEndAllowThreads(__tstate
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10483 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10484 PyObject
*resultobj
;
10485 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10486 PyObject
* obj0
= 0 ;
10487 char *kwnames
[] = {
10488 (char *) "self", NULL
10491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10493 if (SWIG_arg_fail(1)) SWIG_fail
;
10495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10496 (arg1
)->MarkDirty();
10498 wxPyEndAllowThreads(__tstate
);
10499 if (PyErr_Occurred()) SWIG_fail
;
10501 Py_INCREF(Py_None
); resultobj
= Py_None
;
10508 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10509 PyObject
*resultobj
;
10510 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10511 PyObject
* obj0
= 0 ;
10512 char *kwnames
[] = {
10513 (char *) "self", NULL
10516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10518 if (SWIG_arg_fail(1)) SWIG_fail
;
10520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10521 (arg1
)->DiscardEdits();
10523 wxPyEndAllowThreads(__tstate
);
10524 if (PyErr_Occurred()) SWIG_fail
;
10526 Py_INCREF(Py_None
); resultobj
= Py_None
;
10533 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10534 PyObject
*resultobj
;
10535 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10536 unsigned long arg2
;
10537 PyObject
* obj0
= 0 ;
10538 PyObject
* obj1
= 0 ;
10539 char *kwnames
[] = {
10540 (char *) "self",(char *) "len", NULL
10543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10545 if (SWIG_arg_fail(1)) SWIG_fail
;
10547 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10548 if (SWIG_arg_fail(2)) SWIG_fail
;
10551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10552 (arg1
)->SetMaxLength(arg2
);
10554 wxPyEndAllowThreads(__tstate
);
10555 if (PyErr_Occurred()) SWIG_fail
;
10557 Py_INCREF(Py_None
); resultobj
= Py_None
;
10564 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10565 PyObject
*resultobj
;
10566 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10567 wxString
*arg2
= 0 ;
10568 bool temp2
= false ;
10569 PyObject
* obj0
= 0 ;
10570 PyObject
* obj1
= 0 ;
10571 char *kwnames
[] = {
10572 (char *) "self",(char *) "text", NULL
10575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10577 if (SWIG_arg_fail(1)) SWIG_fail
;
10579 arg2
= wxString_in_helper(obj1
);
10580 if (arg2
== NULL
) SWIG_fail
;
10584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10585 (arg1
)->WriteText((wxString
const &)*arg2
);
10587 wxPyEndAllowThreads(__tstate
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10590 Py_INCREF(Py_None
); resultobj
= Py_None
;
10605 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10606 PyObject
*resultobj
;
10607 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10608 wxString
*arg2
= 0 ;
10609 bool temp2
= false ;
10610 PyObject
* obj0
= 0 ;
10611 PyObject
* obj1
= 0 ;
10612 char *kwnames
[] = {
10613 (char *) "self",(char *) "text", NULL
10616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
10617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10618 if (SWIG_arg_fail(1)) SWIG_fail
;
10620 arg2
= wxString_in_helper(obj1
);
10621 if (arg2
== NULL
) SWIG_fail
;
10625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10626 (arg1
)->AppendText((wxString
const &)*arg2
);
10628 wxPyEndAllowThreads(__tstate
);
10629 if (PyErr_Occurred()) SWIG_fail
;
10631 Py_INCREF(Py_None
); resultobj
= Py_None
;
10646 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10647 PyObject
*resultobj
;
10648 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10649 wxKeyEvent
*arg2
= 0 ;
10651 PyObject
* obj0
= 0 ;
10652 PyObject
* obj1
= 0 ;
10653 char *kwnames
[] = {
10654 (char *) "self",(char *) "event", NULL
10657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
10658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10659 if (SWIG_arg_fail(1)) SWIG_fail
;
10661 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10662 if (SWIG_arg_fail(2)) SWIG_fail
;
10663 if (arg2
== NULL
) {
10664 SWIG_null_ref("wxKeyEvent");
10666 if (SWIG_arg_fail(2)) SWIG_fail
;
10669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10670 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10672 wxPyEndAllowThreads(__tstate
);
10673 if (PyErr_Occurred()) SWIG_fail
;
10676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10684 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10685 PyObject
*resultobj
;
10686 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10689 wxTextAttr
*arg4
= 0 ;
10691 PyObject
* obj0
= 0 ;
10692 PyObject
* obj1
= 0 ;
10693 PyObject
* obj2
= 0 ;
10694 PyObject
* obj3
= 0 ;
10695 char *kwnames
[] = {
10696 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10701 if (SWIG_arg_fail(1)) SWIG_fail
;
10703 arg2
= (long)(SWIG_As_long(obj1
));
10704 if (SWIG_arg_fail(2)) SWIG_fail
;
10707 arg3
= (long)(SWIG_As_long(obj2
));
10708 if (SWIG_arg_fail(3)) SWIG_fail
;
10711 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10712 if (SWIG_arg_fail(4)) SWIG_fail
;
10713 if (arg4
== NULL
) {
10714 SWIG_null_ref("wxTextAttr");
10716 if (SWIG_arg_fail(4)) SWIG_fail
;
10719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10720 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
10722 wxPyEndAllowThreads(__tstate
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10734 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10735 PyObject
*resultobj
;
10736 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10738 wxTextAttr
*arg3
= 0 ;
10740 PyObject
* obj0
= 0 ;
10741 PyObject
* obj1
= 0 ;
10742 PyObject
* obj2
= 0 ;
10743 char *kwnames
[] = {
10744 (char *) "self",(char *) "position",(char *) "style", NULL
10747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10749 if (SWIG_arg_fail(1)) SWIG_fail
;
10751 arg2
= (long)(SWIG_As_long(obj1
));
10752 if (SWIG_arg_fail(2)) SWIG_fail
;
10755 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10756 if (SWIG_arg_fail(3)) SWIG_fail
;
10757 if (arg3
== NULL
) {
10758 SWIG_null_ref("wxTextAttr");
10760 if (SWIG_arg_fail(3)) SWIG_fail
;
10763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10764 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
10766 wxPyEndAllowThreads(__tstate
);
10767 if (PyErr_Occurred()) SWIG_fail
;
10770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10778 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10779 PyObject
*resultobj
;
10780 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10781 wxTextAttr
*arg2
= 0 ;
10783 PyObject
* obj0
= 0 ;
10784 PyObject
* obj1
= 0 ;
10785 char *kwnames
[] = {
10786 (char *) "self",(char *) "style", NULL
10789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10794 if (SWIG_arg_fail(2)) SWIG_fail
;
10795 if (arg2
== NULL
) {
10796 SWIG_null_ref("wxTextAttr");
10798 if (SWIG_arg_fail(2)) SWIG_fail
;
10801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10802 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
10804 wxPyEndAllowThreads(__tstate
);
10805 if (PyErr_Occurred()) SWIG_fail
;
10808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10816 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10817 PyObject
*resultobj
;
10818 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10819 wxTextAttr
*result
;
10820 PyObject
* obj0
= 0 ;
10821 char *kwnames
[] = {
10822 (char *) "self", NULL
10825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
10826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10827 if (SWIG_arg_fail(1)) SWIG_fail
;
10829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10831 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
10832 result
= (wxTextAttr
*) &_result_ref
;
10835 wxPyEndAllowThreads(__tstate
);
10836 if (PyErr_Occurred()) SWIG_fail
;
10838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
10845 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10846 PyObject
*resultobj
;
10847 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10851 PyObject
* obj0
= 0 ;
10852 PyObject
* obj1
= 0 ;
10853 PyObject
* obj2
= 0 ;
10854 char *kwnames
[] = {
10855 (char *) "self",(char *) "x",(char *) "y", NULL
10858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10860 if (SWIG_arg_fail(1)) SWIG_fail
;
10862 arg2
= (long)(SWIG_As_long(obj1
));
10863 if (SWIG_arg_fail(2)) SWIG_fail
;
10866 arg3
= (long)(SWIG_As_long(obj2
));
10867 if (SWIG_arg_fail(3)) SWIG_fail
;
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10877 resultobj
= SWIG_From_long((long)(result
));
10885 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10886 PyObject
*resultobj
;
10887 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10889 long *arg3
= (long *) 0 ;
10890 long *arg4
= (long *) 0 ;
10895 PyObject
* obj0
= 0 ;
10896 PyObject
* obj1
= 0 ;
10897 char *kwnames
[] = {
10898 (char *) "self",(char *) "pos", NULL
10901 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10902 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
10904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10905 if (SWIG_arg_fail(1)) SWIG_fail
;
10907 arg2
= (long)(SWIG_As_long(obj1
));
10908 if (SWIG_arg_fail(2)) SWIG_fail
;
10911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10912 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
10914 wxPyEndAllowThreads(__tstate
);
10915 if (PyErr_Occurred()) SWIG_fail
;
10917 Py_INCREF(Py_None
); resultobj
= Py_None
;
10918 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10919 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10920 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10921 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10928 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10929 PyObject
*resultobj
;
10930 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10932 PyObject
* obj0
= 0 ;
10933 PyObject
* obj1
= 0 ;
10934 char *kwnames
[] = {
10935 (char *) "self",(char *) "pos", NULL
10938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10940 if (SWIG_arg_fail(1)) SWIG_fail
;
10942 arg2
= (long)(SWIG_As_long(obj1
));
10943 if (SWIG_arg_fail(2)) SWIG_fail
;
10946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10947 (arg1
)->ShowPosition(arg2
);
10949 wxPyEndAllowThreads(__tstate
);
10950 if (PyErr_Occurred()) SWIG_fail
;
10952 Py_INCREF(Py_None
); resultobj
= Py_None
;
10959 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10960 PyObject
*resultobj
;
10961 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10962 wxPoint
*arg2
= 0 ;
10963 long *arg3
= (long *) 0 ;
10964 long *arg4
= (long *) 0 ;
10965 wxTextCtrlHitTestResult result
;
10971 PyObject
* obj0
= 0 ;
10972 PyObject
* obj1
= 0 ;
10973 char *kwnames
[] = {
10974 (char *) "self",(char *) "pt", NULL
10977 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10978 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
10980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10981 if (SWIG_arg_fail(1)) SWIG_fail
;
10984 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10988 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
10990 wxPyEndAllowThreads(__tstate
);
10991 if (PyErr_Occurred()) SWIG_fail
;
10993 resultobj
= SWIG_From_int((result
));
10994 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10995 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10996 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10997 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
11004 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11005 PyObject
*resultobj
;
11006 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11007 wxPoint
*arg2
= 0 ;
11008 long *arg3
= (long *) 0 ;
11009 wxTextCtrlHitTestResult result
;
11013 PyObject
* obj0
= 0 ;
11014 PyObject
* obj1
= 0 ;
11015 char *kwnames
[] = {
11016 (char *) "self",(char *) "pt", NULL
11019 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
11021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11022 if (SWIG_arg_fail(1)) SWIG_fail
;
11025 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11029 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
11031 wxPyEndAllowThreads(__tstate
);
11032 if (PyErr_Occurred()) SWIG_fail
;
11034 resultobj
= SWIG_From_int((result
));
11035 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11036 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11043 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11044 PyObject
*resultobj
;
11045 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11046 PyObject
* obj0
= 0 ;
11047 char *kwnames
[] = {
11048 (char *) "self", NULL
11051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
11052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11053 if (SWIG_arg_fail(1)) SWIG_fail
;
11055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11058 wxPyEndAllowThreads(__tstate
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11061 Py_INCREF(Py_None
); resultobj
= Py_None
;
11068 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
*resultobj
;
11070 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11071 PyObject
* obj0
= 0 ;
11072 char *kwnames
[] = {
11073 (char *) "self", NULL
11076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
11077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11078 if (SWIG_arg_fail(1)) SWIG_fail
;
11080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11083 wxPyEndAllowThreads(__tstate
);
11084 if (PyErr_Occurred()) SWIG_fail
;
11086 Py_INCREF(Py_None
); resultobj
= Py_None
;
11093 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11094 PyObject
*resultobj
;
11095 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11096 PyObject
* obj0
= 0 ;
11097 char *kwnames
[] = {
11098 (char *) "self", NULL
11101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
11102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11103 if (SWIG_arg_fail(1)) SWIG_fail
;
11105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11108 wxPyEndAllowThreads(__tstate
);
11109 if (PyErr_Occurred()) SWIG_fail
;
11111 Py_INCREF(Py_None
); resultobj
= Py_None
;
11118 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11119 PyObject
*resultobj
;
11120 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11122 PyObject
* obj0
= 0 ;
11123 char *kwnames
[] = {
11124 (char *) "self", NULL
11127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
11128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11129 if (SWIG_arg_fail(1)) SWIG_fail
;
11131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11132 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
11134 wxPyEndAllowThreads(__tstate
);
11135 if (PyErr_Occurred()) SWIG_fail
;
11138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11146 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11147 PyObject
*resultobj
;
11148 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11150 PyObject
* obj0
= 0 ;
11151 char *kwnames
[] = {
11152 (char *) "self", NULL
11155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
11156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11157 if (SWIG_arg_fail(1)) SWIG_fail
;
11159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11160 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
11162 wxPyEndAllowThreads(__tstate
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11174 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11175 PyObject
*resultobj
;
11176 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11178 PyObject
* obj0
= 0 ;
11179 char *kwnames
[] = {
11180 (char *) "self", NULL
11183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11185 if (SWIG_arg_fail(1)) SWIG_fail
;
11187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11188 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11190 wxPyEndAllowThreads(__tstate
);
11191 if (PyErr_Occurred()) SWIG_fail
;
11194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11202 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11203 PyObject
*resultobj
;
11204 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11205 PyObject
* obj0
= 0 ;
11206 char *kwnames
[] = {
11207 (char *) "self", NULL
11210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11212 if (SWIG_arg_fail(1)) SWIG_fail
;
11214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11217 wxPyEndAllowThreads(__tstate
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11220 Py_INCREF(Py_None
); resultobj
= Py_None
;
11227 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11228 PyObject
*resultobj
;
11229 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11230 PyObject
* obj0
= 0 ;
11231 char *kwnames
[] = {
11232 (char *) "self", NULL
11235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11237 if (SWIG_arg_fail(1)) SWIG_fail
;
11239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11242 wxPyEndAllowThreads(__tstate
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11245 Py_INCREF(Py_None
); resultobj
= Py_None
;
11252 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11253 PyObject
*resultobj
;
11254 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11256 PyObject
* obj0
= 0 ;
11257 char *kwnames
[] = {
11258 (char *) "self", NULL
11261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
11262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11263 if (SWIG_arg_fail(1)) SWIG_fail
;
11265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11266 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
11268 wxPyEndAllowThreads(__tstate
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11280 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11281 PyObject
*resultobj
;
11282 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11284 PyObject
* obj0
= 0 ;
11285 char *kwnames
[] = {
11286 (char *) "self", NULL
11289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11291 if (SWIG_arg_fail(1)) SWIG_fail
;
11293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11294 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11296 wxPyEndAllowThreads(__tstate
);
11297 if (PyErr_Occurred()) SWIG_fail
;
11300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11308 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11309 PyObject
*resultobj
;
11310 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11312 PyObject
* obj0
= 0 ;
11313 PyObject
* obj1
= 0 ;
11314 char *kwnames
[] = {
11315 (char *) "self",(char *) "pos", NULL
11318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11320 if (SWIG_arg_fail(1)) SWIG_fail
;
11322 arg2
= (long)(SWIG_As_long(obj1
));
11323 if (SWIG_arg_fail(2)) SWIG_fail
;
11326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11327 (arg1
)->SetInsertionPoint(arg2
);
11329 wxPyEndAllowThreads(__tstate
);
11330 if (PyErr_Occurred()) SWIG_fail
;
11332 Py_INCREF(Py_None
); resultobj
= Py_None
;
11339 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11340 PyObject
*resultobj
;
11341 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11342 PyObject
* obj0
= 0 ;
11343 char *kwnames
[] = {
11344 (char *) "self", NULL
11347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11349 if (SWIG_arg_fail(1)) SWIG_fail
;
11351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11352 (arg1
)->SetInsertionPointEnd();
11354 wxPyEndAllowThreads(__tstate
);
11355 if (PyErr_Occurred()) SWIG_fail
;
11357 Py_INCREF(Py_None
); resultobj
= Py_None
;
11364 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11365 PyObject
*resultobj
;
11366 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11368 PyObject
* obj0
= 0 ;
11369 char *kwnames
[] = {
11370 (char *) "self", NULL
11373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
11374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11375 if (SWIG_arg_fail(1)) SWIG_fail
;
11377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11378 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
11380 wxPyEndAllowThreads(__tstate
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11384 resultobj
= SWIG_From_long((long)(result
));
11392 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11393 PyObject
*resultobj
;
11394 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11396 PyObject
* obj0
= 0 ;
11397 char *kwnames
[] = {
11398 (char *) "self", NULL
11401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
11402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11403 if (SWIG_arg_fail(1)) SWIG_fail
;
11405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11406 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11408 wxPyEndAllowThreads(__tstate
);
11409 if (PyErr_Occurred()) SWIG_fail
;
11412 resultobj
= SWIG_From_long((long)(result
));
11420 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11421 PyObject
*resultobj
;
11422 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11425 PyObject
* obj0
= 0 ;
11426 PyObject
* obj1
= 0 ;
11427 PyObject
* obj2
= 0 ;
11428 char *kwnames
[] = {
11429 (char *) "self",(char *) "from",(char *) "to", NULL
11432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11434 if (SWIG_arg_fail(1)) SWIG_fail
;
11436 arg2
= (long)(SWIG_As_long(obj1
));
11437 if (SWIG_arg_fail(2)) SWIG_fail
;
11440 arg3
= (long)(SWIG_As_long(obj2
));
11441 if (SWIG_arg_fail(3)) SWIG_fail
;
11444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11445 (arg1
)->SetSelection(arg2
,arg3
);
11447 wxPyEndAllowThreads(__tstate
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11450 Py_INCREF(Py_None
); resultobj
= Py_None
;
11457 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11458 PyObject
*resultobj
;
11459 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11460 PyObject
* obj0
= 0 ;
11461 char *kwnames
[] = {
11462 (char *) "self", NULL
11465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
11466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11467 if (SWIG_arg_fail(1)) SWIG_fail
;
11469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11470 (arg1
)->SelectAll();
11472 wxPyEndAllowThreads(__tstate
);
11473 if (PyErr_Occurred()) SWIG_fail
;
11475 Py_INCREF(Py_None
); resultobj
= Py_None
;
11482 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11483 PyObject
*resultobj
;
11484 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11486 PyObject
* obj0
= 0 ;
11487 PyObject
* obj1
= 0 ;
11488 char *kwnames
[] = {
11489 (char *) "self",(char *) "editable", NULL
11492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11494 if (SWIG_arg_fail(1)) SWIG_fail
;
11496 arg2
= (bool)(SWIG_As_bool(obj1
));
11497 if (SWIG_arg_fail(2)) SWIG_fail
;
11500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11501 (arg1
)->SetEditable(arg2
);
11503 wxPyEndAllowThreads(__tstate
);
11504 if (PyErr_Occurred()) SWIG_fail
;
11506 Py_INCREF(Py_None
); resultobj
= Py_None
;
11513 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11514 PyObject
*resultobj
;
11515 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11516 wxString
*arg2
= 0 ;
11517 bool temp2
= false ;
11518 PyObject
* obj0
= 0 ;
11519 PyObject
* obj1
= 0 ;
11520 char *kwnames
[] = {
11521 (char *) "self",(char *) "text", NULL
11524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11526 if (SWIG_arg_fail(1)) SWIG_fail
;
11528 arg2
= wxString_in_helper(obj1
);
11529 if (arg2
== NULL
) SWIG_fail
;
11533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11534 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11536 wxPyEndAllowThreads(__tstate
);
11537 if (PyErr_Occurred()) SWIG_fail
;
11539 Py_INCREF(Py_None
); resultobj
= Py_None
;
11554 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11555 PyObject
*resultobj
;
11556 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11560 PyObject
* obj0
= 0 ;
11561 PyObject
* obj1
= 0 ;
11562 PyObject
* obj2
= 0 ;
11563 char *kwnames
[] = {
11564 (char *) "self",(char *) "from",(char *) "to", NULL
11567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11569 if (SWIG_arg_fail(1)) SWIG_fail
;
11571 arg2
= (long)(SWIG_As_long(obj1
));
11572 if (SWIG_arg_fail(2)) SWIG_fail
;
11575 arg3
= (long)(SWIG_As_long(obj2
));
11576 if (SWIG_arg_fail(3)) SWIG_fail
;
11579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11580 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11582 wxPyEndAllowThreads(__tstate
);
11583 if (PyErr_Occurred()) SWIG_fail
;
11587 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11589 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11598 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11599 PyObject
*resultobj
;
11600 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11601 wxVisualAttributes result
;
11602 PyObject
* obj0
= 0 ;
11603 char *kwnames
[] = {
11604 (char *) "variant", NULL
11607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11610 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
11611 if (SWIG_arg_fail(1)) SWIG_fail
;
11615 if (!wxPyCheckForApp()) SWIG_fail
;
11616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11617 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11619 wxPyEndAllowThreads(__tstate
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11623 wxVisualAttributes
* resultptr
;
11624 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
11625 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11633 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11635 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11636 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11638 return Py_BuildValue((char *)"");
11640 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11641 PyObject
*resultobj
;
11643 wxMouseEvent
*arg2
= 0 ;
11646 wxTextUrlEvent
*result
;
11647 PyObject
* obj0
= 0 ;
11648 PyObject
* obj1
= 0 ;
11649 PyObject
* obj2
= 0 ;
11650 PyObject
* obj3
= 0 ;
11651 char *kwnames
[] = {
11652 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11657 arg1
= (int)(SWIG_As_int(obj0
));
11658 if (SWIG_arg_fail(1)) SWIG_fail
;
11661 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
11662 if (SWIG_arg_fail(2)) SWIG_fail
;
11663 if (arg2
== NULL
) {
11664 SWIG_null_ref("wxMouseEvent");
11666 if (SWIG_arg_fail(2)) SWIG_fail
;
11669 arg3
= (long)(SWIG_As_long(obj2
));
11670 if (SWIG_arg_fail(3)) SWIG_fail
;
11673 arg4
= (long)(SWIG_As_long(obj3
));
11674 if (SWIG_arg_fail(4)) SWIG_fail
;
11677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11678 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
11680 wxPyEndAllowThreads(__tstate
);
11681 if (PyErr_Occurred()) SWIG_fail
;
11683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
11690 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11691 PyObject
*resultobj
;
11692 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11693 wxMouseEvent
*result
;
11694 PyObject
* obj0
= 0 ;
11695 char *kwnames
[] = {
11696 (char *) "self", NULL
11699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
11700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11701 if (SWIG_arg_fail(1)) SWIG_fail
;
11703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11705 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
11706 result
= (wxMouseEvent
*) &_result_ref
;
11709 wxPyEndAllowThreads(__tstate
);
11710 if (PyErr_Occurred()) SWIG_fail
;
11712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
11719 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11720 PyObject
*resultobj
;
11721 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11723 PyObject
* obj0
= 0 ;
11724 char *kwnames
[] = {
11725 (char *) "self", NULL
11728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
11729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11730 if (SWIG_arg_fail(1)) SWIG_fail
;
11732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11733 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
11735 wxPyEndAllowThreads(__tstate
);
11736 if (PyErr_Occurred()) SWIG_fail
;
11739 resultobj
= SWIG_From_long((long)(result
));
11747 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11748 PyObject
*resultobj
;
11749 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11751 PyObject
* obj0
= 0 ;
11752 char *kwnames
[] = {
11753 (char *) "self", NULL
11756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
11757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11758 if (SWIG_arg_fail(1)) SWIG_fail
;
11760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11761 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
11763 wxPyEndAllowThreads(__tstate
);
11764 if (PyErr_Occurred()) SWIG_fail
;
11767 resultobj
= SWIG_From_long((long)(result
));
11775 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
11777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11778 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
11780 return Py_BuildValue((char *)"");
11782 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
11783 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
11788 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
11793 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11795 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11802 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11803 PyObject
*resultobj
;
11804 wxWindow
*arg1
= (wxWindow
*) 0 ;
11805 int arg2
= (int) -1 ;
11806 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11807 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11808 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11809 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11810 long arg5
= (long) wxSB_HORIZONTAL
;
11811 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
11812 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
11813 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
11814 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11815 wxScrollBar
*result
;
11818 bool temp7
= false ;
11819 PyObject
* obj0
= 0 ;
11820 PyObject
* obj1
= 0 ;
11821 PyObject
* obj2
= 0 ;
11822 PyObject
* obj3
= 0 ;
11823 PyObject
* obj4
= 0 ;
11824 PyObject
* obj5
= 0 ;
11825 PyObject
* obj6
= 0 ;
11826 char *kwnames
[] = {
11827 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11832 if (SWIG_arg_fail(1)) SWIG_fail
;
11835 arg2
= (int)(SWIG_As_int(obj1
));
11836 if (SWIG_arg_fail(2)) SWIG_fail
;
11842 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11848 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11853 arg5
= (long)(SWIG_As_long(obj4
));
11854 if (SWIG_arg_fail(5)) SWIG_fail
;
11859 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11860 if (SWIG_arg_fail(6)) SWIG_fail
;
11861 if (arg6
== NULL
) {
11862 SWIG_null_ref("wxValidator");
11864 if (SWIG_arg_fail(6)) SWIG_fail
;
11869 arg7
= wxString_in_helper(obj6
);
11870 if (arg7
== NULL
) SWIG_fail
;
11875 if (!wxPyCheckForApp()) SWIG_fail
;
11876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11877 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
11879 wxPyEndAllowThreads(__tstate
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11897 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11898 PyObject
*resultobj
;
11899 wxScrollBar
*result
;
11900 char *kwnames
[] = {
11904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
11906 if (!wxPyCheckForApp()) SWIG_fail
;
11907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11908 result
= (wxScrollBar
*)new wxScrollBar();
11910 wxPyEndAllowThreads(__tstate
);
11911 if (PyErr_Occurred()) SWIG_fail
;
11913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11920 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11921 PyObject
*resultobj
;
11922 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11923 wxWindow
*arg2
= (wxWindow
*) 0 ;
11924 int arg3
= (int) -1 ;
11925 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11926 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11927 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11928 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11929 long arg6
= (long) wxSB_HORIZONTAL
;
11930 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11931 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11932 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
11933 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11937 bool temp8
= false ;
11938 PyObject
* obj0
= 0 ;
11939 PyObject
* obj1
= 0 ;
11940 PyObject
* obj2
= 0 ;
11941 PyObject
* obj3
= 0 ;
11942 PyObject
* obj4
= 0 ;
11943 PyObject
* obj5
= 0 ;
11944 PyObject
* obj6
= 0 ;
11945 PyObject
* obj7
= 0 ;
11946 char *kwnames
[] = {
11947 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11952 if (SWIG_arg_fail(1)) SWIG_fail
;
11953 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11954 if (SWIG_arg_fail(2)) SWIG_fail
;
11957 arg3
= (int)(SWIG_As_int(obj2
));
11958 if (SWIG_arg_fail(3)) SWIG_fail
;
11964 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11970 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11975 arg6
= (long)(SWIG_As_long(obj5
));
11976 if (SWIG_arg_fail(6)) SWIG_fail
;
11981 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11982 if (SWIG_arg_fail(7)) SWIG_fail
;
11983 if (arg7
== NULL
) {
11984 SWIG_null_ref("wxValidator");
11986 if (SWIG_arg_fail(7)) SWIG_fail
;
11991 arg8
= wxString_in_helper(obj7
);
11992 if (arg8
== NULL
) SWIG_fail
;
11997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11998 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12000 wxPyEndAllowThreads(__tstate
);
12001 if (PyErr_Occurred()) SWIG_fail
;
12004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12020 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12021 PyObject
*resultobj
;
12022 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12024 PyObject
* obj0
= 0 ;
12025 char *kwnames
[] = {
12026 (char *) "self", NULL
12029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
12030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12031 if (SWIG_arg_fail(1)) SWIG_fail
;
12033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12034 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
12036 wxPyEndAllowThreads(__tstate
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12040 resultobj
= SWIG_From_int((int)(result
));
12048 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12049 PyObject
*resultobj
;
12050 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12052 PyObject
* obj0
= 0 ;
12053 char *kwnames
[] = {
12054 (char *) "self", NULL
12057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
12058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12059 if (SWIG_arg_fail(1)) SWIG_fail
;
12061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12062 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
12064 wxPyEndAllowThreads(__tstate
);
12065 if (PyErr_Occurred()) SWIG_fail
;
12068 resultobj
= SWIG_From_int((int)(result
));
12076 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12077 PyObject
*resultobj
;
12078 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12080 PyObject
* obj0
= 0 ;
12081 char *kwnames
[] = {
12082 (char *) "self", NULL
12085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
12086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12087 if (SWIG_arg_fail(1)) SWIG_fail
;
12089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12090 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
12092 wxPyEndAllowThreads(__tstate
);
12093 if (PyErr_Occurred()) SWIG_fail
;
12096 resultobj
= SWIG_From_int((int)(result
));
12104 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12105 PyObject
*resultobj
;
12106 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12108 PyObject
* obj0
= 0 ;
12109 char *kwnames
[] = {
12110 (char *) "self", NULL
12113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12115 if (SWIG_arg_fail(1)) SWIG_fail
;
12117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12118 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12120 wxPyEndAllowThreads(__tstate
);
12121 if (PyErr_Occurred()) SWIG_fail
;
12124 resultobj
= SWIG_From_int((int)(result
));
12132 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12133 PyObject
*resultobj
;
12134 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12136 PyObject
* obj0
= 0 ;
12137 char *kwnames
[] = {
12138 (char *) "self", NULL
12141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12143 if (SWIG_arg_fail(1)) SWIG_fail
;
12145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12146 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12148 wxPyEndAllowThreads(__tstate
);
12149 if (PyErr_Occurred()) SWIG_fail
;
12152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12160 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12161 PyObject
*resultobj
;
12162 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12164 PyObject
* obj0
= 0 ;
12165 PyObject
* obj1
= 0 ;
12166 char *kwnames
[] = {
12167 (char *) "self",(char *) "viewStart", NULL
12170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12172 if (SWIG_arg_fail(1)) SWIG_fail
;
12174 arg2
= (int)(SWIG_As_int(obj1
));
12175 if (SWIG_arg_fail(2)) SWIG_fail
;
12178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12179 (arg1
)->SetThumbPosition(arg2
);
12181 wxPyEndAllowThreads(__tstate
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12184 Py_INCREF(Py_None
); resultobj
= Py_None
;
12191 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12192 PyObject
*resultobj
;
12193 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12198 bool arg6
= (bool) true ;
12199 PyObject
* obj0
= 0 ;
12200 PyObject
* obj1
= 0 ;
12201 PyObject
* obj2
= 0 ;
12202 PyObject
* obj3
= 0 ;
12203 PyObject
* obj4
= 0 ;
12204 PyObject
* obj5
= 0 ;
12205 char *kwnames
[] = {
12206 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12211 if (SWIG_arg_fail(1)) SWIG_fail
;
12213 arg2
= (int)(SWIG_As_int(obj1
));
12214 if (SWIG_arg_fail(2)) SWIG_fail
;
12217 arg3
= (int)(SWIG_As_int(obj2
));
12218 if (SWIG_arg_fail(3)) SWIG_fail
;
12221 arg4
= (int)(SWIG_As_int(obj3
));
12222 if (SWIG_arg_fail(4)) SWIG_fail
;
12225 arg5
= (int)(SWIG_As_int(obj4
));
12226 if (SWIG_arg_fail(5)) SWIG_fail
;
12230 arg6
= (bool)(SWIG_As_bool(obj5
));
12231 if (SWIG_arg_fail(6)) SWIG_fail
;
12235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12236 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12238 wxPyEndAllowThreads(__tstate
);
12239 if (PyErr_Occurred()) SWIG_fail
;
12241 Py_INCREF(Py_None
); resultobj
= Py_None
;
12248 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12249 PyObject
*resultobj
;
12250 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12251 wxVisualAttributes result
;
12252 PyObject
* obj0
= 0 ;
12253 char *kwnames
[] = {
12254 (char *) "variant", NULL
12257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12260 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12261 if (SWIG_arg_fail(1)) SWIG_fail
;
12265 if (!wxPyCheckForApp()) SWIG_fail
;
12266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12267 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12269 wxPyEndAllowThreads(__tstate
);
12270 if (PyErr_Occurred()) SWIG_fail
;
12273 wxVisualAttributes
* resultptr
;
12274 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12275 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12283 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12285 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12286 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12288 return Py_BuildValue((char *)"");
12290 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12291 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12296 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12301 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12303 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12310 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12311 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12316 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12321 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12323 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12330 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12331 PyObject
*resultobj
;
12332 wxWindow
*arg1
= (wxWindow
*) 0 ;
12333 int arg2
= (int) -1 ;
12334 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12335 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12336 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12337 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12338 long arg5
= (long) wxSP_HORIZONTAL
;
12339 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12340 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12341 wxSpinButton
*result
;
12344 bool temp6
= false ;
12345 PyObject
* obj0
= 0 ;
12346 PyObject
* obj1
= 0 ;
12347 PyObject
* obj2
= 0 ;
12348 PyObject
* obj3
= 0 ;
12349 PyObject
* obj4
= 0 ;
12350 PyObject
* obj5
= 0 ;
12351 char *kwnames
[] = {
12352 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12357 if (SWIG_arg_fail(1)) SWIG_fail
;
12360 arg2
= (int)(SWIG_As_int(obj1
));
12361 if (SWIG_arg_fail(2)) SWIG_fail
;
12367 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12373 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12378 arg5
= (long)(SWIG_As_long(obj4
));
12379 if (SWIG_arg_fail(5)) SWIG_fail
;
12384 arg6
= wxString_in_helper(obj5
);
12385 if (arg6
== NULL
) SWIG_fail
;
12390 if (!wxPyCheckForApp()) SWIG_fail
;
12391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12392 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12394 wxPyEndAllowThreads(__tstate
);
12395 if (PyErr_Occurred()) SWIG_fail
;
12397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12412 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12413 PyObject
*resultobj
;
12414 wxSpinButton
*result
;
12415 char *kwnames
[] = {
12419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12421 if (!wxPyCheckForApp()) SWIG_fail
;
12422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12423 result
= (wxSpinButton
*)new wxSpinButton();
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12435 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12436 PyObject
*resultobj
;
12437 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12438 wxWindow
*arg2
= (wxWindow
*) 0 ;
12439 int arg3
= (int) -1 ;
12440 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12441 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12442 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12443 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12444 long arg6
= (long) wxSP_HORIZONTAL
;
12445 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12446 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12450 bool temp7
= false ;
12451 PyObject
* obj0
= 0 ;
12452 PyObject
* obj1
= 0 ;
12453 PyObject
* obj2
= 0 ;
12454 PyObject
* obj3
= 0 ;
12455 PyObject
* obj4
= 0 ;
12456 PyObject
* obj5
= 0 ;
12457 PyObject
* obj6
= 0 ;
12458 char *kwnames
[] = {
12459 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12464 if (SWIG_arg_fail(1)) SWIG_fail
;
12465 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12466 if (SWIG_arg_fail(2)) SWIG_fail
;
12469 arg3
= (int)(SWIG_As_int(obj2
));
12470 if (SWIG_arg_fail(3)) SWIG_fail
;
12476 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12482 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12487 arg6
= (long)(SWIG_As_long(obj5
));
12488 if (SWIG_arg_fail(6)) SWIG_fail
;
12493 arg7
= wxString_in_helper(obj6
);
12494 if (arg7
== NULL
) SWIG_fail
;
12499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12500 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12502 wxPyEndAllowThreads(__tstate
);
12503 if (PyErr_Occurred()) SWIG_fail
;
12506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12522 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12523 PyObject
*resultobj
;
12524 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12526 PyObject
* obj0
= 0 ;
12527 char *kwnames
[] = {
12528 (char *) "self", NULL
12531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12533 if (SWIG_arg_fail(1)) SWIG_fail
;
12535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12536 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12538 wxPyEndAllowThreads(__tstate
);
12539 if (PyErr_Occurred()) SWIG_fail
;
12542 resultobj
= SWIG_From_int((int)(result
));
12550 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12551 PyObject
*resultobj
;
12552 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12554 PyObject
* obj0
= 0 ;
12555 char *kwnames
[] = {
12556 (char *) "self", NULL
12559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12561 if (SWIG_arg_fail(1)) SWIG_fail
;
12563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12564 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12566 wxPyEndAllowThreads(__tstate
);
12567 if (PyErr_Occurred()) SWIG_fail
;
12570 resultobj
= SWIG_From_int((int)(result
));
12578 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12579 PyObject
*resultobj
;
12580 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12582 PyObject
* obj0
= 0 ;
12583 char *kwnames
[] = {
12584 (char *) "self", NULL
12587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12589 if (SWIG_arg_fail(1)) SWIG_fail
;
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12598 resultobj
= SWIG_From_int((int)(result
));
12606 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12607 PyObject
*resultobj
;
12608 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12610 PyObject
* obj0
= 0 ;
12611 PyObject
* obj1
= 0 ;
12612 char *kwnames
[] = {
12613 (char *) "self",(char *) "val", NULL
12616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12618 if (SWIG_arg_fail(1)) SWIG_fail
;
12620 arg2
= (int)(SWIG_As_int(obj1
));
12621 if (SWIG_arg_fail(2)) SWIG_fail
;
12624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12625 (arg1
)->SetValue(arg2
);
12627 wxPyEndAllowThreads(__tstate
);
12628 if (PyErr_Occurred()) SWIG_fail
;
12630 Py_INCREF(Py_None
); resultobj
= Py_None
;
12637 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12638 PyObject
*resultobj
;
12639 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12641 PyObject
* obj0
= 0 ;
12642 PyObject
* obj1
= 0 ;
12643 char *kwnames
[] = {
12644 (char *) "self",(char *) "minVal", NULL
12647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12649 if (SWIG_arg_fail(1)) SWIG_fail
;
12651 arg2
= (int)(SWIG_As_int(obj1
));
12652 if (SWIG_arg_fail(2)) SWIG_fail
;
12655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12656 (arg1
)->SetMin(arg2
);
12658 wxPyEndAllowThreads(__tstate
);
12659 if (PyErr_Occurred()) SWIG_fail
;
12661 Py_INCREF(Py_None
); resultobj
= Py_None
;
12668 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12669 PyObject
*resultobj
;
12670 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12672 PyObject
* obj0
= 0 ;
12673 PyObject
* obj1
= 0 ;
12674 char *kwnames
[] = {
12675 (char *) "self",(char *) "maxVal", NULL
12678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12680 if (SWIG_arg_fail(1)) SWIG_fail
;
12682 arg2
= (int)(SWIG_As_int(obj1
));
12683 if (SWIG_arg_fail(2)) SWIG_fail
;
12686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12687 (arg1
)->SetMax(arg2
);
12689 wxPyEndAllowThreads(__tstate
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12692 Py_INCREF(Py_None
); resultobj
= Py_None
;
12699 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12700 PyObject
*resultobj
;
12701 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12704 PyObject
* obj0
= 0 ;
12705 PyObject
* obj1
= 0 ;
12706 PyObject
* obj2
= 0 ;
12707 char *kwnames
[] = {
12708 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12713 if (SWIG_arg_fail(1)) SWIG_fail
;
12715 arg2
= (int)(SWIG_As_int(obj1
));
12716 if (SWIG_arg_fail(2)) SWIG_fail
;
12719 arg3
= (int)(SWIG_As_int(obj2
));
12720 if (SWIG_arg_fail(3)) SWIG_fail
;
12723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12724 (arg1
)->SetRange(arg2
,arg3
);
12726 wxPyEndAllowThreads(__tstate
);
12727 if (PyErr_Occurred()) SWIG_fail
;
12729 Py_INCREF(Py_None
); resultobj
= Py_None
;
12736 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12737 PyObject
*resultobj
;
12738 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12740 PyObject
* obj0
= 0 ;
12741 char *kwnames
[] = {
12742 (char *) "self", NULL
12745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
12746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12747 if (SWIG_arg_fail(1)) SWIG_fail
;
12749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12750 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
12752 wxPyEndAllowThreads(__tstate
);
12753 if (PyErr_Occurred()) SWIG_fail
;
12756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12764 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12765 PyObject
*resultobj
;
12766 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12767 wxVisualAttributes result
;
12768 PyObject
* obj0
= 0 ;
12769 char *kwnames
[] = {
12770 (char *) "variant", NULL
12773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12776 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12777 if (SWIG_arg_fail(1)) SWIG_fail
;
12781 if (!wxPyCheckForApp()) SWIG_fail
;
12782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12783 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12785 wxPyEndAllowThreads(__tstate
);
12786 if (PyErr_Occurred()) SWIG_fail
;
12789 wxVisualAttributes
* resultptr
;
12790 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12791 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12799 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
12801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12802 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
12804 return Py_BuildValue((char *)"");
12806 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12807 PyObject
*resultobj
;
12808 wxWindow
*arg1
= (wxWindow
*) 0 ;
12809 int arg2
= (int) -1 ;
12810 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12811 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12812 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12813 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12814 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12815 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12816 long arg6
= (long) wxSP_ARROW_KEYS
;
12817 int arg7
= (int) 0 ;
12818 int arg8
= (int) 100 ;
12819 int arg9
= (int) 0 ;
12820 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
12821 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12822 wxSpinCtrl
*result
;
12823 bool temp3
= false ;
12826 bool temp10
= false ;
12827 PyObject
* obj0
= 0 ;
12828 PyObject
* obj1
= 0 ;
12829 PyObject
* obj2
= 0 ;
12830 PyObject
* obj3
= 0 ;
12831 PyObject
* obj4
= 0 ;
12832 PyObject
* obj5
= 0 ;
12833 PyObject
* obj6
= 0 ;
12834 PyObject
* obj7
= 0 ;
12835 PyObject
* obj8
= 0 ;
12836 PyObject
* obj9
= 0 ;
12837 char *kwnames
[] = {
12838 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12843 if (SWIG_arg_fail(1)) SWIG_fail
;
12846 arg2
= (int)(SWIG_As_int(obj1
));
12847 if (SWIG_arg_fail(2)) SWIG_fail
;
12852 arg3
= wxString_in_helper(obj2
);
12853 if (arg3
== NULL
) SWIG_fail
;
12860 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12866 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12871 arg6
= (long)(SWIG_As_long(obj5
));
12872 if (SWIG_arg_fail(6)) SWIG_fail
;
12877 arg7
= (int)(SWIG_As_int(obj6
));
12878 if (SWIG_arg_fail(7)) SWIG_fail
;
12883 arg8
= (int)(SWIG_As_int(obj7
));
12884 if (SWIG_arg_fail(8)) SWIG_fail
;
12889 arg9
= (int)(SWIG_As_int(obj8
));
12890 if (SWIG_arg_fail(9)) SWIG_fail
;
12895 arg10
= wxString_in_helper(obj9
);
12896 if (arg10
== NULL
) SWIG_fail
;
12901 if (!wxPyCheckForApp()) SWIG_fail
;
12902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12903 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
12905 wxPyEndAllowThreads(__tstate
);
12906 if (PyErr_Occurred()) SWIG_fail
;
12908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12931 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12932 PyObject
*resultobj
;
12933 wxSpinCtrl
*result
;
12934 char *kwnames
[] = {
12938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
12940 if (!wxPyCheckForApp()) SWIG_fail
;
12941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12942 result
= (wxSpinCtrl
*)new wxSpinCtrl();
12944 wxPyEndAllowThreads(__tstate
);
12945 if (PyErr_Occurred()) SWIG_fail
;
12947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12954 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12955 PyObject
*resultobj
;
12956 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
12957 wxWindow
*arg2
= (wxWindow
*) 0 ;
12958 int arg3
= (int) -1 ;
12959 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12960 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12961 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12962 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12963 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12964 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12965 long arg7
= (long) wxSP_ARROW_KEYS
;
12966 int arg8
= (int) 0 ;
12967 int arg9
= (int) 100 ;
12968 int arg10
= (int) 0 ;
12969 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
12970 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12972 bool temp4
= false ;
12975 bool temp11
= false ;
12976 PyObject
* obj0
= 0 ;
12977 PyObject
* obj1
= 0 ;
12978 PyObject
* obj2
= 0 ;
12979 PyObject
* obj3
= 0 ;
12980 PyObject
* obj4
= 0 ;
12981 PyObject
* obj5
= 0 ;
12982 PyObject
* obj6
= 0 ;
12983 PyObject
* obj7
= 0 ;
12984 PyObject
* obj8
= 0 ;
12985 PyObject
* obj9
= 0 ;
12986 PyObject
* obj10
= 0 ;
12987 char *kwnames
[] = {
12988 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
12993 if (SWIG_arg_fail(1)) SWIG_fail
;
12994 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12995 if (SWIG_arg_fail(2)) SWIG_fail
;
12998 arg3
= (int)(SWIG_As_int(obj2
));
12999 if (SWIG_arg_fail(3)) SWIG_fail
;
13004 arg4
= wxString_in_helper(obj3
);
13005 if (arg4
== NULL
) SWIG_fail
;
13012 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13018 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13023 arg7
= (long)(SWIG_As_long(obj6
));
13024 if (SWIG_arg_fail(7)) SWIG_fail
;
13029 arg8
= (int)(SWIG_As_int(obj7
));
13030 if (SWIG_arg_fail(8)) SWIG_fail
;
13035 arg9
= (int)(SWIG_As_int(obj8
));
13036 if (SWIG_arg_fail(9)) SWIG_fail
;
13041 arg10
= (int)(SWIG_As_int(obj9
));
13042 if (SWIG_arg_fail(10)) SWIG_fail
;
13047 arg11
= wxString_in_helper(obj10
);
13048 if (arg11
== NULL
) SWIG_fail
;
13053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13054 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
13056 wxPyEndAllowThreads(__tstate
);
13057 if (PyErr_Occurred()) SWIG_fail
;
13060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13084 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13085 PyObject
*resultobj
;
13086 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13088 PyObject
* obj0
= 0 ;
13089 char *kwnames
[] = {
13090 (char *) "self", NULL
13093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
13094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13095 if (SWIG_arg_fail(1)) SWIG_fail
;
13097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13098 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
13100 wxPyEndAllowThreads(__tstate
);
13101 if (PyErr_Occurred()) SWIG_fail
;
13104 resultobj
= SWIG_From_int((int)(result
));
13112 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13113 PyObject
*resultobj
;
13114 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13116 PyObject
* obj0
= 0 ;
13117 PyObject
* obj1
= 0 ;
13118 char *kwnames
[] = {
13119 (char *) "self",(char *) "value", NULL
13122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13124 if (SWIG_arg_fail(1)) SWIG_fail
;
13126 arg2
= (int)(SWIG_As_int(obj1
));
13127 if (SWIG_arg_fail(2)) SWIG_fail
;
13130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13131 (arg1
)->SetValue(arg2
);
13133 wxPyEndAllowThreads(__tstate
);
13134 if (PyErr_Occurred()) SWIG_fail
;
13136 Py_INCREF(Py_None
); resultobj
= Py_None
;
13143 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13144 PyObject
*resultobj
;
13145 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13146 wxString
*arg2
= 0 ;
13147 bool temp2
= false ;
13148 PyObject
* obj0
= 0 ;
13149 PyObject
* obj1
= 0 ;
13150 char *kwnames
[] = {
13151 (char *) "self",(char *) "text", NULL
13154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
13155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13156 if (SWIG_arg_fail(1)) SWIG_fail
;
13158 arg2
= wxString_in_helper(obj1
);
13159 if (arg2
== NULL
) SWIG_fail
;
13163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13164 (arg1
)->SetValue((wxString
const &)*arg2
);
13166 wxPyEndAllowThreads(__tstate
);
13167 if (PyErr_Occurred()) SWIG_fail
;
13169 Py_INCREF(Py_None
); resultobj
= Py_None
;
13184 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13185 PyObject
*resultobj
;
13186 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13189 PyObject
* obj0
= 0 ;
13190 PyObject
* obj1
= 0 ;
13191 PyObject
* obj2
= 0 ;
13192 char *kwnames
[] = {
13193 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13198 if (SWIG_arg_fail(1)) SWIG_fail
;
13200 arg2
= (int)(SWIG_As_int(obj1
));
13201 if (SWIG_arg_fail(2)) SWIG_fail
;
13204 arg3
= (int)(SWIG_As_int(obj2
));
13205 if (SWIG_arg_fail(3)) SWIG_fail
;
13208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13209 (arg1
)->SetRange(arg2
,arg3
);
13211 wxPyEndAllowThreads(__tstate
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13214 Py_INCREF(Py_None
); resultobj
= Py_None
;
13221 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13222 PyObject
*resultobj
;
13223 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13225 PyObject
* obj0
= 0 ;
13226 char *kwnames
[] = {
13227 (char *) "self", NULL
13230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13232 if (SWIG_arg_fail(1)) SWIG_fail
;
13234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13235 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13237 wxPyEndAllowThreads(__tstate
);
13238 if (PyErr_Occurred()) SWIG_fail
;
13241 resultobj
= SWIG_From_int((int)(result
));
13249 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13250 PyObject
*resultobj
;
13251 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13253 PyObject
* obj0
= 0 ;
13254 char *kwnames
[] = {
13255 (char *) "self", NULL
13258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
13259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13260 if (SWIG_arg_fail(1)) SWIG_fail
;
13262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13263 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13265 wxPyEndAllowThreads(__tstate
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13269 resultobj
= SWIG_From_int((int)(result
));
13277 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13278 PyObject
*resultobj
;
13279 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13282 PyObject
* obj0
= 0 ;
13283 PyObject
* obj1
= 0 ;
13284 PyObject
* obj2
= 0 ;
13285 char *kwnames
[] = {
13286 (char *) "self",(char *) "from",(char *) "to", NULL
13289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13291 if (SWIG_arg_fail(1)) SWIG_fail
;
13293 arg2
= (long)(SWIG_As_long(obj1
));
13294 if (SWIG_arg_fail(2)) SWIG_fail
;
13297 arg3
= (long)(SWIG_As_long(obj2
));
13298 if (SWIG_arg_fail(3)) SWIG_fail
;
13301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13302 (arg1
)->SetSelection(arg2
,arg3
);
13304 wxPyEndAllowThreads(__tstate
);
13305 if (PyErr_Occurred()) SWIG_fail
;
13307 Py_INCREF(Py_None
); resultobj
= Py_None
;
13314 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13315 PyObject
*resultobj
;
13316 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13317 wxVisualAttributes result
;
13318 PyObject
* obj0
= 0 ;
13319 char *kwnames
[] = {
13320 (char *) "variant", NULL
13323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13326 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
13327 if (SWIG_arg_fail(1)) SWIG_fail
;
13331 if (!wxPyCheckForApp()) SWIG_fail
;
13332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13333 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13335 wxPyEndAllowThreads(__tstate
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13339 wxVisualAttributes
* resultptr
;
13340 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
13341 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13349 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13352 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13354 return Py_BuildValue((char *)"");
13356 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13357 PyObject
*resultobj
;
13358 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13359 int arg2
= (int) 0 ;
13360 wxSpinEvent
*result
;
13361 PyObject
* obj0
= 0 ;
13362 PyObject
* obj1
= 0 ;
13363 char *kwnames
[] = {
13364 (char *) "commandType",(char *) "winid", NULL
13367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13370 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13371 if (SWIG_arg_fail(1)) SWIG_fail
;
13376 arg2
= (int)(SWIG_As_int(obj1
));
13377 if (SWIG_arg_fail(2)) SWIG_fail
;
13381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13382 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13384 wxPyEndAllowThreads(__tstate
);
13385 if (PyErr_Occurred()) SWIG_fail
;
13387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13394 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13395 PyObject
*resultobj
;
13396 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13398 PyObject
* obj0
= 0 ;
13399 char *kwnames
[] = {
13400 (char *) "self", NULL
13403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13405 if (SWIG_arg_fail(1)) SWIG_fail
;
13407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13408 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13410 wxPyEndAllowThreads(__tstate
);
13411 if (PyErr_Occurred()) SWIG_fail
;
13414 resultobj
= SWIG_From_int((int)(result
));
13422 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13423 PyObject
*resultobj
;
13424 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13426 PyObject
* obj0
= 0 ;
13427 PyObject
* obj1
= 0 ;
13428 char *kwnames
[] = {
13429 (char *) "self",(char *) "pos", NULL
13432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13434 if (SWIG_arg_fail(1)) SWIG_fail
;
13436 arg2
= (int)(SWIG_As_int(obj1
));
13437 if (SWIG_arg_fail(2)) SWIG_fail
;
13440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13441 (arg1
)->SetPosition(arg2
);
13443 wxPyEndAllowThreads(__tstate
);
13444 if (PyErr_Occurred()) SWIG_fail
;
13446 Py_INCREF(Py_None
); resultobj
= Py_None
;
13453 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13455 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13456 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13458 return Py_BuildValue((char *)"");
13460 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13461 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13466 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13471 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13473 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13480 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13481 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13486 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13491 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13493 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13500 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13501 PyObject
*resultobj
;
13502 wxWindow
*arg1
= (wxWindow
*) 0 ;
13503 int arg2
= (int) -1 ;
13504 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13505 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13506 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13507 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13508 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13509 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13510 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13511 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13512 int arg7
= (int) 0 ;
13513 long arg8
= (long) wxRA_HORIZONTAL
;
13514 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13515 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13516 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13517 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13518 wxRadioBox
*result
;
13519 bool temp3
= false ;
13522 bool temp6
= false ;
13523 bool temp10
= false ;
13524 PyObject
* obj0
= 0 ;
13525 PyObject
* obj1
= 0 ;
13526 PyObject
* obj2
= 0 ;
13527 PyObject
* obj3
= 0 ;
13528 PyObject
* obj4
= 0 ;
13529 PyObject
* obj5
= 0 ;
13530 PyObject
* obj6
= 0 ;
13531 PyObject
* obj7
= 0 ;
13532 PyObject
* obj8
= 0 ;
13533 PyObject
* obj9
= 0 ;
13534 char *kwnames
[] = {
13535 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13540 if (SWIG_arg_fail(1)) SWIG_fail
;
13543 arg2
= (int)(SWIG_As_int(obj1
));
13544 if (SWIG_arg_fail(2)) SWIG_fail
;
13549 arg3
= wxString_in_helper(obj2
);
13550 if (arg3
== NULL
) SWIG_fail
;
13557 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13563 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13568 if (! PySequence_Check(obj5
)) {
13569 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13572 arg6
= new wxArrayString
;
13574 int i
, len
=PySequence_Length(obj5
);
13575 for (i
=0; i
<len
; i
++) {
13576 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13578 PyObject
* str
= PyObject_Unicode(item
);
13580 PyObject
* str
= PyObject_Str(item
);
13582 if (PyErr_Occurred()) SWIG_fail
;
13583 arg6
->Add(Py2wxString(str
));
13591 arg7
= (int)(SWIG_As_int(obj6
));
13592 if (SWIG_arg_fail(7)) SWIG_fail
;
13597 arg8
= (long)(SWIG_As_long(obj7
));
13598 if (SWIG_arg_fail(8)) SWIG_fail
;
13603 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13604 if (SWIG_arg_fail(9)) SWIG_fail
;
13605 if (arg9
== NULL
) {
13606 SWIG_null_ref("wxValidator");
13608 if (SWIG_arg_fail(9)) SWIG_fail
;
13613 arg10
= wxString_in_helper(obj9
);
13614 if (arg10
== NULL
) SWIG_fail
;
13619 if (!wxPyCheckForApp()) SWIG_fail
;
13620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13621 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
);
13623 wxPyEndAllowThreads(__tstate
);
13624 if (PyErr_Occurred()) SWIG_fail
;
13626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13632 if (temp6
) delete arg6
;
13645 if (temp6
) delete arg6
;
13655 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13656 PyObject
*resultobj
;
13657 wxRadioBox
*result
;
13658 char *kwnames
[] = {
13662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
13664 if (!wxPyCheckForApp()) SWIG_fail
;
13665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13666 result
= (wxRadioBox
*)new wxRadioBox();
13668 wxPyEndAllowThreads(__tstate
);
13669 if (PyErr_Occurred()) SWIG_fail
;
13671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13678 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13679 PyObject
*resultobj
;
13680 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13681 wxWindow
*arg2
= (wxWindow
*) 0 ;
13682 int arg3
= (int) -1 ;
13683 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13684 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13685 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13686 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13687 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13688 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13689 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
13690 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
13691 int arg8
= (int) 0 ;
13692 long arg9
= (long) wxRA_HORIZONTAL
;
13693 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13694 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13695 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
13696 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13698 bool temp4
= false ;
13701 bool temp7
= false ;
13702 bool temp11
= false ;
13703 PyObject
* obj0
= 0 ;
13704 PyObject
* obj1
= 0 ;
13705 PyObject
* obj2
= 0 ;
13706 PyObject
* obj3
= 0 ;
13707 PyObject
* obj4
= 0 ;
13708 PyObject
* obj5
= 0 ;
13709 PyObject
* obj6
= 0 ;
13710 PyObject
* obj7
= 0 ;
13711 PyObject
* obj8
= 0 ;
13712 PyObject
* obj9
= 0 ;
13713 PyObject
* obj10
= 0 ;
13714 char *kwnames
[] = {
13715 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13720 if (SWIG_arg_fail(1)) SWIG_fail
;
13721 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13722 if (SWIG_arg_fail(2)) SWIG_fail
;
13725 arg3
= (int)(SWIG_As_int(obj2
));
13726 if (SWIG_arg_fail(3)) SWIG_fail
;
13731 arg4
= wxString_in_helper(obj3
);
13732 if (arg4
== NULL
) SWIG_fail
;
13739 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13745 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13750 if (! PySequence_Check(obj6
)) {
13751 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13754 arg7
= new wxArrayString
;
13756 int i
, len
=PySequence_Length(obj6
);
13757 for (i
=0; i
<len
; i
++) {
13758 PyObject
* item
= PySequence_GetItem(obj6
, i
);
13760 PyObject
* str
= PyObject_Unicode(item
);
13762 PyObject
* str
= PyObject_Str(item
);
13764 if (PyErr_Occurred()) SWIG_fail
;
13765 arg7
->Add(Py2wxString(str
));
13773 arg8
= (int)(SWIG_As_int(obj7
));
13774 if (SWIG_arg_fail(8)) SWIG_fail
;
13779 arg9
= (long)(SWIG_As_long(obj8
));
13780 if (SWIG_arg_fail(9)) SWIG_fail
;
13785 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13786 if (SWIG_arg_fail(10)) SWIG_fail
;
13787 if (arg10
== NULL
) {
13788 SWIG_null_ref("wxValidator");
13790 if (SWIG_arg_fail(10)) SWIG_fail
;
13795 arg11
= wxString_in_helper(obj10
);
13796 if (arg11
== NULL
) SWIG_fail
;
13801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13802 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
);
13804 wxPyEndAllowThreads(__tstate
);
13805 if (PyErr_Occurred()) SWIG_fail
;
13808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13815 if (temp7
) delete arg7
;
13828 if (temp7
) delete arg7
;
13838 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13839 PyObject
*resultobj
;
13840 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13842 PyObject
* obj0
= 0 ;
13843 PyObject
* obj1
= 0 ;
13844 char *kwnames
[] = {
13845 (char *) "self",(char *) "n", NULL
13848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13850 if (SWIG_arg_fail(1)) SWIG_fail
;
13852 arg2
= (int)(SWIG_As_int(obj1
));
13853 if (SWIG_arg_fail(2)) SWIG_fail
;
13856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13857 (arg1
)->SetSelection(arg2
);
13859 wxPyEndAllowThreads(__tstate
);
13860 if (PyErr_Occurred()) SWIG_fail
;
13862 Py_INCREF(Py_None
); resultobj
= Py_None
;
13869 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13870 PyObject
*resultobj
;
13871 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13873 PyObject
* obj0
= 0 ;
13874 char *kwnames
[] = {
13875 (char *) "self", NULL
13878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
13879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13880 if (SWIG_arg_fail(1)) SWIG_fail
;
13882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13883 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
13885 wxPyEndAllowThreads(__tstate
);
13886 if (PyErr_Occurred()) SWIG_fail
;
13889 resultobj
= SWIG_From_int((int)(result
));
13897 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13898 PyObject
*resultobj
;
13899 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13901 PyObject
* obj0
= 0 ;
13902 char *kwnames
[] = {
13903 (char *) "self", NULL
13906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13908 if (SWIG_arg_fail(1)) SWIG_fail
;
13910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13911 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
13913 wxPyEndAllowThreads(__tstate
);
13914 if (PyErr_Occurred()) SWIG_fail
;
13918 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13920 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13929 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13930 PyObject
*resultobj
;
13931 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13932 wxString
*arg2
= 0 ;
13934 bool temp2
= false ;
13935 PyObject
* obj0
= 0 ;
13936 PyObject
* obj1
= 0 ;
13937 char *kwnames
[] = {
13938 (char *) "self",(char *) "s", NULL
13941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13943 if (SWIG_arg_fail(1)) SWIG_fail
;
13945 arg2
= wxString_in_helper(obj1
);
13946 if (arg2
== NULL
) SWIG_fail
;
13950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13951 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
13953 wxPyEndAllowThreads(__tstate
);
13954 if (PyErr_Occurred()) SWIG_fail
;
13957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13973 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13974 PyObject
*resultobj
;
13975 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13977 PyObject
* obj0
= 0 ;
13978 char *kwnames
[] = {
13979 (char *) "self", NULL
13982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
13983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13984 if (SWIG_arg_fail(1)) SWIG_fail
;
13986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13987 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
13989 wxPyEndAllowThreads(__tstate
);
13990 if (PyErr_Occurred()) SWIG_fail
;
13993 resultobj
= SWIG_From_int((int)(result
));
14001 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14002 PyObject
*resultobj
;
14003 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14004 wxString
*arg2
= 0 ;
14006 bool temp2
= false ;
14007 PyObject
* obj0
= 0 ;
14008 PyObject
* obj1
= 0 ;
14009 char *kwnames
[] = {
14010 (char *) "self",(char *) "s", NULL
14013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14015 if (SWIG_arg_fail(1)) SWIG_fail
;
14017 arg2
= wxString_in_helper(obj1
);
14018 if (arg2
== NULL
) SWIG_fail
;
14022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14023 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
14025 wxPyEndAllowThreads(__tstate
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14029 resultobj
= SWIG_From_int((int)(result
));
14045 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14046 PyObject
*resultobj
;
14047 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14050 PyObject
* obj0
= 0 ;
14051 PyObject
* obj1
= 0 ;
14052 char *kwnames
[] = {
14053 (char *) "self",(char *) "n", NULL
14056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14058 if (SWIG_arg_fail(1)) SWIG_fail
;
14060 arg2
= (int)(SWIG_As_int(obj1
));
14061 if (SWIG_arg_fail(2)) SWIG_fail
;
14064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14065 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
14067 wxPyEndAllowThreads(__tstate
);
14068 if (PyErr_Occurred()) SWIG_fail
;
14072 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14074 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14083 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14084 PyObject
*resultobj
;
14085 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14087 wxString
*arg3
= 0 ;
14088 bool temp3
= false ;
14089 PyObject
* obj0
= 0 ;
14090 PyObject
* obj1
= 0 ;
14091 PyObject
* obj2
= 0 ;
14092 char *kwnames
[] = {
14093 (char *) "self",(char *) "n",(char *) "label", NULL
14096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14098 if (SWIG_arg_fail(1)) SWIG_fail
;
14100 arg2
= (int)(SWIG_As_int(obj1
));
14101 if (SWIG_arg_fail(2)) SWIG_fail
;
14104 arg3
= wxString_in_helper(obj2
);
14105 if (arg3
== NULL
) SWIG_fail
;
14109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14110 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
14112 wxPyEndAllowThreads(__tstate
);
14113 if (PyErr_Occurred()) SWIG_fail
;
14115 Py_INCREF(Py_None
); resultobj
= Py_None
;
14130 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14131 PyObject
*resultobj
;
14132 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14134 bool arg3
= (bool) true ;
14135 PyObject
* obj0
= 0 ;
14136 PyObject
* obj1
= 0 ;
14137 PyObject
* obj2
= 0 ;
14138 char *kwnames
[] = {
14139 (char *) "self",(char *) "n",(char *) "enable", NULL
14142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14144 if (SWIG_arg_fail(1)) SWIG_fail
;
14146 arg2
= (int)(SWIG_As_int(obj1
));
14147 if (SWIG_arg_fail(2)) SWIG_fail
;
14151 arg3
= (bool)(SWIG_As_bool(obj2
));
14152 if (SWIG_arg_fail(3)) SWIG_fail
;
14156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14157 (arg1
)->Enable(arg2
,arg3
);
14159 wxPyEndAllowThreads(__tstate
);
14160 if (PyErr_Occurred()) SWIG_fail
;
14162 Py_INCREF(Py_None
); resultobj
= Py_None
;
14169 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14170 PyObject
*resultobj
;
14171 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14173 bool arg3
= (bool) true ;
14174 PyObject
* obj0
= 0 ;
14175 PyObject
* obj1
= 0 ;
14176 PyObject
* obj2
= 0 ;
14177 char *kwnames
[] = {
14178 (char *) "self",(char *) "n",(char *) "show", NULL
14181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
14186 if (SWIG_arg_fail(2)) SWIG_fail
;
14190 arg3
= (bool)(SWIG_As_bool(obj2
));
14191 if (SWIG_arg_fail(3)) SWIG_fail
;
14195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14196 (arg1
)->Show(arg2
,arg3
);
14198 wxPyEndAllowThreads(__tstate
);
14199 if (PyErr_Occurred()) SWIG_fail
;
14201 Py_INCREF(Py_None
); resultobj
= Py_None
;
14208 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14209 PyObject
*resultobj
;
14210 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14212 PyObject
* obj0
= 0 ;
14213 char *kwnames
[] = {
14214 (char *) "self", NULL
14217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14219 if (SWIG_arg_fail(1)) SWIG_fail
;
14221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14222 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
14224 wxPyEndAllowThreads(__tstate
);
14225 if (PyErr_Occurred()) SWIG_fail
;
14228 resultobj
= SWIG_From_int((int)(result
));
14236 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14237 PyObject
*resultobj
;
14238 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14240 PyObject
* obj0
= 0 ;
14241 char *kwnames
[] = {
14242 (char *) "self", NULL
14245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14247 if (SWIG_arg_fail(1)) SWIG_fail
;
14249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14250 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
14252 wxPyEndAllowThreads(__tstate
);
14253 if (PyErr_Occurred()) SWIG_fail
;
14256 resultobj
= SWIG_From_int((int)(result
));
14264 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14265 PyObject
*resultobj
;
14266 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14271 PyObject
* obj0
= 0 ;
14272 PyObject
* obj1
= 0 ;
14273 PyObject
* obj2
= 0 ;
14274 PyObject
* obj3
= 0 ;
14275 char *kwnames
[] = {
14276 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14281 if (SWIG_arg_fail(1)) SWIG_fail
;
14283 arg2
= (int)(SWIG_As_int(obj1
));
14284 if (SWIG_arg_fail(2)) SWIG_fail
;
14287 arg3
= (wxDirection
)(SWIG_As_int(obj2
));
14288 if (SWIG_arg_fail(3)) SWIG_fail
;
14291 arg4
= (long)(SWIG_As_long(obj3
));
14292 if (SWIG_arg_fail(4)) SWIG_fail
;
14295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14296 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
14298 wxPyEndAllowThreads(__tstate
);
14299 if (PyErr_Occurred()) SWIG_fail
;
14302 resultobj
= SWIG_From_int((int)(result
));
14310 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14311 PyObject
*resultobj
;
14312 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14313 wxVisualAttributes result
;
14314 PyObject
* obj0
= 0 ;
14315 char *kwnames
[] = {
14316 (char *) "variant", NULL
14319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14322 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14323 if (SWIG_arg_fail(1)) SWIG_fail
;
14327 if (!wxPyCheckForApp()) SWIG_fail
;
14328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14329 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14331 wxPyEndAllowThreads(__tstate
);
14332 if (PyErr_Occurred()) SWIG_fail
;
14335 wxVisualAttributes
* resultptr
;
14336 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14345 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14347 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14348 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14350 return Py_BuildValue((char *)"");
14352 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14353 PyObject
*resultobj
;
14354 wxWindow
*arg1
= (wxWindow
*) 0 ;
14355 int arg2
= (int) -1 ;
14356 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14357 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14358 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14359 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14360 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14361 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14362 long arg6
= (long) 0 ;
14363 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14364 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14365 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14366 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14367 wxRadioButton
*result
;
14368 bool temp3
= false ;
14371 bool temp8
= false ;
14372 PyObject
* obj0
= 0 ;
14373 PyObject
* obj1
= 0 ;
14374 PyObject
* obj2
= 0 ;
14375 PyObject
* obj3
= 0 ;
14376 PyObject
* obj4
= 0 ;
14377 PyObject
* obj5
= 0 ;
14378 PyObject
* obj6
= 0 ;
14379 PyObject
* obj7
= 0 ;
14380 char *kwnames
[] = {
14381 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14386 if (SWIG_arg_fail(1)) SWIG_fail
;
14389 arg2
= (int)(SWIG_As_int(obj1
));
14390 if (SWIG_arg_fail(2)) SWIG_fail
;
14395 arg3
= wxString_in_helper(obj2
);
14396 if (arg3
== NULL
) SWIG_fail
;
14403 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14409 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14414 arg6
= (long)(SWIG_As_long(obj5
));
14415 if (SWIG_arg_fail(6)) SWIG_fail
;
14420 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14421 if (SWIG_arg_fail(7)) SWIG_fail
;
14422 if (arg7
== NULL
) {
14423 SWIG_null_ref("wxValidator");
14425 if (SWIG_arg_fail(7)) SWIG_fail
;
14430 arg8
= wxString_in_helper(obj7
);
14431 if (arg8
== NULL
) SWIG_fail
;
14436 if (!wxPyCheckForApp()) SWIG_fail
;
14437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14438 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14440 wxPyEndAllowThreads(__tstate
);
14441 if (PyErr_Occurred()) SWIG_fail
;
14443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14466 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14467 PyObject
*resultobj
;
14468 wxRadioButton
*result
;
14469 char *kwnames
[] = {
14473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14475 if (!wxPyCheckForApp()) SWIG_fail
;
14476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14477 result
= (wxRadioButton
*)new wxRadioButton();
14479 wxPyEndAllowThreads(__tstate
);
14480 if (PyErr_Occurred()) SWIG_fail
;
14482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14489 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14490 PyObject
*resultobj
;
14491 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14492 wxWindow
*arg2
= (wxWindow
*) 0 ;
14493 int arg3
= (int) -1 ;
14494 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14495 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14496 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14497 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14498 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14499 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14500 long arg7
= (long) 0 ;
14501 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14502 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14503 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14504 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14506 bool temp4
= false ;
14509 bool temp9
= false ;
14510 PyObject
* obj0
= 0 ;
14511 PyObject
* obj1
= 0 ;
14512 PyObject
* obj2
= 0 ;
14513 PyObject
* obj3
= 0 ;
14514 PyObject
* obj4
= 0 ;
14515 PyObject
* obj5
= 0 ;
14516 PyObject
* obj6
= 0 ;
14517 PyObject
* obj7
= 0 ;
14518 PyObject
* obj8
= 0 ;
14519 char *kwnames
[] = {
14520 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14525 if (SWIG_arg_fail(1)) SWIG_fail
;
14526 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14527 if (SWIG_arg_fail(2)) SWIG_fail
;
14530 arg3
= (int)(SWIG_As_int(obj2
));
14531 if (SWIG_arg_fail(3)) SWIG_fail
;
14536 arg4
= wxString_in_helper(obj3
);
14537 if (arg4
== NULL
) SWIG_fail
;
14544 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14550 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14555 arg7
= (long)(SWIG_As_long(obj6
));
14556 if (SWIG_arg_fail(7)) SWIG_fail
;
14561 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14562 if (SWIG_arg_fail(8)) SWIG_fail
;
14563 if (arg8
== NULL
) {
14564 SWIG_null_ref("wxValidator");
14566 if (SWIG_arg_fail(8)) SWIG_fail
;
14571 arg9
= wxString_in_helper(obj8
);
14572 if (arg9
== NULL
) SWIG_fail
;
14577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14578 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14580 wxPyEndAllowThreads(__tstate
);
14581 if (PyErr_Occurred()) SWIG_fail
;
14584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14608 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14609 PyObject
*resultobj
;
14610 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14612 PyObject
* obj0
= 0 ;
14613 char *kwnames
[] = {
14614 (char *) "self", NULL
14617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14619 if (SWIG_arg_fail(1)) SWIG_fail
;
14621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14622 result
= (bool)(arg1
)->GetValue();
14624 wxPyEndAllowThreads(__tstate
);
14625 if (PyErr_Occurred()) SWIG_fail
;
14628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14636 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14637 PyObject
*resultobj
;
14638 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14640 PyObject
* obj0
= 0 ;
14641 PyObject
* obj1
= 0 ;
14642 char *kwnames
[] = {
14643 (char *) "self",(char *) "value", NULL
14646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14648 if (SWIG_arg_fail(1)) SWIG_fail
;
14650 arg2
= (bool)(SWIG_As_bool(obj1
));
14651 if (SWIG_arg_fail(2)) SWIG_fail
;
14654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14655 (arg1
)->SetValue(arg2
);
14657 wxPyEndAllowThreads(__tstate
);
14658 if (PyErr_Occurred()) SWIG_fail
;
14660 Py_INCREF(Py_None
); resultobj
= Py_None
;
14667 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14668 PyObject
*resultobj
;
14669 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14670 wxVisualAttributes result
;
14671 PyObject
* obj0
= 0 ;
14672 char *kwnames
[] = {
14673 (char *) "variant", NULL
14676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14679 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14680 if (SWIG_arg_fail(1)) SWIG_fail
;
14684 if (!wxPyCheckForApp()) SWIG_fail
;
14685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14686 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14688 wxPyEndAllowThreads(__tstate
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14692 wxVisualAttributes
* resultptr
;
14693 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14694 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14702 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
14704 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14705 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
14707 return Py_BuildValue((char *)"");
14709 static int _wrap_SliderNameStr_set(PyObject
*) {
14710 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
14715 static PyObject
*_wrap_SliderNameStr_get(void) {
14720 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14722 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14729 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14730 PyObject
*resultobj
;
14731 wxWindow
*arg1
= (wxWindow
*) 0 ;
14732 int arg2
= (int) -1 ;
14733 int arg3
= (int) 0 ;
14734 int arg4
= (int) 0 ;
14735 int arg5
= (int) 100 ;
14736 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14737 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14738 wxSize
const &arg7_defvalue
= wxDefaultSize
;
14739 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
14740 long arg8
= (long) wxSL_HORIZONTAL
;
14741 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
14742 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
14743 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
14744 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
14748 bool temp10
= false ;
14749 PyObject
* obj0
= 0 ;
14750 PyObject
* obj1
= 0 ;
14751 PyObject
* obj2
= 0 ;
14752 PyObject
* obj3
= 0 ;
14753 PyObject
* obj4
= 0 ;
14754 PyObject
* obj5
= 0 ;
14755 PyObject
* obj6
= 0 ;
14756 PyObject
* obj7
= 0 ;
14757 PyObject
* obj8
= 0 ;
14758 PyObject
* obj9
= 0 ;
14759 char *kwnames
[] = {
14760 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14765 if (SWIG_arg_fail(1)) SWIG_fail
;
14768 arg2
= (int)(SWIG_As_int(obj1
));
14769 if (SWIG_arg_fail(2)) SWIG_fail
;
14774 arg3
= (int)(SWIG_As_int(obj2
));
14775 if (SWIG_arg_fail(3)) SWIG_fail
;
14780 arg4
= (int)(SWIG_As_int(obj3
));
14781 if (SWIG_arg_fail(4)) SWIG_fail
;
14786 arg5
= (int)(SWIG_As_int(obj4
));
14787 if (SWIG_arg_fail(5)) SWIG_fail
;
14793 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14799 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
14804 arg8
= (long)(SWIG_As_long(obj7
));
14805 if (SWIG_arg_fail(8)) SWIG_fail
;
14810 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14811 if (SWIG_arg_fail(9)) SWIG_fail
;
14812 if (arg9
== NULL
) {
14813 SWIG_null_ref("wxValidator");
14815 if (SWIG_arg_fail(9)) SWIG_fail
;
14820 arg10
= wxString_in_helper(obj9
);
14821 if (arg10
== NULL
) SWIG_fail
;
14826 if (!wxPyCheckForApp()) SWIG_fail
;
14827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14828 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
14830 wxPyEndAllowThreads(__tstate
);
14831 if (PyErr_Occurred()) SWIG_fail
;
14833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14848 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14849 PyObject
*resultobj
;
14851 char *kwnames
[] = {
14855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
14857 if (!wxPyCheckForApp()) SWIG_fail
;
14858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14859 result
= (wxSlider
*)new wxSlider();
14861 wxPyEndAllowThreads(__tstate
);
14862 if (PyErr_Occurred()) SWIG_fail
;
14864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14871 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14872 PyObject
*resultobj
;
14873 wxSlider
*arg1
= (wxSlider
*) 0 ;
14874 wxWindow
*arg2
= (wxWindow
*) 0 ;
14875 int arg3
= (int) -1 ;
14876 int arg4
= (int) 0 ;
14877 int arg5
= (int) 0 ;
14878 int arg6
= (int) 100 ;
14879 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14880 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14881 wxSize
const &arg8_defvalue
= wxDefaultSize
;
14882 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
14883 long arg9
= (long) wxSL_HORIZONTAL
;
14884 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
14885 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
14886 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
14887 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
14891 bool temp11
= false ;
14892 PyObject
* obj0
= 0 ;
14893 PyObject
* obj1
= 0 ;
14894 PyObject
* obj2
= 0 ;
14895 PyObject
* obj3
= 0 ;
14896 PyObject
* obj4
= 0 ;
14897 PyObject
* obj5
= 0 ;
14898 PyObject
* obj6
= 0 ;
14899 PyObject
* obj7
= 0 ;
14900 PyObject
* obj8
= 0 ;
14901 PyObject
* obj9
= 0 ;
14902 PyObject
* obj10
= 0 ;
14903 char *kwnames
[] = {
14904 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
14908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14909 if (SWIG_arg_fail(1)) SWIG_fail
;
14910 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14911 if (SWIG_arg_fail(2)) SWIG_fail
;
14914 arg3
= (int)(SWIG_As_int(obj2
));
14915 if (SWIG_arg_fail(3)) SWIG_fail
;
14920 arg4
= (int)(SWIG_As_int(obj3
));
14921 if (SWIG_arg_fail(4)) SWIG_fail
;
14926 arg5
= (int)(SWIG_As_int(obj4
));
14927 if (SWIG_arg_fail(5)) SWIG_fail
;
14932 arg6
= (int)(SWIG_As_int(obj5
));
14933 if (SWIG_arg_fail(6)) SWIG_fail
;
14939 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14945 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
14950 arg9
= (long)(SWIG_As_long(obj8
));
14951 if (SWIG_arg_fail(9)) SWIG_fail
;
14956 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14957 if (SWIG_arg_fail(10)) SWIG_fail
;
14958 if (arg10
== NULL
) {
14959 SWIG_null_ref("wxValidator");
14961 if (SWIG_arg_fail(10)) SWIG_fail
;
14966 arg11
= wxString_in_helper(obj10
);
14967 if (arg11
== NULL
) SWIG_fail
;
14972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14973 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
14975 wxPyEndAllowThreads(__tstate
);
14976 if (PyErr_Occurred()) SWIG_fail
;
14979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14995 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14996 PyObject
*resultobj
;
14997 wxSlider
*arg1
= (wxSlider
*) 0 ;
14999 PyObject
* obj0
= 0 ;
15000 char *kwnames
[] = {
15001 (char *) "self", NULL
15004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
15005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15006 if (SWIG_arg_fail(1)) SWIG_fail
;
15008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15009 result
= (int)((wxSlider
const *)arg1
)->GetValue();
15011 wxPyEndAllowThreads(__tstate
);
15012 if (PyErr_Occurred()) SWIG_fail
;
15015 resultobj
= SWIG_From_int((int)(result
));
15023 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15024 PyObject
*resultobj
;
15025 wxSlider
*arg1
= (wxSlider
*) 0 ;
15027 PyObject
* obj0
= 0 ;
15028 PyObject
* obj1
= 0 ;
15029 char *kwnames
[] = {
15030 (char *) "self",(char *) "value", NULL
15033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15035 if (SWIG_arg_fail(1)) SWIG_fail
;
15037 arg2
= (int)(SWIG_As_int(obj1
));
15038 if (SWIG_arg_fail(2)) SWIG_fail
;
15041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15042 (arg1
)->SetValue(arg2
);
15044 wxPyEndAllowThreads(__tstate
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15047 Py_INCREF(Py_None
); resultobj
= Py_None
;
15054 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15055 PyObject
*resultobj
;
15056 wxSlider
*arg1
= (wxSlider
*) 0 ;
15059 PyObject
* obj0
= 0 ;
15060 PyObject
* obj1
= 0 ;
15061 PyObject
* obj2
= 0 ;
15062 char *kwnames
[] = {
15063 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15068 if (SWIG_arg_fail(1)) SWIG_fail
;
15070 arg2
= (int)(SWIG_As_int(obj1
));
15071 if (SWIG_arg_fail(2)) SWIG_fail
;
15074 arg3
= (int)(SWIG_As_int(obj2
));
15075 if (SWIG_arg_fail(3)) SWIG_fail
;
15078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15079 (arg1
)->SetRange(arg2
,arg3
);
15081 wxPyEndAllowThreads(__tstate
);
15082 if (PyErr_Occurred()) SWIG_fail
;
15084 Py_INCREF(Py_None
); resultobj
= Py_None
;
15091 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15092 PyObject
*resultobj
;
15093 wxSlider
*arg1
= (wxSlider
*) 0 ;
15095 PyObject
* obj0
= 0 ;
15096 char *kwnames
[] = {
15097 (char *) "self", NULL
15100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
15101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15102 if (SWIG_arg_fail(1)) SWIG_fail
;
15104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15105 result
= (int)((wxSlider
const *)arg1
)->GetMin();
15107 wxPyEndAllowThreads(__tstate
);
15108 if (PyErr_Occurred()) SWIG_fail
;
15111 resultobj
= SWIG_From_int((int)(result
));
15119 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15120 PyObject
*resultobj
;
15121 wxSlider
*arg1
= (wxSlider
*) 0 ;
15123 PyObject
* obj0
= 0 ;
15124 char *kwnames
[] = {
15125 (char *) "self", NULL
15128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15130 if (SWIG_arg_fail(1)) SWIG_fail
;
15132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15133 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15135 wxPyEndAllowThreads(__tstate
);
15136 if (PyErr_Occurred()) SWIG_fail
;
15139 resultobj
= SWIG_From_int((int)(result
));
15147 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15148 PyObject
*resultobj
;
15149 wxSlider
*arg1
= (wxSlider
*) 0 ;
15151 PyObject
* obj0
= 0 ;
15152 PyObject
* obj1
= 0 ;
15153 char *kwnames
[] = {
15154 (char *) "self",(char *) "minValue", NULL
15157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
15158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15159 if (SWIG_arg_fail(1)) SWIG_fail
;
15161 arg2
= (int)(SWIG_As_int(obj1
));
15162 if (SWIG_arg_fail(2)) SWIG_fail
;
15165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15166 (arg1
)->SetMin(arg2
);
15168 wxPyEndAllowThreads(__tstate
);
15169 if (PyErr_Occurred()) SWIG_fail
;
15171 Py_INCREF(Py_None
); resultobj
= Py_None
;
15178 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15179 PyObject
*resultobj
;
15180 wxSlider
*arg1
= (wxSlider
*) 0 ;
15182 PyObject
* obj0
= 0 ;
15183 PyObject
* obj1
= 0 ;
15184 char *kwnames
[] = {
15185 (char *) "self",(char *) "maxValue", NULL
15188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
15189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15190 if (SWIG_arg_fail(1)) SWIG_fail
;
15192 arg2
= (int)(SWIG_As_int(obj1
));
15193 if (SWIG_arg_fail(2)) SWIG_fail
;
15196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15197 (arg1
)->SetMax(arg2
);
15199 wxPyEndAllowThreads(__tstate
);
15200 if (PyErr_Occurred()) SWIG_fail
;
15202 Py_INCREF(Py_None
); resultobj
= Py_None
;
15209 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15210 PyObject
*resultobj
;
15211 wxSlider
*arg1
= (wxSlider
*) 0 ;
15213 PyObject
* obj0
= 0 ;
15214 PyObject
* obj1
= 0 ;
15215 char *kwnames
[] = {
15216 (char *) "self",(char *) "lineSize", NULL
15219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15221 if (SWIG_arg_fail(1)) SWIG_fail
;
15223 arg2
= (int)(SWIG_As_int(obj1
));
15224 if (SWIG_arg_fail(2)) SWIG_fail
;
15227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15228 (arg1
)->SetLineSize(arg2
);
15230 wxPyEndAllowThreads(__tstate
);
15231 if (PyErr_Occurred()) SWIG_fail
;
15233 Py_INCREF(Py_None
); resultobj
= Py_None
;
15240 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15241 PyObject
*resultobj
;
15242 wxSlider
*arg1
= (wxSlider
*) 0 ;
15244 PyObject
* obj0
= 0 ;
15245 PyObject
* obj1
= 0 ;
15246 char *kwnames
[] = {
15247 (char *) "self",(char *) "pageSize", NULL
15250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15252 if (SWIG_arg_fail(1)) SWIG_fail
;
15254 arg2
= (int)(SWIG_As_int(obj1
));
15255 if (SWIG_arg_fail(2)) SWIG_fail
;
15258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15259 (arg1
)->SetPageSize(arg2
);
15261 wxPyEndAllowThreads(__tstate
);
15262 if (PyErr_Occurred()) SWIG_fail
;
15264 Py_INCREF(Py_None
); resultobj
= Py_None
;
15271 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15272 PyObject
*resultobj
;
15273 wxSlider
*arg1
= (wxSlider
*) 0 ;
15275 PyObject
* obj0
= 0 ;
15276 char *kwnames
[] = {
15277 (char *) "self", NULL
15280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
15281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15282 if (SWIG_arg_fail(1)) SWIG_fail
;
15284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15285 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15287 wxPyEndAllowThreads(__tstate
);
15288 if (PyErr_Occurred()) SWIG_fail
;
15291 resultobj
= SWIG_From_int((int)(result
));
15299 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15300 PyObject
*resultobj
;
15301 wxSlider
*arg1
= (wxSlider
*) 0 ;
15303 PyObject
* obj0
= 0 ;
15304 char *kwnames
[] = {
15305 (char *) "self", NULL
15308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15310 if (SWIG_arg_fail(1)) SWIG_fail
;
15312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15313 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15315 wxPyEndAllowThreads(__tstate
);
15316 if (PyErr_Occurred()) SWIG_fail
;
15319 resultobj
= SWIG_From_int((int)(result
));
15327 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15328 PyObject
*resultobj
;
15329 wxSlider
*arg1
= (wxSlider
*) 0 ;
15331 PyObject
* obj0
= 0 ;
15332 PyObject
* obj1
= 0 ;
15333 char *kwnames
[] = {
15334 (char *) "self",(char *) "lenPixels", NULL
15337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15339 if (SWIG_arg_fail(1)) SWIG_fail
;
15341 arg2
= (int)(SWIG_As_int(obj1
));
15342 if (SWIG_arg_fail(2)) SWIG_fail
;
15345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 (arg1
)->SetThumbLength(arg2
);
15348 wxPyEndAllowThreads(__tstate
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15351 Py_INCREF(Py_None
); resultobj
= Py_None
;
15358 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15359 PyObject
*resultobj
;
15360 wxSlider
*arg1
= (wxSlider
*) 0 ;
15362 PyObject
* obj0
= 0 ;
15363 char *kwnames
[] = {
15364 (char *) "self", NULL
15367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15369 if (SWIG_arg_fail(1)) SWIG_fail
;
15371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15372 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15374 wxPyEndAllowThreads(__tstate
);
15375 if (PyErr_Occurred()) SWIG_fail
;
15378 resultobj
= SWIG_From_int((int)(result
));
15386 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15387 PyObject
*resultobj
;
15388 wxSlider
*arg1
= (wxSlider
*) 0 ;
15390 int arg3
= (int) 1 ;
15391 PyObject
* obj0
= 0 ;
15392 PyObject
* obj1
= 0 ;
15393 PyObject
* obj2
= 0 ;
15394 char *kwnames
[] = {
15395 (char *) "self",(char *) "n",(char *) "pos", NULL
15398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
15403 if (SWIG_arg_fail(2)) SWIG_fail
;
15407 arg3
= (int)(SWIG_As_int(obj2
));
15408 if (SWIG_arg_fail(3)) SWIG_fail
;
15412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15413 (arg1
)->SetTickFreq(arg2
,arg3
);
15415 wxPyEndAllowThreads(__tstate
);
15416 if (PyErr_Occurred()) SWIG_fail
;
15418 Py_INCREF(Py_None
); resultobj
= Py_None
;
15425 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15426 PyObject
*resultobj
;
15427 wxSlider
*arg1
= (wxSlider
*) 0 ;
15429 PyObject
* obj0
= 0 ;
15430 char *kwnames
[] = {
15431 (char *) "self", NULL
15434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15436 if (SWIG_arg_fail(1)) SWIG_fail
;
15438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15439 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15441 wxPyEndAllowThreads(__tstate
);
15442 if (PyErr_Occurred()) SWIG_fail
;
15445 resultobj
= SWIG_From_int((int)(result
));
15453 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15454 PyObject
*resultobj
;
15455 wxSlider
*arg1
= (wxSlider
*) 0 ;
15456 PyObject
* obj0
= 0 ;
15457 char *kwnames
[] = {
15458 (char *) "self", NULL
15461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
15462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15463 if (SWIG_arg_fail(1)) SWIG_fail
;
15465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15466 (arg1
)->ClearTicks();
15468 wxPyEndAllowThreads(__tstate
);
15469 if (PyErr_Occurred()) SWIG_fail
;
15471 Py_INCREF(Py_None
); resultobj
= Py_None
;
15478 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15479 PyObject
*resultobj
;
15480 wxSlider
*arg1
= (wxSlider
*) 0 ;
15482 PyObject
* obj0
= 0 ;
15483 PyObject
* obj1
= 0 ;
15484 char *kwnames
[] = {
15485 (char *) "self",(char *) "tickPos", NULL
15488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
15489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15490 if (SWIG_arg_fail(1)) SWIG_fail
;
15492 arg2
= (int)(SWIG_As_int(obj1
));
15493 if (SWIG_arg_fail(2)) SWIG_fail
;
15496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15497 (arg1
)->SetTick(arg2
);
15499 wxPyEndAllowThreads(__tstate
);
15500 if (PyErr_Occurred()) SWIG_fail
;
15502 Py_INCREF(Py_None
); resultobj
= Py_None
;
15509 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15510 PyObject
*resultobj
;
15511 wxSlider
*arg1
= (wxSlider
*) 0 ;
15512 PyObject
* obj0
= 0 ;
15513 char *kwnames
[] = {
15514 (char *) "self", NULL
15517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15519 if (SWIG_arg_fail(1)) SWIG_fail
;
15521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15522 (arg1
)->ClearSel();
15524 wxPyEndAllowThreads(__tstate
);
15525 if (PyErr_Occurred()) SWIG_fail
;
15527 Py_INCREF(Py_None
); resultobj
= Py_None
;
15534 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15535 PyObject
*resultobj
;
15536 wxSlider
*arg1
= (wxSlider
*) 0 ;
15538 PyObject
* obj0
= 0 ;
15539 char *kwnames
[] = {
15540 (char *) "self", NULL
15543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15545 if (SWIG_arg_fail(1)) SWIG_fail
;
15547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15548 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15550 wxPyEndAllowThreads(__tstate
);
15551 if (PyErr_Occurred()) SWIG_fail
;
15554 resultobj
= SWIG_From_int((int)(result
));
15562 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15563 PyObject
*resultobj
;
15564 wxSlider
*arg1
= (wxSlider
*) 0 ;
15566 PyObject
* obj0
= 0 ;
15567 char *kwnames
[] = {
15568 (char *) "self", NULL
15571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15573 if (SWIG_arg_fail(1)) SWIG_fail
;
15575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15576 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15578 wxPyEndAllowThreads(__tstate
);
15579 if (PyErr_Occurred()) SWIG_fail
;
15582 resultobj
= SWIG_From_int((int)(result
));
15590 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15591 PyObject
*resultobj
;
15592 wxSlider
*arg1
= (wxSlider
*) 0 ;
15595 PyObject
* obj0
= 0 ;
15596 PyObject
* obj1
= 0 ;
15597 PyObject
* obj2
= 0 ;
15598 char *kwnames
[] = {
15599 (char *) "self",(char *) "min",(char *) "max", NULL
15602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15604 if (SWIG_arg_fail(1)) SWIG_fail
;
15606 arg2
= (int)(SWIG_As_int(obj1
));
15607 if (SWIG_arg_fail(2)) SWIG_fail
;
15610 arg3
= (int)(SWIG_As_int(obj2
));
15611 if (SWIG_arg_fail(3)) SWIG_fail
;
15614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15615 (arg1
)->SetSelection(arg2
,arg3
);
15617 wxPyEndAllowThreads(__tstate
);
15618 if (PyErr_Occurred()) SWIG_fail
;
15620 Py_INCREF(Py_None
); resultobj
= Py_None
;
15627 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15628 PyObject
*resultobj
;
15629 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15630 wxVisualAttributes result
;
15631 PyObject
* obj0
= 0 ;
15632 char *kwnames
[] = {
15633 (char *) "variant", NULL
15636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15639 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
15640 if (SWIG_arg_fail(1)) SWIG_fail
;
15644 if (!wxPyCheckForApp()) SWIG_fail
;
15645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15646 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15648 wxPyEndAllowThreads(__tstate
);
15649 if (PyErr_Occurred()) SWIG_fail
;
15652 wxVisualAttributes
* resultptr
;
15653 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
15654 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15662 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
15664 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15665 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
15667 return Py_BuildValue((char *)"");
15669 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
15670 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
15675 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
15680 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15682 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15689 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15690 PyObject
*resultobj
;
15691 wxWindow
*arg1
= (wxWindow
*) 0 ;
15692 int arg2
= (int) -1 ;
15693 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15694 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15695 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15696 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15697 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15698 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15699 long arg6
= (long) 0 ;
15700 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15701 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15702 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
15703 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15704 wxToggleButton
*result
;
15705 bool temp3
= false ;
15708 bool temp8
= false ;
15709 PyObject
* obj0
= 0 ;
15710 PyObject
* obj1
= 0 ;
15711 PyObject
* obj2
= 0 ;
15712 PyObject
* obj3
= 0 ;
15713 PyObject
* obj4
= 0 ;
15714 PyObject
* obj5
= 0 ;
15715 PyObject
* obj6
= 0 ;
15716 PyObject
* obj7
= 0 ;
15717 char *kwnames
[] = {
15718 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15723 if (SWIG_arg_fail(1)) SWIG_fail
;
15726 arg2
= (int)(SWIG_As_int(obj1
));
15727 if (SWIG_arg_fail(2)) SWIG_fail
;
15732 arg3
= wxString_in_helper(obj2
);
15733 if (arg3
== NULL
) SWIG_fail
;
15740 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15746 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15751 arg6
= (long)(SWIG_As_long(obj5
));
15752 if (SWIG_arg_fail(6)) SWIG_fail
;
15757 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15758 if (SWIG_arg_fail(7)) SWIG_fail
;
15759 if (arg7
== NULL
) {
15760 SWIG_null_ref("wxValidator");
15762 if (SWIG_arg_fail(7)) SWIG_fail
;
15767 arg8
= wxString_in_helper(obj7
);
15768 if (arg8
== NULL
) SWIG_fail
;
15773 if (!wxPyCheckForApp()) SWIG_fail
;
15774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15775 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
15777 wxPyEndAllowThreads(__tstate
);
15778 if (PyErr_Occurred()) SWIG_fail
;
15780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15803 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15804 PyObject
*resultobj
;
15805 wxToggleButton
*result
;
15806 char *kwnames
[] = {
15810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
15812 if (!wxPyCheckForApp()) SWIG_fail
;
15813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15814 result
= (wxToggleButton
*)new wxToggleButton();
15816 wxPyEndAllowThreads(__tstate
);
15817 if (PyErr_Occurred()) SWIG_fail
;
15819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15826 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15827 PyObject
*resultobj
;
15828 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15829 wxWindow
*arg2
= (wxWindow
*) 0 ;
15830 int arg3
= (int) -1 ;
15831 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15832 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15833 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15834 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15835 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15836 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15837 long arg7
= (long) 0 ;
15838 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
15839 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
15840 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
15841 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15843 bool temp4
= false ;
15846 bool temp9
= false ;
15847 PyObject
* obj0
= 0 ;
15848 PyObject
* obj1
= 0 ;
15849 PyObject
* obj2
= 0 ;
15850 PyObject
* obj3
= 0 ;
15851 PyObject
* obj4
= 0 ;
15852 PyObject
* obj5
= 0 ;
15853 PyObject
* obj6
= 0 ;
15854 PyObject
* obj7
= 0 ;
15855 PyObject
* obj8
= 0 ;
15856 char *kwnames
[] = {
15857 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15862 if (SWIG_arg_fail(1)) SWIG_fail
;
15863 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15864 if (SWIG_arg_fail(2)) SWIG_fail
;
15867 arg3
= (int)(SWIG_As_int(obj2
));
15868 if (SWIG_arg_fail(3)) SWIG_fail
;
15873 arg4
= wxString_in_helper(obj3
);
15874 if (arg4
== NULL
) SWIG_fail
;
15881 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15887 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15892 arg7
= (long)(SWIG_As_long(obj6
));
15893 if (SWIG_arg_fail(7)) SWIG_fail
;
15898 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15899 if (SWIG_arg_fail(8)) SWIG_fail
;
15900 if (arg8
== NULL
) {
15901 SWIG_null_ref("wxValidator");
15903 if (SWIG_arg_fail(8)) SWIG_fail
;
15908 arg9
= wxString_in_helper(obj8
);
15909 if (arg9
== NULL
) SWIG_fail
;
15914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15915 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
15917 wxPyEndAllowThreads(__tstate
);
15918 if (PyErr_Occurred()) SWIG_fail
;
15921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15945 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15946 PyObject
*resultobj
;
15947 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15949 PyObject
* obj0
= 0 ;
15950 PyObject
* obj1
= 0 ;
15951 char *kwnames
[] = {
15952 (char *) "self",(char *) "value", NULL
15955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15957 if (SWIG_arg_fail(1)) SWIG_fail
;
15959 arg2
= (bool)(SWIG_As_bool(obj1
));
15960 if (SWIG_arg_fail(2)) SWIG_fail
;
15963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15964 (arg1
)->SetValue(arg2
);
15966 wxPyEndAllowThreads(__tstate
);
15967 if (PyErr_Occurred()) SWIG_fail
;
15969 Py_INCREF(Py_None
); resultobj
= Py_None
;
15976 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15977 PyObject
*resultobj
;
15978 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15980 PyObject
* obj0
= 0 ;
15981 char *kwnames
[] = {
15982 (char *) "self", NULL
15985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
15986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15987 if (SWIG_arg_fail(1)) SWIG_fail
;
15989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15990 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
15992 wxPyEndAllowThreads(__tstate
);
15993 if (PyErr_Occurred()) SWIG_fail
;
15996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16004 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16005 PyObject
*resultobj
;
16006 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16007 wxString
*arg2
= 0 ;
16008 bool temp2
= false ;
16009 PyObject
* obj0
= 0 ;
16010 PyObject
* obj1
= 0 ;
16011 char *kwnames
[] = {
16012 (char *) "self",(char *) "label", NULL
16015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16017 if (SWIG_arg_fail(1)) SWIG_fail
;
16019 arg2
= wxString_in_helper(obj1
);
16020 if (arg2
== NULL
) SWIG_fail
;
16024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16025 (arg1
)->SetLabel((wxString
const &)*arg2
);
16027 wxPyEndAllowThreads(__tstate
);
16028 if (PyErr_Occurred()) SWIG_fail
;
16030 Py_INCREF(Py_None
); resultobj
= Py_None
;
16045 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16046 PyObject
*resultobj
;
16047 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16048 wxVisualAttributes result
;
16049 PyObject
* obj0
= 0 ;
16050 char *kwnames
[] = {
16051 (char *) "variant", NULL
16054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16057 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16058 if (SWIG_arg_fail(1)) SWIG_fail
;
16062 if (!wxPyCheckForApp()) SWIG_fail
;
16063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16064 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16066 wxPyEndAllowThreads(__tstate
);
16067 if (PyErr_Occurred()) SWIG_fail
;
16070 wxVisualAttributes
* resultptr
;
16071 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16072 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16080 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
16082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16083 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
16085 return Py_BuildValue((char *)"");
16087 static int _wrap_NotebookNameStr_set(PyObject
*) {
16088 PyErr_SetString(PyExc_TypeError
,"Variable NotebookNameStr is read-only.");
16093 static PyObject
*_wrap_NotebookNameStr_get(void) {
16098 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16100 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16107 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16108 PyObject
*resultobj
;
16109 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16111 PyObject
* obj0
= 0 ;
16112 char *kwnames
[] = {
16113 (char *) "self", NULL
16116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
16117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16118 if (SWIG_arg_fail(1)) SWIG_fail
;
16120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16121 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16123 wxPyEndAllowThreads(__tstate
);
16124 if (PyErr_Occurred()) SWIG_fail
;
16127 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16135 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16136 PyObject
*resultobj
;
16137 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16140 PyObject
* obj0
= 0 ;
16141 PyObject
* obj1
= 0 ;
16142 char *kwnames
[] = {
16143 (char *) "self",(char *) "n", NULL
16146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16148 if (SWIG_arg_fail(1)) SWIG_fail
;
16150 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16151 if (SWIG_arg_fail(2)) SWIG_fail
;
16154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16155 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16157 wxPyEndAllowThreads(__tstate
);
16158 if (PyErr_Occurred()) SWIG_fail
;
16161 resultobj
= wxPyMake_wxObject(result
, 0);
16169 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16170 PyObject
*resultobj
;
16171 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16173 PyObject
* obj0
= 0 ;
16174 char *kwnames
[] = {
16175 (char *) "self", NULL
16178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16180 if (SWIG_arg_fail(1)) SWIG_fail
;
16182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16183 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16185 wxPyEndAllowThreads(__tstate
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16189 resultobj
= wxPyMake_wxObject(result
, 0);
16197 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16198 PyObject
*resultobj
;
16199 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16201 PyObject
* obj0
= 0 ;
16202 char *kwnames
[] = {
16203 (char *) "self", NULL
16206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16208 if (SWIG_arg_fail(1)) SWIG_fail
;
16210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16211 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16213 wxPyEndAllowThreads(__tstate
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16217 resultobj
= SWIG_From_int((int)(result
));
16225 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16226 PyObject
*resultobj
;
16227 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16229 wxString
*arg3
= 0 ;
16231 bool temp3
= false ;
16232 PyObject
* obj0
= 0 ;
16233 PyObject
* obj1
= 0 ;
16234 PyObject
* obj2
= 0 ;
16235 char *kwnames
[] = {
16236 (char *) "self",(char *) "n",(char *) "strText", NULL
16239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16241 if (SWIG_arg_fail(1)) SWIG_fail
;
16243 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16244 if (SWIG_arg_fail(2)) SWIG_fail
;
16247 arg3
= wxString_in_helper(obj2
);
16248 if (arg3
== NULL
) SWIG_fail
;
16252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16253 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16255 wxPyEndAllowThreads(__tstate
);
16256 if (PyErr_Occurred()) SWIG_fail
;
16259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16275 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16276 PyObject
*resultobj
;
16277 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16280 PyObject
* obj0
= 0 ;
16281 PyObject
* obj1
= 0 ;
16282 char *kwnames
[] = {
16283 (char *) "self",(char *) "n", NULL
16286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
16287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16288 if (SWIG_arg_fail(1)) SWIG_fail
;
16290 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16291 if (SWIG_arg_fail(2)) SWIG_fail
;
16294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16295 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16297 wxPyEndAllowThreads(__tstate
);
16298 if (PyErr_Occurred()) SWIG_fail
;
16302 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16304 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16313 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16314 PyObject
*resultobj
;
16315 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16316 wxImageList
*arg2
= (wxImageList
*) 0 ;
16317 PyObject
* obj0
= 0 ;
16318 PyObject
* obj1
= 0 ;
16319 char *kwnames
[] = {
16320 (char *) "self",(char *) "imageList", NULL
16323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16325 if (SWIG_arg_fail(1)) SWIG_fail
;
16326 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16327 if (SWIG_arg_fail(2)) SWIG_fail
;
16329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16330 (arg1
)->SetImageList(arg2
);
16332 wxPyEndAllowThreads(__tstate
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16335 Py_INCREF(Py_None
); resultobj
= Py_None
;
16342 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16343 PyObject
*resultobj
;
16344 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16345 wxImageList
*arg2
= (wxImageList
*) 0 ;
16346 PyObject
* obj0
= 0 ;
16347 PyObject
* obj1
= 0 ;
16348 char *kwnames
[] = {
16349 (char *) "self",(char *) "imageList", NULL
16352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16354 if (SWIG_arg_fail(1)) SWIG_fail
;
16355 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16356 if (SWIG_arg_fail(2)) SWIG_fail
;
16358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16359 (arg1
)->AssignImageList(arg2
);
16361 wxPyEndAllowThreads(__tstate
);
16362 if (PyErr_Occurred()) SWIG_fail
;
16364 Py_INCREF(Py_None
); resultobj
= Py_None
;
16371 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16372 PyObject
*resultobj
;
16373 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16374 wxImageList
*result
;
16375 PyObject
* obj0
= 0 ;
16376 char *kwnames
[] = {
16377 (char *) "self", NULL
16380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16382 if (SWIG_arg_fail(1)) SWIG_fail
;
16384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16385 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16387 wxPyEndAllowThreads(__tstate
);
16388 if (PyErr_Occurred()) SWIG_fail
;
16391 resultobj
= wxPyMake_wxObject(result
, 0);
16399 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16400 PyObject
*resultobj
;
16401 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16404 PyObject
* obj0
= 0 ;
16405 PyObject
* obj1
= 0 ;
16406 char *kwnames
[] = {
16407 (char *) "self",(char *) "n", NULL
16410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16419 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16421 wxPyEndAllowThreads(__tstate
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16425 resultobj
= SWIG_From_int((int)(result
));
16433 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16434 PyObject
*resultobj
;
16435 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16439 PyObject
* obj0
= 0 ;
16440 PyObject
* obj1
= 0 ;
16441 PyObject
* obj2
= 0 ;
16442 char *kwnames
[] = {
16443 (char *) "self",(char *) "n",(char *) "imageId", NULL
16446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16448 if (SWIG_arg_fail(1)) SWIG_fail
;
16450 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16451 if (SWIG_arg_fail(2)) SWIG_fail
;
16454 arg3
= (int)(SWIG_As_int(obj2
));
16455 if (SWIG_arg_fail(3)) SWIG_fail
;
16458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16459 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16461 wxPyEndAllowThreads(__tstate
);
16462 if (PyErr_Occurred()) SWIG_fail
;
16465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16473 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16474 PyObject
*resultobj
;
16475 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16478 PyObject
* obj0
= 0 ;
16479 PyObject
* obj1
= 0 ;
16480 char *kwnames
[] = {
16481 (char *) "self",(char *) "size", NULL
16484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16486 if (SWIG_arg_fail(1)) SWIG_fail
;
16489 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16493 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16495 wxPyEndAllowThreads(__tstate
);
16496 if (PyErr_Occurred()) SWIG_fail
;
16498 Py_INCREF(Py_None
); resultobj
= Py_None
;
16505 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16506 PyObject
*resultobj
;
16507 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16511 PyObject
* obj0
= 0 ;
16512 PyObject
* obj1
= 0 ;
16513 char *kwnames
[] = {
16514 (char *) "self",(char *) "sizePage", NULL
16517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",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
;
16522 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16526 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16528 wxPyEndAllowThreads(__tstate
);
16529 if (PyErr_Occurred()) SWIG_fail
;
16532 wxSize
* resultptr
;
16533 resultptr
= new wxSize((wxSize
&)(result
));
16534 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16542 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
;
16544 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16547 PyObject
* obj0
= 0 ;
16548 PyObject
* obj1
= 0 ;
16549 char *kwnames
[] = {
16550 (char *) "self",(char *) "n", NULL
16553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16555 if (SWIG_arg_fail(1)) SWIG_fail
;
16557 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16558 if (SWIG_arg_fail(2)) SWIG_fail
;
16561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16562 result
= (bool)(arg1
)->DeletePage(arg2
);
16564 wxPyEndAllowThreads(__tstate
);
16565 if (PyErr_Occurred()) SWIG_fail
;
16568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16576 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16577 PyObject
*resultobj
;
16578 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16581 PyObject
* obj0
= 0 ;
16582 PyObject
* obj1
= 0 ;
16583 char *kwnames
[] = {
16584 (char *) "self",(char *) "n", NULL
16587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16589 if (SWIG_arg_fail(1)) SWIG_fail
;
16591 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16592 if (SWIG_arg_fail(2)) SWIG_fail
;
16595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16596 result
= (bool)(arg1
)->RemovePage(arg2
);
16598 wxPyEndAllowThreads(__tstate
);
16599 if (PyErr_Occurred()) SWIG_fail
;
16602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16610 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16611 PyObject
*resultobj
;
16612 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16614 PyObject
* obj0
= 0 ;
16615 char *kwnames
[] = {
16616 (char *) "self", NULL
16619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16621 if (SWIG_arg_fail(1)) SWIG_fail
;
16623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16624 result
= (bool)(arg1
)->DeleteAllPages();
16626 wxPyEndAllowThreads(__tstate
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16638 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16639 PyObject
*resultobj
;
16640 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16641 wxWindow
*arg2
= (wxWindow
*) 0 ;
16642 wxString
*arg3
= 0 ;
16643 bool arg4
= (bool) false ;
16644 int arg5
= (int) -1 ;
16646 bool temp3
= false ;
16647 PyObject
* obj0
= 0 ;
16648 PyObject
* obj1
= 0 ;
16649 PyObject
* obj2
= 0 ;
16650 PyObject
* obj3
= 0 ;
16651 PyObject
* obj4
= 0 ;
16652 char *kwnames
[] = {
16653 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16658 if (SWIG_arg_fail(1)) SWIG_fail
;
16659 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16660 if (SWIG_arg_fail(2)) SWIG_fail
;
16662 arg3
= wxString_in_helper(obj2
);
16663 if (arg3
== NULL
) SWIG_fail
;
16668 arg4
= (bool)(SWIG_As_bool(obj3
));
16669 if (SWIG_arg_fail(4)) SWIG_fail
;
16674 arg5
= (int)(SWIG_As_int(obj4
));
16675 if (SWIG_arg_fail(5)) SWIG_fail
;
16679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16680 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
16682 wxPyEndAllowThreads(__tstate
);
16683 if (PyErr_Occurred()) SWIG_fail
;
16686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16702 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16703 PyObject
*resultobj
;
16704 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16706 wxWindow
*arg3
= (wxWindow
*) 0 ;
16707 wxString
*arg4
= 0 ;
16708 bool arg5
= (bool) false ;
16709 int arg6
= (int) -1 ;
16711 bool temp4
= false ;
16712 PyObject
* obj0
= 0 ;
16713 PyObject
* obj1
= 0 ;
16714 PyObject
* obj2
= 0 ;
16715 PyObject
* obj3
= 0 ;
16716 PyObject
* obj4
= 0 ;
16717 PyObject
* obj5
= 0 ;
16718 char *kwnames
[] = {
16719 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16724 if (SWIG_arg_fail(1)) SWIG_fail
;
16726 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16727 if (SWIG_arg_fail(2)) SWIG_fail
;
16729 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16730 if (SWIG_arg_fail(3)) SWIG_fail
;
16732 arg4
= wxString_in_helper(obj3
);
16733 if (arg4
== NULL
) SWIG_fail
;
16738 arg5
= (bool)(SWIG_As_bool(obj4
));
16739 if (SWIG_arg_fail(5)) SWIG_fail
;
16744 arg6
= (int)(SWIG_As_int(obj5
));
16745 if (SWIG_arg_fail(6)) SWIG_fail
;
16749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16750 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16752 wxPyEndAllowThreads(__tstate
);
16753 if (PyErr_Occurred()) SWIG_fail
;
16756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16772 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16773 PyObject
*resultobj
;
16774 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16777 PyObject
* obj0
= 0 ;
16778 PyObject
* obj1
= 0 ;
16779 char *kwnames
[] = {
16780 (char *) "self",(char *) "n", NULL
16783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16785 if (SWIG_arg_fail(1)) SWIG_fail
;
16787 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16788 if (SWIG_arg_fail(2)) SWIG_fail
;
16791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16792 result
= (int)(arg1
)->SetSelection(arg2
);
16794 wxPyEndAllowThreads(__tstate
);
16795 if (PyErr_Occurred()) SWIG_fail
;
16798 resultobj
= SWIG_From_int((int)(result
));
16806 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16807 PyObject
*resultobj
;
16808 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16809 bool arg2
= (bool) true ;
16810 PyObject
* obj0
= 0 ;
16811 PyObject
* obj1
= 0 ;
16812 char *kwnames
[] = {
16813 (char *) "self",(char *) "forward", NULL
16816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16818 if (SWIG_arg_fail(1)) SWIG_fail
;
16821 arg2
= (bool)(SWIG_As_bool(obj1
));
16822 if (SWIG_arg_fail(2)) SWIG_fail
;
16826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16827 (arg1
)->AdvanceSelection(arg2
);
16829 wxPyEndAllowThreads(__tstate
);
16830 if (PyErr_Occurred()) SWIG_fail
;
16832 Py_INCREF(Py_None
); resultobj
= Py_None
;
16839 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16840 PyObject
*resultobj
;
16841 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16842 wxVisualAttributes result
;
16843 PyObject
* obj0
= 0 ;
16844 char *kwnames
[] = {
16845 (char *) "variant", NULL
16848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16851 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16852 if (SWIG_arg_fail(1)) SWIG_fail
;
16856 if (!wxPyCheckForApp()) SWIG_fail
;
16857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16858 result
= wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16860 wxPyEndAllowThreads(__tstate
);
16861 if (PyErr_Occurred()) SWIG_fail
;
16864 wxVisualAttributes
* resultptr
;
16865 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16874 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
16876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16877 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
16879 return Py_BuildValue((char *)"");
16881 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16882 PyObject
*resultobj
;
16883 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16884 int arg2
= (int) 0 ;
16885 int arg3
= (int) -1 ;
16886 int arg4
= (int) -1 ;
16887 wxBookCtrlBaseEvent
*result
;
16888 PyObject
* obj0
= 0 ;
16889 PyObject
* obj1
= 0 ;
16890 PyObject
* obj2
= 0 ;
16891 PyObject
* obj3
= 0 ;
16892 char *kwnames
[] = {
16893 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16899 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16900 if (SWIG_arg_fail(1)) SWIG_fail
;
16905 arg2
= (int)(SWIG_As_int(obj1
));
16906 if (SWIG_arg_fail(2)) SWIG_fail
;
16911 arg3
= (int)(SWIG_As_int(obj2
));
16912 if (SWIG_arg_fail(3)) SWIG_fail
;
16917 arg4
= (int)(SWIG_As_int(obj3
));
16918 if (SWIG_arg_fail(4)) SWIG_fail
;
16922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16923 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
16925 wxPyEndAllowThreads(__tstate
);
16926 if (PyErr_Occurred()) SWIG_fail
;
16928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
16935 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16936 PyObject
*resultobj
;
16937 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16939 PyObject
* obj0
= 0 ;
16940 char *kwnames
[] = {
16941 (char *) "self", NULL
16944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
16945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16946 if (SWIG_arg_fail(1)) SWIG_fail
;
16948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16949 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
16951 wxPyEndAllowThreads(__tstate
);
16952 if (PyErr_Occurred()) SWIG_fail
;
16955 resultobj
= SWIG_From_int((int)(result
));
16963 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16964 PyObject
*resultobj
;
16965 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16967 PyObject
* obj0
= 0 ;
16968 PyObject
* obj1
= 0 ;
16969 char *kwnames
[] = {
16970 (char *) "self",(char *) "nSel", NULL
16973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16975 if (SWIG_arg_fail(1)) SWIG_fail
;
16977 arg2
= (int)(SWIG_As_int(obj1
));
16978 if (SWIG_arg_fail(2)) SWIG_fail
;
16981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16982 (arg1
)->SetSelection(arg2
);
16984 wxPyEndAllowThreads(__tstate
);
16985 if (PyErr_Occurred()) SWIG_fail
;
16987 Py_INCREF(Py_None
); resultobj
= Py_None
;
16994 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16995 PyObject
*resultobj
;
16996 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16998 PyObject
* obj0
= 0 ;
16999 char *kwnames
[] = {
17000 (char *) "self", NULL
17003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
17004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17005 if (SWIG_arg_fail(1)) SWIG_fail
;
17007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17008 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
17010 wxPyEndAllowThreads(__tstate
);
17011 if (PyErr_Occurred()) SWIG_fail
;
17014 resultobj
= SWIG_From_int((int)(result
));
17022 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17023 PyObject
*resultobj
;
17024 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17026 PyObject
* obj0
= 0 ;
17027 PyObject
* obj1
= 0 ;
17028 char *kwnames
[] = {
17029 (char *) "self",(char *) "nOldSel", NULL
17032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17034 if (SWIG_arg_fail(1)) SWIG_fail
;
17036 arg2
= (int)(SWIG_As_int(obj1
));
17037 if (SWIG_arg_fail(2)) SWIG_fail
;
17040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17041 (arg1
)->SetOldSelection(arg2
);
17043 wxPyEndAllowThreads(__tstate
);
17044 if (PyErr_Occurred()) SWIG_fail
;
17046 Py_INCREF(Py_None
); resultobj
= Py_None
;
17053 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
17055 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17056 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
17058 return Py_BuildValue((char *)"");
17060 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17061 PyObject
*resultobj
;
17062 wxWindow
*arg1
= (wxWindow
*) 0 ;
17063 int arg2
= (int) -1 ;
17064 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17065 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17066 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17067 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17068 long arg5
= (long) 0 ;
17069 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
17070 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17071 wxNotebook
*result
;
17074 bool temp6
= false ;
17075 PyObject
* obj0
= 0 ;
17076 PyObject
* obj1
= 0 ;
17077 PyObject
* obj2
= 0 ;
17078 PyObject
* obj3
= 0 ;
17079 PyObject
* obj4
= 0 ;
17080 PyObject
* obj5
= 0 ;
17081 char *kwnames
[] = {
17082 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17087 if (SWIG_arg_fail(1)) SWIG_fail
;
17090 arg2
= (int)(SWIG_As_int(obj1
));
17091 if (SWIG_arg_fail(2)) SWIG_fail
;
17097 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17103 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17108 arg5
= (long)(SWIG_As_long(obj4
));
17109 if (SWIG_arg_fail(5)) SWIG_fail
;
17114 arg6
= wxString_in_helper(obj5
);
17115 if (arg6
== NULL
) SWIG_fail
;
17120 if (!wxPyCheckForApp()) SWIG_fail
;
17121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17122 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17124 wxPyEndAllowThreads(__tstate
);
17125 if (PyErr_Occurred()) SWIG_fail
;
17127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17142 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17143 PyObject
*resultobj
;
17144 wxNotebook
*result
;
17145 char *kwnames
[] = {
17149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17151 if (!wxPyCheckForApp()) SWIG_fail
;
17152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17153 result
= (wxNotebook
*)new wxNotebook();
17155 wxPyEndAllowThreads(__tstate
);
17156 if (PyErr_Occurred()) SWIG_fail
;
17158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17165 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17166 PyObject
*resultobj
;
17167 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17168 wxWindow
*arg2
= (wxWindow
*) 0 ;
17169 int arg3
= (int) -1 ;
17170 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17171 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17172 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17173 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17174 long arg6
= (long) 0 ;
17175 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
17176 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17180 bool temp7
= false ;
17181 PyObject
* obj0
= 0 ;
17182 PyObject
* obj1
= 0 ;
17183 PyObject
* obj2
= 0 ;
17184 PyObject
* obj3
= 0 ;
17185 PyObject
* obj4
= 0 ;
17186 PyObject
* obj5
= 0 ;
17187 PyObject
* obj6
= 0 ;
17188 char *kwnames
[] = {
17189 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17194 if (SWIG_arg_fail(1)) SWIG_fail
;
17195 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17196 if (SWIG_arg_fail(2)) SWIG_fail
;
17199 arg3
= (int)(SWIG_As_int(obj2
));
17200 if (SWIG_arg_fail(3)) SWIG_fail
;
17206 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17212 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17217 arg6
= (long)(SWIG_As_long(obj5
));
17218 if (SWIG_arg_fail(6)) SWIG_fail
;
17223 arg7
= wxString_in_helper(obj6
);
17224 if (arg7
== NULL
) SWIG_fail
;
17229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17230 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17232 wxPyEndAllowThreads(__tstate
);
17233 if (PyErr_Occurred()) SWIG_fail
;
17236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17252 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17253 PyObject
*resultobj
;
17254 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17256 PyObject
* obj0
= 0 ;
17257 char *kwnames
[] = {
17258 (char *) "self", NULL
17261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17263 if (SWIG_arg_fail(1)) SWIG_fail
;
17265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17266 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17268 wxPyEndAllowThreads(__tstate
);
17269 if (PyErr_Occurred()) SWIG_fail
;
17272 resultobj
= SWIG_From_int((int)(result
));
17280 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17281 PyObject
*resultobj
;
17282 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17285 PyObject
* obj0
= 0 ;
17286 PyObject
* obj1
= 0 ;
17287 char *kwnames
[] = {
17288 (char *) "self",(char *) "padding", NULL
17291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17293 if (SWIG_arg_fail(1)) SWIG_fail
;
17296 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17300 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17302 wxPyEndAllowThreads(__tstate
);
17303 if (PyErr_Occurred()) SWIG_fail
;
17305 Py_INCREF(Py_None
); resultobj
= Py_None
;
17312 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17313 PyObject
*resultobj
;
17314 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17317 PyObject
* obj0
= 0 ;
17318 PyObject
* obj1
= 0 ;
17319 char *kwnames
[] = {
17320 (char *) "self",(char *) "sz", NULL
17323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17325 if (SWIG_arg_fail(1)) SWIG_fail
;
17328 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17332 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17334 wxPyEndAllowThreads(__tstate
);
17335 if (PyErr_Occurred()) SWIG_fail
;
17337 Py_INCREF(Py_None
); resultobj
= Py_None
;
17344 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17345 PyObject
*resultobj
;
17346 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17347 wxPoint
*arg2
= 0 ;
17348 long *arg3
= (long *) 0 ;
17353 PyObject
* obj0
= 0 ;
17354 PyObject
* obj1
= 0 ;
17355 char *kwnames
[] = {
17356 (char *) "self",(char *) "pt", NULL
17359 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
17361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17362 if (SWIG_arg_fail(1)) SWIG_fail
;
17365 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17369 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17371 wxPyEndAllowThreads(__tstate
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17375 resultobj
= SWIG_From_int((int)(result
));
17377 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17378 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17385 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17386 PyObject
*resultobj
;
17387 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17391 PyObject
* obj0
= 0 ;
17392 PyObject
* obj1
= 0 ;
17393 char *kwnames
[] = {
17394 (char *) "self",(char *) "sizePage", NULL
17397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
17398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17399 if (SWIG_arg_fail(1)) SWIG_fail
;
17402 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17406 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17408 wxPyEndAllowThreads(__tstate
);
17409 if (PyErr_Occurred()) SWIG_fail
;
17412 wxSize
* resultptr
;
17413 resultptr
= new wxSize((wxSize
&)(result
));
17414 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17422 static PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17423 PyObject
*resultobj
;
17424 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17426 PyObject
* obj0
= 0 ;
17427 char *kwnames
[] = {
17428 (char *) "self", NULL
17431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames
,&obj0
)) goto fail
;
17432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17433 if (SWIG_arg_fail(1)) SWIG_fail
;
17435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17436 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
17438 wxPyEndAllowThreads(__tstate
);
17439 if (PyErr_Occurred()) SWIG_fail
;
17442 wxColour
* resultptr
;
17443 resultptr
= new wxColour((wxColour
&)(result
));
17444 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17452 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17453 PyObject
*resultobj
;
17454 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17455 wxVisualAttributes result
;
17456 PyObject
* obj0
= 0 ;
17457 char *kwnames
[] = {
17458 (char *) "variant", NULL
17461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17464 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
17465 if (SWIG_arg_fail(1)) SWIG_fail
;
17469 if (!wxPyCheckForApp()) SWIG_fail
;
17470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17471 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
17473 wxPyEndAllowThreads(__tstate
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17477 wxVisualAttributes
* resultptr
;
17478 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
17479 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17487 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17489 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17490 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17492 return Py_BuildValue((char *)"");
17494 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17495 PyObject
*resultobj
;
17496 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17497 int arg2
= (int) 0 ;
17498 int arg3
= (int) -1 ;
17499 int arg4
= (int) -1 ;
17500 wxNotebookEvent
*result
;
17501 PyObject
* obj0
= 0 ;
17502 PyObject
* obj1
= 0 ;
17503 PyObject
* obj2
= 0 ;
17504 PyObject
* obj3
= 0 ;
17505 char *kwnames
[] = {
17506 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17512 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17513 if (SWIG_arg_fail(1)) SWIG_fail
;
17518 arg2
= (int)(SWIG_As_int(obj1
));
17519 if (SWIG_arg_fail(2)) SWIG_fail
;
17524 arg3
= (int)(SWIG_As_int(obj2
));
17525 if (SWIG_arg_fail(3)) SWIG_fail
;
17530 arg4
= (int)(SWIG_As_int(obj3
));
17531 if (SWIG_arg_fail(4)) SWIG_fail
;
17535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17536 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17538 wxPyEndAllowThreads(__tstate
);
17539 if (PyErr_Occurred()) SWIG_fail
;
17541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17548 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17551 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17553 return Py_BuildValue((char *)"");
17555 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17556 PyObject
*resultobj
;
17557 wxWindow
*arg1
= (wxWindow
*) 0 ;
17558 int arg2
= (int) -1 ;
17559 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17560 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17561 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17562 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17563 long arg5
= (long) 0 ;
17564 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17565 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17566 wxListbook
*result
;
17569 bool temp6
= false ;
17570 PyObject
* obj0
= 0 ;
17571 PyObject
* obj1
= 0 ;
17572 PyObject
* obj2
= 0 ;
17573 PyObject
* obj3
= 0 ;
17574 PyObject
* obj4
= 0 ;
17575 PyObject
* obj5
= 0 ;
17576 char *kwnames
[] = {
17577 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17582 if (SWIG_arg_fail(1)) SWIG_fail
;
17585 arg2
= (int)(SWIG_As_int(obj1
));
17586 if (SWIG_arg_fail(2)) SWIG_fail
;
17592 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17598 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17603 arg5
= (long)(SWIG_As_long(obj4
));
17604 if (SWIG_arg_fail(5)) SWIG_fail
;
17609 arg6
= wxString_in_helper(obj5
);
17610 if (arg6
== NULL
) SWIG_fail
;
17615 if (!wxPyCheckForApp()) SWIG_fail
;
17616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17617 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17619 wxPyEndAllowThreads(__tstate
);
17620 if (PyErr_Occurred()) SWIG_fail
;
17622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17637 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17638 PyObject
*resultobj
;
17639 wxListbook
*result
;
17640 char *kwnames
[] = {
17644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
17646 if (!wxPyCheckForApp()) SWIG_fail
;
17647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17648 result
= (wxListbook
*)new wxListbook();
17650 wxPyEndAllowThreads(__tstate
);
17651 if (PyErr_Occurred()) SWIG_fail
;
17653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17660 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17661 PyObject
*resultobj
;
17662 wxListbook
*arg1
= (wxListbook
*) 0 ;
17663 wxWindow
*arg2
= (wxWindow
*) 0 ;
17664 int arg3
= (int) -1 ;
17665 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17666 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17667 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17668 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17669 long arg6
= (long) 0 ;
17670 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17671 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17675 bool temp7
= false ;
17676 PyObject
* obj0
= 0 ;
17677 PyObject
* obj1
= 0 ;
17678 PyObject
* obj2
= 0 ;
17679 PyObject
* obj3
= 0 ;
17680 PyObject
* obj4
= 0 ;
17681 PyObject
* obj5
= 0 ;
17682 PyObject
* obj6
= 0 ;
17683 char *kwnames
[] = {
17684 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17689 if (SWIG_arg_fail(1)) SWIG_fail
;
17690 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17691 if (SWIG_arg_fail(2)) SWIG_fail
;
17694 arg3
= (int)(SWIG_As_int(obj2
));
17695 if (SWIG_arg_fail(3)) SWIG_fail
;
17701 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17707 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17712 arg6
= (long)(SWIG_As_long(obj5
));
17713 if (SWIG_arg_fail(6)) SWIG_fail
;
17718 arg7
= wxString_in_helper(obj6
);
17719 if (arg7
== NULL
) SWIG_fail
;
17724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17725 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17727 wxPyEndAllowThreads(__tstate
);
17728 if (PyErr_Occurred()) SWIG_fail
;
17731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17747 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17748 PyObject
*resultobj
;
17749 wxListbook
*arg1
= (wxListbook
*) 0 ;
17751 PyObject
* obj0
= 0 ;
17752 char *kwnames
[] = {
17753 (char *) "self", NULL
17756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
17757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17758 if (SWIG_arg_fail(1)) SWIG_fail
;
17760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17761 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
17763 wxPyEndAllowThreads(__tstate
);
17764 if (PyErr_Occurred()) SWIG_fail
;
17767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17775 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17776 PyObject
*resultobj
;
17777 wxListbook
*arg1
= (wxListbook
*) 0 ;
17778 wxListView
*result
;
17779 PyObject
* obj0
= 0 ;
17780 char *kwnames
[] = {
17781 (char *) "self", NULL
17784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
17785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17786 if (SWIG_arg_fail(1)) SWIG_fail
;
17788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17789 result
= (wxListView
*)(arg1
)->GetListView();
17791 wxPyEndAllowThreads(__tstate
);
17792 if (PyErr_Occurred()) SWIG_fail
;
17794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
17801 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
17803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17804 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
17806 return Py_BuildValue((char *)"");
17808 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17809 PyObject
*resultobj
;
17810 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17811 int arg2
= (int) 0 ;
17812 int arg3
= (int) -1 ;
17813 int arg4
= (int) -1 ;
17814 wxListbookEvent
*result
;
17815 PyObject
* obj0
= 0 ;
17816 PyObject
* obj1
= 0 ;
17817 PyObject
* obj2
= 0 ;
17818 PyObject
* obj3
= 0 ;
17819 char *kwnames
[] = {
17820 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17826 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17827 if (SWIG_arg_fail(1)) SWIG_fail
;
17832 arg2
= (int)(SWIG_As_int(obj1
));
17833 if (SWIG_arg_fail(2)) SWIG_fail
;
17838 arg3
= (int)(SWIG_As_int(obj2
));
17839 if (SWIG_arg_fail(3)) SWIG_fail
;
17844 arg4
= (int)(SWIG_As_int(obj3
));
17845 if (SWIG_arg_fail(4)) SWIG_fail
;
17849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17850 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
17852 wxPyEndAllowThreads(__tstate
);
17853 if (PyErr_Occurred()) SWIG_fail
;
17855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
17862 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
17864 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17865 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
17867 return Py_BuildValue((char *)"");
17869 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17870 PyObject
*resultobj
;
17871 wxWindow
*arg1
= (wxWindow
*) 0 ;
17873 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17874 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17875 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17876 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17877 long arg5
= (long) 0 ;
17878 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17879 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17880 wxChoicebook
*result
;
17883 bool temp6
= false ;
17884 PyObject
* obj0
= 0 ;
17885 PyObject
* obj1
= 0 ;
17886 PyObject
* obj2
= 0 ;
17887 PyObject
* obj3
= 0 ;
17888 PyObject
* obj4
= 0 ;
17889 PyObject
* obj5
= 0 ;
17890 char *kwnames
[] = {
17891 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17896 if (SWIG_arg_fail(1)) SWIG_fail
;
17898 arg2
= (int)(SWIG_As_int(obj1
));
17899 if (SWIG_arg_fail(2)) SWIG_fail
;
17904 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17910 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17915 arg5
= (long)(SWIG_As_long(obj4
));
17916 if (SWIG_arg_fail(5)) SWIG_fail
;
17921 arg6
= wxString_in_helper(obj5
);
17922 if (arg6
== NULL
) SWIG_fail
;
17927 if (!wxPyCheckForApp()) SWIG_fail
;
17928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17929 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17931 wxPyEndAllowThreads(__tstate
);
17932 if (PyErr_Occurred()) SWIG_fail
;
17934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17949 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17950 PyObject
*resultobj
;
17951 wxChoicebook
*result
;
17952 char *kwnames
[] = {
17956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
17958 if (!wxPyCheckForApp()) SWIG_fail
;
17959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17960 result
= (wxChoicebook
*)new wxChoicebook();
17962 wxPyEndAllowThreads(__tstate
);
17963 if (PyErr_Occurred()) SWIG_fail
;
17965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17972 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17973 PyObject
*resultobj
;
17974 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
17975 wxWindow
*arg2
= (wxWindow
*) 0 ;
17977 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17978 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17979 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17980 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17981 long arg6
= (long) 0 ;
17982 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17983 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17987 bool temp7
= false ;
17988 PyObject
* obj0
= 0 ;
17989 PyObject
* obj1
= 0 ;
17990 PyObject
* obj2
= 0 ;
17991 PyObject
* obj3
= 0 ;
17992 PyObject
* obj4
= 0 ;
17993 PyObject
* obj5
= 0 ;
17994 PyObject
* obj6
= 0 ;
17995 char *kwnames
[] = {
17996 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18001 if (SWIG_arg_fail(1)) SWIG_fail
;
18002 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18003 if (SWIG_arg_fail(2)) SWIG_fail
;
18005 arg3
= (int)(SWIG_As_int(obj2
));
18006 if (SWIG_arg_fail(3)) SWIG_fail
;
18011 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18017 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18022 arg6
= (long)(SWIG_As_long(obj5
));
18023 if (SWIG_arg_fail(6)) SWIG_fail
;
18028 arg7
= wxString_in_helper(obj6
);
18029 if (arg7
== NULL
) SWIG_fail
;
18034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18035 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18037 wxPyEndAllowThreads(__tstate
);
18038 if (PyErr_Occurred()) SWIG_fail
;
18041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18057 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18058 PyObject
*resultobj
;
18059 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18061 PyObject
* obj0
= 0 ;
18062 char *kwnames
[] = {
18063 (char *) "self", NULL
18066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
18067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18068 if (SWIG_arg_fail(1)) SWIG_fail
;
18070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18071 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
18073 wxPyEndAllowThreads(__tstate
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18085 static PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18086 PyObject
*resultobj
;
18087 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18089 PyObject
* obj0
= 0 ;
18090 char *kwnames
[] = {
18091 (char *) "self", NULL
18094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_GetChoiceCtrl",kwnames
,&obj0
)) goto fail
;
18095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18096 if (SWIG_arg_fail(1)) SWIG_fail
;
18098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18099 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
18101 wxPyEndAllowThreads(__tstate
);
18102 if (PyErr_Occurred()) SWIG_fail
;
18104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 0);
18111 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18112 PyObject
*resultobj
;
18113 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18115 PyObject
* obj0
= 0 ;
18116 char *kwnames
[] = {
18117 (char *) "self", NULL
18120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18122 if (SWIG_arg_fail(1)) SWIG_fail
;
18124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18125 result
= (bool)(arg1
)->DeleteAllPages();
18127 wxPyEndAllowThreads(__tstate
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18139 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18141 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18142 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18144 return Py_BuildValue((char *)"");
18146 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18147 PyObject
*resultobj
;
18148 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18149 int arg2
= (int) 0 ;
18150 int arg3
= (int) -1 ;
18151 int arg4
= (int) -1 ;
18152 wxChoicebookEvent
*result
;
18153 PyObject
* obj0
= 0 ;
18154 PyObject
* obj1
= 0 ;
18155 PyObject
* obj2
= 0 ;
18156 PyObject
* obj3
= 0 ;
18157 char *kwnames
[] = {
18158 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18164 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18165 if (SWIG_arg_fail(1)) SWIG_fail
;
18170 arg2
= (int)(SWIG_As_int(obj1
));
18171 if (SWIG_arg_fail(2)) SWIG_fail
;
18176 arg3
= (int)(SWIG_As_int(obj2
));
18177 if (SWIG_arg_fail(3)) SWIG_fail
;
18182 arg4
= (int)(SWIG_As_int(obj3
));
18183 if (SWIG_arg_fail(4)) SWIG_fail
;
18187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18188 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18190 wxPyEndAllowThreads(__tstate
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18200 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18202 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18203 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18205 return Py_BuildValue((char *)"");
18207 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18208 PyObject
*resultobj
;
18209 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18210 wxBookCtrlSizer
*result
;
18211 PyObject
* obj0
= 0 ;
18212 char *kwnames
[] = {
18213 (char *) "nb", NULL
18216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
18217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
18218 if (SWIG_arg_fail(1)) SWIG_fail
;
18220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18221 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
18223 wxPyEndAllowThreads(__tstate
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
18233 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18234 PyObject
*resultobj
;
18235 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18236 PyObject
* obj0
= 0 ;
18237 char *kwnames
[] = {
18238 (char *) "self", NULL
18241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18243 if (SWIG_arg_fail(1)) SWIG_fail
;
18245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 (arg1
)->RecalcSizes();
18248 wxPyEndAllowThreads(__tstate
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18251 Py_INCREF(Py_None
); resultobj
= Py_None
;
18258 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18259 PyObject
*resultobj
;
18260 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18262 PyObject
* obj0
= 0 ;
18263 char *kwnames
[] = {
18264 (char *) "self", NULL
18267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18269 if (SWIG_arg_fail(1)) SWIG_fail
;
18271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18272 result
= (arg1
)->CalcMin();
18274 wxPyEndAllowThreads(__tstate
);
18275 if (PyErr_Occurred()) SWIG_fail
;
18278 wxSize
* resultptr
;
18279 resultptr
= new wxSize((wxSize
&)(result
));
18280 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18288 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18289 PyObject
*resultobj
;
18290 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18291 wxBookCtrlBase
*result
;
18292 PyObject
* obj0
= 0 ;
18293 char *kwnames
[] = {
18294 (char *) "self", NULL
18297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
18298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18299 if (SWIG_arg_fail(1)) SWIG_fail
;
18301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18302 result
= (wxBookCtrlBase
*)(arg1
)->GetControl();
18304 wxPyEndAllowThreads(__tstate
);
18305 if (PyErr_Occurred()) SWIG_fail
;
18307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBase
, 0);
18314 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
18316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18317 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
18319 return Py_BuildValue((char *)"");
18321 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18322 PyObject
*resultobj
;
18323 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
18324 wxNotebookSizer
*result
;
18325 PyObject
* obj0
= 0 ;
18326 char *kwnames
[] = {
18327 (char *) "nb", NULL
18330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
18331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
18332 if (SWIG_arg_fail(1)) SWIG_fail
;
18334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18335 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
18337 wxPyEndAllowThreads(__tstate
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
18347 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18348 PyObject
*resultobj
;
18349 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18350 PyObject
* obj0
= 0 ;
18351 char *kwnames
[] = {
18352 (char *) "self", NULL
18355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18357 if (SWIG_arg_fail(1)) SWIG_fail
;
18359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18360 (arg1
)->RecalcSizes();
18362 wxPyEndAllowThreads(__tstate
);
18363 if (PyErr_Occurred()) SWIG_fail
;
18365 Py_INCREF(Py_None
); resultobj
= Py_None
;
18372 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18373 PyObject
*resultobj
;
18374 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18376 PyObject
* obj0
= 0 ;
18377 char *kwnames
[] = {
18378 (char *) "self", NULL
18381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18383 if (SWIG_arg_fail(1)) SWIG_fail
;
18385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18386 result
= (arg1
)->CalcMin();
18388 wxPyEndAllowThreads(__tstate
);
18389 if (PyErr_Occurred()) SWIG_fail
;
18392 wxSize
* resultptr
;
18393 resultptr
= new wxSize((wxSize
&)(result
));
18394 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18402 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18403 PyObject
*resultobj
;
18404 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18405 wxNotebook
*result
;
18406 PyObject
* obj0
= 0 ;
18407 char *kwnames
[] = {
18408 (char *) "self", NULL
18411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
18412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18413 if (SWIG_arg_fail(1)) SWIG_fail
;
18415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18416 result
= (wxNotebook
*)(arg1
)->GetNotebook();
18418 wxPyEndAllowThreads(__tstate
);
18419 if (PyErr_Occurred()) SWIG_fail
;
18422 resultobj
= wxPyMake_wxObject(result
, 0);
18430 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
18432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18433 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
18435 return Py_BuildValue((char *)"");
18437 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18438 PyObject
*resultobj
;
18439 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18441 PyObject
* obj0
= 0 ;
18442 char *kwnames
[] = {
18443 (char *) "self", NULL
18446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
18447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18448 if (SWIG_arg_fail(1)) SWIG_fail
;
18450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18451 result
= (int)(arg1
)->GetId();
18453 wxPyEndAllowThreads(__tstate
);
18454 if (PyErr_Occurred()) SWIG_fail
;
18457 resultobj
= SWIG_From_int((int)(result
));
18465 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18466 PyObject
*resultobj
;
18467 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18469 PyObject
* obj0
= 0 ;
18470 char *kwnames
[] = {
18471 (char *) "self", NULL
18474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
18475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18476 if (SWIG_arg_fail(1)) SWIG_fail
;
18478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18479 result
= (wxControl
*)(arg1
)->GetControl();
18481 wxPyEndAllowThreads(__tstate
);
18482 if (PyErr_Occurred()) SWIG_fail
;
18485 resultobj
= wxPyMake_wxObject(result
, 0);
18493 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18494 PyObject
*resultobj
;
18495 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18496 wxToolBarBase
*result
;
18497 PyObject
* obj0
= 0 ;
18498 char *kwnames
[] = {
18499 (char *) "self", NULL
18502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
18503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18504 if (SWIG_arg_fail(1)) SWIG_fail
;
18506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18507 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
18509 wxPyEndAllowThreads(__tstate
);
18510 if (PyErr_Occurred()) SWIG_fail
;
18513 resultobj
= wxPyMake_wxObject(result
, 0);
18521 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18522 PyObject
*resultobj
;
18523 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18525 PyObject
* obj0
= 0 ;
18526 char *kwnames
[] = {
18527 (char *) "self", NULL
18530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
18531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18532 if (SWIG_arg_fail(1)) SWIG_fail
;
18534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18535 result
= (int)(arg1
)->IsButton();
18537 wxPyEndAllowThreads(__tstate
);
18538 if (PyErr_Occurred()) SWIG_fail
;
18541 resultobj
= SWIG_From_int((int)(result
));
18549 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18550 PyObject
*resultobj
;
18551 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18553 PyObject
* obj0
= 0 ;
18554 char *kwnames
[] = {
18555 (char *) "self", NULL
18558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
18559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18560 if (SWIG_arg_fail(1)) SWIG_fail
;
18562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18563 result
= (int)(arg1
)->IsControl();
18565 wxPyEndAllowThreads(__tstate
);
18566 if (PyErr_Occurred()) SWIG_fail
;
18569 resultobj
= SWIG_From_int((int)(result
));
18577 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18578 PyObject
*resultobj
;
18579 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18581 PyObject
* obj0
= 0 ;
18582 char *kwnames
[] = {
18583 (char *) "self", NULL
18586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
18587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18588 if (SWIG_arg_fail(1)) SWIG_fail
;
18590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18591 result
= (int)(arg1
)->IsSeparator();
18593 wxPyEndAllowThreads(__tstate
);
18594 if (PyErr_Occurred()) SWIG_fail
;
18597 resultobj
= SWIG_From_int((int)(result
));
18605 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18606 PyObject
*resultobj
;
18607 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18609 PyObject
* obj0
= 0 ;
18610 char *kwnames
[] = {
18611 (char *) "self", NULL
18614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18616 if (SWIG_arg_fail(1)) SWIG_fail
;
18618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18619 result
= (int)(arg1
)->GetStyle();
18621 wxPyEndAllowThreads(__tstate
);
18622 if (PyErr_Occurred()) SWIG_fail
;
18625 resultobj
= SWIG_From_int((int)(result
));
18633 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18634 PyObject
*resultobj
;
18635 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18637 PyObject
* obj0
= 0 ;
18638 char *kwnames
[] = {
18639 (char *) "self", NULL
18642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
18643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18644 if (SWIG_arg_fail(1)) SWIG_fail
;
18646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18647 result
= (wxItemKind
)(arg1
)->GetKind();
18649 wxPyEndAllowThreads(__tstate
);
18650 if (PyErr_Occurred()) SWIG_fail
;
18652 resultobj
= SWIG_From_int((result
));
18659 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18660 PyObject
*resultobj
;
18661 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18663 PyObject
* obj0
= 0 ;
18664 char *kwnames
[] = {
18665 (char *) "self", NULL
18668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
18669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18670 if (SWIG_arg_fail(1)) SWIG_fail
;
18672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18673 result
= (bool)(arg1
)->IsEnabled();
18675 wxPyEndAllowThreads(__tstate
);
18676 if (PyErr_Occurred()) SWIG_fail
;
18679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18687 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18688 PyObject
*resultobj
;
18689 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18691 PyObject
* obj0
= 0 ;
18692 char *kwnames
[] = {
18693 (char *) "self", NULL
18696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
18697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18698 if (SWIG_arg_fail(1)) SWIG_fail
;
18700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18701 result
= (bool)(arg1
)->IsToggled();
18703 wxPyEndAllowThreads(__tstate
);
18704 if (PyErr_Occurred()) SWIG_fail
;
18707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18715 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18716 PyObject
*resultobj
;
18717 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18719 PyObject
* obj0
= 0 ;
18720 char *kwnames
[] = {
18721 (char *) "self", NULL
18724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
18725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18726 if (SWIG_arg_fail(1)) SWIG_fail
;
18728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18729 result
= (bool)(arg1
)->CanBeToggled();
18731 wxPyEndAllowThreads(__tstate
);
18732 if (PyErr_Occurred()) SWIG_fail
;
18735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18743 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18744 PyObject
*resultobj
;
18745 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18747 PyObject
* obj0
= 0 ;
18748 char *kwnames
[] = {
18749 (char *) "self", NULL
18752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
18753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18754 if (SWIG_arg_fail(1)) SWIG_fail
;
18756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18758 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
18759 result
= (wxBitmap
*) &_result_ref
;
18762 wxPyEndAllowThreads(__tstate
);
18763 if (PyErr_Occurred()) SWIG_fail
;
18766 wxBitmap
* resultptr
= new wxBitmap(*result
);
18767 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18775 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(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_GetDisabledBitmap",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();
18790 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
18791 result
= (wxBitmap
*) &_result_ref
;
18794 wxPyEndAllowThreads(__tstate
);
18795 if (PyErr_Occurred()) SWIG_fail
;
18798 wxBitmap
* resultptr
= new wxBitmap(*result
);
18799 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18807 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(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_GetBitmap",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
)->GetBitmap();
18823 wxPyEndAllowThreads(__tstate
);
18824 if (PyErr_Occurred()) SWIG_fail
;
18827 wxBitmap
* resultptr
;
18828 resultptr
= new wxBitmap((wxBitmap
&)(result
));
18829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18837 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18838 PyObject
*resultobj
;
18839 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18841 PyObject
* obj0
= 0 ;
18842 char *kwnames
[] = {
18843 (char *) "self", NULL
18846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
18847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18848 if (SWIG_arg_fail(1)) SWIG_fail
;
18850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18851 result
= (arg1
)->GetLabel();
18853 wxPyEndAllowThreads(__tstate
);
18854 if (PyErr_Occurred()) SWIG_fail
;
18858 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18860 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18869 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18870 PyObject
*resultobj
;
18871 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18873 PyObject
* obj0
= 0 ;
18874 char *kwnames
[] = {
18875 (char *) "self", NULL
18878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
18879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18880 if (SWIG_arg_fail(1)) SWIG_fail
;
18882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18883 result
= (arg1
)->GetShortHelp();
18885 wxPyEndAllowThreads(__tstate
);
18886 if (PyErr_Occurred()) SWIG_fail
;
18890 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18892 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18901 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18902 PyObject
*resultobj
;
18903 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18905 PyObject
* obj0
= 0 ;
18906 char *kwnames
[] = {
18907 (char *) "self", NULL
18910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
18911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18912 if (SWIG_arg_fail(1)) SWIG_fail
;
18914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18915 result
= (arg1
)->GetLongHelp();
18917 wxPyEndAllowThreads(__tstate
);
18918 if (PyErr_Occurred()) SWIG_fail
;
18922 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18924 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18933 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18934 PyObject
*resultobj
;
18935 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18938 PyObject
* obj0
= 0 ;
18939 PyObject
* obj1
= 0 ;
18940 char *kwnames
[] = {
18941 (char *) "self",(char *) "enable", NULL
18944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18946 if (SWIG_arg_fail(1)) SWIG_fail
;
18948 arg2
= (bool)(SWIG_As_bool(obj1
));
18949 if (SWIG_arg_fail(2)) SWIG_fail
;
18952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18953 result
= (bool)(arg1
)->Enable(arg2
);
18955 wxPyEndAllowThreads(__tstate
);
18956 if (PyErr_Occurred()) SWIG_fail
;
18959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18967 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18968 PyObject
*resultobj
;
18969 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18970 PyObject
* obj0
= 0 ;
18971 char *kwnames
[] = {
18972 (char *) "self", NULL
18975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
18976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18977 if (SWIG_arg_fail(1)) SWIG_fail
;
18979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18982 wxPyEndAllowThreads(__tstate
);
18983 if (PyErr_Occurred()) SWIG_fail
;
18985 Py_INCREF(Py_None
); resultobj
= Py_None
;
18992 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18993 PyObject
*resultobj
;
18994 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18997 PyObject
* obj0
= 0 ;
18998 PyObject
* obj1
= 0 ;
18999 char *kwnames
[] = {
19000 (char *) "self",(char *) "toggle", NULL
19003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
19004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19005 if (SWIG_arg_fail(1)) SWIG_fail
;
19007 arg2
= (bool)(SWIG_As_bool(obj1
));
19008 if (SWIG_arg_fail(2)) SWIG_fail
;
19011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19012 result
= (bool)(arg1
)->SetToggle(arg2
);
19014 wxPyEndAllowThreads(__tstate
);
19015 if (PyErr_Occurred()) SWIG_fail
;
19018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19026 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19027 PyObject
*resultobj
;
19028 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19029 wxString
*arg2
= 0 ;
19031 bool temp2
= false ;
19032 PyObject
* obj0
= 0 ;
19033 PyObject
* obj1
= 0 ;
19034 char *kwnames
[] = {
19035 (char *) "self",(char *) "help", NULL
19038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19040 if (SWIG_arg_fail(1)) SWIG_fail
;
19042 arg2
= wxString_in_helper(obj1
);
19043 if (arg2
== NULL
) SWIG_fail
;
19047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19048 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
19050 wxPyEndAllowThreads(__tstate
);
19051 if (PyErr_Occurred()) SWIG_fail
;
19054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19070 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19071 PyObject
*resultobj
;
19072 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19073 wxString
*arg2
= 0 ;
19075 bool temp2
= false ;
19076 PyObject
* obj0
= 0 ;
19077 PyObject
* obj1
= 0 ;
19078 char *kwnames
[] = {
19079 (char *) "self",(char *) "help", NULL
19082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19084 if (SWIG_arg_fail(1)) SWIG_fail
;
19086 arg2
= wxString_in_helper(obj1
);
19087 if (arg2
== NULL
) SWIG_fail
;
19091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19092 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
19094 wxPyEndAllowThreads(__tstate
);
19095 if (PyErr_Occurred()) SWIG_fail
;
19098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19114 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19115 PyObject
*resultobj
;
19116 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19117 wxBitmap
*arg2
= 0 ;
19118 PyObject
* obj0
= 0 ;
19119 PyObject
* obj1
= 0 ;
19120 char *kwnames
[] = {
19121 (char *) "self",(char *) "bmp", NULL
19124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19126 if (SWIG_arg_fail(1)) SWIG_fail
;
19128 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19129 if (SWIG_arg_fail(2)) SWIG_fail
;
19130 if (arg2
== NULL
) {
19131 SWIG_null_ref("wxBitmap");
19133 if (SWIG_arg_fail(2)) SWIG_fail
;
19136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19137 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
19139 wxPyEndAllowThreads(__tstate
);
19140 if (PyErr_Occurred()) SWIG_fail
;
19142 Py_INCREF(Py_None
); resultobj
= Py_None
;
19149 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19150 PyObject
*resultobj
;
19151 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19152 wxBitmap
*arg2
= 0 ;
19153 PyObject
* obj0
= 0 ;
19154 PyObject
* obj1
= 0 ;
19155 char *kwnames
[] = {
19156 (char *) "self",(char *) "bmp", NULL
19159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19161 if (SWIG_arg_fail(1)) SWIG_fail
;
19163 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19164 if (SWIG_arg_fail(2)) SWIG_fail
;
19165 if (arg2
== NULL
) {
19166 SWIG_null_ref("wxBitmap");
19168 if (SWIG_arg_fail(2)) SWIG_fail
;
19171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19172 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
19174 wxPyEndAllowThreads(__tstate
);
19175 if (PyErr_Occurred()) SWIG_fail
;
19177 Py_INCREF(Py_None
); resultobj
= Py_None
;
19184 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19185 PyObject
*resultobj
;
19186 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19187 wxString
*arg2
= 0 ;
19188 bool temp2
= false ;
19189 PyObject
* obj0
= 0 ;
19190 PyObject
* obj1
= 0 ;
19191 char *kwnames
[] = {
19192 (char *) "self",(char *) "label", NULL
19195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19197 if (SWIG_arg_fail(1)) SWIG_fail
;
19199 arg2
= wxString_in_helper(obj1
);
19200 if (arg2
== NULL
) SWIG_fail
;
19204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19205 (arg1
)->SetLabel((wxString
const &)*arg2
);
19207 wxPyEndAllowThreads(__tstate
);
19208 if (PyErr_Occurred()) SWIG_fail
;
19210 Py_INCREF(Py_None
); resultobj
= Py_None
;
19225 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19226 PyObject
*resultobj
;
19227 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19228 PyObject
* obj0
= 0 ;
19229 char *kwnames
[] = {
19230 (char *) "self", NULL
19233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
19234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19235 if (SWIG_arg_fail(1)) SWIG_fail
;
19237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19240 wxPyEndAllowThreads(__tstate
);
19241 if (PyErr_Occurred()) SWIG_fail
;
19243 Py_INCREF(Py_None
); resultobj
= Py_None
;
19250 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19251 PyObject
*resultobj
;
19252 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19253 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
19254 PyObject
* obj0
= 0 ;
19255 PyObject
* obj1
= 0 ;
19256 char *kwnames
[] = {
19257 (char *) "self",(char *) "tbar", NULL
19260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
19261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19262 if (SWIG_arg_fail(1)) SWIG_fail
;
19263 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19264 if (SWIG_arg_fail(2)) SWIG_fail
;
19266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19267 (arg1
)->Attach(arg2
);
19269 wxPyEndAllowThreads(__tstate
);
19270 if (PyErr_Occurred()) SWIG_fail
;
19272 Py_INCREF(Py_None
); resultobj
= Py_None
;
19279 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19280 PyObject
*resultobj
;
19281 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19283 PyObject
* obj0
= 0 ;
19284 char *kwnames
[] = {
19285 (char *) "self", NULL
19288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
19289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19290 if (SWIG_arg_fail(1)) SWIG_fail
;
19292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19293 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
19295 wxPyEndAllowThreads(__tstate
);
19296 if (PyErr_Occurred()) SWIG_fail
;
19298 resultobj
= result
;
19305 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19306 PyObject
*resultobj
;
19307 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19308 PyObject
*arg2
= (PyObject
*) 0 ;
19309 PyObject
* obj0
= 0 ;
19310 PyObject
* obj1
= 0 ;
19311 char *kwnames
[] = {
19312 (char *) "self",(char *) "clientData", NULL
19315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19317 if (SWIG_arg_fail(1)) SWIG_fail
;
19320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19321 wxToolBarToolBase_SetClientData(arg1
,arg2
);
19323 wxPyEndAllowThreads(__tstate
);
19324 if (PyErr_Occurred()) SWIG_fail
;
19326 Py_INCREF(Py_None
); resultobj
= Py_None
;
19333 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
19335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19336 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
19338 return Py_BuildValue((char *)"");
19340 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19341 PyObject
*resultobj
;
19342 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19344 wxString
*arg3
= 0 ;
19345 wxBitmap
*arg4
= 0 ;
19346 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
19347 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
19348 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
19349 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19350 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19351 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19352 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19353 PyObject
*arg9
= (PyObject
*) NULL
;
19354 wxToolBarToolBase
*result
;
19355 bool temp3
= false ;
19356 bool temp7
= false ;
19357 bool temp8
= false ;
19358 PyObject
* obj0
= 0 ;
19359 PyObject
* obj1
= 0 ;
19360 PyObject
* obj2
= 0 ;
19361 PyObject
* obj3
= 0 ;
19362 PyObject
* obj4
= 0 ;
19363 PyObject
* obj5
= 0 ;
19364 PyObject
* obj6
= 0 ;
19365 PyObject
* obj7
= 0 ;
19366 PyObject
* obj8
= 0 ;
19367 char *kwnames
[] = {
19368 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
19372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19373 if (SWIG_arg_fail(1)) SWIG_fail
;
19375 arg2
= (int)(SWIG_As_int(obj1
));
19376 if (SWIG_arg_fail(2)) SWIG_fail
;
19379 arg3
= wxString_in_helper(obj2
);
19380 if (arg3
== NULL
) SWIG_fail
;
19384 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19385 if (SWIG_arg_fail(4)) SWIG_fail
;
19386 if (arg4
== NULL
) {
19387 SWIG_null_ref("wxBitmap");
19389 if (SWIG_arg_fail(4)) SWIG_fail
;
19393 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19394 if (SWIG_arg_fail(5)) SWIG_fail
;
19395 if (arg5
== NULL
) {
19396 SWIG_null_ref("wxBitmap");
19398 if (SWIG_arg_fail(5)) SWIG_fail
;
19403 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
19404 if (SWIG_arg_fail(6)) SWIG_fail
;
19409 arg7
= wxString_in_helper(obj6
);
19410 if (arg7
== NULL
) SWIG_fail
;
19416 arg8
= wxString_in_helper(obj7
);
19417 if (arg8
== NULL
) SWIG_fail
;
19425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19426 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
19428 wxPyEndAllowThreads(__tstate
);
19429 if (PyErr_Occurred()) SWIG_fail
;
19432 resultobj
= wxPyMake_wxObject(result
, 0);
19464 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19465 PyObject
*resultobj
;
19466 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19469 wxString
*arg4
= 0 ;
19470 wxBitmap
*arg5
= 0 ;
19471 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
19472 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
19473 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
19474 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19475 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19476 wxString
const &arg9_defvalue
= wxPyEmptyString
;
19477 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19478 PyObject
*arg10
= (PyObject
*) NULL
;
19479 wxToolBarToolBase
*result
;
19480 bool temp4
= false ;
19481 bool temp8
= false ;
19482 bool temp9
= false ;
19483 PyObject
* obj0
= 0 ;
19484 PyObject
* obj1
= 0 ;
19485 PyObject
* obj2
= 0 ;
19486 PyObject
* obj3
= 0 ;
19487 PyObject
* obj4
= 0 ;
19488 PyObject
* obj5
= 0 ;
19489 PyObject
* obj6
= 0 ;
19490 PyObject
* obj7
= 0 ;
19491 PyObject
* obj8
= 0 ;
19492 PyObject
* obj9
= 0 ;
19493 char *kwnames
[] = {
19494 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
19498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19499 if (SWIG_arg_fail(1)) SWIG_fail
;
19501 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19502 if (SWIG_arg_fail(2)) SWIG_fail
;
19505 arg3
= (int)(SWIG_As_int(obj2
));
19506 if (SWIG_arg_fail(3)) SWIG_fail
;
19509 arg4
= wxString_in_helper(obj3
);
19510 if (arg4
== NULL
) SWIG_fail
;
19514 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19515 if (SWIG_arg_fail(5)) SWIG_fail
;
19516 if (arg5
== NULL
) {
19517 SWIG_null_ref("wxBitmap");
19519 if (SWIG_arg_fail(5)) SWIG_fail
;
19523 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19524 if (SWIG_arg_fail(6)) SWIG_fail
;
19525 if (arg6
== NULL
) {
19526 SWIG_null_ref("wxBitmap");
19528 if (SWIG_arg_fail(6)) SWIG_fail
;
19533 arg7
= (wxItemKind
)(SWIG_As_int(obj6
));
19534 if (SWIG_arg_fail(7)) SWIG_fail
;
19539 arg8
= wxString_in_helper(obj7
);
19540 if (arg8
== NULL
) SWIG_fail
;
19546 arg9
= wxString_in_helper(obj8
);
19547 if (arg9
== NULL
) SWIG_fail
;
19555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19556 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
);
19558 wxPyEndAllowThreads(__tstate
);
19559 if (PyErr_Occurred()) SWIG_fail
;
19562 resultobj
= wxPyMake_wxObject(result
, 0);
19594 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19595 PyObject
*resultobj
;
19596 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19597 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
19598 wxToolBarToolBase
*result
;
19599 PyObject
* obj0
= 0 ;
19600 PyObject
* obj1
= 0 ;
19601 char *kwnames
[] = {
19602 (char *) "self",(char *) "tool", NULL
19605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19607 if (SWIG_arg_fail(1)) SWIG_fail
;
19608 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19609 if (SWIG_arg_fail(2)) SWIG_fail
;
19611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19612 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
19614 wxPyEndAllowThreads(__tstate
);
19615 if (PyErr_Occurred()) SWIG_fail
;
19618 resultobj
= wxPyMake_wxObject(result
, 0);
19626 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19627 PyObject
*resultobj
;
19628 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19630 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
19631 wxToolBarToolBase
*result
;
19632 PyObject
* obj0
= 0 ;
19633 PyObject
* obj1
= 0 ;
19634 PyObject
* obj2
= 0 ;
19635 char *kwnames
[] = {
19636 (char *) "self",(char *) "pos",(char *) "tool", NULL
19639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19641 if (SWIG_arg_fail(1)) SWIG_fail
;
19643 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19644 if (SWIG_arg_fail(2)) SWIG_fail
;
19646 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19647 if (SWIG_arg_fail(3)) SWIG_fail
;
19649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19650 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
19652 wxPyEndAllowThreads(__tstate
);
19653 if (PyErr_Occurred()) SWIG_fail
;
19656 resultobj
= wxPyMake_wxObject(result
, 0);
19664 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19665 PyObject
*resultobj
;
19666 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19667 wxControl
*arg2
= (wxControl
*) 0 ;
19668 wxToolBarToolBase
*result
;
19669 PyObject
* obj0
= 0 ;
19670 PyObject
* obj1
= 0 ;
19671 char *kwnames
[] = {
19672 (char *) "self",(char *) "control", NULL
19675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19677 if (SWIG_arg_fail(1)) SWIG_fail
;
19678 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19679 if (SWIG_arg_fail(2)) SWIG_fail
;
19681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19682 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
19684 wxPyEndAllowThreads(__tstate
);
19685 if (PyErr_Occurred()) SWIG_fail
;
19688 resultobj
= wxPyMake_wxObject(result
, 0);
19696 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19697 PyObject
*resultobj
;
19698 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19700 wxControl
*arg3
= (wxControl
*) 0 ;
19701 wxToolBarToolBase
*result
;
19702 PyObject
* obj0
= 0 ;
19703 PyObject
* obj1
= 0 ;
19704 PyObject
* obj2
= 0 ;
19705 char *kwnames
[] = {
19706 (char *) "self",(char *) "pos",(char *) "control", NULL
19709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19711 if (SWIG_arg_fail(1)) SWIG_fail
;
19713 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19714 if (SWIG_arg_fail(2)) SWIG_fail
;
19716 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19717 if (SWIG_arg_fail(3)) SWIG_fail
;
19719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19720 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
19722 wxPyEndAllowThreads(__tstate
);
19723 if (PyErr_Occurred()) SWIG_fail
;
19726 resultobj
= wxPyMake_wxObject(result
, 0);
19734 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19735 PyObject
*resultobj
;
19736 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19739 PyObject
* obj0
= 0 ;
19740 PyObject
* obj1
= 0 ;
19741 char *kwnames
[] = {
19742 (char *) "self",(char *) "id", NULL
19745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",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
= (int)(SWIG_As_int(obj1
));
19750 if (SWIG_arg_fail(2)) SWIG_fail
;
19753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19754 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
19756 wxPyEndAllowThreads(__tstate
);
19757 if (PyErr_Occurred()) SWIG_fail
;
19760 resultobj
= wxPyMake_wxObject(result
, 0);
19768 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19769 PyObject
*resultobj
;
19770 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19771 wxToolBarToolBase
*result
;
19772 PyObject
* obj0
= 0 ;
19773 char *kwnames
[] = {
19774 (char *) "self", NULL
19777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
19778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19779 if (SWIG_arg_fail(1)) SWIG_fail
;
19781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19782 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
19784 wxPyEndAllowThreads(__tstate
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19788 resultobj
= wxPyMake_wxObject(result
, 0);
19796 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19797 PyObject
*resultobj
;
19798 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19800 wxToolBarToolBase
*result
;
19801 PyObject
* obj0
= 0 ;
19802 PyObject
* obj1
= 0 ;
19803 char *kwnames
[] = {
19804 (char *) "self",(char *) "pos", NULL
19807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
19808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19809 if (SWIG_arg_fail(1)) SWIG_fail
;
19811 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19812 if (SWIG_arg_fail(2)) SWIG_fail
;
19815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
19818 wxPyEndAllowThreads(__tstate
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19822 resultobj
= wxPyMake_wxObject(result
, 0);
19830 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19831 PyObject
*resultobj
;
19832 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19834 wxToolBarToolBase
*result
;
19835 PyObject
* obj0
= 0 ;
19836 PyObject
* obj1
= 0 ;
19837 char *kwnames
[] = {
19838 (char *) "self",(char *) "id", NULL
19841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19843 if (SWIG_arg_fail(1)) SWIG_fail
;
19845 arg2
= (int)(SWIG_As_int(obj1
));
19846 if (SWIG_arg_fail(2)) SWIG_fail
;
19849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19850 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
19852 wxPyEndAllowThreads(__tstate
);
19853 if (PyErr_Occurred()) SWIG_fail
;
19856 resultobj
= wxPyMake_wxObject(result
, 0);
19864 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19865 PyObject
*resultobj
;
19866 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19869 PyObject
* obj0
= 0 ;
19870 PyObject
* obj1
= 0 ;
19871 char *kwnames
[] = {
19872 (char *) "self",(char *) "pos", NULL
19875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
19876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19877 if (SWIG_arg_fail(1)) SWIG_fail
;
19879 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19880 if (SWIG_arg_fail(2)) SWIG_fail
;
19883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19884 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
19886 wxPyEndAllowThreads(__tstate
);
19887 if (PyErr_Occurred()) SWIG_fail
;
19890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19898 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19899 PyObject
*resultobj
;
19900 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19903 PyObject
* obj0
= 0 ;
19904 PyObject
* obj1
= 0 ;
19905 char *kwnames
[] = {
19906 (char *) "self",(char *) "id", NULL
19909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19911 if (SWIG_arg_fail(1)) SWIG_fail
;
19913 arg2
= (int)(SWIG_As_int(obj1
));
19914 if (SWIG_arg_fail(2)) SWIG_fail
;
19917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19918 result
= (bool)(arg1
)->DeleteTool(arg2
);
19920 wxPyEndAllowThreads(__tstate
);
19921 if (PyErr_Occurred()) SWIG_fail
;
19924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19932 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19933 PyObject
*resultobj
;
19934 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19935 PyObject
* obj0
= 0 ;
19936 char *kwnames
[] = {
19937 (char *) "self", NULL
19940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
19941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19942 if (SWIG_arg_fail(1)) SWIG_fail
;
19944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19945 (arg1
)->ClearTools();
19947 wxPyEndAllowThreads(__tstate
);
19948 if (PyErr_Occurred()) SWIG_fail
;
19950 Py_INCREF(Py_None
); resultobj
= Py_None
;
19957 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19958 PyObject
*resultobj
;
19959 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19961 PyObject
* obj0
= 0 ;
19962 char *kwnames
[] = {
19963 (char *) "self", NULL
19966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
19967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19968 if (SWIG_arg_fail(1)) SWIG_fail
;
19970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19971 result
= (bool)(arg1
)->Realize();
19973 wxPyEndAllowThreads(__tstate
);
19974 if (PyErr_Occurred()) SWIG_fail
;
19977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19985 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19986 PyObject
*resultobj
;
19987 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19990 PyObject
* obj0
= 0 ;
19991 PyObject
* obj1
= 0 ;
19992 PyObject
* obj2
= 0 ;
19993 char *kwnames
[] = {
19994 (char *) "self",(char *) "id",(char *) "enable", NULL
19997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19999 if (SWIG_arg_fail(1)) SWIG_fail
;
20001 arg2
= (int)(SWIG_As_int(obj1
));
20002 if (SWIG_arg_fail(2)) SWIG_fail
;
20005 arg3
= (bool)(SWIG_As_bool(obj2
));
20006 if (SWIG_arg_fail(3)) SWIG_fail
;
20009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20010 (arg1
)->EnableTool(arg2
,arg3
);
20012 wxPyEndAllowThreads(__tstate
);
20013 if (PyErr_Occurred()) SWIG_fail
;
20015 Py_INCREF(Py_None
); resultobj
= Py_None
;
20022 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20023 PyObject
*resultobj
;
20024 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20027 PyObject
* obj0
= 0 ;
20028 PyObject
* obj1
= 0 ;
20029 PyObject
* obj2
= 0 ;
20030 char *kwnames
[] = {
20031 (char *) "self",(char *) "id",(char *) "toggle", NULL
20034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20036 if (SWIG_arg_fail(1)) SWIG_fail
;
20038 arg2
= (int)(SWIG_As_int(obj1
));
20039 if (SWIG_arg_fail(2)) SWIG_fail
;
20042 arg3
= (bool)(SWIG_As_bool(obj2
));
20043 if (SWIG_arg_fail(3)) SWIG_fail
;
20046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20047 (arg1
)->ToggleTool(arg2
,arg3
);
20049 wxPyEndAllowThreads(__tstate
);
20050 if (PyErr_Occurred()) SWIG_fail
;
20052 Py_INCREF(Py_None
); resultobj
= Py_None
;
20059 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20060 PyObject
*resultobj
;
20061 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20064 PyObject
* obj0
= 0 ;
20065 PyObject
* obj1
= 0 ;
20066 PyObject
* obj2
= 0 ;
20067 char *kwnames
[] = {
20068 (char *) "self",(char *) "id",(char *) "toggle", NULL
20071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20073 if (SWIG_arg_fail(1)) SWIG_fail
;
20075 arg2
= (int)(SWIG_As_int(obj1
));
20076 if (SWIG_arg_fail(2)) SWIG_fail
;
20079 arg3
= (bool)(SWIG_As_bool(obj2
));
20080 if (SWIG_arg_fail(3)) SWIG_fail
;
20083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20084 (arg1
)->SetToggle(arg2
,arg3
);
20086 wxPyEndAllowThreads(__tstate
);
20087 if (PyErr_Occurred()) SWIG_fail
;
20089 Py_INCREF(Py_None
); resultobj
= Py_None
;
20096 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20097 PyObject
*resultobj
;
20098 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20101 PyObject
* obj0
= 0 ;
20102 PyObject
* obj1
= 0 ;
20103 char *kwnames
[] = {
20104 (char *) "self",(char *) "id", NULL
20107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
20108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20109 if (SWIG_arg_fail(1)) SWIG_fail
;
20111 arg2
= (int)(SWIG_As_int(obj1
));
20112 if (SWIG_arg_fail(2)) SWIG_fail
;
20115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20116 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
20118 wxPyEndAllowThreads(__tstate
);
20119 if (PyErr_Occurred()) SWIG_fail
;
20121 resultobj
= result
;
20128 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20129 PyObject
*resultobj
;
20130 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20132 PyObject
*arg3
= (PyObject
*) 0 ;
20133 PyObject
* obj0
= 0 ;
20134 PyObject
* obj1
= 0 ;
20135 PyObject
* obj2
= 0 ;
20136 char *kwnames
[] = {
20137 (char *) "self",(char *) "id",(char *) "clientData", NULL
20140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20142 if (SWIG_arg_fail(1)) SWIG_fail
;
20144 arg2
= (int)(SWIG_As_int(obj1
));
20145 if (SWIG_arg_fail(2)) SWIG_fail
;
20149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20150 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
20152 wxPyEndAllowThreads(__tstate
);
20153 if (PyErr_Occurred()) SWIG_fail
;
20155 Py_INCREF(Py_None
); resultobj
= Py_None
;
20162 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20163 PyObject
*resultobj
;
20164 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20167 PyObject
* obj0
= 0 ;
20168 PyObject
* obj1
= 0 ;
20169 char *kwnames
[] = {
20170 (char *) "self",(char *) "id", NULL
20173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
20174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20175 if (SWIG_arg_fail(1)) SWIG_fail
;
20177 arg2
= (int)(SWIG_As_int(obj1
));
20178 if (SWIG_arg_fail(2)) SWIG_fail
;
20181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20182 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
20184 wxPyEndAllowThreads(__tstate
);
20185 if (PyErr_Occurred()) SWIG_fail
;
20188 resultobj
= SWIG_From_int((int)(result
));
20196 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20197 PyObject
*resultobj
;
20198 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20201 PyObject
* obj0
= 0 ;
20202 PyObject
* obj1
= 0 ;
20203 char *kwnames
[] = {
20204 (char *) "self",(char *) "id", NULL
20207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
20208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20209 if (SWIG_arg_fail(1)) SWIG_fail
;
20211 arg2
= (int)(SWIG_As_int(obj1
));
20212 if (SWIG_arg_fail(2)) SWIG_fail
;
20215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20216 result
= (bool)(arg1
)->GetToolState(arg2
);
20218 wxPyEndAllowThreads(__tstate
);
20219 if (PyErr_Occurred()) SWIG_fail
;
20222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20230 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20231 PyObject
*resultobj
;
20232 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20235 PyObject
* obj0
= 0 ;
20236 PyObject
* obj1
= 0 ;
20237 char *kwnames
[] = {
20238 (char *) "self",(char *) "id", NULL
20241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
20242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20243 if (SWIG_arg_fail(1)) SWIG_fail
;
20245 arg2
= (int)(SWIG_As_int(obj1
));
20246 if (SWIG_arg_fail(2)) SWIG_fail
;
20249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20250 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
20252 wxPyEndAllowThreads(__tstate
);
20253 if (PyErr_Occurred()) SWIG_fail
;
20256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20264 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20265 PyObject
*resultobj
;
20266 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20268 wxString
*arg3
= 0 ;
20269 bool temp3
= false ;
20270 PyObject
* obj0
= 0 ;
20271 PyObject
* obj1
= 0 ;
20272 PyObject
* obj2
= 0 ;
20273 char *kwnames
[] = {
20274 (char *) "self",(char *) "id",(char *) "helpString", NULL
20277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20279 if (SWIG_arg_fail(1)) SWIG_fail
;
20281 arg2
= (int)(SWIG_As_int(obj1
));
20282 if (SWIG_arg_fail(2)) SWIG_fail
;
20285 arg3
= wxString_in_helper(obj2
);
20286 if (arg3
== NULL
) SWIG_fail
;
20290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20291 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
20293 wxPyEndAllowThreads(__tstate
);
20294 if (PyErr_Occurred()) SWIG_fail
;
20296 Py_INCREF(Py_None
); resultobj
= Py_None
;
20311 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20312 PyObject
*resultobj
;
20313 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20316 PyObject
* obj0
= 0 ;
20317 PyObject
* obj1
= 0 ;
20318 char *kwnames
[] = {
20319 (char *) "self",(char *) "id", NULL
20322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20324 if (SWIG_arg_fail(1)) SWIG_fail
;
20326 arg2
= (int)(SWIG_As_int(obj1
));
20327 if (SWIG_arg_fail(2)) SWIG_fail
;
20330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20331 result
= (arg1
)->GetToolShortHelp(arg2
);
20333 wxPyEndAllowThreads(__tstate
);
20334 if (PyErr_Occurred()) SWIG_fail
;
20338 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20340 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20349 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20350 PyObject
*resultobj
;
20351 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20353 wxString
*arg3
= 0 ;
20354 bool temp3
= false ;
20355 PyObject
* obj0
= 0 ;
20356 PyObject
* obj1
= 0 ;
20357 PyObject
* obj2
= 0 ;
20358 char *kwnames
[] = {
20359 (char *) "self",(char *) "id",(char *) "helpString", NULL
20362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20364 if (SWIG_arg_fail(1)) SWIG_fail
;
20366 arg2
= (int)(SWIG_As_int(obj1
));
20367 if (SWIG_arg_fail(2)) SWIG_fail
;
20370 arg3
= wxString_in_helper(obj2
);
20371 if (arg3
== NULL
) SWIG_fail
;
20375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20376 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
20378 wxPyEndAllowThreads(__tstate
);
20379 if (PyErr_Occurred()) SWIG_fail
;
20381 Py_INCREF(Py_None
); resultobj
= Py_None
;
20396 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20397 PyObject
*resultobj
;
20398 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20401 PyObject
* obj0
= 0 ;
20402 PyObject
* obj1
= 0 ;
20403 char *kwnames
[] = {
20404 (char *) "self",(char *) "id", NULL
20407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20409 if (SWIG_arg_fail(1)) SWIG_fail
;
20411 arg2
= (int)(SWIG_As_int(obj1
));
20412 if (SWIG_arg_fail(2)) SWIG_fail
;
20415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20416 result
= (arg1
)->GetToolLongHelp(arg2
);
20418 wxPyEndAllowThreads(__tstate
);
20419 if (PyErr_Occurred()) SWIG_fail
;
20423 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20425 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20434 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20435 PyObject
*resultobj
;
20436 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20439 PyObject
* obj0
= 0 ;
20440 PyObject
* obj1
= 0 ;
20441 PyObject
* obj2
= 0 ;
20442 char *kwnames
[] = {
20443 (char *) "self",(char *) "x",(char *) "y", NULL
20446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20448 if (SWIG_arg_fail(1)) SWIG_fail
;
20450 arg2
= (int)(SWIG_As_int(obj1
));
20451 if (SWIG_arg_fail(2)) SWIG_fail
;
20454 arg3
= (int)(SWIG_As_int(obj2
));
20455 if (SWIG_arg_fail(3)) SWIG_fail
;
20458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20459 (arg1
)->SetMargins(arg2
,arg3
);
20461 wxPyEndAllowThreads(__tstate
);
20462 if (PyErr_Occurred()) SWIG_fail
;
20464 Py_INCREF(Py_None
); resultobj
= Py_None
;
20471 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20472 PyObject
*resultobj
;
20473 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20476 PyObject
* obj0
= 0 ;
20477 PyObject
* obj1
= 0 ;
20478 char *kwnames
[] = {
20479 (char *) "self",(char *) "size", NULL
20482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",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
;
20487 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20491 (arg1
)->SetMargins((wxSize
const &)*arg2
);
20493 wxPyEndAllowThreads(__tstate
);
20494 if (PyErr_Occurred()) SWIG_fail
;
20496 Py_INCREF(Py_None
); resultobj
= Py_None
;
20503 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20504 PyObject
*resultobj
;
20505 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20507 PyObject
* obj0
= 0 ;
20508 PyObject
* obj1
= 0 ;
20509 char *kwnames
[] = {
20510 (char *) "self",(char *) "packing", NULL
20513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
20514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20515 if (SWIG_arg_fail(1)) SWIG_fail
;
20517 arg2
= (int)(SWIG_As_int(obj1
));
20518 if (SWIG_arg_fail(2)) SWIG_fail
;
20521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20522 (arg1
)->SetToolPacking(arg2
);
20524 wxPyEndAllowThreads(__tstate
);
20525 if (PyErr_Occurred()) SWIG_fail
;
20527 Py_INCREF(Py_None
); resultobj
= Py_None
;
20534 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20535 PyObject
*resultobj
;
20536 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20538 PyObject
* obj0
= 0 ;
20539 PyObject
* obj1
= 0 ;
20540 char *kwnames
[] = {
20541 (char *) "self",(char *) "separation", NULL
20544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
20545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20546 if (SWIG_arg_fail(1)) SWIG_fail
;
20548 arg2
= (int)(SWIG_As_int(obj1
));
20549 if (SWIG_arg_fail(2)) SWIG_fail
;
20552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20553 (arg1
)->SetToolSeparation(arg2
);
20555 wxPyEndAllowThreads(__tstate
);
20556 if (PyErr_Occurred()) SWIG_fail
;
20558 Py_INCREF(Py_None
); resultobj
= Py_None
;
20565 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20566 PyObject
*resultobj
;
20567 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20569 PyObject
* obj0
= 0 ;
20570 char *kwnames
[] = {
20571 (char *) "self", NULL
20574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
20575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20576 if (SWIG_arg_fail(1)) SWIG_fail
;
20578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20579 result
= (arg1
)->GetToolMargins();
20581 wxPyEndAllowThreads(__tstate
);
20582 if (PyErr_Occurred()) SWIG_fail
;
20585 wxSize
* resultptr
;
20586 resultptr
= new wxSize((wxSize
&)(result
));
20587 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20595 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20596 PyObject
*resultobj
;
20597 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20599 PyObject
* obj0
= 0 ;
20600 char *kwnames
[] = {
20601 (char *) "self", NULL
20604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
20605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20606 if (SWIG_arg_fail(1)) SWIG_fail
;
20608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20609 result
= (arg1
)->GetMargins();
20611 wxPyEndAllowThreads(__tstate
);
20612 if (PyErr_Occurred()) SWIG_fail
;
20615 wxSize
* resultptr
;
20616 resultptr
= new wxSize((wxSize
&)(result
));
20617 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20625 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20626 PyObject
*resultobj
;
20627 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20629 PyObject
* obj0
= 0 ;
20630 char *kwnames
[] = {
20631 (char *) "self", NULL
20634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
20635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20636 if (SWIG_arg_fail(1)) SWIG_fail
;
20638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20639 result
= (int)(arg1
)->GetToolPacking();
20641 wxPyEndAllowThreads(__tstate
);
20642 if (PyErr_Occurred()) SWIG_fail
;
20645 resultobj
= SWIG_From_int((int)(result
));
20653 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20654 PyObject
*resultobj
;
20655 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20657 PyObject
* obj0
= 0 ;
20658 char *kwnames
[] = {
20659 (char *) "self", NULL
20662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20667 result
= (int)(arg1
)->GetToolSeparation();
20669 wxPyEndAllowThreads(__tstate
);
20670 if (PyErr_Occurred()) SWIG_fail
;
20673 resultobj
= SWIG_From_int((int)(result
));
20681 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20682 PyObject
*resultobj
;
20683 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20685 PyObject
* obj0
= 0 ;
20686 PyObject
* obj1
= 0 ;
20687 char *kwnames
[] = {
20688 (char *) "self",(char *) "nRows", NULL
20691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
20692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20693 if (SWIG_arg_fail(1)) SWIG_fail
;
20695 arg2
= (int)(SWIG_As_int(obj1
));
20696 if (SWIG_arg_fail(2)) SWIG_fail
;
20699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20700 (arg1
)->SetRows(arg2
);
20702 wxPyEndAllowThreads(__tstate
);
20703 if (PyErr_Occurred()) SWIG_fail
;
20705 Py_INCREF(Py_None
); resultobj
= Py_None
;
20712 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20713 PyObject
*resultobj
;
20714 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20717 PyObject
* obj0
= 0 ;
20718 PyObject
* obj1
= 0 ;
20719 PyObject
* obj2
= 0 ;
20720 char *kwnames
[] = {
20721 (char *) "self",(char *) "rows",(char *) "cols", NULL
20724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
20729 if (SWIG_arg_fail(2)) SWIG_fail
;
20732 arg3
= (int)(SWIG_As_int(obj2
));
20733 if (SWIG_arg_fail(3)) SWIG_fail
;
20736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20737 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
20739 wxPyEndAllowThreads(__tstate
);
20740 if (PyErr_Occurred()) SWIG_fail
;
20742 Py_INCREF(Py_None
); resultobj
= Py_None
;
20749 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20750 PyObject
*resultobj
;
20751 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20753 PyObject
* obj0
= 0 ;
20754 char *kwnames
[] = {
20755 (char *) "self", NULL
20758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
20759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20760 if (SWIG_arg_fail(1)) SWIG_fail
;
20762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20763 result
= (int)(arg1
)->GetMaxRows();
20765 wxPyEndAllowThreads(__tstate
);
20766 if (PyErr_Occurred()) SWIG_fail
;
20769 resultobj
= SWIG_From_int((int)(result
));
20777 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20778 PyObject
*resultobj
;
20779 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20781 PyObject
* obj0
= 0 ;
20782 char *kwnames
[] = {
20783 (char *) "self", NULL
20786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
20787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20788 if (SWIG_arg_fail(1)) SWIG_fail
;
20790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20791 result
= (int)(arg1
)->GetMaxCols();
20793 wxPyEndAllowThreads(__tstate
);
20794 if (PyErr_Occurred()) SWIG_fail
;
20797 resultobj
= SWIG_From_int((int)(result
));
20805 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20806 PyObject
*resultobj
;
20807 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20810 PyObject
* obj0
= 0 ;
20811 PyObject
* obj1
= 0 ;
20812 char *kwnames
[] = {
20813 (char *) "self",(char *) "size", NULL
20816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20818 if (SWIG_arg_fail(1)) SWIG_fail
;
20821 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20825 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
20827 wxPyEndAllowThreads(__tstate
);
20828 if (PyErr_Occurred()) SWIG_fail
;
20830 Py_INCREF(Py_None
); resultobj
= Py_None
;
20837 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20838 PyObject
*resultobj
;
20839 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20841 PyObject
* obj0
= 0 ;
20842 char *kwnames
[] = {
20843 (char *) "self", NULL
20846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
20847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20848 if (SWIG_arg_fail(1)) SWIG_fail
;
20850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20851 result
= (arg1
)->GetToolBitmapSize();
20853 wxPyEndAllowThreads(__tstate
);
20854 if (PyErr_Occurred()) SWIG_fail
;
20857 wxSize
* resultptr
;
20858 resultptr
= new wxSize((wxSize
&)(result
));
20859 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20867 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20868 PyObject
*resultobj
;
20869 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20871 PyObject
* obj0
= 0 ;
20872 char *kwnames
[] = {
20873 (char *) "self", NULL
20876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
20877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20878 if (SWIG_arg_fail(1)) SWIG_fail
;
20880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20881 result
= (arg1
)->GetToolSize();
20883 wxPyEndAllowThreads(__tstate
);
20884 if (PyErr_Occurred()) SWIG_fail
;
20887 wxSize
* resultptr
;
20888 resultptr
= new wxSize((wxSize
&)(result
));
20889 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20897 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20898 PyObject
*resultobj
;
20899 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20902 wxToolBarToolBase
*result
;
20903 PyObject
* obj0
= 0 ;
20904 PyObject
* obj1
= 0 ;
20905 PyObject
* obj2
= 0 ;
20906 char *kwnames
[] = {
20907 (char *) "self",(char *) "x",(char *) "y", NULL
20910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20912 if (SWIG_arg_fail(1)) SWIG_fail
;
20914 arg2
= (int)(SWIG_As_int(obj1
));
20915 if (SWIG_arg_fail(2)) SWIG_fail
;
20918 arg3
= (int)(SWIG_As_int(obj2
));
20919 if (SWIG_arg_fail(3)) SWIG_fail
;
20922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20923 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
20925 wxPyEndAllowThreads(__tstate
);
20926 if (PyErr_Occurred()) SWIG_fail
;
20929 resultobj
= wxPyMake_wxObject(result
, 0);
20937 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20938 PyObject
*resultobj
;
20939 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20941 wxToolBarToolBase
*result
;
20942 PyObject
* obj0
= 0 ;
20943 PyObject
* obj1
= 0 ;
20944 char *kwnames
[] = {
20945 (char *) "self",(char *) "toolid", NULL
20948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
20949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20950 if (SWIG_arg_fail(1)) SWIG_fail
;
20952 arg2
= (int)(SWIG_As_int(obj1
));
20953 if (SWIG_arg_fail(2)) SWIG_fail
;
20956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20957 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
20959 wxPyEndAllowThreads(__tstate
);
20960 if (PyErr_Occurred()) SWIG_fail
;
20963 resultobj
= wxPyMake_wxObject(result
, 0);
20971 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20972 PyObject
*resultobj
;
20973 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20975 PyObject
* obj0
= 0 ;
20976 char *kwnames
[] = {
20977 (char *) "self", NULL
20980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
20981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20982 if (SWIG_arg_fail(1)) SWIG_fail
;
20984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20985 result
= (bool)(arg1
)->IsVertical();
20987 wxPyEndAllowThreads(__tstate
);
20988 if (PyErr_Occurred()) SWIG_fail
;
20991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20999 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
21001 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21002 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
21004 return Py_BuildValue((char *)"");
21006 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21007 PyObject
*resultobj
;
21008 wxWindow
*arg1
= (wxWindow
*) 0 ;
21009 int arg2
= (int) -1 ;
21010 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21011 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21012 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21013 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21014 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21015 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
21016 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21020 bool temp6
= false ;
21021 PyObject
* obj0
= 0 ;
21022 PyObject
* obj1
= 0 ;
21023 PyObject
* obj2
= 0 ;
21024 PyObject
* obj3
= 0 ;
21025 PyObject
* obj4
= 0 ;
21026 PyObject
* obj5
= 0 ;
21027 char *kwnames
[] = {
21028 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21033 if (SWIG_arg_fail(1)) SWIG_fail
;
21036 arg2
= (int)(SWIG_As_int(obj1
));
21037 if (SWIG_arg_fail(2)) SWIG_fail
;
21043 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21049 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21054 arg5
= (long)(SWIG_As_long(obj4
));
21055 if (SWIG_arg_fail(5)) SWIG_fail
;
21060 arg6
= wxString_in_helper(obj5
);
21061 if (arg6
== NULL
) SWIG_fail
;
21066 if (!wxPyCheckForApp()) SWIG_fail
;
21067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21068 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21070 wxPyEndAllowThreads(__tstate
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21088 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21089 PyObject
*resultobj
;
21091 char *kwnames
[] = {
21095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
21097 if (!wxPyCheckForApp()) SWIG_fail
;
21098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21099 result
= (wxToolBar
*)new wxToolBar();
21101 wxPyEndAllowThreads(__tstate
);
21102 if (PyErr_Occurred()) SWIG_fail
;
21104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21111 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21112 PyObject
*resultobj
;
21113 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21114 wxWindow
*arg2
= (wxWindow
*) 0 ;
21115 int arg3
= (int) -1 ;
21116 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21117 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21118 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21119 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21120 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21121 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
21122 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21126 bool temp7
= false ;
21127 PyObject
* obj0
= 0 ;
21128 PyObject
* obj1
= 0 ;
21129 PyObject
* obj2
= 0 ;
21130 PyObject
* obj3
= 0 ;
21131 PyObject
* obj4
= 0 ;
21132 PyObject
* obj5
= 0 ;
21133 PyObject
* obj6
= 0 ;
21134 char *kwnames
[] = {
21135 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21140 if (SWIG_arg_fail(1)) SWIG_fail
;
21141 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21142 if (SWIG_arg_fail(2)) SWIG_fail
;
21145 arg3
= (int)(SWIG_As_int(obj2
));
21146 if (SWIG_arg_fail(3)) SWIG_fail
;
21152 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21158 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21163 arg6
= (long)(SWIG_As_long(obj5
));
21164 if (SWIG_arg_fail(6)) SWIG_fail
;
21169 arg7
= wxString_in_helper(obj6
);
21170 if (arg7
== NULL
) SWIG_fail
;
21175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21176 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21178 wxPyEndAllowThreads(__tstate
);
21179 if (PyErr_Occurred()) SWIG_fail
;
21182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21198 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21199 PyObject
*resultobj
;
21200 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21203 wxToolBarToolBase
*result
;
21204 PyObject
* obj0
= 0 ;
21205 PyObject
* obj1
= 0 ;
21206 PyObject
* obj2
= 0 ;
21207 char *kwnames
[] = {
21208 (char *) "self",(char *) "x",(char *) "y", NULL
21211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21213 if (SWIG_arg_fail(1)) SWIG_fail
;
21215 arg2
= (int)(SWIG_As_int(obj1
));
21216 if (SWIG_arg_fail(2)) SWIG_fail
;
21219 arg3
= (int)(SWIG_As_int(obj2
));
21220 if (SWIG_arg_fail(3)) SWIG_fail
;
21223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21224 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
21226 wxPyEndAllowThreads(__tstate
);
21227 if (PyErr_Occurred()) SWIG_fail
;
21230 resultobj
= wxPyMake_wxObject(result
, 0);
21238 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21239 PyObject
*resultobj
;
21240 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21241 wxVisualAttributes result
;
21242 PyObject
* obj0
= 0 ;
21243 char *kwnames
[] = {
21244 (char *) "variant", NULL
21247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
21250 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
21251 if (SWIG_arg_fail(1)) SWIG_fail
;
21255 if (!wxPyCheckForApp()) SWIG_fail
;
21256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21257 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
21259 wxPyEndAllowThreads(__tstate
);
21260 if (PyErr_Occurred()) SWIG_fail
;
21263 wxVisualAttributes
* resultptr
;
21264 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
21265 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
21273 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
21275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21276 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
21278 return Py_BuildValue((char *)"");
21280 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
21281 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
21286 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
21291 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21293 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21300 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21301 PyObject
*resultobj
;
21302 wxColour
const &arg1_defvalue
= wxNullColour
;
21303 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
21304 wxColour
const &arg2_defvalue
= wxNullColour
;
21305 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
21306 wxFont
const &arg3_defvalue
= wxNullFont
;
21307 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
21308 wxListItemAttr
*result
;
21311 PyObject
* obj0
= 0 ;
21312 PyObject
* obj1
= 0 ;
21313 PyObject
* obj2
= 0 ;
21314 char *kwnames
[] = {
21315 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21322 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
21328 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21333 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21334 if (SWIG_arg_fail(3)) SWIG_fail
;
21335 if (arg3
== NULL
) {
21336 SWIG_null_ref("wxFont");
21338 if (SWIG_arg_fail(3)) SWIG_fail
;
21342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21343 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
21345 wxPyEndAllowThreads(__tstate
);
21346 if (PyErr_Occurred()) SWIG_fail
;
21348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
21355 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21356 PyObject
*resultobj
;
21357 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21358 wxColour
*arg2
= 0 ;
21360 PyObject
* obj0
= 0 ;
21361 PyObject
* obj1
= 0 ;
21362 char *kwnames
[] = {
21363 (char *) "self",(char *) "colText", NULL
21366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21368 if (SWIG_arg_fail(1)) SWIG_fail
;
21371 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21375 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21377 wxPyEndAllowThreads(__tstate
);
21378 if (PyErr_Occurred()) SWIG_fail
;
21380 Py_INCREF(Py_None
); resultobj
= Py_None
;
21387 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21388 PyObject
*resultobj
;
21389 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21390 wxColour
*arg2
= 0 ;
21392 PyObject
* obj0
= 0 ;
21393 PyObject
* obj1
= 0 ;
21394 char *kwnames
[] = {
21395 (char *) "self",(char *) "colBack", NULL
21398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21400 if (SWIG_arg_fail(1)) SWIG_fail
;
21403 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21407 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21409 wxPyEndAllowThreads(__tstate
);
21410 if (PyErr_Occurred()) SWIG_fail
;
21412 Py_INCREF(Py_None
); resultobj
= Py_None
;
21419 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21420 PyObject
*resultobj
;
21421 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21423 PyObject
* obj0
= 0 ;
21424 PyObject
* obj1
= 0 ;
21425 char *kwnames
[] = {
21426 (char *) "self",(char *) "font", NULL
21429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21434 if (SWIG_arg_fail(2)) SWIG_fail
;
21435 if (arg2
== NULL
) {
21436 SWIG_null_ref("wxFont");
21438 if (SWIG_arg_fail(2)) SWIG_fail
;
21441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21442 (arg1
)->SetFont((wxFont
const &)*arg2
);
21444 wxPyEndAllowThreads(__tstate
);
21445 if (PyErr_Occurred()) SWIG_fail
;
21447 Py_INCREF(Py_None
); resultobj
= Py_None
;
21454 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21455 PyObject
*resultobj
;
21456 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21458 PyObject
* obj0
= 0 ;
21459 char *kwnames
[] = {
21460 (char *) "self", NULL
21463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
21464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21465 if (SWIG_arg_fail(1)) SWIG_fail
;
21467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21468 result
= (bool)(arg1
)->HasTextColour();
21470 wxPyEndAllowThreads(__tstate
);
21471 if (PyErr_Occurred()) SWIG_fail
;
21474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21482 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21483 PyObject
*resultobj
;
21484 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21486 PyObject
* obj0
= 0 ;
21487 char *kwnames
[] = {
21488 (char *) "self", NULL
21491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
21492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21493 if (SWIG_arg_fail(1)) SWIG_fail
;
21495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21496 result
= (bool)(arg1
)->HasBackgroundColour();
21498 wxPyEndAllowThreads(__tstate
);
21499 if (PyErr_Occurred()) SWIG_fail
;
21502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21510 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21511 PyObject
*resultobj
;
21512 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21514 PyObject
* obj0
= 0 ;
21515 char *kwnames
[] = {
21516 (char *) "self", NULL
21519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
21520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21521 if (SWIG_arg_fail(1)) SWIG_fail
;
21523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21524 result
= (bool)(arg1
)->HasFont();
21526 wxPyEndAllowThreads(__tstate
);
21527 if (PyErr_Occurred()) SWIG_fail
;
21530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21538 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21539 PyObject
*resultobj
;
21540 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21542 PyObject
* obj0
= 0 ;
21543 char *kwnames
[] = {
21544 (char *) "self", NULL
21547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
21548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21549 if (SWIG_arg_fail(1)) SWIG_fail
;
21551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21552 result
= (arg1
)->GetTextColour();
21554 wxPyEndAllowThreads(__tstate
);
21555 if (PyErr_Occurred()) SWIG_fail
;
21558 wxColour
* resultptr
;
21559 resultptr
= new wxColour((wxColour
&)(result
));
21560 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21568 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21569 PyObject
*resultobj
;
21570 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21572 PyObject
* obj0
= 0 ;
21573 char *kwnames
[] = {
21574 (char *) "self", NULL
21577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
21578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21579 if (SWIG_arg_fail(1)) SWIG_fail
;
21581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21582 result
= (arg1
)->GetBackgroundColour();
21584 wxPyEndAllowThreads(__tstate
);
21585 if (PyErr_Occurred()) SWIG_fail
;
21588 wxColour
* resultptr
;
21589 resultptr
= new wxColour((wxColour
&)(result
));
21590 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21598 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21599 PyObject
*resultobj
;
21600 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21602 PyObject
* obj0
= 0 ;
21603 char *kwnames
[] = {
21604 (char *) "self", NULL
21607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
21608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21609 if (SWIG_arg_fail(1)) SWIG_fail
;
21611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21612 result
= (arg1
)->GetFont();
21614 wxPyEndAllowThreads(__tstate
);
21615 if (PyErr_Occurred()) SWIG_fail
;
21618 wxFont
* resultptr
;
21619 resultptr
= new wxFont((wxFont
&)(result
));
21620 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21628 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21629 PyObject
*resultobj
;
21630 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21631 PyObject
* obj0
= 0 ;
21632 char *kwnames
[] = {
21633 (char *) "self", NULL
21636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
21637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21638 if (SWIG_arg_fail(1)) SWIG_fail
;
21640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21641 wxListItemAttr_Destroy(arg1
);
21643 wxPyEndAllowThreads(__tstate
);
21644 if (PyErr_Occurred()) SWIG_fail
;
21646 Py_INCREF(Py_None
); resultobj
= Py_None
;
21653 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
21655 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21656 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
21658 return Py_BuildValue((char *)"");
21660 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21661 PyObject
*resultobj
;
21662 wxListItem
*result
;
21663 char *kwnames
[] = {
21667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
21669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21670 result
= (wxListItem
*)new wxListItem();
21672 wxPyEndAllowThreads(__tstate
);
21673 if (PyErr_Occurred()) SWIG_fail
;
21676 resultobj
= wxPyMake_wxObject(result
, 1);
21684 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21685 PyObject
*resultobj
;
21686 wxListItem
*arg1
= (wxListItem
*) 0 ;
21687 PyObject
* obj0
= 0 ;
21688 char *kwnames
[] = {
21689 (char *) "self", NULL
21692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
21693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21694 if (SWIG_arg_fail(1)) SWIG_fail
;
21696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21699 wxPyEndAllowThreads(__tstate
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21702 Py_INCREF(Py_None
); resultobj
= Py_None
;
21709 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21710 PyObject
*resultobj
;
21711 wxListItem
*arg1
= (wxListItem
*) 0 ;
21712 PyObject
* obj0
= 0 ;
21713 char *kwnames
[] = {
21714 (char *) "self", NULL
21717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
21718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21719 if (SWIG_arg_fail(1)) SWIG_fail
;
21721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21724 wxPyEndAllowThreads(__tstate
);
21725 if (PyErr_Occurred()) SWIG_fail
;
21727 Py_INCREF(Py_None
); resultobj
= Py_None
;
21734 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21735 PyObject
*resultobj
;
21736 wxListItem
*arg1
= (wxListItem
*) 0 ;
21737 PyObject
* obj0
= 0 ;
21738 char *kwnames
[] = {
21739 (char *) "self", NULL
21742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
21743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21744 if (SWIG_arg_fail(1)) SWIG_fail
;
21746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21747 (arg1
)->ClearAttributes();
21749 wxPyEndAllowThreads(__tstate
);
21750 if (PyErr_Occurred()) SWIG_fail
;
21752 Py_INCREF(Py_None
); resultobj
= Py_None
;
21759 static PyObject
*_wrap_ListItem_SetMask(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 *) "mask", NULL
21769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",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
= (long)(SWIG_As_long(obj1
));
21774 if (SWIG_arg_fail(2)) SWIG_fail
;
21777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21778 (arg1
)->SetMask(arg2
);
21780 wxPyEndAllowThreads(__tstate
);
21781 if (PyErr_Occurred()) SWIG_fail
;
21783 Py_INCREF(Py_None
); resultobj
= Py_None
;
21790 static PyObject
*_wrap_ListItem_SetId(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 *) "id", NULL
21800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",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
)->SetId(arg2
);
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21814 Py_INCREF(Py_None
); resultobj
= Py_None
;
21821 static PyObject
*_wrap_ListItem_SetColumn(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 *) "col", NULL
21831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",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
= (int)(SWIG_As_int(obj1
));
21836 if (SWIG_arg_fail(2)) SWIG_fail
;
21839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21840 (arg1
)->SetColumn(arg2
);
21842 wxPyEndAllowThreads(__tstate
);
21843 if (PyErr_Occurred()) SWIG_fail
;
21845 Py_INCREF(Py_None
); resultobj
= Py_None
;
21852 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21853 PyObject
*resultobj
;
21854 wxListItem
*arg1
= (wxListItem
*) 0 ;
21856 PyObject
* obj0
= 0 ;
21857 PyObject
* obj1
= 0 ;
21858 char *kwnames
[] = {
21859 (char *) "self",(char *) "state", NULL
21862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
21863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21864 if (SWIG_arg_fail(1)) SWIG_fail
;
21866 arg2
= (long)(SWIG_As_long(obj1
));
21867 if (SWIG_arg_fail(2)) SWIG_fail
;
21870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21871 (arg1
)->SetState(arg2
);
21873 wxPyEndAllowThreads(__tstate
);
21874 if (PyErr_Occurred()) SWIG_fail
;
21876 Py_INCREF(Py_None
); resultobj
= Py_None
;
21883 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21884 PyObject
*resultobj
;
21885 wxListItem
*arg1
= (wxListItem
*) 0 ;
21887 PyObject
* obj0
= 0 ;
21888 PyObject
* obj1
= 0 ;
21889 char *kwnames
[] = {
21890 (char *) "self",(char *) "stateMask", NULL
21893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21895 if (SWIG_arg_fail(1)) SWIG_fail
;
21897 arg2
= (long)(SWIG_As_long(obj1
));
21898 if (SWIG_arg_fail(2)) SWIG_fail
;
21901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21902 (arg1
)->SetStateMask(arg2
);
21904 wxPyEndAllowThreads(__tstate
);
21905 if (PyErr_Occurred()) SWIG_fail
;
21907 Py_INCREF(Py_None
); resultobj
= Py_None
;
21914 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21915 PyObject
*resultobj
;
21916 wxListItem
*arg1
= (wxListItem
*) 0 ;
21917 wxString
*arg2
= 0 ;
21918 bool temp2
= false ;
21919 PyObject
* obj0
= 0 ;
21920 PyObject
* obj1
= 0 ;
21921 char *kwnames
[] = {
21922 (char *) "self",(char *) "text", NULL
21925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21927 if (SWIG_arg_fail(1)) SWIG_fail
;
21929 arg2
= wxString_in_helper(obj1
);
21930 if (arg2
== NULL
) SWIG_fail
;
21934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21935 (arg1
)->SetText((wxString
const &)*arg2
);
21937 wxPyEndAllowThreads(__tstate
);
21938 if (PyErr_Occurred()) SWIG_fail
;
21940 Py_INCREF(Py_None
); resultobj
= Py_None
;
21955 static PyObject
*_wrap_ListItem_SetImage(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 *) "image", NULL
21965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",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
)->SetImage(arg2
);
21976 wxPyEndAllowThreads(__tstate
);
21977 if (PyErr_Occurred()) SWIG_fail
;
21979 Py_INCREF(Py_None
); resultobj
= Py_None
;
21986 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21987 PyObject
*resultobj
;
21988 wxListItem
*arg1
= (wxListItem
*) 0 ;
21990 PyObject
* obj0
= 0 ;
21991 PyObject
* obj1
= 0 ;
21992 char *kwnames
[] = {
21993 (char *) "self",(char *) "data", NULL
21996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",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
= (long)(SWIG_As_long(obj1
));
22001 if (SWIG_arg_fail(2)) SWIG_fail
;
22004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22005 (arg1
)->SetData(arg2
);
22007 wxPyEndAllowThreads(__tstate
);
22008 if (PyErr_Occurred()) SWIG_fail
;
22010 Py_INCREF(Py_None
); resultobj
= Py_None
;
22017 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22018 PyObject
*resultobj
;
22019 wxListItem
*arg1
= (wxListItem
*) 0 ;
22021 PyObject
* obj0
= 0 ;
22022 PyObject
* obj1
= 0 ;
22023 char *kwnames
[] = {
22024 (char *) "self",(char *) "width", NULL
22027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
22028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22029 if (SWIG_arg_fail(1)) SWIG_fail
;
22031 arg2
= (int)(SWIG_As_int(obj1
));
22032 if (SWIG_arg_fail(2)) SWIG_fail
;
22035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22036 (arg1
)->SetWidth(arg2
);
22038 wxPyEndAllowThreads(__tstate
);
22039 if (PyErr_Occurred()) SWIG_fail
;
22041 Py_INCREF(Py_None
); resultobj
= Py_None
;
22048 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22049 PyObject
*resultobj
;
22050 wxListItem
*arg1
= (wxListItem
*) 0 ;
22051 wxListColumnFormat arg2
;
22052 PyObject
* obj0
= 0 ;
22053 PyObject
* obj1
= 0 ;
22054 char *kwnames
[] = {
22055 (char *) "self",(char *) "align", NULL
22058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
22059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22060 if (SWIG_arg_fail(1)) SWIG_fail
;
22062 arg2
= (wxListColumnFormat
)(SWIG_As_int(obj1
));
22063 if (SWIG_arg_fail(2)) SWIG_fail
;
22066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22067 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
22069 wxPyEndAllowThreads(__tstate
);
22070 if (PyErr_Occurred()) SWIG_fail
;
22072 Py_INCREF(Py_None
); resultobj
= Py_None
;
22079 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22080 PyObject
*resultobj
;
22081 wxListItem
*arg1
= (wxListItem
*) 0 ;
22082 wxColour
*arg2
= 0 ;
22084 PyObject
* obj0
= 0 ;
22085 PyObject
* obj1
= 0 ;
22086 char *kwnames
[] = {
22087 (char *) "self",(char *) "colText", NULL
22090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22092 if (SWIG_arg_fail(1)) SWIG_fail
;
22095 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22099 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22101 wxPyEndAllowThreads(__tstate
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22104 Py_INCREF(Py_None
); resultobj
= Py_None
;
22111 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22112 PyObject
*resultobj
;
22113 wxListItem
*arg1
= (wxListItem
*) 0 ;
22114 wxColour
*arg2
= 0 ;
22116 PyObject
* obj0
= 0 ;
22117 PyObject
* obj1
= 0 ;
22118 char *kwnames
[] = {
22119 (char *) "self",(char *) "colBack", NULL
22122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22124 if (SWIG_arg_fail(1)) SWIG_fail
;
22127 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22131 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22133 wxPyEndAllowThreads(__tstate
);
22134 if (PyErr_Occurred()) SWIG_fail
;
22136 Py_INCREF(Py_None
); resultobj
= Py_None
;
22143 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22144 PyObject
*resultobj
;
22145 wxListItem
*arg1
= (wxListItem
*) 0 ;
22147 PyObject
* obj0
= 0 ;
22148 PyObject
* obj1
= 0 ;
22149 char *kwnames
[] = {
22150 (char *) "self",(char *) "font", NULL
22153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22158 if (SWIG_arg_fail(2)) SWIG_fail
;
22159 if (arg2
== NULL
) {
22160 SWIG_null_ref("wxFont");
22162 if (SWIG_arg_fail(2)) SWIG_fail
;
22165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22166 (arg1
)->SetFont((wxFont
const &)*arg2
);
22168 wxPyEndAllowThreads(__tstate
);
22169 if (PyErr_Occurred()) SWIG_fail
;
22171 Py_INCREF(Py_None
); resultobj
= Py_None
;
22178 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22179 PyObject
*resultobj
;
22180 wxListItem
*arg1
= (wxListItem
*) 0 ;
22182 PyObject
* obj0
= 0 ;
22183 char *kwnames
[] = {
22184 (char *) "self", NULL
22187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
22188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22189 if (SWIG_arg_fail(1)) SWIG_fail
;
22191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22192 result
= (long)(arg1
)->GetMask();
22194 wxPyEndAllowThreads(__tstate
);
22195 if (PyErr_Occurred()) SWIG_fail
;
22198 resultobj
= SWIG_From_long((long)(result
));
22206 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22207 PyObject
*resultobj
;
22208 wxListItem
*arg1
= (wxListItem
*) 0 ;
22210 PyObject
* obj0
= 0 ;
22211 char *kwnames
[] = {
22212 (char *) "self", NULL
22215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
22216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22217 if (SWIG_arg_fail(1)) SWIG_fail
;
22219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22220 result
= (long)(arg1
)->GetId();
22222 wxPyEndAllowThreads(__tstate
);
22223 if (PyErr_Occurred()) SWIG_fail
;
22226 resultobj
= SWIG_From_long((long)(result
));
22234 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22235 PyObject
*resultobj
;
22236 wxListItem
*arg1
= (wxListItem
*) 0 ;
22238 PyObject
* obj0
= 0 ;
22239 char *kwnames
[] = {
22240 (char *) "self", NULL
22243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
22244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22245 if (SWIG_arg_fail(1)) SWIG_fail
;
22247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22248 result
= (int)(arg1
)->GetColumn();
22250 wxPyEndAllowThreads(__tstate
);
22251 if (PyErr_Occurred()) SWIG_fail
;
22254 resultobj
= SWIG_From_int((int)(result
));
22262 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22263 PyObject
*resultobj
;
22264 wxListItem
*arg1
= (wxListItem
*) 0 ;
22266 PyObject
* obj0
= 0 ;
22267 char *kwnames
[] = {
22268 (char *) "self", NULL
22271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
22272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22273 if (SWIG_arg_fail(1)) SWIG_fail
;
22275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22276 result
= (long)(arg1
)->GetState();
22278 wxPyEndAllowThreads(__tstate
);
22279 if (PyErr_Occurred()) SWIG_fail
;
22282 resultobj
= SWIG_From_long((long)(result
));
22290 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22291 PyObject
*resultobj
;
22292 wxListItem
*arg1
= (wxListItem
*) 0 ;
22294 PyObject
* obj0
= 0 ;
22295 char *kwnames
[] = {
22296 (char *) "self", NULL
22299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
22300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22301 if (SWIG_arg_fail(1)) SWIG_fail
;
22303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22305 wxString
const &_result_ref
= (arg1
)->GetText();
22306 result
= (wxString
*) &_result_ref
;
22309 wxPyEndAllowThreads(__tstate
);
22310 if (PyErr_Occurred()) SWIG_fail
;
22314 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22316 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22325 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22326 PyObject
*resultobj
;
22327 wxListItem
*arg1
= (wxListItem
*) 0 ;
22329 PyObject
* obj0
= 0 ;
22330 char *kwnames
[] = {
22331 (char *) "self", NULL
22334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
22335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22336 if (SWIG_arg_fail(1)) SWIG_fail
;
22338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22339 result
= (int)(arg1
)->GetImage();
22341 wxPyEndAllowThreads(__tstate
);
22342 if (PyErr_Occurred()) SWIG_fail
;
22345 resultobj
= SWIG_From_int((int)(result
));
22353 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22354 PyObject
*resultobj
;
22355 wxListItem
*arg1
= (wxListItem
*) 0 ;
22357 PyObject
* obj0
= 0 ;
22358 char *kwnames
[] = {
22359 (char *) "self", NULL
22362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
22363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22364 if (SWIG_arg_fail(1)) SWIG_fail
;
22366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22367 result
= (long)(arg1
)->GetData();
22369 wxPyEndAllowThreads(__tstate
);
22370 if (PyErr_Occurred()) SWIG_fail
;
22373 resultobj
= SWIG_From_long((long)(result
));
22381 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22382 PyObject
*resultobj
;
22383 wxListItem
*arg1
= (wxListItem
*) 0 ;
22385 PyObject
* obj0
= 0 ;
22386 char *kwnames
[] = {
22387 (char *) "self", NULL
22390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
22391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22392 if (SWIG_arg_fail(1)) SWIG_fail
;
22394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22395 result
= (int)(arg1
)->GetWidth();
22397 wxPyEndAllowThreads(__tstate
);
22398 if (PyErr_Occurred()) SWIG_fail
;
22401 resultobj
= SWIG_From_int((int)(result
));
22409 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22410 PyObject
*resultobj
;
22411 wxListItem
*arg1
= (wxListItem
*) 0 ;
22412 wxListColumnFormat result
;
22413 PyObject
* obj0
= 0 ;
22414 char *kwnames
[] = {
22415 (char *) "self", NULL
22418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
22419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22420 if (SWIG_arg_fail(1)) SWIG_fail
;
22422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22423 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
22425 wxPyEndAllowThreads(__tstate
);
22426 if (PyErr_Occurred()) SWIG_fail
;
22428 resultobj
= SWIG_From_int((result
));
22435 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22436 PyObject
*resultobj
;
22437 wxListItem
*arg1
= (wxListItem
*) 0 ;
22438 wxListItemAttr
*result
;
22439 PyObject
* obj0
= 0 ;
22440 char *kwnames
[] = {
22441 (char *) "self", NULL
22444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
22445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22446 if (SWIG_arg_fail(1)) SWIG_fail
;
22448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22449 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
22451 wxPyEndAllowThreads(__tstate
);
22452 if (PyErr_Occurred()) SWIG_fail
;
22454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
22461 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22462 PyObject
*resultobj
;
22463 wxListItem
*arg1
= (wxListItem
*) 0 ;
22465 PyObject
* obj0
= 0 ;
22466 char *kwnames
[] = {
22467 (char *) "self", NULL
22470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
22471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22472 if (SWIG_arg_fail(1)) SWIG_fail
;
22474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22475 result
= (bool)(arg1
)->HasAttributes();
22477 wxPyEndAllowThreads(__tstate
);
22478 if (PyErr_Occurred()) SWIG_fail
;
22481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22489 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22490 PyObject
*resultobj
;
22491 wxListItem
*arg1
= (wxListItem
*) 0 ;
22493 PyObject
* obj0
= 0 ;
22494 char *kwnames
[] = {
22495 (char *) "self", NULL
22498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
22499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22500 if (SWIG_arg_fail(1)) SWIG_fail
;
22502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22503 result
= ((wxListItem
const *)arg1
)->GetTextColour();
22505 wxPyEndAllowThreads(__tstate
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22509 wxColour
* resultptr
;
22510 resultptr
= new wxColour((wxColour
&)(result
));
22511 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22519 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22520 PyObject
*resultobj
;
22521 wxListItem
*arg1
= (wxListItem
*) 0 ;
22523 PyObject
* obj0
= 0 ;
22524 char *kwnames
[] = {
22525 (char *) "self", NULL
22528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22530 if (SWIG_arg_fail(1)) SWIG_fail
;
22532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22533 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
22535 wxPyEndAllowThreads(__tstate
);
22536 if (PyErr_Occurred()) SWIG_fail
;
22539 wxColour
* resultptr
;
22540 resultptr
= new wxColour((wxColour
&)(result
));
22541 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22549 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22550 PyObject
*resultobj
;
22551 wxListItem
*arg1
= (wxListItem
*) 0 ;
22553 PyObject
* obj0
= 0 ;
22554 char *kwnames
[] = {
22555 (char *) "self", NULL
22558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
22559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22560 if (SWIG_arg_fail(1)) SWIG_fail
;
22562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22563 result
= ((wxListItem
const *)arg1
)->GetFont();
22565 wxPyEndAllowThreads(__tstate
);
22566 if (PyErr_Occurred()) SWIG_fail
;
22569 wxFont
* resultptr
;
22570 resultptr
= new wxFont((wxFont
&)(result
));
22571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22579 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22580 PyObject
*resultobj
;
22581 wxListItem
*arg1
= (wxListItem
*) 0 ;
22583 PyObject
* obj0
= 0 ;
22584 PyObject
* obj1
= 0 ;
22585 char *kwnames
[] = {
22586 (char *) "self",(char *) "m_mask", NULL
22589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22591 if (SWIG_arg_fail(1)) SWIG_fail
;
22593 arg2
= (long)(SWIG_As_long(obj1
));
22594 if (SWIG_arg_fail(2)) SWIG_fail
;
22596 if (arg1
) (arg1
)->m_mask
= arg2
;
22598 Py_INCREF(Py_None
); resultobj
= Py_None
;
22605 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22606 PyObject
*resultobj
;
22607 wxListItem
*arg1
= (wxListItem
*) 0 ;
22609 PyObject
* obj0
= 0 ;
22610 char *kwnames
[] = {
22611 (char *) "self", NULL
22614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
22615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22616 if (SWIG_arg_fail(1)) SWIG_fail
;
22617 result
= (long) ((arg1
)->m_mask
);
22620 resultobj
= SWIG_From_long((long)(result
));
22628 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22629 PyObject
*resultobj
;
22630 wxListItem
*arg1
= (wxListItem
*) 0 ;
22632 PyObject
* obj0
= 0 ;
22633 PyObject
* obj1
= 0 ;
22634 char *kwnames
[] = {
22635 (char *) "self",(char *) "m_itemId", NULL
22638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22640 if (SWIG_arg_fail(1)) SWIG_fail
;
22642 arg2
= (long)(SWIG_As_long(obj1
));
22643 if (SWIG_arg_fail(2)) SWIG_fail
;
22645 if (arg1
) (arg1
)->m_itemId
= arg2
;
22647 Py_INCREF(Py_None
); resultobj
= Py_None
;
22654 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22655 PyObject
*resultobj
;
22656 wxListItem
*arg1
= (wxListItem
*) 0 ;
22658 PyObject
* obj0
= 0 ;
22659 char *kwnames
[] = {
22660 (char *) "self", NULL
22663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
22664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22665 if (SWIG_arg_fail(1)) SWIG_fail
;
22666 result
= (long) ((arg1
)->m_itemId
);
22669 resultobj
= SWIG_From_long((long)(result
));
22677 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22678 PyObject
*resultobj
;
22679 wxListItem
*arg1
= (wxListItem
*) 0 ;
22681 PyObject
* obj0
= 0 ;
22682 PyObject
* obj1
= 0 ;
22683 char *kwnames
[] = {
22684 (char *) "self",(char *) "m_col", NULL
22687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22689 if (SWIG_arg_fail(1)) SWIG_fail
;
22691 arg2
= (int)(SWIG_As_int(obj1
));
22692 if (SWIG_arg_fail(2)) SWIG_fail
;
22694 if (arg1
) (arg1
)->m_col
= arg2
;
22696 Py_INCREF(Py_None
); resultobj
= Py_None
;
22703 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22704 PyObject
*resultobj
;
22705 wxListItem
*arg1
= (wxListItem
*) 0 ;
22707 PyObject
* obj0
= 0 ;
22708 char *kwnames
[] = {
22709 (char *) "self", NULL
22712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
22713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22714 if (SWIG_arg_fail(1)) SWIG_fail
;
22715 result
= (int) ((arg1
)->m_col
);
22718 resultobj
= SWIG_From_int((int)(result
));
22726 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22727 PyObject
*resultobj
;
22728 wxListItem
*arg1
= (wxListItem
*) 0 ;
22730 PyObject
* obj0
= 0 ;
22731 PyObject
* obj1
= 0 ;
22732 char *kwnames
[] = {
22733 (char *) "self",(char *) "m_state", NULL
22736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22738 if (SWIG_arg_fail(1)) SWIG_fail
;
22740 arg2
= (long)(SWIG_As_long(obj1
));
22741 if (SWIG_arg_fail(2)) SWIG_fail
;
22743 if (arg1
) (arg1
)->m_state
= arg2
;
22745 Py_INCREF(Py_None
); resultobj
= Py_None
;
22752 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22753 PyObject
*resultobj
;
22754 wxListItem
*arg1
= (wxListItem
*) 0 ;
22756 PyObject
* obj0
= 0 ;
22757 char *kwnames
[] = {
22758 (char *) "self", NULL
22761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
22762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22763 if (SWIG_arg_fail(1)) SWIG_fail
;
22764 result
= (long) ((arg1
)->m_state
);
22767 resultobj
= SWIG_From_long((long)(result
));
22775 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22776 PyObject
*resultobj
;
22777 wxListItem
*arg1
= (wxListItem
*) 0 ;
22779 PyObject
* obj0
= 0 ;
22780 PyObject
* obj1
= 0 ;
22781 char *kwnames
[] = {
22782 (char *) "self",(char *) "m_stateMask", NULL
22785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22787 if (SWIG_arg_fail(1)) SWIG_fail
;
22789 arg2
= (long)(SWIG_As_long(obj1
));
22790 if (SWIG_arg_fail(2)) SWIG_fail
;
22792 if (arg1
) (arg1
)->m_stateMask
= arg2
;
22794 Py_INCREF(Py_None
); resultobj
= Py_None
;
22801 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22802 PyObject
*resultobj
;
22803 wxListItem
*arg1
= (wxListItem
*) 0 ;
22805 PyObject
* obj0
= 0 ;
22806 char *kwnames
[] = {
22807 (char *) "self", NULL
22810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
22811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22812 if (SWIG_arg_fail(1)) SWIG_fail
;
22813 result
= (long) ((arg1
)->m_stateMask
);
22816 resultobj
= SWIG_From_long((long)(result
));
22824 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22825 PyObject
*resultobj
;
22826 wxListItem
*arg1
= (wxListItem
*) 0 ;
22827 wxString
*arg2
= (wxString
*) 0 ;
22828 bool temp2
= false ;
22829 PyObject
* obj0
= 0 ;
22830 PyObject
* obj1
= 0 ;
22831 char *kwnames
[] = {
22832 (char *) "self",(char *) "m_text", NULL
22835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_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
= wxString_in_helper(obj1
);
22840 if (arg2
== NULL
) SWIG_fail
;
22843 if (arg1
) (arg1
)->m_text
= *arg2
;
22845 Py_INCREF(Py_None
); resultobj
= Py_None
;
22860 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22861 PyObject
*resultobj
;
22862 wxListItem
*arg1
= (wxListItem
*) 0 ;
22864 PyObject
* obj0
= 0 ;
22865 char *kwnames
[] = {
22866 (char *) "self", NULL
22869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
22870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22871 if (SWIG_arg_fail(1)) SWIG_fail
;
22872 result
= (wxString
*)& ((arg1
)->m_text
);
22876 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22878 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22887 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22888 PyObject
*resultobj
;
22889 wxListItem
*arg1
= (wxListItem
*) 0 ;
22891 PyObject
* obj0
= 0 ;
22892 PyObject
* obj1
= 0 ;
22893 char *kwnames
[] = {
22894 (char *) "self",(char *) "m_image", NULL
22897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22899 if (SWIG_arg_fail(1)) SWIG_fail
;
22901 arg2
= (int)(SWIG_As_int(obj1
));
22902 if (SWIG_arg_fail(2)) SWIG_fail
;
22904 if (arg1
) (arg1
)->m_image
= arg2
;
22906 Py_INCREF(Py_None
); resultobj
= Py_None
;
22913 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22914 PyObject
*resultobj
;
22915 wxListItem
*arg1
= (wxListItem
*) 0 ;
22917 PyObject
* obj0
= 0 ;
22918 char *kwnames
[] = {
22919 (char *) "self", NULL
22922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
22923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22924 if (SWIG_arg_fail(1)) SWIG_fail
;
22925 result
= (int) ((arg1
)->m_image
);
22928 resultobj
= SWIG_From_int((int)(result
));
22936 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22937 PyObject
*resultobj
;
22938 wxListItem
*arg1
= (wxListItem
*) 0 ;
22940 PyObject
* obj0
= 0 ;
22941 PyObject
* obj1
= 0 ;
22942 char *kwnames
[] = {
22943 (char *) "self",(char *) "m_data", NULL
22946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22948 if (SWIG_arg_fail(1)) SWIG_fail
;
22950 arg2
= (long)(SWIG_As_long(obj1
));
22951 if (SWIG_arg_fail(2)) SWIG_fail
;
22953 if (arg1
) (arg1
)->m_data
= arg2
;
22955 Py_INCREF(Py_None
); resultobj
= Py_None
;
22962 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22963 PyObject
*resultobj
;
22964 wxListItem
*arg1
= (wxListItem
*) 0 ;
22966 PyObject
* obj0
= 0 ;
22967 char *kwnames
[] = {
22968 (char *) "self", NULL
22971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
22972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22973 if (SWIG_arg_fail(1)) SWIG_fail
;
22974 result
= (long) ((arg1
)->m_data
);
22977 resultobj
= SWIG_From_long((long)(result
));
22985 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22986 PyObject
*resultobj
;
22987 wxListItem
*arg1
= (wxListItem
*) 0 ;
22989 PyObject
* obj0
= 0 ;
22990 PyObject
* obj1
= 0 ;
22991 char *kwnames
[] = {
22992 (char *) "self",(char *) "m_format", NULL
22995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22997 if (SWIG_arg_fail(1)) SWIG_fail
;
22999 arg2
= (int)(SWIG_As_int(obj1
));
23000 if (SWIG_arg_fail(2)) SWIG_fail
;
23002 if (arg1
) (arg1
)->m_format
= arg2
;
23004 Py_INCREF(Py_None
); resultobj
= Py_None
;
23011 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23012 PyObject
*resultobj
;
23013 wxListItem
*arg1
= (wxListItem
*) 0 ;
23015 PyObject
* obj0
= 0 ;
23016 char *kwnames
[] = {
23017 (char *) "self", NULL
23020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
23021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23022 if (SWIG_arg_fail(1)) SWIG_fail
;
23023 result
= (int) ((arg1
)->m_format
);
23026 resultobj
= SWIG_From_int((int)(result
));
23034 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23035 PyObject
*resultobj
;
23036 wxListItem
*arg1
= (wxListItem
*) 0 ;
23038 PyObject
* obj0
= 0 ;
23039 PyObject
* obj1
= 0 ;
23040 char *kwnames
[] = {
23041 (char *) "self",(char *) "m_width", NULL
23044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23046 if (SWIG_arg_fail(1)) SWIG_fail
;
23048 arg2
= (int)(SWIG_As_int(obj1
));
23049 if (SWIG_arg_fail(2)) SWIG_fail
;
23051 if (arg1
) (arg1
)->m_width
= arg2
;
23053 Py_INCREF(Py_None
); resultobj
= Py_None
;
23060 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23061 PyObject
*resultobj
;
23062 wxListItem
*arg1
= (wxListItem
*) 0 ;
23064 PyObject
* obj0
= 0 ;
23065 char *kwnames
[] = {
23066 (char *) "self", NULL
23069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
23070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23071 if (SWIG_arg_fail(1)) SWIG_fail
;
23072 result
= (int) ((arg1
)->m_width
);
23075 resultobj
= SWIG_From_int((int)(result
));
23083 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
23085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23086 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
23088 return Py_BuildValue((char *)"");
23090 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23091 PyObject
*resultobj
;
23092 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23093 int arg2
= (int) 0 ;
23094 wxListEvent
*result
;
23095 PyObject
* obj0
= 0 ;
23096 PyObject
* obj1
= 0 ;
23097 char *kwnames
[] = {
23098 (char *) "commandType",(char *) "id", NULL
23101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23104 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
23105 if (SWIG_arg_fail(1)) SWIG_fail
;
23110 arg2
= (int)(SWIG_As_int(obj1
));
23111 if (SWIG_arg_fail(2)) SWIG_fail
;
23115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23116 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
23118 wxPyEndAllowThreads(__tstate
);
23119 if (PyErr_Occurred()) SWIG_fail
;
23121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
23128 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23129 PyObject
*resultobj
;
23130 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23132 PyObject
* obj0
= 0 ;
23133 PyObject
* obj1
= 0 ;
23134 char *kwnames
[] = {
23135 (char *) "self",(char *) "m_code", NULL
23138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23140 if (SWIG_arg_fail(1)) SWIG_fail
;
23142 arg2
= (int)(SWIG_As_int(obj1
));
23143 if (SWIG_arg_fail(2)) SWIG_fail
;
23145 if (arg1
) (arg1
)->m_code
= arg2
;
23147 Py_INCREF(Py_None
); resultobj
= Py_None
;
23154 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23155 PyObject
*resultobj
;
23156 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23158 PyObject
* obj0
= 0 ;
23159 char *kwnames
[] = {
23160 (char *) "self", NULL
23163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
23164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23165 if (SWIG_arg_fail(1)) SWIG_fail
;
23166 result
= (int) ((arg1
)->m_code
);
23169 resultobj
= SWIG_From_int((int)(result
));
23177 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23178 PyObject
*resultobj
;
23179 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23181 PyObject
* obj0
= 0 ;
23182 PyObject
* obj1
= 0 ;
23183 char *kwnames
[] = {
23184 (char *) "self",(char *) "m_oldItemIndex", NULL
23187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23189 if (SWIG_arg_fail(1)) SWIG_fail
;
23191 arg2
= (long)(SWIG_As_long(obj1
));
23192 if (SWIG_arg_fail(2)) SWIG_fail
;
23194 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
23196 Py_INCREF(Py_None
); resultobj
= Py_None
;
23203 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23204 PyObject
*resultobj
;
23205 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23207 PyObject
* obj0
= 0 ;
23208 char *kwnames
[] = {
23209 (char *) "self", NULL
23212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
23213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23214 if (SWIG_arg_fail(1)) SWIG_fail
;
23215 result
= (long) ((arg1
)->m_oldItemIndex
);
23218 resultobj
= SWIG_From_long((long)(result
));
23226 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23227 PyObject
*resultobj
;
23228 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23230 PyObject
* obj0
= 0 ;
23231 PyObject
* obj1
= 0 ;
23232 char *kwnames
[] = {
23233 (char *) "self",(char *) "m_itemIndex", NULL
23236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23238 if (SWIG_arg_fail(1)) SWIG_fail
;
23240 arg2
= (long)(SWIG_As_long(obj1
));
23241 if (SWIG_arg_fail(2)) SWIG_fail
;
23243 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
23245 Py_INCREF(Py_None
); resultobj
= Py_None
;
23252 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23253 PyObject
*resultobj
;
23254 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23256 PyObject
* obj0
= 0 ;
23257 char *kwnames
[] = {
23258 (char *) "self", NULL
23261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
23262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23263 if (SWIG_arg_fail(1)) SWIG_fail
;
23264 result
= (long) ((arg1
)->m_itemIndex
);
23267 resultobj
= SWIG_From_long((long)(result
));
23275 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23276 PyObject
*resultobj
;
23277 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23279 PyObject
* obj0
= 0 ;
23280 PyObject
* obj1
= 0 ;
23281 char *kwnames
[] = {
23282 (char *) "self",(char *) "m_col", NULL
23285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23287 if (SWIG_arg_fail(1)) SWIG_fail
;
23289 arg2
= (int)(SWIG_As_int(obj1
));
23290 if (SWIG_arg_fail(2)) SWIG_fail
;
23292 if (arg1
) (arg1
)->m_col
= arg2
;
23294 Py_INCREF(Py_None
); resultobj
= Py_None
;
23301 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23302 PyObject
*resultobj
;
23303 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23305 PyObject
* obj0
= 0 ;
23306 char *kwnames
[] = {
23307 (char *) "self", NULL
23310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
23311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23312 if (SWIG_arg_fail(1)) SWIG_fail
;
23313 result
= (int) ((arg1
)->m_col
);
23316 resultobj
= SWIG_From_int((int)(result
));
23324 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23325 PyObject
*resultobj
;
23326 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23327 wxPoint
*arg2
= (wxPoint
*) 0 ;
23328 PyObject
* obj0
= 0 ;
23329 PyObject
* obj1
= 0 ;
23330 char *kwnames
[] = {
23331 (char *) "self",(char *) "m_pointDrag", NULL
23334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23336 if (SWIG_arg_fail(1)) SWIG_fail
;
23337 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
23338 if (SWIG_arg_fail(2)) SWIG_fail
;
23339 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
23341 Py_INCREF(Py_None
); resultobj
= Py_None
;
23348 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23349 PyObject
*resultobj
;
23350 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23352 PyObject
* obj0
= 0 ;
23353 char *kwnames
[] = {
23354 (char *) "self", NULL
23357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
23358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23359 if (SWIG_arg_fail(1)) SWIG_fail
;
23360 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
23362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
23369 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23370 PyObject
*resultobj
;
23371 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23372 wxListItem
*result
;
23373 PyObject
* obj0
= 0 ;
23374 char *kwnames
[] = {
23375 (char *) "self", NULL
23378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
23379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23380 if (SWIG_arg_fail(1)) SWIG_fail
;
23381 result
= (wxListItem
*)& ((arg1
)->m_item
);
23384 resultobj
= wxPyMake_wxObject(result
, 0);
23392 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23393 PyObject
*resultobj
;
23394 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23396 PyObject
* obj0
= 0 ;
23397 char *kwnames
[] = {
23398 (char *) "self", NULL
23401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23403 if (SWIG_arg_fail(1)) SWIG_fail
;
23405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23406 result
= (int)(arg1
)->GetKeyCode();
23408 wxPyEndAllowThreads(__tstate
);
23409 if (PyErr_Occurred()) SWIG_fail
;
23412 resultobj
= SWIG_From_int((int)(result
));
23420 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23421 PyObject
*resultobj
;
23422 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23424 PyObject
* obj0
= 0 ;
23425 char *kwnames
[] = {
23426 (char *) "self", NULL
23429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
23430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23431 if (SWIG_arg_fail(1)) SWIG_fail
;
23433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23434 result
= (long)(arg1
)->GetIndex();
23436 wxPyEndAllowThreads(__tstate
);
23437 if (PyErr_Occurred()) SWIG_fail
;
23440 resultobj
= SWIG_From_long((long)(result
));
23448 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23449 PyObject
*resultobj
;
23450 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23452 PyObject
* obj0
= 0 ;
23453 char *kwnames
[] = {
23454 (char *) "self", NULL
23457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
23458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23459 if (SWIG_arg_fail(1)) SWIG_fail
;
23461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23462 result
= (int)(arg1
)->GetColumn();
23464 wxPyEndAllowThreads(__tstate
);
23465 if (PyErr_Occurred()) SWIG_fail
;
23468 resultobj
= SWIG_From_int((int)(result
));
23476 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23477 PyObject
*resultobj
;
23478 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23480 PyObject
* obj0
= 0 ;
23481 char *kwnames
[] = {
23482 (char *) "self", NULL
23485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23487 if (SWIG_arg_fail(1)) SWIG_fail
;
23489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23490 result
= (arg1
)->GetPoint();
23492 wxPyEndAllowThreads(__tstate
);
23493 if (PyErr_Occurred()) SWIG_fail
;
23496 wxPoint
* resultptr
;
23497 resultptr
= new wxPoint((wxPoint
&)(result
));
23498 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23506 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23507 PyObject
*resultobj
;
23508 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23510 PyObject
* obj0
= 0 ;
23511 char *kwnames
[] = {
23512 (char *) "self", NULL
23515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23517 if (SWIG_arg_fail(1)) SWIG_fail
;
23519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23521 wxString
const &_result_ref
= (arg1
)->GetLabel();
23522 result
= (wxString
*) &_result_ref
;
23525 wxPyEndAllowThreads(__tstate
);
23526 if (PyErr_Occurred()) SWIG_fail
;
23530 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23532 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23541 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23542 PyObject
*resultobj
;
23543 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23545 PyObject
* obj0
= 0 ;
23546 char *kwnames
[] = {
23547 (char *) "self", NULL
23550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
23551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23552 if (SWIG_arg_fail(1)) SWIG_fail
;
23554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23556 wxString
const &_result_ref
= (arg1
)->GetText();
23557 result
= (wxString
*) &_result_ref
;
23560 wxPyEndAllowThreads(__tstate
);
23561 if (PyErr_Occurred()) SWIG_fail
;
23565 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23567 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23576 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23577 PyObject
*resultobj
;
23578 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23580 PyObject
* obj0
= 0 ;
23581 char *kwnames
[] = {
23582 (char *) "self", NULL
23585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
23586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23587 if (SWIG_arg_fail(1)) SWIG_fail
;
23589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23590 result
= (int)(arg1
)->GetImage();
23592 wxPyEndAllowThreads(__tstate
);
23593 if (PyErr_Occurred()) SWIG_fail
;
23596 resultobj
= SWIG_From_int((int)(result
));
23604 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23605 PyObject
*resultobj
;
23606 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23608 PyObject
* obj0
= 0 ;
23609 char *kwnames
[] = {
23610 (char *) "self", NULL
23613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
23614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23615 if (SWIG_arg_fail(1)) SWIG_fail
;
23617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23618 result
= (long)(arg1
)->GetData();
23620 wxPyEndAllowThreads(__tstate
);
23621 if (PyErr_Occurred()) SWIG_fail
;
23624 resultobj
= SWIG_From_long((long)(result
));
23632 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23633 PyObject
*resultobj
;
23634 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23636 PyObject
* obj0
= 0 ;
23637 char *kwnames
[] = {
23638 (char *) "self", NULL
23641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
23642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23643 if (SWIG_arg_fail(1)) SWIG_fail
;
23645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23646 result
= (long)(arg1
)->GetMask();
23648 wxPyEndAllowThreads(__tstate
);
23649 if (PyErr_Occurred()) SWIG_fail
;
23652 resultobj
= SWIG_From_long((long)(result
));
23660 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23661 PyObject
*resultobj
;
23662 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23663 wxListItem
*result
;
23664 PyObject
* obj0
= 0 ;
23665 char *kwnames
[] = {
23666 (char *) "self", NULL
23669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23671 if (SWIG_arg_fail(1)) SWIG_fail
;
23673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23675 wxListItem
const &_result_ref
= (arg1
)->GetItem();
23676 result
= (wxListItem
*) &_result_ref
;
23679 wxPyEndAllowThreads(__tstate
);
23680 if (PyErr_Occurred()) SWIG_fail
;
23682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
23689 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23690 PyObject
*resultobj
;
23691 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23693 PyObject
* obj0
= 0 ;
23694 char *kwnames
[] = {
23695 (char *) "self", NULL
23698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
23699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23700 if (SWIG_arg_fail(1)) SWIG_fail
;
23702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23703 result
= (long)(arg1
)->GetCacheFrom();
23705 wxPyEndAllowThreads(__tstate
);
23706 if (PyErr_Occurred()) SWIG_fail
;
23709 resultobj
= SWIG_From_long((long)(result
));
23717 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23718 PyObject
*resultobj
;
23719 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23721 PyObject
* obj0
= 0 ;
23722 char *kwnames
[] = {
23723 (char *) "self", NULL
23726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
23727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23728 if (SWIG_arg_fail(1)) SWIG_fail
;
23730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23731 result
= (long)(arg1
)->GetCacheTo();
23733 wxPyEndAllowThreads(__tstate
);
23734 if (PyErr_Occurred()) SWIG_fail
;
23737 resultobj
= SWIG_From_long((long)(result
));
23745 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23746 PyObject
*resultobj
;
23747 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23749 PyObject
* obj0
= 0 ;
23750 char *kwnames
[] = {
23751 (char *) "self", NULL
23754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23756 if (SWIG_arg_fail(1)) SWIG_fail
;
23758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23759 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
23761 wxPyEndAllowThreads(__tstate
);
23762 if (PyErr_Occurred()) SWIG_fail
;
23765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23773 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23774 PyObject
*resultobj
;
23775 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23777 PyObject
* obj0
= 0 ;
23778 PyObject
* obj1
= 0 ;
23779 char *kwnames
[] = {
23780 (char *) "self",(char *) "editCancelled", NULL
23783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23785 if (SWIG_arg_fail(1)) SWIG_fail
;
23787 arg2
= (bool)(SWIG_As_bool(obj1
));
23788 if (SWIG_arg_fail(2)) SWIG_fail
;
23791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23792 (arg1
)->SetEditCanceled(arg2
);
23794 wxPyEndAllowThreads(__tstate
);
23795 if (PyErr_Occurred()) SWIG_fail
;
23797 Py_INCREF(Py_None
); resultobj
= Py_None
;
23804 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
23806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23807 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
23809 return Py_BuildValue((char *)"");
23811 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23812 PyObject
*resultobj
;
23813 wxWindow
*arg1
= (wxWindow
*) 0 ;
23814 int arg2
= (int) -1 ;
23815 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23816 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23817 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23818 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23819 long arg5
= (long) wxLC_ICON
;
23820 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23821 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23822 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23823 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23824 wxPyListCtrl
*result
;
23827 bool temp7
= false ;
23828 PyObject
* obj0
= 0 ;
23829 PyObject
* obj1
= 0 ;
23830 PyObject
* obj2
= 0 ;
23831 PyObject
* obj3
= 0 ;
23832 PyObject
* obj4
= 0 ;
23833 PyObject
* obj5
= 0 ;
23834 PyObject
* obj6
= 0 ;
23835 char *kwnames
[] = {
23836 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23841 if (SWIG_arg_fail(1)) SWIG_fail
;
23844 arg2
= (int)(SWIG_As_int(obj1
));
23845 if (SWIG_arg_fail(2)) SWIG_fail
;
23851 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23857 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23862 arg5
= (long)(SWIG_As_long(obj4
));
23863 if (SWIG_arg_fail(5)) SWIG_fail
;
23868 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23869 if (SWIG_arg_fail(6)) SWIG_fail
;
23870 if (arg6
== NULL
) {
23871 SWIG_null_ref("wxValidator");
23873 if (SWIG_arg_fail(6)) SWIG_fail
;
23878 arg7
= wxString_in_helper(obj6
);
23879 if (arg7
== NULL
) SWIG_fail
;
23884 if (!wxPyCheckForApp()) SWIG_fail
;
23885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23886 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23888 wxPyEndAllowThreads(__tstate
);
23889 if (PyErr_Occurred()) SWIG_fail
;
23891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23906 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23907 PyObject
*resultobj
;
23908 wxPyListCtrl
*result
;
23909 char *kwnames
[] = {
23913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
23915 if (!wxPyCheckForApp()) SWIG_fail
;
23916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23917 result
= (wxPyListCtrl
*)new wxPyListCtrl();
23919 wxPyEndAllowThreads(__tstate
);
23920 if (PyErr_Occurred()) SWIG_fail
;
23922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23929 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23930 PyObject
*resultobj
;
23931 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23932 wxWindow
*arg2
= (wxWindow
*) 0 ;
23933 int arg3
= (int) -1 ;
23934 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23935 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23936 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23937 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23938 long arg6
= (long) wxLC_ICON
;
23939 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23940 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23941 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23942 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23946 bool temp8
= false ;
23947 PyObject
* obj0
= 0 ;
23948 PyObject
* obj1
= 0 ;
23949 PyObject
* obj2
= 0 ;
23950 PyObject
* obj3
= 0 ;
23951 PyObject
* obj4
= 0 ;
23952 PyObject
* obj5
= 0 ;
23953 PyObject
* obj6
= 0 ;
23954 PyObject
* obj7
= 0 ;
23955 char *kwnames
[] = {
23956 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23961 if (SWIG_arg_fail(1)) SWIG_fail
;
23962 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23963 if (SWIG_arg_fail(2)) SWIG_fail
;
23966 arg3
= (int)(SWIG_As_int(obj2
));
23967 if (SWIG_arg_fail(3)) SWIG_fail
;
23973 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23979 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23984 arg6
= (long)(SWIG_As_long(obj5
));
23985 if (SWIG_arg_fail(6)) SWIG_fail
;
23990 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23991 if (SWIG_arg_fail(7)) SWIG_fail
;
23992 if (arg7
== NULL
) {
23993 SWIG_null_ref("wxValidator");
23995 if (SWIG_arg_fail(7)) SWIG_fail
;
24000 arg8
= wxString_in_helper(obj7
);
24001 if (arg8
== NULL
) SWIG_fail
;
24006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24007 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24009 wxPyEndAllowThreads(__tstate
);
24010 if (PyErr_Occurred()) SWIG_fail
;
24013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24029 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24030 PyObject
*resultobj
;
24031 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24032 PyObject
*arg2
= (PyObject
*) 0 ;
24033 PyObject
*arg3
= (PyObject
*) 0 ;
24034 PyObject
* obj0
= 0 ;
24035 PyObject
* obj1
= 0 ;
24036 PyObject
* obj2
= 0 ;
24037 char *kwnames
[] = {
24038 (char *) "self",(char *) "self",(char *) "_class", NULL
24041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24043 if (SWIG_arg_fail(1)) SWIG_fail
;
24047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24048 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24050 wxPyEndAllowThreads(__tstate
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24053 Py_INCREF(Py_None
); resultobj
= Py_None
;
24060 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24061 PyObject
*resultobj
;
24062 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24063 wxColour
*arg2
= 0 ;
24066 PyObject
* obj0
= 0 ;
24067 PyObject
* obj1
= 0 ;
24068 char *kwnames
[] = {
24069 (char *) "self",(char *) "col", NULL
24072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24074 if (SWIG_arg_fail(1)) SWIG_fail
;
24077 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24081 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
24083 wxPyEndAllowThreads(__tstate
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24095 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24096 PyObject
*resultobj
;
24097 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24098 wxColour
*arg2
= 0 ;
24101 PyObject
* obj0
= 0 ;
24102 PyObject
* obj1
= 0 ;
24103 char *kwnames
[] = {
24104 (char *) "self",(char *) "col", NULL
24107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24109 if (SWIG_arg_fail(1)) SWIG_fail
;
24112 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24116 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24118 wxPyEndAllowThreads(__tstate
);
24119 if (PyErr_Occurred()) SWIG_fail
;
24122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24130 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24131 PyObject
*resultobj
;
24132 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24134 wxListItem
*result
;
24135 PyObject
* obj0
= 0 ;
24136 PyObject
* obj1
= 0 ;
24137 char *kwnames
[] = {
24138 (char *) "self",(char *) "col", NULL
24141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
24142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24143 if (SWIG_arg_fail(1)) SWIG_fail
;
24145 arg2
= (int)(SWIG_As_int(obj1
));
24146 if (SWIG_arg_fail(2)) SWIG_fail
;
24149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24150 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
24152 wxPyEndAllowThreads(__tstate
);
24153 if (PyErr_Occurred()) SWIG_fail
;
24156 resultobj
= wxPyMake_wxObject(result
, 0);
24164 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24165 PyObject
*resultobj
;
24166 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24168 wxListItem
*arg3
= 0 ;
24170 PyObject
* obj0
= 0 ;
24171 PyObject
* obj1
= 0 ;
24172 PyObject
* obj2
= 0 ;
24173 char *kwnames
[] = {
24174 (char *) "self",(char *) "col",(char *) "item", NULL
24177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24179 if (SWIG_arg_fail(1)) SWIG_fail
;
24181 arg2
= (int)(SWIG_As_int(obj1
));
24182 if (SWIG_arg_fail(2)) SWIG_fail
;
24185 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24186 if (SWIG_arg_fail(3)) SWIG_fail
;
24187 if (arg3
== NULL
) {
24188 SWIG_null_ref("wxListItem");
24190 if (SWIG_arg_fail(3)) SWIG_fail
;
24193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24194 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
24196 wxPyEndAllowThreads(__tstate
);
24197 if (PyErr_Occurred()) SWIG_fail
;
24200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24208 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24209 PyObject
*resultobj
;
24210 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24213 PyObject
* obj0
= 0 ;
24214 PyObject
* obj1
= 0 ;
24215 char *kwnames
[] = {
24216 (char *) "self",(char *) "col", NULL
24219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
24220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24221 if (SWIG_arg_fail(1)) SWIG_fail
;
24223 arg2
= (int)(SWIG_As_int(obj1
));
24224 if (SWIG_arg_fail(2)) SWIG_fail
;
24227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24228 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
24230 wxPyEndAllowThreads(__tstate
);
24231 if (PyErr_Occurred()) SWIG_fail
;
24234 resultobj
= SWIG_From_int((int)(result
));
24242 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24243 PyObject
*resultobj
;
24244 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24248 PyObject
* obj0
= 0 ;
24249 PyObject
* obj1
= 0 ;
24250 PyObject
* obj2
= 0 ;
24251 char *kwnames
[] = {
24252 (char *) "self",(char *) "col",(char *) "width", NULL
24255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24257 if (SWIG_arg_fail(1)) SWIG_fail
;
24259 arg2
= (int)(SWIG_As_int(obj1
));
24260 if (SWIG_arg_fail(2)) SWIG_fail
;
24263 arg3
= (int)(SWIG_As_int(obj2
));
24264 if (SWIG_arg_fail(3)) SWIG_fail
;
24267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24268 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
24270 wxPyEndAllowThreads(__tstate
);
24271 if (PyErr_Occurred()) SWIG_fail
;
24274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24282 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24283 PyObject
*resultobj
;
24284 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24286 PyObject
* obj0
= 0 ;
24287 char *kwnames
[] = {
24288 (char *) "self", NULL
24291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24296 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
24298 wxPyEndAllowThreads(__tstate
);
24299 if (PyErr_Occurred()) SWIG_fail
;
24302 resultobj
= SWIG_From_int((int)(result
));
24310 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24311 PyObject
*resultobj
;
24312 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24314 PyObject
* obj0
= 0 ;
24315 char *kwnames
[] = {
24316 (char *) "self", NULL
24319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
24320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24321 if (SWIG_arg_fail(1)) SWIG_fail
;
24323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24324 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
24326 wxPyEndAllowThreads(__tstate
);
24327 if (PyErr_Occurred()) SWIG_fail
;
24330 wxRect
* resultptr
;
24331 resultptr
= new wxRect((wxRect
&)(result
));
24332 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24340 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24341 PyObject
*resultobj
;
24342 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24344 int arg3
= (int) 0 ;
24345 wxListItem
*result
;
24346 PyObject
* obj0
= 0 ;
24347 PyObject
* obj1
= 0 ;
24348 PyObject
* obj2
= 0 ;
24349 char *kwnames
[] = {
24350 (char *) "self",(char *) "itemId",(char *) "col", NULL
24353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24355 if (SWIG_arg_fail(1)) SWIG_fail
;
24357 arg2
= (long)(SWIG_As_long(obj1
));
24358 if (SWIG_arg_fail(2)) SWIG_fail
;
24362 arg3
= (int)(SWIG_As_int(obj2
));
24363 if (SWIG_arg_fail(3)) SWIG_fail
;
24367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24368 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
24370 wxPyEndAllowThreads(__tstate
);
24371 if (PyErr_Occurred()) SWIG_fail
;
24374 resultobj
= wxPyMake_wxObject(result
, 0);
24382 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24383 PyObject
*resultobj
;
24384 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24385 wxListItem
*arg2
= 0 ;
24387 PyObject
* obj0
= 0 ;
24388 PyObject
* obj1
= 0 ;
24389 char *kwnames
[] = {
24390 (char *) "self",(char *) "info", NULL
24393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24395 if (SWIG_arg_fail(1)) SWIG_fail
;
24397 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24398 if (SWIG_arg_fail(2)) SWIG_fail
;
24399 if (arg2
== NULL
) {
24400 SWIG_null_ref("wxListItem");
24402 if (SWIG_arg_fail(2)) SWIG_fail
;
24405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24406 result
= (bool)(arg1
)->SetItem(*arg2
);
24408 wxPyEndAllowThreads(__tstate
);
24409 if (PyErr_Occurred()) SWIG_fail
;
24412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24420 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24421 PyObject
*resultobj
;
24422 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24425 wxString
*arg4
= 0 ;
24426 int arg5
= (int) -1 ;
24428 bool temp4
= false ;
24429 PyObject
* obj0
= 0 ;
24430 PyObject
* obj1
= 0 ;
24431 PyObject
* obj2
= 0 ;
24432 PyObject
* obj3
= 0 ;
24433 PyObject
* obj4
= 0 ;
24434 char *kwnames
[] = {
24435 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24440 if (SWIG_arg_fail(1)) SWIG_fail
;
24442 arg2
= (long)(SWIG_As_long(obj1
));
24443 if (SWIG_arg_fail(2)) SWIG_fail
;
24446 arg3
= (int)(SWIG_As_int(obj2
));
24447 if (SWIG_arg_fail(3)) SWIG_fail
;
24450 arg4
= wxString_in_helper(obj3
);
24451 if (arg4
== NULL
) SWIG_fail
;
24456 arg5
= (int)(SWIG_As_int(obj4
));
24457 if (SWIG_arg_fail(5)) SWIG_fail
;
24461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24462 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
24464 wxPyEndAllowThreads(__tstate
);
24465 if (PyErr_Occurred()) SWIG_fail
;
24468 resultobj
= SWIG_From_long((long)(result
));
24484 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24485 PyObject
*resultobj
;
24486 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24490 PyObject
* obj0
= 0 ;
24491 PyObject
* obj1
= 0 ;
24492 PyObject
* obj2
= 0 ;
24493 char *kwnames
[] = {
24494 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24499 if (SWIG_arg_fail(1)) SWIG_fail
;
24501 arg2
= (long)(SWIG_As_long(obj1
));
24502 if (SWIG_arg_fail(2)) SWIG_fail
;
24505 arg3
= (long)(SWIG_As_long(obj2
));
24506 if (SWIG_arg_fail(3)) SWIG_fail
;
24509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24510 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
24512 wxPyEndAllowThreads(__tstate
);
24513 if (PyErr_Occurred()) SWIG_fail
;
24516 resultobj
= SWIG_From_int((int)(result
));
24524 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24525 PyObject
*resultobj
;
24526 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24531 PyObject
* obj0
= 0 ;
24532 PyObject
* obj1
= 0 ;
24533 PyObject
* obj2
= 0 ;
24534 PyObject
* obj3
= 0 ;
24535 char *kwnames
[] = {
24536 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24541 if (SWIG_arg_fail(1)) SWIG_fail
;
24543 arg2
= (long)(SWIG_As_long(obj1
));
24544 if (SWIG_arg_fail(2)) SWIG_fail
;
24547 arg3
= (long)(SWIG_As_long(obj2
));
24548 if (SWIG_arg_fail(3)) SWIG_fail
;
24551 arg4
= (long)(SWIG_As_long(obj3
));
24552 if (SWIG_arg_fail(4)) SWIG_fail
;
24555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24556 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
24558 wxPyEndAllowThreads(__tstate
);
24559 if (PyErr_Occurred()) SWIG_fail
;
24562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24570 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24571 PyObject
*resultobj
;
24572 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24575 int arg4
= (int) -1 ;
24577 PyObject
* obj0
= 0 ;
24578 PyObject
* obj1
= 0 ;
24579 PyObject
* obj2
= 0 ;
24580 PyObject
* obj3
= 0 ;
24581 char *kwnames
[] = {
24582 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24587 if (SWIG_arg_fail(1)) SWIG_fail
;
24589 arg2
= (long)(SWIG_As_long(obj1
));
24590 if (SWIG_arg_fail(2)) SWIG_fail
;
24593 arg3
= (int)(SWIG_As_int(obj2
));
24594 if (SWIG_arg_fail(3)) SWIG_fail
;
24598 arg4
= (int)(SWIG_As_int(obj3
));
24599 if (SWIG_arg_fail(4)) SWIG_fail
;
24603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24604 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
24606 wxPyEndAllowThreads(__tstate
);
24607 if (PyErr_Occurred()) SWIG_fail
;
24610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24618 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24619 PyObject
*resultobj
;
24620 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24623 PyObject
* obj0
= 0 ;
24624 PyObject
* obj1
= 0 ;
24625 char *kwnames
[] = {
24626 (char *) "self",(char *) "item", NULL
24629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24631 if (SWIG_arg_fail(1)) SWIG_fail
;
24633 arg2
= (long)(SWIG_As_long(obj1
));
24634 if (SWIG_arg_fail(2)) SWIG_fail
;
24637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24638 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
24640 wxPyEndAllowThreads(__tstate
);
24641 if (PyErr_Occurred()) SWIG_fail
;
24645 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24647 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24656 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24657 PyObject
*resultobj
;
24658 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24660 wxString
*arg3
= 0 ;
24661 bool temp3
= false ;
24662 PyObject
* obj0
= 0 ;
24663 PyObject
* obj1
= 0 ;
24664 PyObject
* obj2
= 0 ;
24665 char *kwnames
[] = {
24666 (char *) "self",(char *) "item",(char *) "str", NULL
24669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24671 if (SWIG_arg_fail(1)) SWIG_fail
;
24673 arg2
= (long)(SWIG_As_long(obj1
));
24674 if (SWIG_arg_fail(2)) SWIG_fail
;
24677 arg3
= wxString_in_helper(obj2
);
24678 if (arg3
== NULL
) SWIG_fail
;
24682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24683 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
24685 wxPyEndAllowThreads(__tstate
);
24686 if (PyErr_Occurred()) SWIG_fail
;
24688 Py_INCREF(Py_None
); resultobj
= Py_None
;
24703 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24704 PyObject
*resultobj
;
24705 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24708 PyObject
* obj0
= 0 ;
24709 PyObject
* obj1
= 0 ;
24710 char *kwnames
[] = {
24711 (char *) "self",(char *) "item", NULL
24714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24716 if (SWIG_arg_fail(1)) SWIG_fail
;
24718 arg2
= (long)(SWIG_As_long(obj1
));
24719 if (SWIG_arg_fail(2)) SWIG_fail
;
24722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24723 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
24725 wxPyEndAllowThreads(__tstate
);
24726 if (PyErr_Occurred()) SWIG_fail
;
24729 resultobj
= SWIG_From_long((long)(result
));
24737 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24738 PyObject
*resultobj
;
24739 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24743 PyObject
* obj0
= 0 ;
24744 PyObject
* obj1
= 0 ;
24745 PyObject
* obj2
= 0 ;
24746 char *kwnames
[] = {
24747 (char *) "self",(char *) "item",(char *) "data", NULL
24750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24752 if (SWIG_arg_fail(1)) SWIG_fail
;
24754 arg2
= (long)(SWIG_As_long(obj1
));
24755 if (SWIG_arg_fail(2)) SWIG_fail
;
24758 arg3
= (long)(SWIG_As_long(obj2
));
24759 if (SWIG_arg_fail(3)) SWIG_fail
;
24762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24763 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
24765 wxPyEndAllowThreads(__tstate
);
24766 if (PyErr_Occurred()) SWIG_fail
;
24769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24777 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24778 PyObject
*resultobj
;
24779 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24782 PyObject
* obj0
= 0 ;
24783 PyObject
* obj1
= 0 ;
24784 char *kwnames
[] = {
24785 (char *) "self",(char *) "item", NULL
24788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24790 if (SWIG_arg_fail(1)) SWIG_fail
;
24792 arg2
= (long)(SWIG_As_long(obj1
));
24793 if (SWIG_arg_fail(2)) SWIG_fail
;
24796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24797 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
24799 wxPyEndAllowThreads(__tstate
);
24800 if (PyErr_Occurred()) SWIG_fail
;
24803 wxPoint
* resultptr
;
24804 resultptr
= new wxPoint((wxPoint
&)(result
));
24805 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24813 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24814 PyObject
*resultobj
;
24815 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24817 int arg3
= (int) wxLIST_RECT_BOUNDS
;
24819 PyObject
* obj0
= 0 ;
24820 PyObject
* obj1
= 0 ;
24821 PyObject
* obj2
= 0 ;
24822 char *kwnames
[] = {
24823 (char *) "self",(char *) "item",(char *) "code", NULL
24826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24828 if (SWIG_arg_fail(1)) SWIG_fail
;
24830 arg2
= (long)(SWIG_As_long(obj1
));
24831 if (SWIG_arg_fail(2)) SWIG_fail
;
24835 arg3
= (int)(SWIG_As_int(obj2
));
24836 if (SWIG_arg_fail(3)) SWIG_fail
;
24840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24841 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
24843 wxPyEndAllowThreads(__tstate
);
24844 if (PyErr_Occurred()) SWIG_fail
;
24847 wxRect
* resultptr
;
24848 resultptr
= new wxRect((wxRect
&)(result
));
24849 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24857 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24858 PyObject
*resultobj
;
24859 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24861 wxPoint
*arg3
= 0 ;
24864 PyObject
* obj0
= 0 ;
24865 PyObject
* obj1
= 0 ;
24866 PyObject
* obj2
= 0 ;
24867 char *kwnames
[] = {
24868 (char *) "self",(char *) "item",(char *) "pos", NULL
24871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24873 if (SWIG_arg_fail(1)) SWIG_fail
;
24875 arg2
= (long)(SWIG_As_long(obj1
));
24876 if (SWIG_arg_fail(2)) SWIG_fail
;
24880 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24884 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
24886 wxPyEndAllowThreads(__tstate
);
24887 if (PyErr_Occurred()) SWIG_fail
;
24890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24898 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24899 PyObject
*resultobj
;
24900 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24902 PyObject
* obj0
= 0 ;
24903 char *kwnames
[] = {
24904 (char *) "self", NULL
24907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
24908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24909 if (SWIG_arg_fail(1)) SWIG_fail
;
24911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24912 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
24914 wxPyEndAllowThreads(__tstate
);
24915 if (PyErr_Occurred()) SWIG_fail
;
24918 resultobj
= SWIG_From_int((int)(result
));
24926 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24927 PyObject
*resultobj
;
24928 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24930 PyObject
* obj0
= 0 ;
24931 char *kwnames
[] = {
24932 (char *) "self", NULL
24935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
24936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24937 if (SWIG_arg_fail(1)) SWIG_fail
;
24939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24940 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
24942 wxPyEndAllowThreads(__tstate
);
24943 if (PyErr_Occurred()) SWIG_fail
;
24946 resultobj
= SWIG_From_int((int)(result
));
24954 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24955 PyObject
*resultobj
;
24956 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24958 PyObject
* obj0
= 0 ;
24959 char *kwnames
[] = {
24960 (char *) "self", NULL
24963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
24964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24965 if (SWIG_arg_fail(1)) SWIG_fail
;
24967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24968 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
24970 wxPyEndAllowThreads(__tstate
);
24971 if (PyErr_Occurred()) SWIG_fail
;
24974 wxSize
* resultptr
;
24975 resultptr
= new wxSize((wxSize
&)(result
));
24976 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24984 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24985 PyObject
*resultobj
;
24986 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24988 bool arg3
= (bool) false ;
24989 PyObject
* obj0
= 0 ;
24990 PyObject
* obj1
= 0 ;
24991 PyObject
* obj2
= 0 ;
24992 char *kwnames
[] = {
24993 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
24996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24998 if (SWIG_arg_fail(1)) SWIG_fail
;
25000 arg2
= (int)(SWIG_As_int(obj1
));
25001 if (SWIG_arg_fail(2)) SWIG_fail
;
25005 arg3
= (bool)(SWIG_As_bool(obj2
));
25006 if (SWIG_arg_fail(3)) SWIG_fail
;
25010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25011 (arg1
)->SetItemSpacing(arg2
,arg3
);
25013 wxPyEndAllowThreads(__tstate
);
25014 if (PyErr_Occurred()) SWIG_fail
;
25016 Py_INCREF(Py_None
); resultobj
= Py_None
;
25023 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25024 PyObject
*resultobj
;
25025 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25027 PyObject
* obj0
= 0 ;
25028 char *kwnames
[] = {
25029 (char *) "self", NULL
25032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
25033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25034 if (SWIG_arg_fail(1)) SWIG_fail
;
25036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25037 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
25039 wxPyEndAllowThreads(__tstate
);
25040 if (PyErr_Occurred()) SWIG_fail
;
25043 resultobj
= SWIG_From_int((int)(result
));
25051 static PyObject
*_wrap_ListCtrl_GetTextColour(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_GetTextColour",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
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
25067 wxPyEndAllowThreads(__tstate
);
25068 if (PyErr_Occurred()) SWIG_fail
;
25071 wxColour
* resultptr
;
25072 resultptr
= new wxColour((wxColour
&)(result
));
25073 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25081 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25082 PyObject
*resultobj
;
25083 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25084 wxColour
*arg2
= 0 ;
25086 PyObject
* obj0
= 0 ;
25087 PyObject
* obj1
= 0 ;
25088 char *kwnames
[] = {
25089 (char *) "self",(char *) "col", NULL
25092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25094 if (SWIG_arg_fail(1)) SWIG_fail
;
25097 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25101 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25103 wxPyEndAllowThreads(__tstate
);
25104 if (PyErr_Occurred()) SWIG_fail
;
25106 Py_INCREF(Py_None
); resultobj
= Py_None
;
25113 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25114 PyObject
*resultobj
;
25115 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25117 PyObject
* obj0
= 0 ;
25118 char *kwnames
[] = {
25119 (char *) "self", NULL
25122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
25123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25124 if (SWIG_arg_fail(1)) SWIG_fail
;
25126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25127 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
25129 wxPyEndAllowThreads(__tstate
);
25130 if (PyErr_Occurred()) SWIG_fail
;
25133 resultobj
= SWIG_From_long((long)(result
));
25141 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25142 PyObject
*resultobj
;
25143 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25145 bool arg3
= (bool) true ;
25146 PyObject
* obj0
= 0 ;
25147 PyObject
* obj1
= 0 ;
25148 PyObject
* obj2
= 0 ;
25149 char *kwnames
[] = {
25150 (char *) "self",(char *) "style",(char *) "add", NULL
25153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25155 if (SWIG_arg_fail(1)) SWIG_fail
;
25157 arg2
= (long)(SWIG_As_long(obj1
));
25158 if (SWIG_arg_fail(2)) SWIG_fail
;
25162 arg3
= (bool)(SWIG_As_bool(obj2
));
25163 if (SWIG_arg_fail(3)) SWIG_fail
;
25167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25168 (arg1
)->SetSingleStyle(arg2
,arg3
);
25170 wxPyEndAllowThreads(__tstate
);
25171 if (PyErr_Occurred()) SWIG_fail
;
25173 Py_INCREF(Py_None
); resultobj
= Py_None
;
25180 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25181 PyObject
*resultobj
;
25182 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25184 PyObject
* obj0
= 0 ;
25185 PyObject
* obj1
= 0 ;
25186 char *kwnames
[] = {
25187 (char *) "self",(char *) "style", NULL
25190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
25191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25192 if (SWIG_arg_fail(1)) SWIG_fail
;
25194 arg2
= (long)(SWIG_As_long(obj1
));
25195 if (SWIG_arg_fail(2)) SWIG_fail
;
25198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25199 (arg1
)->SetWindowStyleFlag(arg2
);
25201 wxPyEndAllowThreads(__tstate
);
25202 if (PyErr_Occurred()) SWIG_fail
;
25204 Py_INCREF(Py_None
); resultobj
= Py_None
;
25211 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25212 PyObject
*resultobj
;
25213 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25215 int arg3
= (int) wxLIST_NEXT_ALL
;
25216 int arg4
= (int) wxLIST_STATE_DONTCARE
;
25218 PyObject
* obj0
= 0 ;
25219 PyObject
* obj1
= 0 ;
25220 PyObject
* obj2
= 0 ;
25221 PyObject
* obj3
= 0 ;
25222 char *kwnames
[] = {
25223 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25228 if (SWIG_arg_fail(1)) SWIG_fail
;
25230 arg2
= (long)(SWIG_As_long(obj1
));
25231 if (SWIG_arg_fail(2)) SWIG_fail
;
25235 arg3
= (int)(SWIG_As_int(obj2
));
25236 if (SWIG_arg_fail(3)) SWIG_fail
;
25241 arg4
= (int)(SWIG_As_int(obj3
));
25242 if (SWIG_arg_fail(4)) SWIG_fail
;
25246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25247 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
25249 wxPyEndAllowThreads(__tstate
);
25250 if (PyErr_Occurred()) SWIG_fail
;
25253 resultobj
= SWIG_From_long((long)(result
));
25261 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25262 PyObject
*resultobj
;
25263 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25265 wxImageList
*result
;
25266 PyObject
* obj0
= 0 ;
25267 PyObject
* obj1
= 0 ;
25268 char *kwnames
[] = {
25269 (char *) "self",(char *) "which", NULL
25272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25274 if (SWIG_arg_fail(1)) SWIG_fail
;
25276 arg2
= (int)(SWIG_As_int(obj1
));
25277 if (SWIG_arg_fail(2)) SWIG_fail
;
25280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25281 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
25283 wxPyEndAllowThreads(__tstate
);
25284 if (PyErr_Occurred()) SWIG_fail
;
25287 resultobj
= wxPyMake_wxObject(result
, 0);
25295 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25296 PyObject
*resultobj
;
25297 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25298 wxImageList
*arg2
= (wxImageList
*) 0 ;
25300 PyObject
* obj0
= 0 ;
25301 PyObject
* obj1
= 0 ;
25302 PyObject
* obj2
= 0 ;
25303 char *kwnames
[] = {
25304 (char *) "self",(char *) "imageList",(char *) "which", NULL
25307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25309 if (SWIG_arg_fail(1)) SWIG_fail
;
25310 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
25311 if (SWIG_arg_fail(2)) SWIG_fail
;
25313 arg3
= (int)(SWIG_As_int(obj2
));
25314 if (SWIG_arg_fail(3)) SWIG_fail
;
25317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25318 (arg1
)->SetImageList(arg2
,arg3
);
25320 wxPyEndAllowThreads(__tstate
);
25321 if (PyErr_Occurred()) SWIG_fail
;
25323 Py_INCREF(Py_None
); resultobj
= Py_None
;
25330 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25331 PyObject
*resultobj
;
25332 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25333 wxImageList
*arg2
= (wxImageList
*) 0 ;
25335 PyObject
* obj0
= 0 ;
25336 PyObject
* obj1
= 0 ;
25337 PyObject
* obj2
= 0 ;
25338 char *kwnames
[] = {
25339 (char *) "self",(char *) "imageList",(char *) "which", NULL
25342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25344 if (SWIG_arg_fail(1)) SWIG_fail
;
25345 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25346 if (SWIG_arg_fail(2)) SWIG_fail
;
25348 arg3
= (int)(SWIG_As_int(obj2
));
25349 if (SWIG_arg_fail(3)) SWIG_fail
;
25352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25353 (arg1
)->AssignImageList(arg2
,arg3
);
25355 wxPyEndAllowThreads(__tstate
);
25356 if (PyErr_Occurred()) SWIG_fail
;
25358 Py_INCREF(Py_None
); resultobj
= Py_None
;
25365 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25366 PyObject
*resultobj
;
25367 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25369 PyObject
* obj0
= 0 ;
25370 char *kwnames
[] = {
25371 (char *) "self", NULL
25374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
25375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25376 if (SWIG_arg_fail(1)) SWIG_fail
;
25378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25379 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
25381 wxPyEndAllowThreads(__tstate
);
25382 if (PyErr_Occurred()) SWIG_fail
;
25385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25393 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25394 PyObject
*resultobj
;
25395 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25397 PyObject
* obj0
= 0 ;
25398 char *kwnames
[] = {
25399 (char *) "self", NULL
25402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25407 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
25409 wxPyEndAllowThreads(__tstate
);
25410 if (PyErr_Occurred()) SWIG_fail
;
25413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25421 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25422 PyObject
*resultobj
;
25423 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25425 PyObject
* obj0
= 0 ;
25426 PyObject
* obj1
= 0 ;
25427 char *kwnames
[] = {
25428 (char *) "self",(char *) "item", NULL
25431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25433 if (SWIG_arg_fail(1)) SWIG_fail
;
25435 arg2
= (long)(SWIG_As_long(obj1
));
25436 if (SWIG_arg_fail(2)) SWIG_fail
;
25439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25440 (arg1
)->RefreshItem(arg2
);
25442 wxPyEndAllowThreads(__tstate
);
25443 if (PyErr_Occurred()) SWIG_fail
;
25445 Py_INCREF(Py_None
); resultobj
= Py_None
;
25452 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25453 PyObject
*resultobj
;
25454 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25457 PyObject
* obj0
= 0 ;
25458 PyObject
* obj1
= 0 ;
25459 PyObject
* obj2
= 0 ;
25460 char *kwnames
[] = {
25461 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25466 if (SWIG_arg_fail(1)) SWIG_fail
;
25468 arg2
= (long)(SWIG_As_long(obj1
));
25469 if (SWIG_arg_fail(2)) SWIG_fail
;
25472 arg3
= (long)(SWIG_As_long(obj2
));
25473 if (SWIG_arg_fail(3)) SWIG_fail
;
25476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25477 (arg1
)->RefreshItems(arg2
,arg3
);
25479 wxPyEndAllowThreads(__tstate
);
25480 if (PyErr_Occurred()) SWIG_fail
;
25482 Py_INCREF(Py_None
); resultobj
= Py_None
;
25489 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25490 PyObject
*resultobj
;
25491 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25492 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
25494 PyObject
* obj0
= 0 ;
25495 PyObject
* obj1
= 0 ;
25496 char *kwnames
[] = {
25497 (char *) "self",(char *) "flag", NULL
25500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
25501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25502 if (SWIG_arg_fail(1)) SWIG_fail
;
25505 arg2
= (int)(SWIG_As_int(obj1
));
25506 if (SWIG_arg_fail(2)) SWIG_fail
;
25510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25511 result
= (bool)(arg1
)->Arrange(arg2
);
25513 wxPyEndAllowThreads(__tstate
);
25514 if (PyErr_Occurred()) SWIG_fail
;
25517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25525 static PyObject
*_wrap_ListCtrl_DeleteItem(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 *) "item", NULL
25536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",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
= (long)(SWIG_As_long(obj1
));
25541 if (SWIG_arg_fail(2)) SWIG_fail
;
25544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25545 result
= (bool)(arg1
)->DeleteItem(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_DeleteAllItems(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_DeleteAllItems",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
)->DeleteAllItems();
25575 wxPyEndAllowThreads(__tstate
);
25576 if (PyErr_Occurred()) SWIG_fail
;
25579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25587 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25588 PyObject
*resultobj
;
25589 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25592 PyObject
* obj0
= 0 ;
25593 PyObject
* obj1
= 0 ;
25594 char *kwnames
[] = {
25595 (char *) "self",(char *) "col", NULL
25598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25600 if (SWIG_arg_fail(1)) SWIG_fail
;
25602 arg2
= (int)(SWIG_As_int(obj1
));
25603 if (SWIG_arg_fail(2)) SWIG_fail
;
25606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25607 result
= (bool)(arg1
)->DeleteColumn(arg2
);
25609 wxPyEndAllowThreads(__tstate
);
25610 if (PyErr_Occurred()) SWIG_fail
;
25613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25621 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25622 PyObject
*resultobj
;
25623 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25625 PyObject
* obj0
= 0 ;
25626 char *kwnames
[] = {
25627 (char *) "self", NULL
25630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
25631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25632 if (SWIG_arg_fail(1)) SWIG_fail
;
25634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25635 result
= (bool)(arg1
)->DeleteAllColumns();
25637 wxPyEndAllowThreads(__tstate
);
25638 if (PyErr_Occurred()) SWIG_fail
;
25641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25649 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25650 PyObject
*resultobj
;
25651 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25652 PyObject
* obj0
= 0 ;
25653 char *kwnames
[] = {
25654 (char *) "self", NULL
25657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
25658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25659 if (SWIG_arg_fail(1)) SWIG_fail
;
25661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25662 (arg1
)->ClearAll();
25664 wxPyEndAllowThreads(__tstate
);
25665 if (PyErr_Occurred()) SWIG_fail
;
25667 Py_INCREF(Py_None
); resultobj
= Py_None
;
25674 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25675 PyObject
*resultobj
;
25676 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25678 PyObject
* obj0
= 0 ;
25679 PyObject
* obj1
= 0 ;
25680 char *kwnames
[] = {
25681 (char *) "self",(char *) "item", NULL
25684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25686 if (SWIG_arg_fail(1)) SWIG_fail
;
25688 arg2
= (long)(SWIG_As_long(obj1
));
25689 if (SWIG_arg_fail(2)) SWIG_fail
;
25692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25693 (arg1
)->EditLabel(arg2
);
25695 wxPyEndAllowThreads(__tstate
);
25696 if (PyErr_Occurred()) SWIG_fail
;
25698 Py_INCREF(Py_None
); resultobj
= Py_None
;
25705 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25706 PyObject
*resultobj
;
25707 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25710 PyObject
* obj0
= 0 ;
25711 PyObject
* obj1
= 0 ;
25712 char *kwnames
[] = {
25713 (char *) "self",(char *) "item", NULL
25716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25718 if (SWIG_arg_fail(1)) SWIG_fail
;
25720 arg2
= (long)(SWIG_As_long(obj1
));
25721 if (SWIG_arg_fail(2)) SWIG_fail
;
25724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25725 result
= (bool)(arg1
)->EnsureVisible(arg2
);
25727 wxPyEndAllowThreads(__tstate
);
25728 if (PyErr_Occurred()) SWIG_fail
;
25731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25739 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25740 PyObject
*resultobj
;
25741 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25743 wxString
*arg3
= 0 ;
25744 bool arg4
= (bool) false ;
25746 bool temp3
= false ;
25747 PyObject
* obj0
= 0 ;
25748 PyObject
* obj1
= 0 ;
25749 PyObject
* obj2
= 0 ;
25750 PyObject
* obj3
= 0 ;
25751 char *kwnames
[] = {
25752 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25757 if (SWIG_arg_fail(1)) SWIG_fail
;
25759 arg2
= (long)(SWIG_As_long(obj1
));
25760 if (SWIG_arg_fail(2)) SWIG_fail
;
25763 arg3
= wxString_in_helper(obj2
);
25764 if (arg3
== NULL
) SWIG_fail
;
25769 arg4
= (bool)(SWIG_As_bool(obj3
));
25770 if (SWIG_arg_fail(4)) SWIG_fail
;
25774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25775 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
25777 wxPyEndAllowThreads(__tstate
);
25778 if (PyErr_Occurred()) SWIG_fail
;
25781 resultobj
= SWIG_From_long((long)(result
));
25797 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25798 PyObject
*resultobj
;
25799 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25803 PyObject
* obj0
= 0 ;
25804 PyObject
* obj1
= 0 ;
25805 PyObject
* obj2
= 0 ;
25806 char *kwnames
[] = {
25807 (char *) "self",(char *) "start",(char *) "data", NULL
25810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25812 if (SWIG_arg_fail(1)) SWIG_fail
;
25814 arg2
= (long)(SWIG_As_long(obj1
));
25815 if (SWIG_arg_fail(2)) SWIG_fail
;
25818 arg3
= (long)(SWIG_As_long(obj2
));
25819 if (SWIG_arg_fail(3)) SWIG_fail
;
25822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25823 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
25825 wxPyEndAllowThreads(__tstate
);
25826 if (PyErr_Occurred()) SWIG_fail
;
25829 resultobj
= SWIG_From_long((long)(result
));
25837 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25838 PyObject
*resultobj
;
25839 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25841 wxPoint
*arg3
= 0 ;
25845 PyObject
* obj0
= 0 ;
25846 PyObject
* obj1
= 0 ;
25847 PyObject
* obj2
= 0 ;
25848 PyObject
* obj3
= 0 ;
25849 char *kwnames
[] = {
25850 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25855 if (SWIG_arg_fail(1)) SWIG_fail
;
25857 arg2
= (long)(SWIG_As_long(obj1
));
25858 if (SWIG_arg_fail(2)) SWIG_fail
;
25862 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25865 arg4
= (int)(SWIG_As_int(obj3
));
25866 if (SWIG_arg_fail(4)) SWIG_fail
;
25869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25870 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
25872 wxPyEndAllowThreads(__tstate
);
25873 if (PyErr_Occurred()) SWIG_fail
;
25876 resultobj
= SWIG_From_long((long)(result
));
25884 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25885 PyObject
*resultobj
;
25886 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25887 wxPoint
*arg2
= 0 ;
25893 PyObject
* obj0
= 0 ;
25894 PyObject
* obj1
= 0 ;
25895 char *kwnames
[] = {
25896 (char *) "self",(char *) "point", NULL
25899 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25902 if (SWIG_arg_fail(1)) SWIG_fail
;
25905 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25909 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
25911 wxPyEndAllowThreads(__tstate
);
25912 if (PyErr_Occurred()) SWIG_fail
;
25915 resultobj
= SWIG_From_long((long)(result
));
25917 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25918 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25925 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25926 PyObject
*resultobj
;
25927 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25928 wxListItem
*arg2
= 0 ;
25930 PyObject
* obj0
= 0 ;
25931 PyObject
* obj1
= 0 ;
25932 char *kwnames
[] = {
25933 (char *) "self",(char *) "info", NULL
25936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25938 if (SWIG_arg_fail(1)) SWIG_fail
;
25940 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25941 if (SWIG_arg_fail(2)) SWIG_fail
;
25942 if (arg2
== NULL
) {
25943 SWIG_null_ref("wxListItem");
25945 if (SWIG_arg_fail(2)) SWIG_fail
;
25948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25949 result
= (long)(arg1
)->InsertItem(*arg2
);
25951 wxPyEndAllowThreads(__tstate
);
25952 if (PyErr_Occurred()) SWIG_fail
;
25955 resultobj
= SWIG_From_long((long)(result
));
25963 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25964 PyObject
*resultobj
;
25965 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25967 wxString
*arg3
= 0 ;
25969 bool temp3
= false ;
25970 PyObject
* obj0
= 0 ;
25971 PyObject
* obj1
= 0 ;
25972 PyObject
* obj2
= 0 ;
25973 char *kwnames
[] = {
25974 (char *) "self",(char *) "index",(char *) "label", NULL
25977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25979 if (SWIG_arg_fail(1)) SWIG_fail
;
25981 arg2
= (long)(SWIG_As_long(obj1
));
25982 if (SWIG_arg_fail(2)) SWIG_fail
;
25985 arg3
= wxString_in_helper(obj2
);
25986 if (arg3
== NULL
) SWIG_fail
;
25990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25991 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
25993 wxPyEndAllowThreads(__tstate
);
25994 if (PyErr_Occurred()) SWIG_fail
;
25997 resultobj
= SWIG_From_long((long)(result
));
26013 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26014 PyObject
*resultobj
;
26015 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26019 PyObject
* obj0
= 0 ;
26020 PyObject
* obj1
= 0 ;
26021 PyObject
* obj2
= 0 ;
26022 char *kwnames
[] = {
26023 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
26026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26028 if (SWIG_arg_fail(1)) SWIG_fail
;
26030 arg2
= (long)(SWIG_As_long(obj1
));
26031 if (SWIG_arg_fail(2)) SWIG_fail
;
26034 arg3
= (int)(SWIG_As_int(obj2
));
26035 if (SWIG_arg_fail(3)) SWIG_fail
;
26038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26039 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
26041 wxPyEndAllowThreads(__tstate
);
26042 if (PyErr_Occurred()) SWIG_fail
;
26045 resultobj
= SWIG_From_long((long)(result
));
26053 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26054 PyObject
*resultobj
;
26055 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26057 wxString
*arg3
= 0 ;
26060 bool temp3
= false ;
26061 PyObject
* obj0
= 0 ;
26062 PyObject
* obj1
= 0 ;
26063 PyObject
* obj2
= 0 ;
26064 PyObject
* obj3
= 0 ;
26065 char *kwnames
[] = {
26066 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26071 if (SWIG_arg_fail(1)) SWIG_fail
;
26073 arg2
= (long)(SWIG_As_long(obj1
));
26074 if (SWIG_arg_fail(2)) SWIG_fail
;
26077 arg3
= wxString_in_helper(obj2
);
26078 if (arg3
== NULL
) SWIG_fail
;
26082 arg4
= (int)(SWIG_As_int(obj3
));
26083 if (SWIG_arg_fail(4)) SWIG_fail
;
26086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26087 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
26089 wxPyEndAllowThreads(__tstate
);
26090 if (PyErr_Occurred()) SWIG_fail
;
26093 resultobj
= SWIG_From_long((long)(result
));
26109 static PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26110 PyObject
*resultobj
;
26111 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26113 wxListItem
*arg3
= 0 ;
26115 PyObject
* obj0
= 0 ;
26116 PyObject
* obj1
= 0 ;
26117 PyObject
* obj2
= 0 ;
26118 char *kwnames
[] = {
26119 (char *) "self",(char *) "col",(char *) "info", NULL
26122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26124 if (SWIG_arg_fail(1)) SWIG_fail
;
26126 arg2
= (long)(SWIG_As_long(obj1
));
26127 if (SWIG_arg_fail(2)) SWIG_fail
;
26130 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26131 if (SWIG_arg_fail(3)) SWIG_fail
;
26132 if (arg3
== NULL
) {
26133 SWIG_null_ref("wxListItem");
26135 if (SWIG_arg_fail(3)) SWIG_fail
;
26138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26139 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
26141 wxPyEndAllowThreads(__tstate
);
26142 if (PyErr_Occurred()) SWIG_fail
;
26145 resultobj
= SWIG_From_long((long)(result
));
26153 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26154 PyObject
*resultobj
;
26155 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26157 wxString
*arg3
= 0 ;
26158 int arg4
= (int) wxLIST_FORMAT_LEFT
;
26159 int arg5
= (int) -1 ;
26161 bool temp3
= false ;
26162 PyObject
* obj0
= 0 ;
26163 PyObject
* obj1
= 0 ;
26164 PyObject
* obj2
= 0 ;
26165 PyObject
* obj3
= 0 ;
26166 PyObject
* obj4
= 0 ;
26167 char *kwnames
[] = {
26168 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26173 if (SWIG_arg_fail(1)) SWIG_fail
;
26175 arg2
= (long)(SWIG_As_long(obj1
));
26176 if (SWIG_arg_fail(2)) SWIG_fail
;
26179 arg3
= wxString_in_helper(obj2
);
26180 if (arg3
== NULL
) SWIG_fail
;
26185 arg4
= (int)(SWIG_As_int(obj3
));
26186 if (SWIG_arg_fail(4)) SWIG_fail
;
26191 arg5
= (int)(SWIG_As_int(obj4
));
26192 if (SWIG_arg_fail(5)) SWIG_fail
;
26196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26197 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
26199 wxPyEndAllowThreads(__tstate
);
26200 if (PyErr_Occurred()) SWIG_fail
;
26203 resultobj
= SWIG_From_long((long)(result
));
26219 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26220 PyObject
*resultobj
;
26221 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26223 PyObject
* obj0
= 0 ;
26224 PyObject
* obj1
= 0 ;
26225 char *kwnames
[] = {
26226 (char *) "self",(char *) "count", NULL
26229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26231 if (SWIG_arg_fail(1)) SWIG_fail
;
26233 arg2
= (long)(SWIG_As_long(obj1
));
26234 if (SWIG_arg_fail(2)) SWIG_fail
;
26237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26238 (arg1
)->SetItemCount(arg2
);
26240 wxPyEndAllowThreads(__tstate
);
26241 if (PyErr_Occurred()) SWIG_fail
;
26243 Py_INCREF(Py_None
); resultobj
= Py_None
;
26250 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26251 PyObject
*resultobj
;
26252 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26256 PyObject
* obj0
= 0 ;
26257 PyObject
* obj1
= 0 ;
26258 PyObject
* obj2
= 0 ;
26259 char *kwnames
[] = {
26260 (char *) "self",(char *) "dx",(char *) "dy", NULL
26263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26265 if (SWIG_arg_fail(1)) SWIG_fail
;
26267 arg2
= (int)(SWIG_As_int(obj1
));
26268 if (SWIG_arg_fail(2)) SWIG_fail
;
26271 arg3
= (int)(SWIG_As_int(obj2
));
26272 if (SWIG_arg_fail(3)) SWIG_fail
;
26275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26276 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
26278 wxPyEndAllowThreads(__tstate
);
26279 if (PyErr_Occurred()) SWIG_fail
;
26282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26290 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26291 PyObject
*resultobj
;
26292 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26294 wxColour
*arg3
= 0 ;
26296 PyObject
* obj0
= 0 ;
26297 PyObject
* obj1
= 0 ;
26298 PyObject
* obj2
= 0 ;
26299 char *kwnames
[] = {
26300 (char *) "self",(char *) "item",(char *) "col", NULL
26303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26305 if (SWIG_arg_fail(1)) SWIG_fail
;
26307 arg2
= (long)(SWIG_As_long(obj1
));
26308 if (SWIG_arg_fail(2)) SWIG_fail
;
26312 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26316 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
26318 wxPyEndAllowThreads(__tstate
);
26319 if (PyErr_Occurred()) SWIG_fail
;
26321 Py_INCREF(Py_None
); resultobj
= Py_None
;
26328 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26329 PyObject
*resultobj
;
26330 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26333 PyObject
* obj0
= 0 ;
26334 PyObject
* obj1
= 0 ;
26335 char *kwnames
[] = {
26336 (char *) "self",(char *) "item", NULL
26339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26341 if (SWIG_arg_fail(1)) SWIG_fail
;
26343 arg2
= (long)(SWIG_As_long(obj1
));
26344 if (SWIG_arg_fail(2)) SWIG_fail
;
26347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26348 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
26350 wxPyEndAllowThreads(__tstate
);
26351 if (PyErr_Occurred()) SWIG_fail
;
26354 wxColour
* resultptr
;
26355 resultptr
= new wxColour((wxColour
&)(result
));
26356 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26364 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26365 PyObject
*resultobj
;
26366 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26368 wxColour
*arg3
= 0 ;
26370 PyObject
* obj0
= 0 ;
26371 PyObject
* obj1
= 0 ;
26372 PyObject
* obj2
= 0 ;
26373 char *kwnames
[] = {
26374 (char *) "self",(char *) "item",(char *) "col", NULL
26377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26379 if (SWIG_arg_fail(1)) SWIG_fail
;
26381 arg2
= (long)(SWIG_As_long(obj1
));
26382 if (SWIG_arg_fail(2)) SWIG_fail
;
26386 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26390 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
26392 wxPyEndAllowThreads(__tstate
);
26393 if (PyErr_Occurred()) SWIG_fail
;
26395 Py_INCREF(Py_None
); resultobj
= Py_None
;
26402 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26403 PyObject
*resultobj
;
26404 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26407 PyObject
* obj0
= 0 ;
26408 PyObject
* obj1
= 0 ;
26409 char *kwnames
[] = {
26410 (char *) "self",(char *) "item", NULL
26413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26415 if (SWIG_arg_fail(1)) SWIG_fail
;
26417 arg2
= (long)(SWIG_As_long(obj1
));
26418 if (SWIG_arg_fail(2)) SWIG_fail
;
26421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26422 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
26424 wxPyEndAllowThreads(__tstate
);
26425 if (PyErr_Occurred()) SWIG_fail
;
26428 wxColour
* resultptr
;
26429 resultptr
= new wxColour((wxColour
&)(result
));
26430 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26438 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26439 PyObject
*resultobj
;
26440 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26441 PyObject
*arg2
= (PyObject
*) 0 ;
26443 PyObject
* obj0
= 0 ;
26444 PyObject
* obj1
= 0 ;
26445 char *kwnames
[] = {
26446 (char *) "self",(char *) "func", NULL
26449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
26450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26451 if (SWIG_arg_fail(1)) SWIG_fail
;
26454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26455 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
26457 wxPyEndAllowThreads(__tstate
);
26458 if (PyErr_Occurred()) SWIG_fail
;
26461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26469 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26470 PyObject
*resultobj
;
26471 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26473 PyObject
* obj0
= 0 ;
26474 char *kwnames
[] = {
26475 (char *) "self", NULL
26478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
26479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26480 if (SWIG_arg_fail(1)) SWIG_fail
;
26482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26483 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
26485 wxPyEndAllowThreads(__tstate
);
26486 if (PyErr_Occurred()) SWIG_fail
;
26489 resultobj
= wxPyMake_wxObject(result
, 0);
26497 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26498 PyObject
*resultobj
;
26499 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26500 wxVisualAttributes result
;
26501 PyObject
* obj0
= 0 ;
26502 char *kwnames
[] = {
26503 (char *) "variant", NULL
26506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26509 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
26510 if (SWIG_arg_fail(1)) SWIG_fail
;
26514 if (!wxPyCheckForApp()) SWIG_fail
;
26515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26516 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26518 wxPyEndAllowThreads(__tstate
);
26519 if (PyErr_Occurred()) SWIG_fail
;
26522 wxVisualAttributes
* resultptr
;
26523 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
26524 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26532 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
26534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26535 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
26537 return Py_BuildValue((char *)"");
26539 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26540 PyObject
*resultobj
;
26541 wxWindow
*arg1
= (wxWindow
*) 0 ;
26542 int arg2
= (int) -1 ;
26543 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26544 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26545 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26546 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26547 long arg5
= (long) wxLC_REPORT
;
26548 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
26549 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
26550 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
26551 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26552 wxListView
*result
;
26555 bool temp7
= false ;
26556 PyObject
* obj0
= 0 ;
26557 PyObject
* obj1
= 0 ;
26558 PyObject
* obj2
= 0 ;
26559 PyObject
* obj3
= 0 ;
26560 PyObject
* obj4
= 0 ;
26561 PyObject
* obj5
= 0 ;
26562 PyObject
* obj6
= 0 ;
26563 char *kwnames
[] = {
26564 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26569 if (SWIG_arg_fail(1)) SWIG_fail
;
26572 arg2
= (int)(SWIG_As_int(obj1
));
26573 if (SWIG_arg_fail(2)) SWIG_fail
;
26579 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26585 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26590 arg5
= (long)(SWIG_As_long(obj4
));
26591 if (SWIG_arg_fail(5)) SWIG_fail
;
26596 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26597 if (SWIG_arg_fail(6)) SWIG_fail
;
26598 if (arg6
== NULL
) {
26599 SWIG_null_ref("wxValidator");
26601 if (SWIG_arg_fail(6)) SWIG_fail
;
26606 arg7
= wxString_in_helper(obj6
);
26607 if (arg7
== NULL
) SWIG_fail
;
26612 if (!wxPyCheckForApp()) SWIG_fail
;
26613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26614 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
26616 wxPyEndAllowThreads(__tstate
);
26617 if (PyErr_Occurred()) SWIG_fail
;
26619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26634 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26635 PyObject
*resultobj
;
26636 wxListView
*result
;
26637 char *kwnames
[] = {
26641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
26643 if (!wxPyCheckForApp()) SWIG_fail
;
26644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26645 result
= (wxListView
*)new wxListView();
26647 wxPyEndAllowThreads(__tstate
);
26648 if (PyErr_Occurred()) SWIG_fail
;
26650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26657 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26658 PyObject
*resultobj
;
26659 wxListView
*arg1
= (wxListView
*) 0 ;
26660 wxWindow
*arg2
= (wxWindow
*) 0 ;
26661 int arg3
= (int) -1 ;
26662 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26663 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26664 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26665 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26666 long arg6
= (long) wxLC_REPORT
;
26667 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
26668 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
26669 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
26670 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26674 bool temp8
= false ;
26675 PyObject
* obj0
= 0 ;
26676 PyObject
* obj1
= 0 ;
26677 PyObject
* obj2
= 0 ;
26678 PyObject
* obj3
= 0 ;
26679 PyObject
* obj4
= 0 ;
26680 PyObject
* obj5
= 0 ;
26681 PyObject
* obj6
= 0 ;
26682 PyObject
* obj7
= 0 ;
26683 char *kwnames
[] = {
26684 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
26688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26689 if (SWIG_arg_fail(1)) SWIG_fail
;
26690 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26691 if (SWIG_arg_fail(2)) SWIG_fail
;
26694 arg3
= (int)(SWIG_As_int(obj2
));
26695 if (SWIG_arg_fail(3)) SWIG_fail
;
26701 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26707 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26712 arg6
= (long)(SWIG_As_long(obj5
));
26713 if (SWIG_arg_fail(6)) SWIG_fail
;
26718 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26719 if (SWIG_arg_fail(7)) SWIG_fail
;
26720 if (arg7
== NULL
) {
26721 SWIG_null_ref("wxValidator");
26723 if (SWIG_arg_fail(7)) SWIG_fail
;
26728 arg8
= wxString_in_helper(obj7
);
26729 if (arg8
== NULL
) SWIG_fail
;
26734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26735 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
26737 wxPyEndAllowThreads(__tstate
);
26738 if (PyErr_Occurred()) SWIG_fail
;
26741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26757 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26758 PyObject
*resultobj
;
26759 wxListView
*arg1
= (wxListView
*) 0 ;
26761 bool arg3
= (bool) true ;
26762 PyObject
* obj0
= 0 ;
26763 PyObject
* obj1
= 0 ;
26764 PyObject
* obj2
= 0 ;
26765 char *kwnames
[] = {
26766 (char *) "self",(char *) "n",(char *) "on", NULL
26769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26771 if (SWIG_arg_fail(1)) SWIG_fail
;
26773 arg2
= (long)(SWIG_As_long(obj1
));
26774 if (SWIG_arg_fail(2)) SWIG_fail
;
26778 arg3
= (bool)(SWIG_As_bool(obj2
));
26779 if (SWIG_arg_fail(3)) SWIG_fail
;
26783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26784 (arg1
)->Select(arg2
,arg3
);
26786 wxPyEndAllowThreads(__tstate
);
26787 if (PyErr_Occurred()) SWIG_fail
;
26789 Py_INCREF(Py_None
); resultobj
= Py_None
;
26796 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26797 PyObject
*resultobj
;
26798 wxListView
*arg1
= (wxListView
*) 0 ;
26800 PyObject
* obj0
= 0 ;
26801 PyObject
* obj1
= 0 ;
26802 char *kwnames
[] = {
26803 (char *) "self",(char *) "index", NULL
26806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
26807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26808 if (SWIG_arg_fail(1)) SWIG_fail
;
26810 arg2
= (long)(SWIG_As_long(obj1
));
26811 if (SWIG_arg_fail(2)) SWIG_fail
;
26814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26815 (arg1
)->Focus(arg2
);
26817 wxPyEndAllowThreads(__tstate
);
26818 if (PyErr_Occurred()) SWIG_fail
;
26820 Py_INCREF(Py_None
); resultobj
= Py_None
;
26827 static PyObject
*_wrap_ListView_GetFocusedItem(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_GetFocusedItem",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
)->GetFocusedItem();
26843 wxPyEndAllowThreads(__tstate
);
26844 if (PyErr_Occurred()) SWIG_fail
;
26847 resultobj
= SWIG_From_long((long)(result
));
26855 static PyObject
*_wrap_ListView_GetNextSelected(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 *) "item", NULL
26866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",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
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
26877 wxPyEndAllowThreads(__tstate
);
26878 if (PyErr_Occurred()) SWIG_fail
;
26881 resultobj
= SWIG_From_long((long)(result
));
26889 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26890 PyObject
*resultobj
;
26891 wxListView
*arg1
= (wxListView
*) 0 ;
26893 PyObject
* obj0
= 0 ;
26894 char *kwnames
[] = {
26895 (char *) "self", NULL
26898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
26899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26900 if (SWIG_arg_fail(1)) SWIG_fail
;
26902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26903 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
26905 wxPyEndAllowThreads(__tstate
);
26906 if (PyErr_Occurred()) SWIG_fail
;
26909 resultobj
= SWIG_From_long((long)(result
));
26917 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26918 PyObject
*resultobj
;
26919 wxListView
*arg1
= (wxListView
*) 0 ;
26922 PyObject
* obj0
= 0 ;
26923 PyObject
* obj1
= 0 ;
26924 char *kwnames
[] = {
26925 (char *) "self",(char *) "index", NULL
26928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26930 if (SWIG_arg_fail(1)) SWIG_fail
;
26932 arg2
= (long)(SWIG_As_long(obj1
));
26933 if (SWIG_arg_fail(2)) SWIG_fail
;
26936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26937 result
= (bool)(arg1
)->IsSelected(arg2
);
26939 wxPyEndAllowThreads(__tstate
);
26940 if (PyErr_Occurred()) SWIG_fail
;
26943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26951 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26952 PyObject
*resultobj
;
26953 wxListView
*arg1
= (wxListView
*) 0 ;
26956 PyObject
* obj0
= 0 ;
26957 PyObject
* obj1
= 0 ;
26958 PyObject
* obj2
= 0 ;
26959 char *kwnames
[] = {
26960 (char *) "self",(char *) "col",(char *) "image", NULL
26963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26965 if (SWIG_arg_fail(1)) SWIG_fail
;
26967 arg2
= (int)(SWIG_As_int(obj1
));
26968 if (SWIG_arg_fail(2)) SWIG_fail
;
26971 arg3
= (int)(SWIG_As_int(obj2
));
26972 if (SWIG_arg_fail(3)) SWIG_fail
;
26975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26976 (arg1
)->SetColumnImage(arg2
,arg3
);
26978 wxPyEndAllowThreads(__tstate
);
26979 if (PyErr_Occurred()) SWIG_fail
;
26981 Py_INCREF(Py_None
); resultobj
= Py_None
;
26988 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26989 PyObject
*resultobj
;
26990 wxListView
*arg1
= (wxListView
*) 0 ;
26992 PyObject
* obj0
= 0 ;
26993 PyObject
* obj1
= 0 ;
26994 char *kwnames
[] = {
26995 (char *) "self",(char *) "col", NULL
26998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
26999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27000 if (SWIG_arg_fail(1)) SWIG_fail
;
27002 arg2
= (int)(SWIG_As_int(obj1
));
27003 if (SWIG_arg_fail(2)) SWIG_fail
;
27006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27007 (arg1
)->ClearColumnImage(arg2
);
27009 wxPyEndAllowThreads(__tstate
);
27010 if (PyErr_Occurred()) SWIG_fail
;
27012 Py_INCREF(Py_None
); resultobj
= Py_None
;
27019 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
27021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27022 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
27024 return Py_BuildValue((char *)"");
27026 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
27027 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
27032 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
27037 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27039 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27046 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27047 PyObject
*resultobj
;
27048 wxTreeItemId
*result
;
27049 char *kwnames
[] = {
27053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
27055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27056 result
= (wxTreeItemId
*)new wxTreeItemId();
27058 wxPyEndAllowThreads(__tstate
);
27059 if (PyErr_Occurred()) SWIG_fail
;
27061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
27068 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27069 PyObject
*resultobj
;
27070 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27071 PyObject
* obj0
= 0 ;
27072 char *kwnames
[] = {
27073 (char *) "self", NULL
27076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
27077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27078 if (SWIG_arg_fail(1)) SWIG_fail
;
27080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27083 wxPyEndAllowThreads(__tstate
);
27084 if (PyErr_Occurred()) SWIG_fail
;
27086 Py_INCREF(Py_None
); resultobj
= Py_None
;
27093 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27094 PyObject
*resultobj
;
27095 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27097 PyObject
* obj0
= 0 ;
27098 char *kwnames
[] = {
27099 (char *) "self", NULL
27102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
27103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27104 if (SWIG_arg_fail(1)) SWIG_fail
;
27106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27107 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
27109 wxPyEndAllowThreads(__tstate
);
27110 if (PyErr_Occurred()) SWIG_fail
;
27113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27121 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27122 PyObject
*resultobj
;
27123 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27124 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27126 PyObject
* obj0
= 0 ;
27127 PyObject
* obj1
= 0 ;
27128 char *kwnames
[] = {
27129 (char *) "self",(char *) "other", NULL
27132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27134 if (SWIG_arg_fail(1)) SWIG_fail
;
27135 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27136 if (SWIG_arg_fail(2)) SWIG_fail
;
27138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27139 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
27141 wxPyEndAllowThreads(__tstate
);
27142 if (PyErr_Occurred()) SWIG_fail
;
27145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27153 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27154 PyObject
*resultobj
;
27155 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27156 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27158 PyObject
* obj0
= 0 ;
27159 PyObject
* obj1
= 0 ;
27160 char *kwnames
[] = {
27161 (char *) "self",(char *) "other", NULL
27164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27166 if (SWIG_arg_fail(1)) SWIG_fail
;
27167 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27168 if (SWIG_arg_fail(2)) SWIG_fail
;
27170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27171 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
27173 wxPyEndAllowThreads(__tstate
);
27174 if (PyErr_Occurred()) SWIG_fail
;
27177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27185 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27186 PyObject
*resultobj
;
27187 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27188 void *arg2
= (void *) 0 ;
27189 PyObject
* obj0
= 0 ;
27190 PyObject
* obj1
= 0 ;
27191 char *kwnames
[] = {
27192 (char *) "self",(char *) "m_pItem", NULL
27195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27197 if (SWIG_arg_fail(1)) SWIG_fail
;
27199 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
27200 SWIG_arg_fail(2);SWIG_fail
;
27203 if (arg1
) (arg1
)->m_pItem
= arg2
;
27205 Py_INCREF(Py_None
); resultobj
= Py_None
;
27212 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27213 PyObject
*resultobj
;
27214 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27216 PyObject
* obj0
= 0 ;
27217 char *kwnames
[] = {
27218 (char *) "self", NULL
27221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
27222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27223 if (SWIG_arg_fail(1)) SWIG_fail
;
27224 result
= (void *) ((arg1
)->m_pItem
);
27226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
27233 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
27235 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27236 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
27238 return Py_BuildValue((char *)"");
27240 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27241 PyObject
*resultobj
;
27242 PyObject
*arg1
= (PyObject
*) NULL
;
27243 wxPyTreeItemData
*result
;
27244 PyObject
* obj0
= 0 ;
27245 char *kwnames
[] = {
27246 (char *) "obj", NULL
27249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
27254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27255 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
27257 wxPyEndAllowThreads(__tstate
);
27258 if (PyErr_Occurred()) SWIG_fail
;
27260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
27267 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27268 PyObject
*resultobj
;
27269 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27271 PyObject
* obj0
= 0 ;
27272 char *kwnames
[] = {
27273 (char *) "self", NULL
27276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
27277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27278 if (SWIG_arg_fail(1)) SWIG_fail
;
27280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27281 result
= (PyObject
*)(arg1
)->GetData();
27283 wxPyEndAllowThreads(__tstate
);
27284 if (PyErr_Occurred()) SWIG_fail
;
27286 resultobj
= result
;
27293 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27294 PyObject
*resultobj
;
27295 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27296 PyObject
*arg2
= (PyObject
*) 0 ;
27297 PyObject
* obj0
= 0 ;
27298 PyObject
* obj1
= 0 ;
27299 char *kwnames
[] = {
27300 (char *) "self",(char *) "obj", NULL
27303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27305 if (SWIG_arg_fail(1)) SWIG_fail
;
27308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27309 (arg1
)->SetData(arg2
);
27311 wxPyEndAllowThreads(__tstate
);
27312 if (PyErr_Occurred()) SWIG_fail
;
27314 Py_INCREF(Py_None
); resultobj
= Py_None
;
27321 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27322 PyObject
*resultobj
;
27323 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27324 wxTreeItemId
*result
;
27325 PyObject
* obj0
= 0 ;
27326 char *kwnames
[] = {
27327 (char *) "self", NULL
27330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
27331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27332 if (SWIG_arg_fail(1)) SWIG_fail
;
27334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27336 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
27337 result
= (wxTreeItemId
*) &_result_ref
;
27340 wxPyEndAllowThreads(__tstate
);
27341 if (PyErr_Occurred()) SWIG_fail
;
27343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
27350 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27351 PyObject
*resultobj
;
27352 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27353 wxTreeItemId
*arg2
= 0 ;
27354 PyObject
* obj0
= 0 ;
27355 PyObject
* obj1
= 0 ;
27356 char *kwnames
[] = {
27357 (char *) "self",(char *) "id", NULL
27360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27362 if (SWIG_arg_fail(1)) SWIG_fail
;
27364 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27365 if (SWIG_arg_fail(2)) SWIG_fail
;
27366 if (arg2
== NULL
) {
27367 SWIG_null_ref("wxTreeItemId");
27369 if (SWIG_arg_fail(2)) SWIG_fail
;
27372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27373 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
27375 wxPyEndAllowThreads(__tstate
);
27376 if (PyErr_Occurred()) SWIG_fail
;
27378 Py_INCREF(Py_None
); resultobj
= Py_None
;
27385 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27386 PyObject
*resultobj
;
27387 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27388 PyObject
* obj0
= 0 ;
27389 char *kwnames
[] = {
27390 (char *) "self", NULL
27393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
27394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27395 if (SWIG_arg_fail(1)) SWIG_fail
;
27397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27398 wxPyTreeItemData_Destroy(arg1
);
27400 wxPyEndAllowThreads(__tstate
);
27401 if (PyErr_Occurred()) SWIG_fail
;
27403 Py_INCREF(Py_None
); resultobj
= Py_None
;
27410 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
27412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27413 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
27415 return Py_BuildValue((char *)"");
27417 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27418 PyObject
*resultobj
;
27419 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27420 int arg2
= (int) 0 ;
27421 wxTreeEvent
*result
;
27422 PyObject
* obj0
= 0 ;
27423 PyObject
* obj1
= 0 ;
27424 char *kwnames
[] = {
27425 (char *) "commandType",(char *) "id", NULL
27428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27431 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
27432 if (SWIG_arg_fail(1)) SWIG_fail
;
27437 arg2
= (int)(SWIG_As_int(obj1
));
27438 if (SWIG_arg_fail(2)) SWIG_fail
;
27442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27443 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
27445 wxPyEndAllowThreads(__tstate
);
27446 if (PyErr_Occurred()) SWIG_fail
;
27448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
27455 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27456 PyObject
*resultobj
;
27457 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27458 wxTreeItemId result
;
27459 PyObject
* obj0
= 0 ;
27460 char *kwnames
[] = {
27461 (char *) "self", NULL
27464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
27465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27466 if (SWIG_arg_fail(1)) SWIG_fail
;
27468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27469 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
27471 wxPyEndAllowThreads(__tstate
);
27472 if (PyErr_Occurred()) SWIG_fail
;
27475 wxTreeItemId
* resultptr
;
27476 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27477 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27485 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27486 PyObject
*resultobj
;
27487 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27488 wxTreeItemId
*arg2
= 0 ;
27489 PyObject
* obj0
= 0 ;
27490 PyObject
* obj1
= 0 ;
27491 char *kwnames
[] = {
27492 (char *) "self",(char *) "item", NULL
27495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27497 if (SWIG_arg_fail(1)) SWIG_fail
;
27499 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27500 if (SWIG_arg_fail(2)) SWIG_fail
;
27501 if (arg2
== NULL
) {
27502 SWIG_null_ref("wxTreeItemId");
27504 if (SWIG_arg_fail(2)) SWIG_fail
;
27507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27508 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
27510 wxPyEndAllowThreads(__tstate
);
27511 if (PyErr_Occurred()) SWIG_fail
;
27513 Py_INCREF(Py_None
); resultobj
= Py_None
;
27520 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27521 PyObject
*resultobj
;
27522 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27523 wxTreeItemId result
;
27524 PyObject
* obj0
= 0 ;
27525 char *kwnames
[] = {
27526 (char *) "self", NULL
27529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
27530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27531 if (SWIG_arg_fail(1)) SWIG_fail
;
27533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27534 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
27536 wxPyEndAllowThreads(__tstate
);
27537 if (PyErr_Occurred()) SWIG_fail
;
27540 wxTreeItemId
* resultptr
;
27541 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27542 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27550 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27551 PyObject
*resultobj
;
27552 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27553 wxTreeItemId
*arg2
= 0 ;
27554 PyObject
* obj0
= 0 ;
27555 PyObject
* obj1
= 0 ;
27556 char *kwnames
[] = {
27557 (char *) "self",(char *) "item", NULL
27560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27562 if (SWIG_arg_fail(1)) SWIG_fail
;
27564 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27565 if (SWIG_arg_fail(2)) SWIG_fail
;
27566 if (arg2
== NULL
) {
27567 SWIG_null_ref("wxTreeItemId");
27569 if (SWIG_arg_fail(2)) SWIG_fail
;
27572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27573 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
27575 wxPyEndAllowThreads(__tstate
);
27576 if (PyErr_Occurred()) SWIG_fail
;
27578 Py_INCREF(Py_None
); resultobj
= Py_None
;
27585 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27586 PyObject
*resultobj
;
27587 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27589 PyObject
* obj0
= 0 ;
27590 char *kwnames
[] = {
27591 (char *) "self", NULL
27594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",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();
27599 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
27601 wxPyEndAllowThreads(__tstate
);
27602 if (PyErr_Occurred()) SWIG_fail
;
27605 wxPoint
* resultptr
;
27606 resultptr
= new wxPoint((wxPoint
&)(result
));
27607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27615 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27616 PyObject
*resultobj
;
27617 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27618 wxPoint
*arg2
= 0 ;
27620 PyObject
* obj0
= 0 ;
27621 PyObject
* obj1
= 0 ;
27622 char *kwnames
[] = {
27623 (char *) "self",(char *) "pt", NULL
27626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
27627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27628 if (SWIG_arg_fail(1)) SWIG_fail
;
27631 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27635 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
27637 wxPyEndAllowThreads(__tstate
);
27638 if (PyErr_Occurred()) SWIG_fail
;
27640 Py_INCREF(Py_None
); resultobj
= Py_None
;
27647 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27648 PyObject
*resultobj
;
27649 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27650 wxKeyEvent
*result
;
27651 PyObject
* obj0
= 0 ;
27652 char *kwnames
[] = {
27653 (char *) "self", NULL
27656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
27657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27658 if (SWIG_arg_fail(1)) SWIG_fail
;
27660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27662 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
27663 result
= (wxKeyEvent
*) &_result_ref
;
27666 wxPyEndAllowThreads(__tstate
);
27667 if (PyErr_Occurred()) SWIG_fail
;
27669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
27676 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27677 PyObject
*resultobj
;
27678 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27680 PyObject
* obj0
= 0 ;
27681 char *kwnames
[] = {
27682 (char *) "self", NULL
27685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
27686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27687 if (SWIG_arg_fail(1)) SWIG_fail
;
27689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27690 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
27692 wxPyEndAllowThreads(__tstate
);
27693 if (PyErr_Occurred()) SWIG_fail
;
27696 resultobj
= SWIG_From_int((int)(result
));
27704 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27705 PyObject
*resultobj
;
27706 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27707 wxKeyEvent
*arg2
= 0 ;
27708 PyObject
* obj0
= 0 ;
27709 PyObject
* obj1
= 0 ;
27710 char *kwnames
[] = {
27711 (char *) "self",(char *) "evt", NULL
27714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27716 if (SWIG_arg_fail(1)) SWIG_fail
;
27718 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
27719 if (SWIG_arg_fail(2)) SWIG_fail
;
27720 if (arg2
== NULL
) {
27721 SWIG_null_ref("wxKeyEvent");
27723 if (SWIG_arg_fail(2)) SWIG_fail
;
27726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27727 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
27729 wxPyEndAllowThreads(__tstate
);
27730 if (PyErr_Occurred()) SWIG_fail
;
27732 Py_INCREF(Py_None
); resultobj
= Py_None
;
27739 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27740 PyObject
*resultobj
;
27741 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27743 PyObject
* obj0
= 0 ;
27744 char *kwnames
[] = {
27745 (char *) "self", NULL
27748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
27749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27750 if (SWIG_arg_fail(1)) SWIG_fail
;
27752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27754 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
27755 result
= (wxString
*) &_result_ref
;
27758 wxPyEndAllowThreads(__tstate
);
27759 if (PyErr_Occurred()) SWIG_fail
;
27763 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27765 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27774 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27775 PyObject
*resultobj
;
27776 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27777 wxString
*arg2
= 0 ;
27778 bool temp2
= false ;
27779 PyObject
* obj0
= 0 ;
27780 PyObject
* obj1
= 0 ;
27781 char *kwnames
[] = {
27782 (char *) "self",(char *) "label", NULL
27785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27787 if (SWIG_arg_fail(1)) SWIG_fail
;
27789 arg2
= wxString_in_helper(obj1
);
27790 if (arg2
== NULL
) SWIG_fail
;
27794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27795 (arg1
)->SetLabel((wxString
const &)*arg2
);
27797 wxPyEndAllowThreads(__tstate
);
27798 if (PyErr_Occurred()) SWIG_fail
;
27800 Py_INCREF(Py_None
); resultobj
= Py_None
;
27815 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27816 PyObject
*resultobj
;
27817 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27819 PyObject
* obj0
= 0 ;
27820 char *kwnames
[] = {
27821 (char *) "self", NULL
27824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
27825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27826 if (SWIG_arg_fail(1)) SWIG_fail
;
27828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27829 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
27831 wxPyEndAllowThreads(__tstate
);
27832 if (PyErr_Occurred()) SWIG_fail
;
27835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27843 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27844 PyObject
*resultobj
;
27845 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27847 PyObject
* obj0
= 0 ;
27848 PyObject
* obj1
= 0 ;
27849 char *kwnames
[] = {
27850 (char *) "self",(char *) "editCancelled", NULL
27853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
27854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27855 if (SWIG_arg_fail(1)) SWIG_fail
;
27857 arg2
= (bool)(SWIG_As_bool(obj1
));
27858 if (SWIG_arg_fail(2)) SWIG_fail
;
27861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27862 (arg1
)->SetEditCanceled(arg2
);
27864 wxPyEndAllowThreads(__tstate
);
27865 if (PyErr_Occurred()) SWIG_fail
;
27867 Py_INCREF(Py_None
); resultobj
= Py_None
;
27874 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27875 PyObject
*resultobj
;
27876 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27877 wxString
*arg2
= 0 ;
27878 bool temp2
= false ;
27879 PyObject
* obj0
= 0 ;
27880 PyObject
* obj1
= 0 ;
27881 char *kwnames
[] = {
27882 (char *) "self",(char *) "toolTip", NULL
27885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27887 if (SWIG_arg_fail(1)) SWIG_fail
;
27889 arg2
= wxString_in_helper(obj1
);
27890 if (arg2
== NULL
) SWIG_fail
;
27894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27895 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27897 wxPyEndAllowThreads(__tstate
);
27898 if (PyErr_Occurred()) SWIG_fail
;
27900 Py_INCREF(Py_None
); resultobj
= Py_None
;
27915 static PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27916 PyObject
*resultobj
;
27917 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27919 PyObject
* obj0
= 0 ;
27920 char *kwnames
[] = {
27921 (char *) "self", NULL
27924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetToolTip",kwnames
,&obj0
)) goto fail
;
27925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27926 if (SWIG_arg_fail(1)) SWIG_fail
;
27928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27929 result
= (arg1
)->GetToolTip();
27931 wxPyEndAllowThreads(__tstate
);
27932 if (PyErr_Occurred()) SWIG_fail
;
27936 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27938 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27947 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
27949 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27950 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
27952 return Py_BuildValue((char *)"");
27954 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27955 PyObject
*resultobj
;
27956 wxWindow
*arg1
= (wxWindow
*) 0 ;
27957 int arg2
= (int) -1 ;
27958 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27959 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27960 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27961 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27962 long arg5
= (long) wxTR_DEFAULT_STYLE
;
27963 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27964 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27965 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
27966 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27967 wxPyTreeCtrl
*result
;
27970 bool temp7
= false ;
27971 PyObject
* obj0
= 0 ;
27972 PyObject
* obj1
= 0 ;
27973 PyObject
* obj2
= 0 ;
27974 PyObject
* obj3
= 0 ;
27975 PyObject
* obj4
= 0 ;
27976 PyObject
* obj5
= 0 ;
27977 PyObject
* obj6
= 0 ;
27978 char *kwnames
[] = {
27979 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27984 if (SWIG_arg_fail(1)) SWIG_fail
;
27987 arg2
= (int)(SWIG_As_int(obj1
));
27988 if (SWIG_arg_fail(2)) SWIG_fail
;
27994 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28000 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28005 arg5
= (long)(SWIG_As_long(obj4
));
28006 if (SWIG_arg_fail(5)) SWIG_fail
;
28011 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28012 if (SWIG_arg_fail(6)) SWIG_fail
;
28013 if (arg6
== NULL
) {
28014 SWIG_null_ref("wxValidator");
28016 if (SWIG_arg_fail(6)) SWIG_fail
;
28021 arg7
= wxString_in_helper(obj6
);
28022 if (arg7
== NULL
) SWIG_fail
;
28027 if (!wxPyCheckForApp()) SWIG_fail
;
28028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28029 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28031 wxPyEndAllowThreads(__tstate
);
28032 if (PyErr_Occurred()) SWIG_fail
;
28034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28049 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28050 PyObject
*resultobj
;
28051 wxPyTreeCtrl
*result
;
28052 char *kwnames
[] = {
28056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
28058 if (!wxPyCheckForApp()) SWIG_fail
;
28059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28060 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
28062 wxPyEndAllowThreads(__tstate
);
28063 if (PyErr_Occurred()) SWIG_fail
;
28065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28072 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28073 PyObject
*resultobj
;
28074 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28075 wxWindow
*arg2
= (wxWindow
*) 0 ;
28076 int arg3
= (int) -1 ;
28077 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28078 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28079 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28080 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28081 long arg6
= (long) wxTR_DEFAULT_STYLE
;
28082 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28083 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28084 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
28085 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28089 bool temp8
= false ;
28090 PyObject
* obj0
= 0 ;
28091 PyObject
* obj1
= 0 ;
28092 PyObject
* obj2
= 0 ;
28093 PyObject
* obj3
= 0 ;
28094 PyObject
* obj4
= 0 ;
28095 PyObject
* obj5
= 0 ;
28096 PyObject
* obj6
= 0 ;
28097 PyObject
* obj7
= 0 ;
28098 char *kwnames
[] = {
28099 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
28103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28104 if (SWIG_arg_fail(1)) SWIG_fail
;
28105 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28106 if (SWIG_arg_fail(2)) SWIG_fail
;
28109 arg3
= (int)(SWIG_As_int(obj2
));
28110 if (SWIG_arg_fail(3)) SWIG_fail
;
28116 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28122 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28127 arg6
= (long)(SWIG_As_long(obj5
));
28128 if (SWIG_arg_fail(6)) SWIG_fail
;
28133 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28134 if (SWIG_arg_fail(7)) SWIG_fail
;
28135 if (arg7
== NULL
) {
28136 SWIG_null_ref("wxValidator");
28138 if (SWIG_arg_fail(7)) SWIG_fail
;
28143 arg8
= wxString_in_helper(obj7
);
28144 if (arg8
== NULL
) SWIG_fail
;
28149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28150 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28152 wxPyEndAllowThreads(__tstate
);
28153 if (PyErr_Occurred()) SWIG_fail
;
28156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28172 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28173 PyObject
*resultobj
;
28174 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28175 PyObject
*arg2
= (PyObject
*) 0 ;
28176 PyObject
*arg3
= (PyObject
*) 0 ;
28177 PyObject
* obj0
= 0 ;
28178 PyObject
* obj1
= 0 ;
28179 PyObject
* obj2
= 0 ;
28180 char *kwnames
[] = {
28181 (char *) "self",(char *) "self",(char *) "_class", NULL
28184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28186 if (SWIG_arg_fail(1)) SWIG_fail
;
28190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28191 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28193 wxPyEndAllowThreads(__tstate
);
28194 if (PyErr_Occurred()) SWIG_fail
;
28196 Py_INCREF(Py_None
); resultobj
= Py_None
;
28203 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28204 PyObject
*resultobj
;
28205 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28207 PyObject
* obj0
= 0 ;
28208 char *kwnames
[] = {
28209 (char *) "self", NULL
28212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
28213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28214 if (SWIG_arg_fail(1)) SWIG_fail
;
28216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28217 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
28219 wxPyEndAllowThreads(__tstate
);
28220 if (PyErr_Occurred()) SWIG_fail
;
28223 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28231 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28232 PyObject
*resultobj
;
28233 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28234 unsigned int result
;
28235 PyObject
* obj0
= 0 ;
28236 char *kwnames
[] = {
28237 (char *) "self", NULL
28240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
28241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28242 if (SWIG_arg_fail(1)) SWIG_fail
;
28244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28245 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
28247 wxPyEndAllowThreads(__tstate
);
28248 if (PyErr_Occurred()) SWIG_fail
;
28251 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28259 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28260 PyObject
*resultobj
;
28261 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28262 unsigned int arg2
;
28263 PyObject
* obj0
= 0 ;
28264 PyObject
* obj1
= 0 ;
28265 char *kwnames
[] = {
28266 (char *) "self",(char *) "indent", NULL
28269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
28270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28271 if (SWIG_arg_fail(1)) SWIG_fail
;
28273 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28274 if (SWIG_arg_fail(2)) SWIG_fail
;
28277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28278 (arg1
)->SetIndent(arg2
);
28280 wxPyEndAllowThreads(__tstate
);
28281 if (PyErr_Occurred()) SWIG_fail
;
28283 Py_INCREF(Py_None
); resultobj
= Py_None
;
28290 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28291 PyObject
*resultobj
;
28292 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28293 unsigned int result
;
28294 PyObject
* obj0
= 0 ;
28295 char *kwnames
[] = {
28296 (char *) "self", NULL
28299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
28300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28301 if (SWIG_arg_fail(1)) SWIG_fail
;
28303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28304 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
28306 wxPyEndAllowThreads(__tstate
);
28307 if (PyErr_Occurred()) SWIG_fail
;
28310 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28318 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28319 PyObject
*resultobj
;
28320 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28321 unsigned int arg2
;
28322 PyObject
* obj0
= 0 ;
28323 PyObject
* obj1
= 0 ;
28324 char *kwnames
[] = {
28325 (char *) "self",(char *) "spacing", NULL
28328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
28329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28330 if (SWIG_arg_fail(1)) SWIG_fail
;
28332 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28333 if (SWIG_arg_fail(2)) SWIG_fail
;
28336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28337 (arg1
)->SetSpacing(arg2
);
28339 wxPyEndAllowThreads(__tstate
);
28340 if (PyErr_Occurred()) SWIG_fail
;
28342 Py_INCREF(Py_None
); resultobj
= Py_None
;
28349 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28350 PyObject
*resultobj
;
28351 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28352 wxImageList
*result
;
28353 PyObject
* obj0
= 0 ;
28354 char *kwnames
[] = {
28355 (char *) "self", NULL
28358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
28359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28360 if (SWIG_arg_fail(1)) SWIG_fail
;
28362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28363 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
28365 wxPyEndAllowThreads(__tstate
);
28366 if (PyErr_Occurred()) SWIG_fail
;
28369 resultobj
= wxPyMake_wxObject(result
, 0);
28377 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28378 PyObject
*resultobj
;
28379 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28380 wxImageList
*result
;
28381 PyObject
* obj0
= 0 ;
28382 char *kwnames
[] = {
28383 (char *) "self", NULL
28386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
28387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28388 if (SWIG_arg_fail(1)) SWIG_fail
;
28390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28391 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
28393 wxPyEndAllowThreads(__tstate
);
28394 if (PyErr_Occurred()) SWIG_fail
;
28397 resultobj
= wxPyMake_wxObject(result
, 0);
28405 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28406 PyObject
*resultobj
;
28407 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28408 wxImageList
*arg2
= (wxImageList
*) 0 ;
28409 PyObject
* obj0
= 0 ;
28410 PyObject
* obj1
= 0 ;
28411 char *kwnames
[] = {
28412 (char *) "self",(char *) "imageList", NULL
28415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28417 if (SWIG_arg_fail(1)) SWIG_fail
;
28418 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28419 if (SWIG_arg_fail(2)) SWIG_fail
;
28421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28422 (arg1
)->SetImageList(arg2
);
28424 wxPyEndAllowThreads(__tstate
);
28425 if (PyErr_Occurred()) SWIG_fail
;
28427 Py_INCREF(Py_None
); resultobj
= Py_None
;
28434 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28435 PyObject
*resultobj
;
28436 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28437 wxImageList
*arg2
= (wxImageList
*) 0 ;
28438 PyObject
* obj0
= 0 ;
28439 PyObject
* obj1
= 0 ;
28440 char *kwnames
[] = {
28441 (char *) "self",(char *) "imageList", NULL
28444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28446 if (SWIG_arg_fail(1)) SWIG_fail
;
28447 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28448 if (SWIG_arg_fail(2)) SWIG_fail
;
28450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28451 (arg1
)->SetStateImageList(arg2
);
28453 wxPyEndAllowThreads(__tstate
);
28454 if (PyErr_Occurred()) SWIG_fail
;
28456 Py_INCREF(Py_None
); resultobj
= Py_None
;
28463 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28464 PyObject
*resultobj
;
28465 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28466 wxImageList
*arg2
= (wxImageList
*) 0 ;
28467 PyObject
* obj0
= 0 ;
28468 PyObject
* obj1
= 0 ;
28469 char *kwnames
[] = {
28470 (char *) "self",(char *) "imageList", NULL
28473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28475 if (SWIG_arg_fail(1)) SWIG_fail
;
28476 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28477 if (SWIG_arg_fail(2)) SWIG_fail
;
28479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28480 (arg1
)->AssignImageList(arg2
);
28482 wxPyEndAllowThreads(__tstate
);
28483 if (PyErr_Occurred()) SWIG_fail
;
28485 Py_INCREF(Py_None
); resultobj
= Py_None
;
28492 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28493 PyObject
*resultobj
;
28494 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28495 wxImageList
*arg2
= (wxImageList
*) 0 ;
28496 PyObject
* obj0
= 0 ;
28497 PyObject
* obj1
= 0 ;
28498 char *kwnames
[] = {
28499 (char *) "self",(char *) "imageList", NULL
28502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28504 if (SWIG_arg_fail(1)) SWIG_fail
;
28505 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28506 if (SWIG_arg_fail(2)) SWIG_fail
;
28508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28509 (arg1
)->AssignStateImageList(arg2
);
28511 wxPyEndAllowThreads(__tstate
);
28512 if (PyErr_Occurred()) SWIG_fail
;
28514 Py_INCREF(Py_None
); resultobj
= Py_None
;
28521 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28522 PyObject
*resultobj
;
28523 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28524 wxTreeItemId
*arg2
= 0 ;
28526 PyObject
* obj0
= 0 ;
28527 PyObject
* obj1
= 0 ;
28528 char *kwnames
[] = {
28529 (char *) "self",(char *) "item", NULL
28532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
28533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28534 if (SWIG_arg_fail(1)) SWIG_fail
;
28536 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28537 if (SWIG_arg_fail(2)) SWIG_fail
;
28538 if (arg2
== NULL
) {
28539 SWIG_null_ref("wxTreeItemId");
28541 if (SWIG_arg_fail(2)) SWIG_fail
;
28544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28545 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
28547 wxPyEndAllowThreads(__tstate
);
28548 if (PyErr_Occurred()) SWIG_fail
;
28552 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28554 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28563 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28564 PyObject
*resultobj
;
28565 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28566 wxTreeItemId
*arg2
= 0 ;
28567 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28569 PyObject
* obj0
= 0 ;
28570 PyObject
* obj1
= 0 ;
28571 PyObject
* obj2
= 0 ;
28572 char *kwnames
[] = {
28573 (char *) "self",(char *) "item",(char *) "which", NULL
28576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28578 if (SWIG_arg_fail(1)) SWIG_fail
;
28580 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28581 if (SWIG_arg_fail(2)) SWIG_fail
;
28582 if (arg2
== NULL
) {
28583 SWIG_null_ref("wxTreeItemId");
28585 if (SWIG_arg_fail(2)) SWIG_fail
;
28589 arg3
= (wxTreeItemIcon
)(SWIG_As_int(obj2
));
28590 if (SWIG_arg_fail(3)) SWIG_fail
;
28594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28595 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
28597 wxPyEndAllowThreads(__tstate
);
28598 if (PyErr_Occurred()) SWIG_fail
;
28601 resultobj
= SWIG_From_int((int)(result
));
28609 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28610 PyObject
*resultobj
;
28611 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28612 wxTreeItemId
*arg2
= 0 ;
28613 wxPyTreeItemData
*result
;
28614 PyObject
* obj0
= 0 ;
28615 PyObject
* obj1
= 0 ;
28616 char *kwnames
[] = {
28617 (char *) "self",(char *) "item", NULL
28620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
28621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28622 if (SWIG_arg_fail(1)) SWIG_fail
;
28624 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28625 if (SWIG_arg_fail(2)) SWIG_fail
;
28626 if (arg2
== NULL
) {
28627 SWIG_null_ref("wxTreeItemId");
28629 if (SWIG_arg_fail(2)) SWIG_fail
;
28632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28633 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
28635 wxPyEndAllowThreads(__tstate
);
28636 if (PyErr_Occurred()) SWIG_fail
;
28638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
28645 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28646 PyObject
*resultobj
;
28647 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28648 wxTreeItemId
*arg2
= 0 ;
28650 PyObject
* obj0
= 0 ;
28651 PyObject
* obj1
= 0 ;
28652 char *kwnames
[] = {
28653 (char *) "self",(char *) "item", NULL
28656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
28657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28658 if (SWIG_arg_fail(1)) SWIG_fail
;
28660 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28661 if (SWIG_arg_fail(2)) SWIG_fail
;
28662 if (arg2
== NULL
) {
28663 SWIG_null_ref("wxTreeItemId");
28665 if (SWIG_arg_fail(2)) SWIG_fail
;
28668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28669 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
28671 wxPyEndAllowThreads(__tstate
);
28672 if (PyErr_Occurred()) SWIG_fail
;
28674 resultobj
= result
;
28681 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28682 PyObject
*resultobj
;
28683 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28684 wxTreeItemId
*arg2
= 0 ;
28686 PyObject
* obj0
= 0 ;
28687 PyObject
* obj1
= 0 ;
28688 char *kwnames
[] = {
28689 (char *) "self",(char *) "item", NULL
28692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28694 if (SWIG_arg_fail(1)) SWIG_fail
;
28696 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28697 if (SWIG_arg_fail(2)) SWIG_fail
;
28698 if (arg2
== NULL
) {
28699 SWIG_null_ref("wxTreeItemId");
28701 if (SWIG_arg_fail(2)) SWIG_fail
;
28704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28705 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
28707 wxPyEndAllowThreads(__tstate
);
28708 if (PyErr_Occurred()) SWIG_fail
;
28711 wxColour
* resultptr
;
28712 resultptr
= new wxColour((wxColour
&)(result
));
28713 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28721 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28722 PyObject
*resultobj
;
28723 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28724 wxTreeItemId
*arg2
= 0 ;
28726 PyObject
* obj0
= 0 ;
28727 PyObject
* obj1
= 0 ;
28728 char *kwnames
[] = {
28729 (char *) "self",(char *) "item", NULL
28732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28734 if (SWIG_arg_fail(1)) SWIG_fail
;
28736 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28737 if (SWIG_arg_fail(2)) SWIG_fail
;
28738 if (arg2
== NULL
) {
28739 SWIG_null_ref("wxTreeItemId");
28741 if (SWIG_arg_fail(2)) SWIG_fail
;
28744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28745 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
28747 wxPyEndAllowThreads(__tstate
);
28748 if (PyErr_Occurred()) SWIG_fail
;
28751 wxColour
* resultptr
;
28752 resultptr
= new wxColour((wxColour
&)(result
));
28753 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28761 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28762 PyObject
*resultobj
;
28763 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28764 wxTreeItemId
*arg2
= 0 ;
28766 PyObject
* obj0
= 0 ;
28767 PyObject
* obj1
= 0 ;
28768 char *kwnames
[] = {
28769 (char *) "self",(char *) "item", NULL
28772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28785 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
28787 wxPyEndAllowThreads(__tstate
);
28788 if (PyErr_Occurred()) SWIG_fail
;
28791 wxFont
* resultptr
;
28792 resultptr
= new wxFont((wxFont
&)(result
));
28793 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
28801 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28802 PyObject
*resultobj
;
28803 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28804 wxTreeItemId
*arg2
= 0 ;
28805 wxString
*arg3
= 0 ;
28806 bool temp3
= false ;
28807 PyObject
* obj0
= 0 ;
28808 PyObject
* obj1
= 0 ;
28809 PyObject
* obj2
= 0 ;
28810 char *kwnames
[] = {
28811 (char *) "self",(char *) "item",(char *) "text", NULL
28814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28816 if (SWIG_arg_fail(1)) SWIG_fail
;
28818 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28819 if (SWIG_arg_fail(2)) SWIG_fail
;
28820 if (arg2
== NULL
) {
28821 SWIG_null_ref("wxTreeItemId");
28823 if (SWIG_arg_fail(2)) SWIG_fail
;
28826 arg3
= wxString_in_helper(obj2
);
28827 if (arg3
== NULL
) SWIG_fail
;
28831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28832 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
28834 wxPyEndAllowThreads(__tstate
);
28835 if (PyErr_Occurred()) SWIG_fail
;
28837 Py_INCREF(Py_None
); resultobj
= Py_None
;
28852 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28853 PyObject
*resultobj
;
28854 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28855 wxTreeItemId
*arg2
= 0 ;
28857 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28858 PyObject
* obj0
= 0 ;
28859 PyObject
* obj1
= 0 ;
28860 PyObject
* obj2
= 0 ;
28861 PyObject
* obj3
= 0 ;
28862 char *kwnames
[] = {
28863 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28868 if (SWIG_arg_fail(1)) SWIG_fail
;
28870 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28871 if (SWIG_arg_fail(2)) SWIG_fail
;
28872 if (arg2
== NULL
) {
28873 SWIG_null_ref("wxTreeItemId");
28875 if (SWIG_arg_fail(2)) SWIG_fail
;
28878 arg3
= (int)(SWIG_As_int(obj2
));
28879 if (SWIG_arg_fail(3)) SWIG_fail
;
28883 arg4
= (wxTreeItemIcon
)(SWIG_As_int(obj3
));
28884 if (SWIG_arg_fail(4)) SWIG_fail
;
28888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28889 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
28891 wxPyEndAllowThreads(__tstate
);
28892 if (PyErr_Occurred()) SWIG_fail
;
28894 Py_INCREF(Py_None
); resultobj
= Py_None
;
28901 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28902 PyObject
*resultobj
;
28903 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28904 wxTreeItemId
*arg2
= 0 ;
28905 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
28906 PyObject
* obj0
= 0 ;
28907 PyObject
* obj1
= 0 ;
28908 PyObject
* obj2
= 0 ;
28909 char *kwnames
[] = {
28910 (char *) "self",(char *) "item",(char *) "data", NULL
28913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28915 if (SWIG_arg_fail(1)) SWIG_fail
;
28917 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28918 if (SWIG_arg_fail(2)) SWIG_fail
;
28919 if (arg2
== NULL
) {
28920 SWIG_null_ref("wxTreeItemId");
28922 if (SWIG_arg_fail(2)) SWIG_fail
;
28924 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28925 if (SWIG_arg_fail(3)) SWIG_fail
;
28927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28928 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28930 wxPyEndAllowThreads(__tstate
);
28931 if (PyErr_Occurred()) SWIG_fail
;
28933 Py_INCREF(Py_None
); resultobj
= Py_None
;
28940 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28941 PyObject
*resultobj
;
28942 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28943 wxTreeItemId
*arg2
= 0 ;
28944 PyObject
*arg3
= (PyObject
*) 0 ;
28945 PyObject
* obj0
= 0 ;
28946 PyObject
* obj1
= 0 ;
28947 PyObject
* obj2
= 0 ;
28948 char *kwnames
[] = {
28949 (char *) "self",(char *) "item",(char *) "obj", NULL
28952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28954 if (SWIG_arg_fail(1)) SWIG_fail
;
28956 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28957 if (SWIG_arg_fail(2)) SWIG_fail
;
28958 if (arg2
== NULL
) {
28959 SWIG_null_ref("wxTreeItemId");
28961 if (SWIG_arg_fail(2)) SWIG_fail
;
28965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28966 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28968 wxPyEndAllowThreads(__tstate
);
28969 if (PyErr_Occurred()) SWIG_fail
;
28971 Py_INCREF(Py_None
); resultobj
= Py_None
;
28978 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28979 PyObject
*resultobj
;
28980 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28981 wxTreeItemId
*arg2
= 0 ;
28982 bool arg3
= (bool) true ;
28983 PyObject
* obj0
= 0 ;
28984 PyObject
* obj1
= 0 ;
28985 PyObject
* obj2
= 0 ;
28986 char *kwnames
[] = {
28987 (char *) "self",(char *) "item",(char *) "has", NULL
28990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28992 if (SWIG_arg_fail(1)) SWIG_fail
;
28994 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28995 if (SWIG_arg_fail(2)) SWIG_fail
;
28996 if (arg2
== NULL
) {
28997 SWIG_null_ref("wxTreeItemId");
28999 if (SWIG_arg_fail(2)) SWIG_fail
;
29003 arg3
= (bool)(SWIG_As_bool(obj2
));
29004 if (SWIG_arg_fail(3)) SWIG_fail
;
29008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29009 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
29011 wxPyEndAllowThreads(__tstate
);
29012 if (PyErr_Occurred()) SWIG_fail
;
29014 Py_INCREF(Py_None
); resultobj
= Py_None
;
29021 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29022 PyObject
*resultobj
;
29023 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29024 wxTreeItemId
*arg2
= 0 ;
29025 bool arg3
= (bool) true ;
29026 PyObject
* obj0
= 0 ;
29027 PyObject
* obj1
= 0 ;
29028 PyObject
* obj2
= 0 ;
29029 char *kwnames
[] = {
29030 (char *) "self",(char *) "item",(char *) "bold", NULL
29033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29035 if (SWIG_arg_fail(1)) SWIG_fail
;
29037 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29038 if (SWIG_arg_fail(2)) SWIG_fail
;
29039 if (arg2
== NULL
) {
29040 SWIG_null_ref("wxTreeItemId");
29042 if (SWIG_arg_fail(2)) SWIG_fail
;
29046 arg3
= (bool)(SWIG_As_bool(obj2
));
29047 if (SWIG_arg_fail(3)) SWIG_fail
;
29051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29052 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
29054 wxPyEndAllowThreads(__tstate
);
29055 if (PyErr_Occurred()) SWIG_fail
;
29057 Py_INCREF(Py_None
); resultobj
= Py_None
;
29064 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29065 PyObject
*resultobj
;
29066 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29067 wxTreeItemId
*arg2
= 0 ;
29068 bool arg3
= (bool) true ;
29069 PyObject
* obj0
= 0 ;
29070 PyObject
* obj1
= 0 ;
29071 PyObject
* obj2
= 0 ;
29072 char *kwnames
[] = {
29073 (char *) "self",(char *) "item",(char *) "highlight", NULL
29076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29078 if (SWIG_arg_fail(1)) SWIG_fail
;
29080 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29081 if (SWIG_arg_fail(2)) SWIG_fail
;
29082 if (arg2
== NULL
) {
29083 SWIG_null_ref("wxTreeItemId");
29085 if (SWIG_arg_fail(2)) SWIG_fail
;
29089 arg3
= (bool)(SWIG_As_bool(obj2
));
29090 if (SWIG_arg_fail(3)) SWIG_fail
;
29094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29095 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
29097 wxPyEndAllowThreads(__tstate
);
29098 if (PyErr_Occurred()) SWIG_fail
;
29100 Py_INCREF(Py_None
); resultobj
= Py_None
;
29107 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29108 PyObject
*resultobj
;
29109 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29110 wxTreeItemId
*arg2
= 0 ;
29111 wxColour
*arg3
= 0 ;
29113 PyObject
* obj0
= 0 ;
29114 PyObject
* obj1
= 0 ;
29115 PyObject
* obj2
= 0 ;
29116 char *kwnames
[] = {
29117 (char *) "self",(char *) "item",(char *) "col", NULL
29120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29122 if (SWIG_arg_fail(1)) SWIG_fail
;
29124 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29125 if (SWIG_arg_fail(2)) SWIG_fail
;
29126 if (arg2
== NULL
) {
29127 SWIG_null_ref("wxTreeItemId");
29129 if (SWIG_arg_fail(2)) SWIG_fail
;
29133 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29137 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29139 wxPyEndAllowThreads(__tstate
);
29140 if (PyErr_Occurred()) SWIG_fail
;
29142 Py_INCREF(Py_None
); resultobj
= Py_None
;
29149 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29150 PyObject
*resultobj
;
29151 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29152 wxTreeItemId
*arg2
= 0 ;
29153 wxColour
*arg3
= 0 ;
29155 PyObject
* obj0
= 0 ;
29156 PyObject
* obj1
= 0 ;
29157 PyObject
* obj2
= 0 ;
29158 char *kwnames
[] = {
29159 (char *) "self",(char *) "item",(char *) "col", NULL
29162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29164 if (SWIG_arg_fail(1)) SWIG_fail
;
29166 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29167 if (SWIG_arg_fail(2)) SWIG_fail
;
29168 if (arg2
== NULL
) {
29169 SWIG_null_ref("wxTreeItemId");
29171 if (SWIG_arg_fail(2)) SWIG_fail
;
29175 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29179 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29181 wxPyEndAllowThreads(__tstate
);
29182 if (PyErr_Occurred()) SWIG_fail
;
29184 Py_INCREF(Py_None
); resultobj
= Py_None
;
29191 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29192 PyObject
*resultobj
;
29193 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29194 wxTreeItemId
*arg2
= 0 ;
29196 PyObject
* obj0
= 0 ;
29197 PyObject
* obj1
= 0 ;
29198 PyObject
* obj2
= 0 ;
29199 char *kwnames
[] = {
29200 (char *) "self",(char *) "item",(char *) "font", NULL
29203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29205 if (SWIG_arg_fail(1)) SWIG_fail
;
29207 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29208 if (SWIG_arg_fail(2)) SWIG_fail
;
29209 if (arg2
== NULL
) {
29210 SWIG_null_ref("wxTreeItemId");
29212 if (SWIG_arg_fail(2)) SWIG_fail
;
29215 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29216 if (SWIG_arg_fail(3)) SWIG_fail
;
29217 if (arg3
== NULL
) {
29218 SWIG_null_ref("wxFont");
29220 if (SWIG_arg_fail(3)) SWIG_fail
;
29223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29224 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
29226 wxPyEndAllowThreads(__tstate
);
29227 if (PyErr_Occurred()) SWIG_fail
;
29229 Py_INCREF(Py_None
); resultobj
= Py_None
;
29236 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29237 PyObject
*resultobj
;
29238 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29239 wxTreeItemId
*arg2
= 0 ;
29241 PyObject
* obj0
= 0 ;
29242 PyObject
* obj1
= 0 ;
29243 char *kwnames
[] = {
29244 (char *) "self",(char *) "item", NULL
29247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29249 if (SWIG_arg_fail(1)) SWIG_fail
;
29251 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29252 if (SWIG_arg_fail(2)) SWIG_fail
;
29253 if (arg2
== NULL
) {
29254 SWIG_null_ref("wxTreeItemId");
29256 if (SWIG_arg_fail(2)) SWIG_fail
;
29259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29260 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
29262 wxPyEndAllowThreads(__tstate
);
29263 if (PyErr_Occurred()) SWIG_fail
;
29266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29274 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29275 PyObject
*resultobj
;
29276 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29277 wxTreeItemId
*arg2
= 0 ;
29279 PyObject
* obj0
= 0 ;
29280 PyObject
* obj1
= 0 ;
29281 char *kwnames
[] = {
29282 (char *) "self",(char *) "item", NULL
29285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
29286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29287 if (SWIG_arg_fail(1)) SWIG_fail
;
29289 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29290 if (SWIG_arg_fail(2)) SWIG_fail
;
29291 if (arg2
== NULL
) {
29292 SWIG_null_ref("wxTreeItemId");
29294 if (SWIG_arg_fail(2)) SWIG_fail
;
29297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29298 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
29300 wxPyEndAllowThreads(__tstate
);
29301 if (PyErr_Occurred()) SWIG_fail
;
29304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29312 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29313 PyObject
*resultobj
;
29314 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29315 wxTreeItemId
*arg2
= 0 ;
29317 PyObject
* obj0
= 0 ;
29318 PyObject
* obj1
= 0 ;
29319 char *kwnames
[] = {
29320 (char *) "self",(char *) "item", NULL
29323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
29324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29325 if (SWIG_arg_fail(1)) SWIG_fail
;
29327 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29328 if (SWIG_arg_fail(2)) SWIG_fail
;
29329 if (arg2
== NULL
) {
29330 SWIG_null_ref("wxTreeItemId");
29332 if (SWIG_arg_fail(2)) SWIG_fail
;
29335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29336 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
29338 wxPyEndAllowThreads(__tstate
);
29339 if (PyErr_Occurred()) SWIG_fail
;
29342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29350 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29351 PyObject
*resultobj
;
29352 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29353 wxTreeItemId
*arg2
= 0 ;
29355 PyObject
* obj0
= 0 ;
29356 PyObject
* obj1
= 0 ;
29357 char *kwnames
[] = {
29358 (char *) "self",(char *) "item", NULL
29361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
29362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29363 if (SWIG_arg_fail(1)) SWIG_fail
;
29365 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29366 if (SWIG_arg_fail(2)) SWIG_fail
;
29367 if (arg2
== NULL
) {
29368 SWIG_null_ref("wxTreeItemId");
29370 if (SWIG_arg_fail(2)) SWIG_fail
;
29373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29374 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
29376 wxPyEndAllowThreads(__tstate
);
29377 if (PyErr_Occurred()) SWIG_fail
;
29380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29388 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29389 PyObject
*resultobj
;
29390 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29391 wxTreeItemId
*arg2
= 0 ;
29393 PyObject
* obj0
= 0 ;
29394 PyObject
* obj1
= 0 ;
29395 char *kwnames
[] = {
29396 (char *) "self",(char *) "item", NULL
29399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
29400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29401 if (SWIG_arg_fail(1)) SWIG_fail
;
29403 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29404 if (SWIG_arg_fail(2)) SWIG_fail
;
29405 if (arg2
== NULL
) {
29406 SWIG_null_ref("wxTreeItemId");
29408 if (SWIG_arg_fail(2)) SWIG_fail
;
29411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29412 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
29414 wxPyEndAllowThreads(__tstate
);
29415 if (PyErr_Occurred()) SWIG_fail
;
29418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29426 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29427 PyObject
*resultobj
;
29428 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29429 wxTreeItemId
*arg2
= 0 ;
29430 bool arg3
= (bool) true ;
29432 PyObject
* obj0
= 0 ;
29433 PyObject
* obj1
= 0 ;
29434 PyObject
* obj2
= 0 ;
29435 char *kwnames
[] = {
29436 (char *) "self",(char *) "item",(char *) "recursively", NULL
29439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29441 if (SWIG_arg_fail(1)) SWIG_fail
;
29443 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29444 if (SWIG_arg_fail(2)) SWIG_fail
;
29445 if (arg2
== NULL
) {
29446 SWIG_null_ref("wxTreeItemId");
29448 if (SWIG_arg_fail(2)) SWIG_fail
;
29452 arg3
= (bool)(SWIG_As_bool(obj2
));
29453 if (SWIG_arg_fail(3)) SWIG_fail
;
29457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29458 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
29460 wxPyEndAllowThreads(__tstate
);
29461 if (PyErr_Occurred()) SWIG_fail
;
29464 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
29472 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29473 PyObject
*resultobj
;
29474 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29475 wxTreeItemId result
;
29476 PyObject
* obj0
= 0 ;
29477 char *kwnames
[] = {
29478 (char *) "self", NULL
29481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
29482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29483 if (SWIG_arg_fail(1)) SWIG_fail
;
29485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29486 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
29488 wxPyEndAllowThreads(__tstate
);
29489 if (PyErr_Occurred()) SWIG_fail
;
29492 wxTreeItemId
* resultptr
;
29493 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29494 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29502 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29503 PyObject
*resultobj
;
29504 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29505 wxTreeItemId result
;
29506 PyObject
* obj0
= 0 ;
29507 char *kwnames
[] = {
29508 (char *) "self", NULL
29511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
29512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29513 if (SWIG_arg_fail(1)) SWIG_fail
;
29515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29516 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
29518 wxPyEndAllowThreads(__tstate
);
29519 if (PyErr_Occurred()) SWIG_fail
;
29522 wxTreeItemId
* resultptr
;
29523 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29524 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29532 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29533 PyObject
*resultobj
;
29534 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29536 PyObject
* obj0
= 0 ;
29537 char *kwnames
[] = {
29538 (char *) "self", NULL
29541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
29542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29543 if (SWIG_arg_fail(1)) SWIG_fail
;
29545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29546 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
29548 wxPyEndAllowThreads(__tstate
);
29549 if (PyErr_Occurred()) SWIG_fail
;
29551 resultobj
= result
;
29558 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29559 PyObject
*resultobj
;
29560 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29561 wxTreeItemId
*arg2
= 0 ;
29562 wxTreeItemId result
;
29563 PyObject
* obj0
= 0 ;
29564 PyObject
* obj1
= 0 ;
29565 char *kwnames
[] = {
29566 (char *) "self",(char *) "item", NULL
29569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29571 if (SWIG_arg_fail(1)) SWIG_fail
;
29573 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29574 if (SWIG_arg_fail(2)) SWIG_fail
;
29575 if (arg2
== NULL
) {
29576 SWIG_null_ref("wxTreeItemId");
29578 if (SWIG_arg_fail(2)) SWIG_fail
;
29581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29582 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
29584 wxPyEndAllowThreads(__tstate
);
29585 if (PyErr_Occurred()) SWIG_fail
;
29588 wxTreeItemId
* resultptr
;
29589 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29590 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29598 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29599 PyObject
*resultobj
;
29600 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29601 wxTreeItemId
*arg2
= 0 ;
29603 PyObject
* obj0
= 0 ;
29604 PyObject
* obj1
= 0 ;
29605 char *kwnames
[] = {
29606 (char *) "self",(char *) "item", NULL
29609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29611 if (SWIG_arg_fail(1)) SWIG_fail
;
29613 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29614 if (SWIG_arg_fail(2)) SWIG_fail
;
29615 if (arg2
== NULL
) {
29616 SWIG_null_ref("wxTreeItemId");
29618 if (SWIG_arg_fail(2)) SWIG_fail
;
29621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29622 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
29624 wxPyEndAllowThreads(__tstate
);
29625 if (PyErr_Occurred()) SWIG_fail
;
29627 resultobj
= result
;
29634 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29635 PyObject
*resultobj
;
29636 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29637 wxTreeItemId
*arg2
= 0 ;
29638 void *arg3
= (void *) 0 ;
29640 PyObject
* obj0
= 0 ;
29641 PyObject
* obj1
= 0 ;
29642 PyObject
* obj2
= 0 ;
29643 char *kwnames
[] = {
29644 (char *) "self",(char *) "item",(char *) "cookie", NULL
29647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29649 if (SWIG_arg_fail(1)) SWIG_fail
;
29651 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29652 if (SWIG_arg_fail(2)) SWIG_fail
;
29653 if (arg2
== NULL
) {
29654 SWIG_null_ref("wxTreeItemId");
29656 if (SWIG_arg_fail(2)) SWIG_fail
;
29659 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
29660 SWIG_arg_fail(3);SWIG_fail
;
29664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29665 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29667 wxPyEndAllowThreads(__tstate
);
29668 if (PyErr_Occurred()) SWIG_fail
;
29670 resultobj
= result
;
29677 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29678 PyObject
*resultobj
;
29679 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29680 wxTreeItemId
*arg2
= 0 ;
29681 wxTreeItemId result
;
29682 PyObject
* obj0
= 0 ;
29683 PyObject
* obj1
= 0 ;
29684 char *kwnames
[] = {
29685 (char *) "self",(char *) "item", NULL
29688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29690 if (SWIG_arg_fail(1)) SWIG_fail
;
29692 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29693 if (SWIG_arg_fail(2)) SWIG_fail
;
29694 if (arg2
== NULL
) {
29695 SWIG_null_ref("wxTreeItemId");
29697 if (SWIG_arg_fail(2)) SWIG_fail
;
29700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29701 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
29703 wxPyEndAllowThreads(__tstate
);
29704 if (PyErr_Occurred()) SWIG_fail
;
29707 wxTreeItemId
* resultptr
;
29708 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29717 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29718 PyObject
*resultobj
;
29719 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29720 wxTreeItemId
*arg2
= 0 ;
29721 wxTreeItemId result
;
29722 PyObject
* obj0
= 0 ;
29723 PyObject
* obj1
= 0 ;
29724 char *kwnames
[] = {
29725 (char *) "self",(char *) "item", NULL
29728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29730 if (SWIG_arg_fail(1)) SWIG_fail
;
29732 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29733 if (SWIG_arg_fail(2)) SWIG_fail
;
29734 if (arg2
== NULL
) {
29735 SWIG_null_ref("wxTreeItemId");
29737 if (SWIG_arg_fail(2)) SWIG_fail
;
29740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29741 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
29743 wxPyEndAllowThreads(__tstate
);
29744 if (PyErr_Occurred()) SWIG_fail
;
29747 wxTreeItemId
* resultptr
;
29748 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29749 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29757 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29758 PyObject
*resultobj
;
29759 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29760 wxTreeItemId
*arg2
= 0 ;
29761 wxTreeItemId result
;
29762 PyObject
* obj0
= 0 ;
29763 PyObject
* obj1
= 0 ;
29764 char *kwnames
[] = {
29765 (char *) "self",(char *) "item", NULL
29768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29770 if (SWIG_arg_fail(1)) SWIG_fail
;
29772 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29773 if (SWIG_arg_fail(2)) SWIG_fail
;
29774 if (arg2
== NULL
) {
29775 SWIG_null_ref("wxTreeItemId");
29777 if (SWIG_arg_fail(2)) SWIG_fail
;
29780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29781 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
29783 wxPyEndAllowThreads(__tstate
);
29784 if (PyErr_Occurred()) SWIG_fail
;
29787 wxTreeItemId
* resultptr
;
29788 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29789 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29797 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29798 PyObject
*resultobj
;
29799 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29800 wxTreeItemId result
;
29801 PyObject
* obj0
= 0 ;
29802 char *kwnames
[] = {
29803 (char *) "self", NULL
29806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
29807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29808 if (SWIG_arg_fail(1)) SWIG_fail
;
29810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29811 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
29813 wxPyEndAllowThreads(__tstate
);
29814 if (PyErr_Occurred()) SWIG_fail
;
29817 wxTreeItemId
* resultptr
;
29818 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29827 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29828 PyObject
*resultobj
;
29829 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29830 wxTreeItemId
*arg2
= 0 ;
29831 wxTreeItemId result
;
29832 PyObject
* obj0
= 0 ;
29833 PyObject
* obj1
= 0 ;
29834 char *kwnames
[] = {
29835 (char *) "self",(char *) "item", NULL
29838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29840 if (SWIG_arg_fail(1)) SWIG_fail
;
29842 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29843 if (SWIG_arg_fail(2)) SWIG_fail
;
29844 if (arg2
== NULL
) {
29845 SWIG_null_ref("wxTreeItemId");
29847 if (SWIG_arg_fail(2)) SWIG_fail
;
29850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29851 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
29853 wxPyEndAllowThreads(__tstate
);
29854 if (PyErr_Occurred()) SWIG_fail
;
29857 wxTreeItemId
* resultptr
;
29858 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29859 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29867 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29868 PyObject
*resultobj
;
29869 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29870 wxTreeItemId
*arg2
= 0 ;
29871 wxTreeItemId result
;
29872 PyObject
* obj0
= 0 ;
29873 PyObject
* obj1
= 0 ;
29874 char *kwnames
[] = {
29875 (char *) "self",(char *) "item", NULL
29878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29880 if (SWIG_arg_fail(1)) SWIG_fail
;
29882 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29883 if (SWIG_arg_fail(2)) SWIG_fail
;
29884 if (arg2
== NULL
) {
29885 SWIG_null_ref("wxTreeItemId");
29887 if (SWIG_arg_fail(2)) SWIG_fail
;
29890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29891 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
29893 wxPyEndAllowThreads(__tstate
);
29894 if (PyErr_Occurred()) SWIG_fail
;
29897 wxTreeItemId
* resultptr
;
29898 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29899 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29907 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29908 PyObject
*resultobj
;
29909 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29910 wxString
*arg2
= 0 ;
29911 int arg3
= (int) -1 ;
29912 int arg4
= (int) -1 ;
29913 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
29914 wxTreeItemId result
;
29915 bool temp2
= false ;
29916 PyObject
* obj0
= 0 ;
29917 PyObject
* obj1
= 0 ;
29918 PyObject
* obj2
= 0 ;
29919 PyObject
* obj3
= 0 ;
29920 PyObject
* obj4
= 0 ;
29921 char *kwnames
[] = {
29922 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29927 if (SWIG_arg_fail(1)) SWIG_fail
;
29929 arg2
= wxString_in_helper(obj1
);
29930 if (arg2
== NULL
) SWIG_fail
;
29935 arg3
= (int)(SWIG_As_int(obj2
));
29936 if (SWIG_arg_fail(3)) SWIG_fail
;
29941 arg4
= (int)(SWIG_As_int(obj3
));
29942 if (SWIG_arg_fail(4)) SWIG_fail
;
29946 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29947 if (SWIG_arg_fail(5)) SWIG_fail
;
29950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29951 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29953 wxPyEndAllowThreads(__tstate
);
29954 if (PyErr_Occurred()) SWIG_fail
;
29957 wxTreeItemId
* resultptr
;
29958 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29959 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29975 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29976 PyObject
*resultobj
;
29977 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29978 wxTreeItemId
*arg2
= 0 ;
29979 wxString
*arg3
= 0 ;
29980 int arg4
= (int) -1 ;
29981 int arg5
= (int) -1 ;
29982 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
29983 wxTreeItemId result
;
29984 bool temp3
= false ;
29985 PyObject
* obj0
= 0 ;
29986 PyObject
* obj1
= 0 ;
29987 PyObject
* obj2
= 0 ;
29988 PyObject
* obj3
= 0 ;
29989 PyObject
* obj4
= 0 ;
29990 PyObject
* obj5
= 0 ;
29991 char *kwnames
[] = {
29992 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29997 if (SWIG_arg_fail(1)) SWIG_fail
;
29999 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30000 if (SWIG_arg_fail(2)) SWIG_fail
;
30001 if (arg2
== NULL
) {
30002 SWIG_null_ref("wxTreeItemId");
30004 if (SWIG_arg_fail(2)) SWIG_fail
;
30007 arg3
= wxString_in_helper(obj2
);
30008 if (arg3
== NULL
) SWIG_fail
;
30013 arg4
= (int)(SWIG_As_int(obj3
));
30014 if (SWIG_arg_fail(4)) SWIG_fail
;
30019 arg5
= (int)(SWIG_As_int(obj4
));
30020 if (SWIG_arg_fail(5)) SWIG_fail
;
30024 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30025 if (SWIG_arg_fail(6)) SWIG_fail
;
30028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30029 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30031 wxPyEndAllowThreads(__tstate
);
30032 if (PyErr_Occurred()) SWIG_fail
;
30035 wxTreeItemId
* resultptr
;
30036 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30053 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30054 PyObject
*resultobj
;
30055 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30056 wxTreeItemId
*arg2
= 0 ;
30057 wxTreeItemId
*arg3
= 0 ;
30058 wxString
*arg4
= 0 ;
30059 int arg5
= (int) -1 ;
30060 int arg6
= (int) -1 ;
30061 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30062 wxTreeItemId result
;
30063 bool temp4
= false ;
30064 PyObject
* obj0
= 0 ;
30065 PyObject
* obj1
= 0 ;
30066 PyObject
* obj2
= 0 ;
30067 PyObject
* obj3
= 0 ;
30068 PyObject
* obj4
= 0 ;
30069 PyObject
* obj5
= 0 ;
30070 PyObject
* obj6
= 0 ;
30071 char *kwnames
[] = {
30072 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30077 if (SWIG_arg_fail(1)) SWIG_fail
;
30079 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30080 if (SWIG_arg_fail(2)) SWIG_fail
;
30081 if (arg2
== NULL
) {
30082 SWIG_null_ref("wxTreeItemId");
30084 if (SWIG_arg_fail(2)) SWIG_fail
;
30087 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30088 if (SWIG_arg_fail(3)) SWIG_fail
;
30089 if (arg3
== NULL
) {
30090 SWIG_null_ref("wxTreeItemId");
30092 if (SWIG_arg_fail(3)) SWIG_fail
;
30095 arg4
= wxString_in_helper(obj3
);
30096 if (arg4
== NULL
) SWIG_fail
;
30101 arg5
= (int)(SWIG_As_int(obj4
));
30102 if (SWIG_arg_fail(5)) SWIG_fail
;
30107 arg6
= (int)(SWIG_As_int(obj5
));
30108 if (SWIG_arg_fail(6)) SWIG_fail
;
30112 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30113 if (SWIG_arg_fail(7)) SWIG_fail
;
30116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30117 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30119 wxPyEndAllowThreads(__tstate
);
30120 if (PyErr_Occurred()) SWIG_fail
;
30123 wxTreeItemId
* resultptr
;
30124 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30125 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30141 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30142 PyObject
*resultobj
;
30143 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30144 wxTreeItemId
*arg2
= 0 ;
30146 wxString
*arg4
= 0 ;
30147 int arg5
= (int) -1 ;
30148 int arg6
= (int) -1 ;
30149 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30150 wxTreeItemId result
;
30151 bool temp4
= false ;
30152 PyObject
* obj0
= 0 ;
30153 PyObject
* obj1
= 0 ;
30154 PyObject
* obj2
= 0 ;
30155 PyObject
* obj3
= 0 ;
30156 PyObject
* obj4
= 0 ;
30157 PyObject
* obj5
= 0 ;
30158 PyObject
* obj6
= 0 ;
30159 char *kwnames
[] = {
30160 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30165 if (SWIG_arg_fail(1)) SWIG_fail
;
30167 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30168 if (SWIG_arg_fail(2)) SWIG_fail
;
30169 if (arg2
== NULL
) {
30170 SWIG_null_ref("wxTreeItemId");
30172 if (SWIG_arg_fail(2)) SWIG_fail
;
30175 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
30176 if (SWIG_arg_fail(3)) SWIG_fail
;
30179 arg4
= wxString_in_helper(obj3
);
30180 if (arg4
== NULL
) SWIG_fail
;
30185 arg5
= (int)(SWIG_As_int(obj4
));
30186 if (SWIG_arg_fail(5)) SWIG_fail
;
30191 arg6
= (int)(SWIG_As_int(obj5
));
30192 if (SWIG_arg_fail(6)) SWIG_fail
;
30196 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30197 if (SWIG_arg_fail(7)) SWIG_fail
;
30200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30201 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30203 wxPyEndAllowThreads(__tstate
);
30204 if (PyErr_Occurred()) SWIG_fail
;
30207 wxTreeItemId
* resultptr
;
30208 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30225 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30226 PyObject
*resultobj
;
30227 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30228 wxTreeItemId
*arg2
= 0 ;
30229 wxString
*arg3
= 0 ;
30230 int arg4
= (int) -1 ;
30231 int arg5
= (int) -1 ;
30232 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30233 wxTreeItemId result
;
30234 bool temp3
= false ;
30235 PyObject
* obj0
= 0 ;
30236 PyObject
* obj1
= 0 ;
30237 PyObject
* obj2
= 0 ;
30238 PyObject
* obj3
= 0 ;
30239 PyObject
* obj4
= 0 ;
30240 PyObject
* obj5
= 0 ;
30241 char *kwnames
[] = {
30242 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30247 if (SWIG_arg_fail(1)) SWIG_fail
;
30249 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30250 if (SWIG_arg_fail(2)) SWIG_fail
;
30251 if (arg2
== NULL
) {
30252 SWIG_null_ref("wxTreeItemId");
30254 if (SWIG_arg_fail(2)) SWIG_fail
;
30257 arg3
= wxString_in_helper(obj2
);
30258 if (arg3
== NULL
) SWIG_fail
;
30263 arg4
= (int)(SWIG_As_int(obj3
));
30264 if (SWIG_arg_fail(4)) SWIG_fail
;
30269 arg5
= (int)(SWIG_As_int(obj4
));
30270 if (SWIG_arg_fail(5)) SWIG_fail
;
30274 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30275 if (SWIG_arg_fail(6)) SWIG_fail
;
30278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30279 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30281 wxPyEndAllowThreads(__tstate
);
30282 if (PyErr_Occurred()) SWIG_fail
;
30285 wxTreeItemId
* resultptr
;
30286 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30287 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30303 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30304 PyObject
*resultobj
;
30305 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30306 wxTreeItemId
*arg2
= 0 ;
30307 PyObject
* obj0
= 0 ;
30308 PyObject
* obj1
= 0 ;
30309 char *kwnames
[] = {
30310 (char *) "self",(char *) "item", NULL
30313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30315 if (SWIG_arg_fail(1)) SWIG_fail
;
30317 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30318 if (SWIG_arg_fail(2)) SWIG_fail
;
30319 if (arg2
== NULL
) {
30320 SWIG_null_ref("wxTreeItemId");
30322 if (SWIG_arg_fail(2)) SWIG_fail
;
30325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30326 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
30328 wxPyEndAllowThreads(__tstate
);
30329 if (PyErr_Occurred()) SWIG_fail
;
30331 Py_INCREF(Py_None
); resultobj
= Py_None
;
30338 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30339 PyObject
*resultobj
;
30340 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30341 wxTreeItemId
*arg2
= 0 ;
30342 PyObject
* obj0
= 0 ;
30343 PyObject
* obj1
= 0 ;
30344 char *kwnames
[] = {
30345 (char *) "self",(char *) "item", NULL
30348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30350 if (SWIG_arg_fail(1)) SWIG_fail
;
30352 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30353 if (SWIG_arg_fail(2)) SWIG_fail
;
30354 if (arg2
== NULL
) {
30355 SWIG_null_ref("wxTreeItemId");
30357 if (SWIG_arg_fail(2)) SWIG_fail
;
30360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30361 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
30363 wxPyEndAllowThreads(__tstate
);
30364 if (PyErr_Occurred()) SWIG_fail
;
30366 Py_INCREF(Py_None
); resultobj
= Py_None
;
30373 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30374 PyObject
*resultobj
;
30375 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30376 PyObject
* obj0
= 0 ;
30377 char *kwnames
[] = {
30378 (char *) "self", NULL
30381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
30382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30383 if (SWIG_arg_fail(1)) SWIG_fail
;
30385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30386 (arg1
)->DeleteAllItems();
30388 wxPyEndAllowThreads(__tstate
);
30389 if (PyErr_Occurred()) SWIG_fail
;
30391 Py_INCREF(Py_None
); resultobj
= Py_None
;
30398 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30399 PyObject
*resultobj
;
30400 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30401 wxTreeItemId
*arg2
= 0 ;
30402 PyObject
* obj0
= 0 ;
30403 PyObject
* obj1
= 0 ;
30404 char *kwnames
[] = {
30405 (char *) "self",(char *) "item", NULL
30408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
30409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30410 if (SWIG_arg_fail(1)) SWIG_fail
;
30412 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30413 if (SWIG_arg_fail(2)) SWIG_fail
;
30414 if (arg2
== NULL
) {
30415 SWIG_null_ref("wxTreeItemId");
30417 if (SWIG_arg_fail(2)) SWIG_fail
;
30420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30421 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
30423 wxPyEndAllowThreads(__tstate
);
30424 if (PyErr_Occurred()) SWIG_fail
;
30426 Py_INCREF(Py_None
); resultobj
= Py_None
;
30433 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30434 PyObject
*resultobj
;
30435 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30436 wxTreeItemId
*arg2
= 0 ;
30437 PyObject
* obj0
= 0 ;
30438 PyObject
* obj1
= 0 ;
30439 char *kwnames
[] = {
30440 (char *) "self",(char *) "item", NULL
30443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
30444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30445 if (SWIG_arg_fail(1)) SWIG_fail
;
30447 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30448 if (SWIG_arg_fail(2)) SWIG_fail
;
30449 if (arg2
== NULL
) {
30450 SWIG_null_ref("wxTreeItemId");
30452 if (SWIG_arg_fail(2)) SWIG_fail
;
30455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30456 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
30458 wxPyEndAllowThreads(__tstate
);
30459 if (PyErr_Occurred()) SWIG_fail
;
30461 Py_INCREF(Py_None
); resultobj
= Py_None
;
30468 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30469 PyObject
*resultobj
;
30470 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30471 wxTreeItemId
*arg2
= 0 ;
30472 PyObject
* obj0
= 0 ;
30473 PyObject
* obj1
= 0 ;
30474 char *kwnames
[] = {
30475 (char *) "self",(char *) "item", NULL
30478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
30479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30480 if (SWIG_arg_fail(1)) SWIG_fail
;
30482 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30483 if (SWIG_arg_fail(2)) SWIG_fail
;
30484 if (arg2
== NULL
) {
30485 SWIG_null_ref("wxTreeItemId");
30487 if (SWIG_arg_fail(2)) SWIG_fail
;
30490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30491 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
30493 wxPyEndAllowThreads(__tstate
);
30494 if (PyErr_Occurred()) SWIG_fail
;
30496 Py_INCREF(Py_None
); resultobj
= Py_None
;
30503 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30504 PyObject
*resultobj
;
30505 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30506 wxTreeItemId
*arg2
= 0 ;
30507 PyObject
* obj0
= 0 ;
30508 PyObject
* obj1
= 0 ;
30509 char *kwnames
[] = {
30510 (char *) "self",(char *) "item", NULL
30513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
30514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30515 if (SWIG_arg_fail(1)) SWIG_fail
;
30517 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30518 if (SWIG_arg_fail(2)) SWIG_fail
;
30519 if (arg2
== NULL
) {
30520 SWIG_null_ref("wxTreeItemId");
30522 if (SWIG_arg_fail(2)) SWIG_fail
;
30525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30526 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
30528 wxPyEndAllowThreads(__tstate
);
30529 if (PyErr_Occurred()) SWIG_fail
;
30531 Py_INCREF(Py_None
); resultobj
= Py_None
;
30538 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30539 PyObject
*resultobj
;
30540 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30541 PyObject
* obj0
= 0 ;
30542 char *kwnames
[] = {
30543 (char *) "self", NULL
30546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
30547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30548 if (SWIG_arg_fail(1)) SWIG_fail
;
30550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30551 (arg1
)->Unselect();
30553 wxPyEndAllowThreads(__tstate
);
30554 if (PyErr_Occurred()) SWIG_fail
;
30556 Py_INCREF(Py_None
); resultobj
= Py_None
;
30563 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30564 PyObject
*resultobj
;
30565 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30566 wxTreeItemId
*arg2
= 0 ;
30567 PyObject
* obj0
= 0 ;
30568 PyObject
* obj1
= 0 ;
30569 char *kwnames
[] = {
30570 (char *) "self",(char *) "item", NULL
30573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30575 if (SWIG_arg_fail(1)) SWIG_fail
;
30577 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30578 if (SWIG_arg_fail(2)) SWIG_fail
;
30579 if (arg2
== NULL
) {
30580 SWIG_null_ref("wxTreeItemId");
30582 if (SWIG_arg_fail(2)) SWIG_fail
;
30585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30586 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
30588 wxPyEndAllowThreads(__tstate
);
30589 if (PyErr_Occurred()) SWIG_fail
;
30591 Py_INCREF(Py_None
); resultobj
= Py_None
;
30598 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30599 PyObject
*resultobj
;
30600 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30601 PyObject
* obj0
= 0 ;
30602 char *kwnames
[] = {
30603 (char *) "self", NULL
30606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
30607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30608 if (SWIG_arg_fail(1)) SWIG_fail
;
30610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30611 (arg1
)->UnselectAll();
30613 wxPyEndAllowThreads(__tstate
);
30614 if (PyErr_Occurred()) SWIG_fail
;
30616 Py_INCREF(Py_None
); resultobj
= Py_None
;
30623 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30624 PyObject
*resultobj
;
30625 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30626 wxTreeItemId
*arg2
= 0 ;
30627 bool arg3
= (bool) true ;
30628 PyObject
* obj0
= 0 ;
30629 PyObject
* obj1
= 0 ;
30630 PyObject
* obj2
= 0 ;
30631 char *kwnames
[] = {
30632 (char *) "self",(char *) "item",(char *) "select", NULL
30635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30637 if (SWIG_arg_fail(1)) SWIG_fail
;
30639 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30640 if (SWIG_arg_fail(2)) SWIG_fail
;
30641 if (arg2
== NULL
) {
30642 SWIG_null_ref("wxTreeItemId");
30644 if (SWIG_arg_fail(2)) SWIG_fail
;
30648 arg3
= (bool)(SWIG_As_bool(obj2
));
30649 if (SWIG_arg_fail(3)) SWIG_fail
;
30653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30654 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
30656 wxPyEndAllowThreads(__tstate
);
30657 if (PyErr_Occurred()) SWIG_fail
;
30659 Py_INCREF(Py_None
); resultobj
= Py_None
;
30666 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30667 PyObject
*resultobj
;
30668 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30669 wxTreeItemId
*arg2
= 0 ;
30670 PyObject
* obj0
= 0 ;
30671 PyObject
* obj1
= 0 ;
30672 char *kwnames
[] = {
30673 (char *) "self",(char *) "item", NULL
30676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30678 if (SWIG_arg_fail(1)) SWIG_fail
;
30680 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30681 if (SWIG_arg_fail(2)) SWIG_fail
;
30682 if (arg2
== NULL
) {
30683 SWIG_null_ref("wxTreeItemId");
30685 if (SWIG_arg_fail(2)) SWIG_fail
;
30688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30689 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
30691 wxPyEndAllowThreads(__tstate
);
30692 if (PyErr_Occurred()) SWIG_fail
;
30694 Py_INCREF(Py_None
); resultobj
= Py_None
;
30701 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30702 PyObject
*resultobj
;
30703 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30704 wxTreeItemId
*arg2
= 0 ;
30705 PyObject
* obj0
= 0 ;
30706 PyObject
* obj1
= 0 ;
30707 char *kwnames
[] = {
30708 (char *) "self",(char *) "item", NULL
30711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30713 if (SWIG_arg_fail(1)) SWIG_fail
;
30715 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30716 if (SWIG_arg_fail(2)) SWIG_fail
;
30717 if (arg2
== NULL
) {
30718 SWIG_null_ref("wxTreeItemId");
30720 if (SWIG_arg_fail(2)) SWIG_fail
;
30723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30724 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
30726 wxPyEndAllowThreads(__tstate
);
30727 if (PyErr_Occurred()) SWIG_fail
;
30729 Py_INCREF(Py_None
); resultobj
= Py_None
;
30736 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30737 PyObject
*resultobj
;
30738 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30739 wxTreeItemId
*arg2
= 0 ;
30740 PyObject
* obj0
= 0 ;
30741 PyObject
* obj1
= 0 ;
30742 char *kwnames
[] = {
30743 (char *) "self",(char *) "item", NULL
30746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
30747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30748 if (SWIG_arg_fail(1)) SWIG_fail
;
30750 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30751 if (SWIG_arg_fail(2)) SWIG_fail
;
30752 if (arg2
== NULL
) {
30753 SWIG_null_ref("wxTreeItemId");
30755 if (SWIG_arg_fail(2)) SWIG_fail
;
30758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30759 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
30761 wxPyEndAllowThreads(__tstate
);
30762 if (PyErr_Occurred()) SWIG_fail
;
30764 Py_INCREF(Py_None
); resultobj
= Py_None
;
30771 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30772 PyObject
*resultobj
;
30773 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30774 wxTreeItemId
*arg2
= 0 ;
30775 PyObject
* obj0
= 0 ;
30776 PyObject
* obj1
= 0 ;
30777 char *kwnames
[] = {
30778 (char *) "self",(char *) "item", NULL
30781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30783 if (SWIG_arg_fail(1)) SWIG_fail
;
30785 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30786 if (SWIG_arg_fail(2)) SWIG_fail
;
30787 if (arg2
== NULL
) {
30788 SWIG_null_ref("wxTreeItemId");
30790 if (SWIG_arg_fail(2)) SWIG_fail
;
30793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30794 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
30796 wxPyEndAllowThreads(__tstate
);
30797 if (PyErr_Occurred()) SWIG_fail
;
30799 Py_INCREF(Py_None
); resultobj
= Py_None
;
30806 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30807 PyObject
*resultobj
;
30808 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30809 wxTextCtrl
*result
;
30810 PyObject
* obj0
= 0 ;
30811 char *kwnames
[] = {
30812 (char *) "self", NULL
30815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
30816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30817 if (SWIG_arg_fail(1)) SWIG_fail
;
30819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30820 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
30822 wxPyEndAllowThreads(__tstate
);
30823 if (PyErr_Occurred()) SWIG_fail
;
30826 resultobj
= wxPyMake_wxObject(result
, 0);
30834 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30835 PyObject
*resultobj
;
30836 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30837 wxTreeItemId
*arg2
= 0 ;
30838 PyObject
* obj0
= 0 ;
30839 PyObject
* obj1
= 0 ;
30840 char *kwnames
[] = {
30841 (char *) "self",(char *) "item", NULL
30844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30846 if (SWIG_arg_fail(1)) SWIG_fail
;
30848 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30849 if (SWIG_arg_fail(2)) SWIG_fail
;
30850 if (arg2
== NULL
) {
30851 SWIG_null_ref("wxTreeItemId");
30853 if (SWIG_arg_fail(2)) SWIG_fail
;
30856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30857 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
30859 wxPyEndAllowThreads(__tstate
);
30860 if (PyErr_Occurred()) SWIG_fail
;
30862 Py_INCREF(Py_None
); resultobj
= Py_None
;
30869 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30870 PyObject
*resultobj
;
30871 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30872 wxPoint
*arg2
= 0 ;
30874 wxTreeItemId result
;
30878 PyObject
* obj0
= 0 ;
30879 PyObject
* obj1
= 0 ;
30880 char *kwnames
[] = {
30881 (char *) "self",(char *) "point", NULL
30884 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30887 if (SWIG_arg_fail(1)) SWIG_fail
;
30890 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30894 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30896 wxPyEndAllowThreads(__tstate
);
30897 if (PyErr_Occurred()) SWIG_fail
;
30900 wxTreeItemId
* resultptr
;
30901 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30902 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30904 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30905 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30912 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30913 PyObject
*resultobj
;
30914 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30915 wxTreeItemId
*arg2
= 0 ;
30916 bool arg3
= (bool) false ;
30918 PyObject
* obj0
= 0 ;
30919 PyObject
* obj1
= 0 ;
30920 PyObject
* obj2
= 0 ;
30921 char *kwnames
[] = {
30922 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30927 if (SWIG_arg_fail(1)) SWIG_fail
;
30929 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30930 if (SWIG_arg_fail(2)) SWIG_fail
;
30931 if (arg2
== NULL
) {
30932 SWIG_null_ref("wxTreeItemId");
30934 if (SWIG_arg_fail(2)) SWIG_fail
;
30938 arg3
= (bool)(SWIG_As_bool(obj2
));
30939 if (SWIG_arg_fail(3)) SWIG_fail
;
30943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30944 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30946 wxPyEndAllowThreads(__tstate
);
30947 if (PyErr_Occurred()) SWIG_fail
;
30949 resultobj
= result
;
30956 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30957 PyObject
*resultobj
;
30958 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
30959 wxVisualAttributes result
;
30960 PyObject
* obj0
= 0 ;
30961 char *kwnames
[] = {
30962 (char *) "variant", NULL
30965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30968 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
30969 if (SWIG_arg_fail(1)) SWIG_fail
;
30973 if (!wxPyCheckForApp()) SWIG_fail
;
30974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30975 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
30977 wxPyEndAllowThreads(__tstate
);
30978 if (PyErr_Occurred()) SWIG_fail
;
30981 wxVisualAttributes
* resultptr
;
30982 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
30983 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30991 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
30993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30994 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
30996 return Py_BuildValue((char *)"");
30998 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
30999 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
31004 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
31009 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
31011 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
31018 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31019 PyObject
*resultobj
;
31020 wxWindow
*arg1
= (wxWindow
*) 0 ;
31021 int arg2
= (int) (int)-1 ;
31022 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
31023 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31024 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31025 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31026 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31027 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31028 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31029 wxString
const &arg7_defvalue
= wxPyEmptyString
;
31030 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31031 int arg8
= (int) 0 ;
31032 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
31033 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
31034 wxGenericDirCtrl
*result
;
31035 bool temp3
= false ;
31038 bool temp7
= false ;
31039 bool temp9
= false ;
31040 PyObject
* obj0
= 0 ;
31041 PyObject
* obj1
= 0 ;
31042 PyObject
* obj2
= 0 ;
31043 PyObject
* obj3
= 0 ;
31044 PyObject
* obj4
= 0 ;
31045 PyObject
* obj5
= 0 ;
31046 PyObject
* obj6
= 0 ;
31047 PyObject
* obj7
= 0 ;
31048 PyObject
* obj8
= 0 ;
31049 char *kwnames
[] = {
31050 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
31054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31055 if (SWIG_arg_fail(1)) SWIG_fail
;
31058 arg2
= (int const)(SWIG_As_int(obj1
));
31059 if (SWIG_arg_fail(2)) SWIG_fail
;
31064 arg3
= wxString_in_helper(obj2
);
31065 if (arg3
== NULL
) SWIG_fail
;
31072 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31078 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31083 arg6
= (long)(SWIG_As_long(obj5
));
31084 if (SWIG_arg_fail(6)) SWIG_fail
;
31089 arg7
= wxString_in_helper(obj6
);
31090 if (arg7
== NULL
) SWIG_fail
;
31096 arg8
= (int)(SWIG_As_int(obj7
));
31097 if (SWIG_arg_fail(8)) SWIG_fail
;
31102 arg9
= wxString_in_helper(obj8
);
31103 if (arg9
== NULL
) SWIG_fail
;
31108 if (!wxPyCheckForApp()) SWIG_fail
;
31109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31110 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
31112 wxPyEndAllowThreads(__tstate
);
31113 if (PyErr_Occurred()) SWIG_fail
;
31115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31146 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31147 PyObject
*resultobj
;
31148 wxGenericDirCtrl
*result
;
31149 char *kwnames
[] = {
31153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
31155 if (!wxPyCheckForApp()) SWIG_fail
;
31156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31157 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
31159 wxPyEndAllowThreads(__tstate
);
31160 if (PyErr_Occurred()) SWIG_fail
;
31162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31169 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31170 PyObject
*resultobj
;
31171 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31172 wxWindow
*arg2
= (wxWindow
*) 0 ;
31173 int arg3
= (int) (int)-1 ;
31174 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
31175 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31176 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
31177 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
31178 wxSize
const &arg6_defvalue
= wxDefaultSize
;
31179 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
31180 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31181 wxString
const &arg8_defvalue
= wxPyEmptyString
;
31182 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31183 int arg9
= (int) 0 ;
31184 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
31185 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
31187 bool temp4
= false ;
31190 bool temp8
= false ;
31191 bool temp10
= false ;
31192 PyObject
* obj0
= 0 ;
31193 PyObject
* obj1
= 0 ;
31194 PyObject
* obj2
= 0 ;
31195 PyObject
* obj3
= 0 ;
31196 PyObject
* obj4
= 0 ;
31197 PyObject
* obj5
= 0 ;
31198 PyObject
* obj6
= 0 ;
31199 PyObject
* obj7
= 0 ;
31200 PyObject
* obj8
= 0 ;
31201 PyObject
* obj9
= 0 ;
31202 char *kwnames
[] = {
31203 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
31207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31208 if (SWIG_arg_fail(1)) SWIG_fail
;
31209 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31210 if (SWIG_arg_fail(2)) SWIG_fail
;
31213 arg3
= (int const)(SWIG_As_int(obj2
));
31214 if (SWIG_arg_fail(3)) SWIG_fail
;
31219 arg4
= wxString_in_helper(obj3
);
31220 if (arg4
== NULL
) SWIG_fail
;
31227 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
31233 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
31238 arg7
= (long)(SWIG_As_long(obj6
));
31239 if (SWIG_arg_fail(7)) SWIG_fail
;
31244 arg8
= wxString_in_helper(obj7
);
31245 if (arg8
== NULL
) SWIG_fail
;
31251 arg9
= (int)(SWIG_As_int(obj8
));
31252 if (SWIG_arg_fail(9)) SWIG_fail
;
31257 arg10
= wxString_in_helper(obj9
);
31258 if (arg10
== NULL
) SWIG_fail
;
31263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31264 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
31266 wxPyEndAllowThreads(__tstate
);
31267 if (PyErr_Occurred()) SWIG_fail
;
31270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31302 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31303 PyObject
*resultobj
;
31304 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31305 wxString
*arg2
= 0 ;
31307 bool temp2
= false ;
31308 PyObject
* obj0
= 0 ;
31309 PyObject
* obj1
= 0 ;
31310 char *kwnames
[] = {
31311 (char *) "self",(char *) "path", NULL
31314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31316 if (SWIG_arg_fail(1)) SWIG_fail
;
31318 arg2
= wxString_in_helper(obj1
);
31319 if (arg2
== NULL
) SWIG_fail
;
31323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31324 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
31326 wxPyEndAllowThreads(__tstate
);
31327 if (PyErr_Occurred()) SWIG_fail
;
31330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31346 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31347 PyObject
*resultobj
;
31348 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31350 PyObject
* obj0
= 0 ;
31351 char *kwnames
[] = {
31352 (char *) "self", NULL
31355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
31356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31357 if (SWIG_arg_fail(1)) SWIG_fail
;
31359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31360 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
31362 wxPyEndAllowThreads(__tstate
);
31363 if (PyErr_Occurred()) SWIG_fail
;
31367 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31369 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31378 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31379 PyObject
*resultobj
;
31380 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31381 wxString
*arg2
= 0 ;
31382 bool temp2
= false ;
31383 PyObject
* obj0
= 0 ;
31384 PyObject
* obj1
= 0 ;
31385 char *kwnames
[] = {
31386 (char *) "self",(char *) "path", NULL
31389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31391 if (SWIG_arg_fail(1)) SWIG_fail
;
31393 arg2
= wxString_in_helper(obj1
);
31394 if (arg2
== NULL
) SWIG_fail
;
31398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31399 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
31401 wxPyEndAllowThreads(__tstate
);
31402 if (PyErr_Occurred()) SWIG_fail
;
31404 Py_INCREF(Py_None
); resultobj
= Py_None
;
31419 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31420 PyObject
*resultobj
;
31421 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31423 PyObject
* obj0
= 0 ;
31424 char *kwnames
[] = {
31425 (char *) "self", NULL
31428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
31429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31430 if (SWIG_arg_fail(1)) SWIG_fail
;
31432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31433 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
31435 wxPyEndAllowThreads(__tstate
);
31436 if (PyErr_Occurred()) SWIG_fail
;
31440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31451 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31452 PyObject
*resultobj
;
31453 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31455 PyObject
* obj0
= 0 ;
31456 char *kwnames
[] = {
31457 (char *) "self", NULL
31460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
31461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31462 if (SWIG_arg_fail(1)) SWIG_fail
;
31464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31465 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
31467 wxPyEndAllowThreads(__tstate
);
31468 if (PyErr_Occurred()) SWIG_fail
;
31472 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31474 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31483 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31484 PyObject
*resultobj
;
31485 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31486 wxString
*arg2
= 0 ;
31487 bool temp2
= false ;
31488 PyObject
* obj0
= 0 ;
31489 PyObject
* obj1
= 0 ;
31490 char *kwnames
[] = {
31491 (char *) "self",(char *) "path", NULL
31494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31496 if (SWIG_arg_fail(1)) SWIG_fail
;
31498 arg2
= wxString_in_helper(obj1
);
31499 if (arg2
== NULL
) SWIG_fail
;
31503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31504 (arg1
)->SetPath((wxString
const &)*arg2
);
31506 wxPyEndAllowThreads(__tstate
);
31507 if (PyErr_Occurred()) SWIG_fail
;
31509 Py_INCREF(Py_None
); resultobj
= Py_None
;
31524 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31525 PyObject
*resultobj
;
31526 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31528 PyObject
* obj0
= 0 ;
31529 PyObject
* obj1
= 0 ;
31530 char *kwnames
[] = {
31531 (char *) "self",(char *) "show", NULL
31534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
31535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31536 if (SWIG_arg_fail(1)) SWIG_fail
;
31538 arg2
= (bool)(SWIG_As_bool(obj1
));
31539 if (SWIG_arg_fail(2)) SWIG_fail
;
31542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31543 (arg1
)->ShowHidden(arg2
);
31545 wxPyEndAllowThreads(__tstate
);
31546 if (PyErr_Occurred()) SWIG_fail
;
31548 Py_INCREF(Py_None
); resultobj
= Py_None
;
31555 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31556 PyObject
*resultobj
;
31557 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31559 PyObject
* obj0
= 0 ;
31560 char *kwnames
[] = {
31561 (char *) "self", NULL
31564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
31565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31566 if (SWIG_arg_fail(1)) SWIG_fail
;
31568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31569 result
= (bool)(arg1
)->GetShowHidden();
31571 wxPyEndAllowThreads(__tstate
);
31572 if (PyErr_Occurred()) SWIG_fail
;
31575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31583 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31584 PyObject
*resultobj
;
31585 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31587 PyObject
* obj0
= 0 ;
31588 char *kwnames
[] = {
31589 (char *) "self", NULL
31592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
31593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31594 if (SWIG_arg_fail(1)) SWIG_fail
;
31596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31597 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
31599 wxPyEndAllowThreads(__tstate
);
31600 if (PyErr_Occurred()) SWIG_fail
;
31604 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31606 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31615 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31616 PyObject
*resultobj
;
31617 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31618 wxString
*arg2
= 0 ;
31619 bool temp2
= false ;
31620 PyObject
* obj0
= 0 ;
31621 PyObject
* obj1
= 0 ;
31622 char *kwnames
[] = {
31623 (char *) "self",(char *) "filter", NULL
31626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
31627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31628 if (SWIG_arg_fail(1)) SWIG_fail
;
31630 arg2
= wxString_in_helper(obj1
);
31631 if (arg2
== NULL
) SWIG_fail
;
31635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31636 (arg1
)->SetFilter((wxString
const &)*arg2
);
31638 wxPyEndAllowThreads(__tstate
);
31639 if (PyErr_Occurred()) SWIG_fail
;
31641 Py_INCREF(Py_None
); resultobj
= Py_None
;
31656 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31657 PyObject
*resultobj
;
31658 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31660 PyObject
* obj0
= 0 ;
31661 char *kwnames
[] = {
31662 (char *) "self", NULL
31665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
31666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31667 if (SWIG_arg_fail(1)) SWIG_fail
;
31669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31670 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
31672 wxPyEndAllowThreads(__tstate
);
31673 if (PyErr_Occurred()) SWIG_fail
;
31676 resultobj
= SWIG_From_int((int)(result
));
31684 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31685 PyObject
*resultobj
;
31686 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31688 PyObject
* obj0
= 0 ;
31689 PyObject
* obj1
= 0 ;
31690 char *kwnames
[] = {
31691 (char *) "self",(char *) "n", NULL
31694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
31695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31696 if (SWIG_arg_fail(1)) SWIG_fail
;
31698 arg2
= (int)(SWIG_As_int(obj1
));
31699 if (SWIG_arg_fail(2)) SWIG_fail
;
31702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31703 (arg1
)->SetFilterIndex(arg2
);
31705 wxPyEndAllowThreads(__tstate
);
31706 if (PyErr_Occurred()) SWIG_fail
;
31708 Py_INCREF(Py_None
); resultobj
= Py_None
;
31715 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31716 PyObject
*resultobj
;
31717 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31718 wxTreeItemId result
;
31719 PyObject
* obj0
= 0 ;
31720 char *kwnames
[] = {
31721 (char *) "self", NULL
31724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
31725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31726 if (SWIG_arg_fail(1)) SWIG_fail
;
31728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31729 result
= (arg1
)->GetRootId();
31731 wxPyEndAllowThreads(__tstate
);
31732 if (PyErr_Occurred()) SWIG_fail
;
31735 wxTreeItemId
* resultptr
;
31736 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31737 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31745 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31746 PyObject
*resultobj
;
31747 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31748 wxPyTreeCtrl
*result
;
31749 PyObject
* obj0
= 0 ;
31750 char *kwnames
[] = {
31751 (char *) "self", NULL
31754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
31755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31756 if (SWIG_arg_fail(1)) SWIG_fail
;
31758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31759 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
31761 wxPyEndAllowThreads(__tstate
);
31762 if (PyErr_Occurred()) SWIG_fail
;
31765 resultobj
= wxPyMake_wxObject(result
, 0);
31773 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31774 PyObject
*resultobj
;
31775 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31776 wxDirFilterListCtrl
*result
;
31777 PyObject
* obj0
= 0 ;
31778 char *kwnames
[] = {
31779 (char *) "self", NULL
31782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
31783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31784 if (SWIG_arg_fail(1)) SWIG_fail
;
31786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31787 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
31789 wxPyEndAllowThreads(__tstate
);
31790 if (PyErr_Occurred()) SWIG_fail
;
31792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
31799 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31800 PyObject
*resultobj
;
31801 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31802 wxTreeItemId arg2
;
31803 wxString
*arg3
= 0 ;
31805 wxTreeItemId result
;
31806 bool temp3
= false ;
31809 PyObject
* obj0
= 0 ;
31810 PyObject
* obj1
= 0 ;
31811 PyObject
* obj2
= 0 ;
31812 char *kwnames
[] = {
31813 (char *) "self",(char *) "parentId",(char *) "path", NULL
31816 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
31817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31819 if (SWIG_arg_fail(1)) SWIG_fail
;
31821 wxTreeItemId
* argp
;
31822 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
31823 if (SWIG_arg_fail(2)) SWIG_fail
;
31824 if (argp
== NULL
) {
31825 SWIG_null_ref("wxTreeItemId");
31827 if (SWIG_arg_fail(2)) SWIG_fail
;
31831 arg3
= wxString_in_helper(obj2
);
31832 if (arg3
== NULL
) SWIG_fail
;
31836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31837 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
31839 wxPyEndAllowThreads(__tstate
);
31840 if (PyErr_Occurred()) SWIG_fail
;
31843 wxTreeItemId
* resultptr
;
31844 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31845 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31847 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
31848 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
31863 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31864 PyObject
*resultobj
;
31865 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31866 PyObject
* obj0
= 0 ;
31867 char *kwnames
[] = {
31868 (char *) "self", NULL
31871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
31872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31873 if (SWIG_arg_fail(1)) SWIG_fail
;
31875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31876 (arg1
)->DoResize();
31878 wxPyEndAllowThreads(__tstate
);
31879 if (PyErr_Occurred()) SWIG_fail
;
31881 Py_INCREF(Py_None
); resultobj
= Py_None
;
31888 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31889 PyObject
*resultobj
;
31890 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31891 PyObject
* obj0
= 0 ;
31892 char *kwnames
[] = {
31893 (char *) "self", NULL
31896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
31897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31898 if (SWIG_arg_fail(1)) SWIG_fail
;
31900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31901 (arg1
)->ReCreateTree();
31903 wxPyEndAllowThreads(__tstate
);
31904 if (PyErr_Occurred()) SWIG_fail
;
31906 Py_INCREF(Py_None
); resultobj
= Py_None
;
31913 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
31915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31916 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
31918 return Py_BuildValue((char *)"");
31920 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31921 PyObject
*resultobj
;
31922 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31923 int arg2
= (int) (int)-1 ;
31924 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31925 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31926 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31927 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31928 long arg5
= (long) 0 ;
31929 wxDirFilterListCtrl
*result
;
31932 PyObject
* obj0
= 0 ;
31933 PyObject
* obj1
= 0 ;
31934 PyObject
* obj2
= 0 ;
31935 PyObject
* obj3
= 0 ;
31936 PyObject
* obj4
= 0 ;
31937 char *kwnames
[] = {
31938 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31943 if (SWIG_arg_fail(1)) SWIG_fail
;
31946 arg2
= (int const)(SWIG_As_int(obj1
));
31947 if (SWIG_arg_fail(2)) SWIG_fail
;
31953 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31959 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31964 arg5
= (long)(SWIG_As_long(obj4
));
31965 if (SWIG_arg_fail(5)) SWIG_fail
;
31969 if (!wxPyCheckForApp()) SWIG_fail
;
31970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31971 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
31973 wxPyEndAllowThreads(__tstate
);
31974 if (PyErr_Occurred()) SWIG_fail
;
31976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31983 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31984 PyObject
*resultobj
;
31985 wxDirFilterListCtrl
*result
;
31986 char *kwnames
[] = {
31990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
31992 if (!wxPyCheckForApp()) SWIG_fail
;
31993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31994 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
31996 wxPyEndAllowThreads(__tstate
);
31997 if (PyErr_Occurred()) SWIG_fail
;
31999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
32006 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32007 PyObject
*resultobj
;
32008 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32009 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
32010 int arg3
= (int) (int)-1 ;
32011 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32012 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32013 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32014 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32015 long arg6
= (long) 0 ;
32019 PyObject
* obj0
= 0 ;
32020 PyObject
* obj1
= 0 ;
32021 PyObject
* obj2
= 0 ;
32022 PyObject
* obj3
= 0 ;
32023 PyObject
* obj4
= 0 ;
32024 PyObject
* obj5
= 0 ;
32025 char *kwnames
[] = {
32026 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32031 if (SWIG_arg_fail(1)) SWIG_fail
;
32032 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32033 if (SWIG_arg_fail(2)) SWIG_fail
;
32036 arg3
= (int const)(SWIG_As_int(obj2
));
32037 if (SWIG_arg_fail(3)) SWIG_fail
;
32043 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32049 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32054 arg6
= (long)(SWIG_As_long(obj5
));
32055 if (SWIG_arg_fail(6)) SWIG_fail
;
32059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32060 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
32062 wxPyEndAllowThreads(__tstate
);
32063 if (PyErr_Occurred()) SWIG_fail
;
32066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32074 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32075 PyObject
*resultobj
;
32076 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32077 wxString
*arg2
= 0 ;
32079 bool temp2
= false ;
32080 PyObject
* obj0
= 0 ;
32081 PyObject
* obj1
= 0 ;
32082 PyObject
* obj2
= 0 ;
32083 char *kwnames
[] = {
32084 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32089 if (SWIG_arg_fail(1)) SWIG_fail
;
32091 arg2
= wxString_in_helper(obj1
);
32092 if (arg2
== NULL
) SWIG_fail
;
32096 arg3
= (int)(SWIG_As_int(obj2
));
32097 if (SWIG_arg_fail(3)) SWIG_fail
;
32100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32101 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
32103 wxPyEndAllowThreads(__tstate
);
32104 if (PyErr_Occurred()) SWIG_fail
;
32106 Py_INCREF(Py_None
); resultobj
= Py_None
;
32121 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
32123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32124 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
32126 return Py_BuildValue((char *)"");
32128 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32129 PyObject
*resultobj
;
32130 wxWindow
*arg1
= (wxWindow
*) 0 ;
32131 int arg2
= (int) (int)-1 ;
32132 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32133 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32134 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32135 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32136 long arg5
= (long) 0 ;
32137 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32138 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32139 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32140 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32141 wxPyControl
*result
;
32144 bool temp7
= false ;
32145 PyObject
* obj0
= 0 ;
32146 PyObject
* obj1
= 0 ;
32147 PyObject
* obj2
= 0 ;
32148 PyObject
* obj3
= 0 ;
32149 PyObject
* obj4
= 0 ;
32150 PyObject
* obj5
= 0 ;
32151 PyObject
* obj6
= 0 ;
32152 char *kwnames
[] = {
32153 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32158 if (SWIG_arg_fail(1)) SWIG_fail
;
32161 arg2
= (int const)(SWIG_As_int(obj1
));
32162 if (SWIG_arg_fail(2)) SWIG_fail
;
32168 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32174 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32179 arg5
= (long)(SWIG_As_long(obj4
));
32180 if (SWIG_arg_fail(5)) SWIG_fail
;
32185 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32186 if (SWIG_arg_fail(6)) SWIG_fail
;
32187 if (arg6
== NULL
) {
32188 SWIG_null_ref("wxValidator");
32190 if (SWIG_arg_fail(6)) SWIG_fail
;
32195 arg7
= wxString_in_helper(obj6
);
32196 if (arg7
== NULL
) SWIG_fail
;
32201 if (!wxPyCheckForApp()) SWIG_fail
;
32202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32203 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32205 wxPyEndAllowThreads(__tstate
);
32206 if (PyErr_Occurred()) SWIG_fail
;
32208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32223 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32224 PyObject
*resultobj
;
32225 wxPyControl
*result
;
32226 char *kwnames
[] = {
32230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
32232 if (!wxPyCheckForApp()) SWIG_fail
;
32233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32234 result
= (wxPyControl
*)new wxPyControl();
32236 wxPyEndAllowThreads(__tstate
);
32237 if (PyErr_Occurred()) SWIG_fail
;
32239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32246 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32247 PyObject
*resultobj
;
32248 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32249 PyObject
*arg2
= (PyObject
*) 0 ;
32250 PyObject
*arg3
= (PyObject
*) 0 ;
32251 PyObject
* obj0
= 0 ;
32252 PyObject
* obj1
= 0 ;
32253 PyObject
* obj2
= 0 ;
32254 char *kwnames
[] = {
32255 (char *) "self",(char *) "self",(char *) "_class", NULL
32258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32260 if (SWIG_arg_fail(1)) SWIG_fail
;
32264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32265 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32267 wxPyEndAllowThreads(__tstate
);
32268 if (PyErr_Occurred()) SWIG_fail
;
32270 Py_INCREF(Py_None
); resultobj
= Py_None
;
32277 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32278 PyObject
*resultobj
;
32279 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32282 PyObject
* obj0
= 0 ;
32283 PyObject
* obj1
= 0 ;
32284 char *kwnames
[] = {
32285 (char *) "self",(char *) "size", NULL
32288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32290 if (SWIG_arg_fail(1)) SWIG_fail
;
32293 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32297 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
32299 wxPyEndAllowThreads(__tstate
);
32300 if (PyErr_Occurred()) SWIG_fail
;
32302 Py_INCREF(Py_None
); resultobj
= Py_None
;
32309 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32310 PyObject
*resultobj
;
32311 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32316 PyObject
* obj0
= 0 ;
32317 PyObject
* obj1
= 0 ;
32318 PyObject
* obj2
= 0 ;
32319 PyObject
* obj3
= 0 ;
32320 PyObject
* obj4
= 0 ;
32321 char *kwnames
[] = {
32322 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32327 if (SWIG_arg_fail(1)) SWIG_fail
;
32329 arg2
= (int)(SWIG_As_int(obj1
));
32330 if (SWIG_arg_fail(2)) SWIG_fail
;
32333 arg3
= (int)(SWIG_As_int(obj2
));
32334 if (SWIG_arg_fail(3)) SWIG_fail
;
32337 arg4
= (int)(SWIG_As_int(obj3
));
32338 if (SWIG_arg_fail(4)) SWIG_fail
;
32341 arg5
= (int)(SWIG_As_int(obj4
));
32342 if (SWIG_arg_fail(5)) SWIG_fail
;
32345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32346 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
32348 wxPyEndAllowThreads(__tstate
);
32349 if (PyErr_Occurred()) SWIG_fail
;
32351 Py_INCREF(Py_None
); resultobj
= Py_None
;
32358 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32359 PyObject
*resultobj
;
32360 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32365 int arg6
= (int) wxSIZE_AUTO
;
32366 PyObject
* obj0
= 0 ;
32367 PyObject
* obj1
= 0 ;
32368 PyObject
* obj2
= 0 ;
32369 PyObject
* obj3
= 0 ;
32370 PyObject
* obj4
= 0 ;
32371 PyObject
* obj5
= 0 ;
32372 char *kwnames
[] = {
32373 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32378 if (SWIG_arg_fail(1)) SWIG_fail
;
32380 arg2
= (int)(SWIG_As_int(obj1
));
32381 if (SWIG_arg_fail(2)) SWIG_fail
;
32384 arg3
= (int)(SWIG_As_int(obj2
));
32385 if (SWIG_arg_fail(3)) SWIG_fail
;
32388 arg4
= (int)(SWIG_As_int(obj3
));
32389 if (SWIG_arg_fail(4)) SWIG_fail
;
32392 arg5
= (int)(SWIG_As_int(obj4
));
32393 if (SWIG_arg_fail(5)) SWIG_fail
;
32397 arg6
= (int)(SWIG_As_int(obj5
));
32398 if (SWIG_arg_fail(6)) SWIG_fail
;
32402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32403 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
32405 wxPyEndAllowThreads(__tstate
);
32406 if (PyErr_Occurred()) SWIG_fail
;
32408 Py_INCREF(Py_None
); resultobj
= Py_None
;
32415 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32416 PyObject
*resultobj
;
32417 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32420 PyObject
* obj0
= 0 ;
32421 PyObject
* obj1
= 0 ;
32422 PyObject
* obj2
= 0 ;
32423 char *kwnames
[] = {
32424 (char *) "self",(char *) "width",(char *) "height", NULL
32427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32429 if (SWIG_arg_fail(1)) SWIG_fail
;
32431 arg2
= (int)(SWIG_As_int(obj1
));
32432 if (SWIG_arg_fail(2)) SWIG_fail
;
32435 arg3
= (int)(SWIG_As_int(obj2
));
32436 if (SWIG_arg_fail(3)) SWIG_fail
;
32439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32440 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
32442 wxPyEndAllowThreads(__tstate
);
32443 if (PyErr_Occurred()) SWIG_fail
;
32445 Py_INCREF(Py_None
); resultobj
= Py_None
;
32452 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32453 PyObject
*resultobj
;
32454 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32457 PyObject
* obj0
= 0 ;
32458 PyObject
* obj1
= 0 ;
32459 PyObject
* obj2
= 0 ;
32460 char *kwnames
[] = {
32461 (char *) "self",(char *) "x",(char *) "y", NULL
32464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32466 if (SWIG_arg_fail(1)) SWIG_fail
;
32468 arg2
= (int)(SWIG_As_int(obj1
));
32469 if (SWIG_arg_fail(2)) SWIG_fail
;
32472 arg3
= (int)(SWIG_As_int(obj2
));
32473 if (SWIG_arg_fail(3)) SWIG_fail
;
32476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32477 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
32479 wxPyEndAllowThreads(__tstate
);
32480 if (PyErr_Occurred()) SWIG_fail
;
32482 Py_INCREF(Py_None
); resultobj
= Py_None
;
32489 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32490 PyObject
*resultobj
;
32491 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32492 int *arg2
= (int *) 0 ;
32493 int *arg3
= (int *) 0 ;
32498 PyObject
* obj0
= 0 ;
32499 char *kwnames
[] = {
32500 (char *) "self", NULL
32503 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32504 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
32506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32507 if (SWIG_arg_fail(1)) SWIG_fail
;
32509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32510 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
32512 wxPyEndAllowThreads(__tstate
);
32513 if (PyErr_Occurred()) SWIG_fail
;
32515 Py_INCREF(Py_None
); resultobj
= Py_None
;
32516 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32517 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32518 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32519 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32526 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32527 PyObject
*resultobj
;
32528 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32529 int *arg2
= (int *) 0 ;
32530 int *arg3
= (int *) 0 ;
32535 PyObject
* obj0
= 0 ;
32536 char *kwnames
[] = {
32537 (char *) "self", NULL
32540 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32541 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
32543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32544 if (SWIG_arg_fail(1)) SWIG_fail
;
32546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32547 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
32549 wxPyEndAllowThreads(__tstate
);
32550 if (PyErr_Occurred()) SWIG_fail
;
32552 Py_INCREF(Py_None
); resultobj
= Py_None
;
32553 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32554 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32555 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32556 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32563 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32564 PyObject
*resultobj
;
32565 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32566 int *arg2
= (int *) 0 ;
32567 int *arg3
= (int *) 0 ;
32572 PyObject
* obj0
= 0 ;
32573 char *kwnames
[] = {
32574 (char *) "self", NULL
32577 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32578 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
32580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32581 if (SWIG_arg_fail(1)) SWIG_fail
;
32583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32584 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
32586 wxPyEndAllowThreads(__tstate
);
32587 if (PyErr_Occurred()) SWIG_fail
;
32589 Py_INCREF(Py_None
); resultobj
= Py_None
;
32590 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32591 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32592 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32593 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32600 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32601 PyObject
*resultobj
;
32602 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32604 PyObject
* obj0
= 0 ;
32605 char *kwnames
[] = {
32606 (char *) "self", NULL
32609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
32610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32611 if (SWIG_arg_fail(1)) SWIG_fail
;
32613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32614 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
32616 wxPyEndAllowThreads(__tstate
);
32617 if (PyErr_Occurred()) SWIG_fail
;
32620 wxSize
* resultptr
;
32621 resultptr
= new wxSize((wxSize
&)(result
));
32622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32630 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32631 PyObject
*resultobj
;
32632 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32634 PyObject
* obj0
= 0 ;
32635 char *kwnames
[] = {
32636 (char *) "self", NULL
32639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
32640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32641 if (SWIG_arg_fail(1)) SWIG_fail
;
32643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32644 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
32646 wxPyEndAllowThreads(__tstate
);
32647 if (PyErr_Occurred()) SWIG_fail
;
32650 wxSize
* resultptr
;
32651 resultptr
= new wxSize((wxSize
&)(result
));
32652 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32660 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32661 PyObject
*resultobj
;
32662 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32663 PyObject
* obj0
= 0 ;
32664 char *kwnames
[] = {
32665 (char *) "self", NULL
32668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
32669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32670 if (SWIG_arg_fail(1)) SWIG_fail
;
32672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32673 (arg1
)->base_InitDialog();
32675 wxPyEndAllowThreads(__tstate
);
32676 if (PyErr_Occurred()) SWIG_fail
;
32678 Py_INCREF(Py_None
); resultobj
= Py_None
;
32685 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32686 PyObject
*resultobj
;
32687 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32689 PyObject
* obj0
= 0 ;
32690 char *kwnames
[] = {
32691 (char *) "self", NULL
32694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
32695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32696 if (SWIG_arg_fail(1)) SWIG_fail
;
32698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32699 result
= (bool)(arg1
)->base_TransferDataToWindow();
32701 wxPyEndAllowThreads(__tstate
);
32702 if (PyErr_Occurred()) SWIG_fail
;
32705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32713 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32714 PyObject
*resultobj
;
32715 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32717 PyObject
* obj0
= 0 ;
32718 char *kwnames
[] = {
32719 (char *) "self", NULL
32722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
32723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32724 if (SWIG_arg_fail(1)) SWIG_fail
;
32726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32727 result
= (bool)(arg1
)->base_TransferDataFromWindow();
32729 wxPyEndAllowThreads(__tstate
);
32730 if (PyErr_Occurred()) SWIG_fail
;
32733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32741 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32742 PyObject
*resultobj
;
32743 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32745 PyObject
* obj0
= 0 ;
32746 char *kwnames
[] = {
32747 (char *) "self", NULL
32750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
32751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32752 if (SWIG_arg_fail(1)) SWIG_fail
;
32754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32755 result
= (bool)(arg1
)->base_Validate();
32757 wxPyEndAllowThreads(__tstate
);
32758 if (PyErr_Occurred()) SWIG_fail
;
32761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32769 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32770 PyObject
*resultobj
;
32771 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32773 PyObject
* obj0
= 0 ;
32774 char *kwnames
[] = {
32775 (char *) "self", NULL
32778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
32779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32780 if (SWIG_arg_fail(1)) SWIG_fail
;
32782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32783 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
32785 wxPyEndAllowThreads(__tstate
);
32786 if (PyErr_Occurred()) SWIG_fail
;
32789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32797 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32798 PyObject
*resultobj
;
32799 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32801 PyObject
* obj0
= 0 ;
32802 char *kwnames
[] = {
32803 (char *) "self", NULL
32806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
32807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32808 if (SWIG_arg_fail(1)) SWIG_fail
;
32810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32811 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
32813 wxPyEndAllowThreads(__tstate
);
32814 if (PyErr_Occurred()) SWIG_fail
;
32817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32825 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32826 PyObject
*resultobj
;
32827 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32829 PyObject
* obj0
= 0 ;
32830 char *kwnames
[] = {
32831 (char *) "self", NULL
32834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
32835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32836 if (SWIG_arg_fail(1)) SWIG_fail
;
32838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32839 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
32841 wxPyEndAllowThreads(__tstate
);
32842 if (PyErr_Occurred()) SWIG_fail
;
32845 wxSize
* resultptr
;
32846 resultptr
= new wxSize((wxSize
&)(result
));
32847 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32855 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32856 PyObject
*resultobj
;
32857 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32858 wxWindow
*arg2
= (wxWindow
*) 0 ;
32859 PyObject
* obj0
= 0 ;
32860 PyObject
* obj1
= 0 ;
32861 char *kwnames
[] = {
32862 (char *) "self",(char *) "child", NULL
32865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32867 if (SWIG_arg_fail(1)) SWIG_fail
;
32868 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32869 if (SWIG_arg_fail(2)) SWIG_fail
;
32871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32872 (arg1
)->base_AddChild(arg2
);
32874 wxPyEndAllowThreads(__tstate
);
32875 if (PyErr_Occurred()) SWIG_fail
;
32877 Py_INCREF(Py_None
); resultobj
= Py_None
;
32884 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32885 PyObject
*resultobj
;
32886 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32887 wxWindow
*arg2
= (wxWindow
*) 0 ;
32888 PyObject
* obj0
= 0 ;
32889 PyObject
* obj1
= 0 ;
32890 char *kwnames
[] = {
32891 (char *) "self",(char *) "child", NULL
32894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32896 if (SWIG_arg_fail(1)) SWIG_fail
;
32897 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32898 if (SWIG_arg_fail(2)) SWIG_fail
;
32900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32901 (arg1
)->base_RemoveChild(arg2
);
32903 wxPyEndAllowThreads(__tstate
);
32904 if (PyErr_Occurred()) SWIG_fail
;
32906 Py_INCREF(Py_None
); resultobj
= Py_None
;
32913 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32914 PyObject
*resultobj
;
32915 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32917 PyObject
* obj0
= 0 ;
32918 char *kwnames
[] = {
32919 (char *) "self", NULL
32922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32924 if (SWIG_arg_fail(1)) SWIG_fail
;
32926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32927 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
32929 wxPyEndAllowThreads(__tstate
);
32930 if (PyErr_Occurred()) SWIG_fail
;
32933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32941 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32942 PyObject
*resultobj
;
32943 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32944 wxVisualAttributes result
;
32945 PyObject
* obj0
= 0 ;
32946 char *kwnames
[] = {
32947 (char *) "self", NULL
32950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32952 if (SWIG_arg_fail(1)) SWIG_fail
;
32954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32955 result
= (arg1
)->base_GetDefaultAttributes();
32957 wxPyEndAllowThreads(__tstate
);
32958 if (PyErr_Occurred()) SWIG_fail
;
32961 wxVisualAttributes
* resultptr
;
32962 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
32963 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
32971 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
32973 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32974 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
32976 return Py_BuildValue((char *)"");
32978 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32979 PyObject
*resultobj
;
32980 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32981 int arg2
= (int) 0 ;
32982 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32983 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32984 wxHelpEvent
*result
;
32986 PyObject
* obj0
= 0 ;
32987 PyObject
* obj1
= 0 ;
32988 PyObject
* obj2
= 0 ;
32989 char *kwnames
[] = {
32990 (char *) "type",(char *) "winid",(char *) "pt", NULL
32993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32996 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
32997 if (SWIG_arg_fail(1)) SWIG_fail
;
33002 arg2
= (int)(SWIG_As_int(obj1
));
33003 if (SWIG_arg_fail(2)) SWIG_fail
;
33009 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33014 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
33016 wxPyEndAllowThreads(__tstate
);
33017 if (PyErr_Occurred()) SWIG_fail
;
33019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
33026 static PyObject
*_wrap_HelpEvent_GetPosition(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_GetPosition",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();
33040 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
33042 wxPyEndAllowThreads(__tstate
);
33043 if (PyErr_Occurred()) SWIG_fail
;
33046 wxPoint
* resultptr
;
33047 resultptr
= new wxPoint((wxPoint
const &)(result
));
33048 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
33056 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33057 PyObject
*resultobj
;
33058 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33059 wxPoint
*arg2
= 0 ;
33061 PyObject
* obj0
= 0 ;
33062 PyObject
* obj1
= 0 ;
33063 char *kwnames
[] = {
33064 (char *) "self",(char *) "pos", NULL
33067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33069 if (SWIG_arg_fail(1)) SWIG_fail
;
33072 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33076 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
33078 wxPyEndAllowThreads(__tstate
);
33079 if (PyErr_Occurred()) SWIG_fail
;
33081 Py_INCREF(Py_None
); resultobj
= Py_None
;
33088 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33089 PyObject
*resultobj
;
33090 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33092 PyObject
* obj0
= 0 ;
33093 char *kwnames
[] = {
33094 (char *) "self", NULL
33097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
33098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33099 if (SWIG_arg_fail(1)) SWIG_fail
;
33101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33103 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
33104 result
= (wxString
*) &_result_ref
;
33107 wxPyEndAllowThreads(__tstate
);
33108 if (PyErr_Occurred()) SWIG_fail
;
33112 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33114 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33123 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33124 PyObject
*resultobj
;
33125 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33126 wxString
*arg2
= 0 ;
33127 bool temp2
= false ;
33128 PyObject
* obj0
= 0 ;
33129 PyObject
* obj1
= 0 ;
33130 char *kwnames
[] = {
33131 (char *) "self",(char *) "link", NULL
33134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
33135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33136 if (SWIG_arg_fail(1)) SWIG_fail
;
33138 arg2
= wxString_in_helper(obj1
);
33139 if (arg2
== NULL
) SWIG_fail
;
33143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33144 (arg1
)->SetLink((wxString
const &)*arg2
);
33146 wxPyEndAllowThreads(__tstate
);
33147 if (PyErr_Occurred()) SWIG_fail
;
33149 Py_INCREF(Py_None
); resultobj
= Py_None
;
33164 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33165 PyObject
*resultobj
;
33166 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33168 PyObject
* obj0
= 0 ;
33169 char *kwnames
[] = {
33170 (char *) "self", NULL
33173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
33174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33175 if (SWIG_arg_fail(1)) SWIG_fail
;
33177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33179 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
33180 result
= (wxString
*) &_result_ref
;
33183 wxPyEndAllowThreads(__tstate
);
33184 if (PyErr_Occurred()) SWIG_fail
;
33188 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33190 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33199 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33200 PyObject
*resultobj
;
33201 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33202 wxString
*arg2
= 0 ;
33203 bool temp2
= false ;
33204 PyObject
* obj0
= 0 ;
33205 PyObject
* obj1
= 0 ;
33206 char *kwnames
[] = {
33207 (char *) "self",(char *) "target", NULL
33210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
33211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33212 if (SWIG_arg_fail(1)) SWIG_fail
;
33214 arg2
= wxString_in_helper(obj1
);
33215 if (arg2
== NULL
) SWIG_fail
;
33219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33220 (arg1
)->SetTarget((wxString
const &)*arg2
);
33222 wxPyEndAllowThreads(__tstate
);
33223 if (PyErr_Occurred()) SWIG_fail
;
33225 Py_INCREF(Py_None
); resultobj
= Py_None
;
33240 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
33242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33243 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
33245 return Py_BuildValue((char *)"");
33247 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33248 PyObject
*resultobj
;
33249 wxWindow
*arg1
= (wxWindow
*) NULL
;
33250 bool arg2
= (bool) true ;
33251 wxContextHelp
*result
;
33252 PyObject
* obj0
= 0 ;
33253 PyObject
* obj1
= 0 ;
33254 char *kwnames
[] = {
33255 (char *) "window",(char *) "doNow", NULL
33258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33261 if (SWIG_arg_fail(1)) SWIG_fail
;
33265 arg2
= (bool)(SWIG_As_bool(obj1
));
33266 if (SWIG_arg_fail(2)) SWIG_fail
;
33270 if (!wxPyCheckForApp()) SWIG_fail
;
33271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33272 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
33274 wxPyEndAllowThreads(__tstate
);
33275 if (PyErr_Occurred()) SWIG_fail
;
33277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
33284 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33285 PyObject
*resultobj
;
33286 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33287 PyObject
* obj0
= 0 ;
33288 char *kwnames
[] = {
33289 (char *) "self", NULL
33292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
33293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33294 if (SWIG_arg_fail(1)) SWIG_fail
;
33296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33299 wxPyEndAllowThreads(__tstate
);
33300 if (PyErr_Occurred()) SWIG_fail
;
33302 Py_INCREF(Py_None
); resultobj
= Py_None
;
33309 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33310 PyObject
*resultobj
;
33311 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33312 wxWindow
*arg2
= (wxWindow
*) NULL
;
33314 PyObject
* obj0
= 0 ;
33315 PyObject
* obj1
= 0 ;
33316 char *kwnames
[] = {
33317 (char *) "self",(char *) "window", NULL
33320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33322 if (SWIG_arg_fail(1)) SWIG_fail
;
33324 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33325 if (SWIG_arg_fail(2)) SWIG_fail
;
33328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33329 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
33331 wxPyEndAllowThreads(__tstate
);
33332 if (PyErr_Occurred()) SWIG_fail
;
33335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33343 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33344 PyObject
*resultobj
;
33345 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33347 PyObject
* obj0
= 0 ;
33348 char *kwnames
[] = {
33349 (char *) "self", NULL
33352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
33353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33354 if (SWIG_arg_fail(1)) SWIG_fail
;
33356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33357 result
= (bool)(arg1
)->EndContextHelp();
33359 wxPyEndAllowThreads(__tstate
);
33360 if (PyErr_Occurred()) SWIG_fail
;
33363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33371 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
33373 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33374 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
33376 return Py_BuildValue((char *)"");
33378 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33379 PyObject
*resultobj
;
33380 wxWindow
*arg1
= (wxWindow
*) 0 ;
33381 int arg2
= (int) wxID_CONTEXT_HELP
;
33382 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33383 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33384 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33385 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33386 long arg5
= (long) wxBU_AUTODRAW
;
33387 wxContextHelpButton
*result
;
33390 PyObject
* obj0
= 0 ;
33391 PyObject
* obj1
= 0 ;
33392 PyObject
* obj2
= 0 ;
33393 PyObject
* obj3
= 0 ;
33394 PyObject
* obj4
= 0 ;
33395 char *kwnames
[] = {
33396 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33401 if (SWIG_arg_fail(1)) SWIG_fail
;
33404 arg2
= (int)(SWIG_As_int(obj1
));
33405 if (SWIG_arg_fail(2)) SWIG_fail
;
33411 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33417 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33422 arg5
= (long)(SWIG_As_long(obj4
));
33423 if (SWIG_arg_fail(5)) SWIG_fail
;
33427 if (!wxPyCheckForApp()) SWIG_fail
;
33428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33429 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33431 wxPyEndAllowThreads(__tstate
);
33432 if (PyErr_Occurred()) SWIG_fail
;
33434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
33441 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
33443 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33444 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
33446 return Py_BuildValue((char *)"");
33448 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33449 PyObject
*resultobj
;
33450 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33451 wxHelpProvider
*result
;
33452 PyObject
* obj0
= 0 ;
33453 char *kwnames
[] = {
33454 (char *) "helpProvider", NULL
33457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
33458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33459 if (SWIG_arg_fail(1)) SWIG_fail
;
33461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33462 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
33464 wxPyEndAllowThreads(__tstate
);
33465 if (PyErr_Occurred()) SWIG_fail
;
33467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33474 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33475 PyObject
*resultobj
;
33476 wxHelpProvider
*result
;
33477 char *kwnames
[] = {
33481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
33483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33484 result
= (wxHelpProvider
*)wxHelpProvider::Get();
33486 wxPyEndAllowThreads(__tstate
);
33487 if (PyErr_Occurred()) SWIG_fail
;
33489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33496 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33497 PyObject
*resultobj
;
33498 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33499 wxWindow
*arg2
= (wxWindow
*) 0 ;
33501 PyObject
* obj0
= 0 ;
33502 PyObject
* obj1
= 0 ;
33503 char *kwnames
[] = {
33504 (char *) "self",(char *) "window", NULL
33507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33509 if (SWIG_arg_fail(1)) SWIG_fail
;
33510 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33511 if (SWIG_arg_fail(2)) SWIG_fail
;
33513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33514 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
33516 wxPyEndAllowThreads(__tstate
);
33517 if (PyErr_Occurred()) SWIG_fail
;
33521 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33523 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33532 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33533 PyObject
*resultobj
;
33534 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33535 wxWindow
*arg2
= (wxWindow
*) 0 ;
33537 PyObject
* obj0
= 0 ;
33538 PyObject
* obj1
= 0 ;
33539 char *kwnames
[] = {
33540 (char *) "self",(char *) "window", NULL
33543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33545 if (SWIG_arg_fail(1)) SWIG_fail
;
33546 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33547 if (SWIG_arg_fail(2)) SWIG_fail
;
33549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33550 result
= (bool)(arg1
)->ShowHelp(arg2
);
33552 wxPyEndAllowThreads(__tstate
);
33553 if (PyErr_Occurred()) SWIG_fail
;
33556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33564 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33565 PyObject
*resultobj
;
33566 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33567 wxWindow
*arg2
= (wxWindow
*) 0 ;
33568 wxString
*arg3
= 0 ;
33569 bool temp3
= false ;
33570 PyObject
* obj0
= 0 ;
33571 PyObject
* obj1
= 0 ;
33572 PyObject
* obj2
= 0 ;
33573 char *kwnames
[] = {
33574 (char *) "self",(char *) "window",(char *) "text", NULL
33577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33579 if (SWIG_arg_fail(1)) SWIG_fail
;
33580 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33581 if (SWIG_arg_fail(2)) SWIG_fail
;
33583 arg3
= wxString_in_helper(obj2
);
33584 if (arg3
== NULL
) SWIG_fail
;
33588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33589 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33591 wxPyEndAllowThreads(__tstate
);
33592 if (PyErr_Occurred()) SWIG_fail
;
33594 Py_INCREF(Py_None
); resultobj
= Py_None
;
33609 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33610 PyObject
*resultobj
;
33611 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33613 wxString
*arg3
= 0 ;
33614 bool temp3
= false ;
33615 PyObject
* obj0
= 0 ;
33616 PyObject
* obj1
= 0 ;
33617 PyObject
* obj2
= 0 ;
33618 char *kwnames
[] = {
33619 (char *) "self",(char *) "id",(char *) "text", NULL
33622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33624 if (SWIG_arg_fail(1)) SWIG_fail
;
33626 arg2
= (int)(SWIG_As_int(obj1
));
33627 if (SWIG_arg_fail(2)) SWIG_fail
;
33630 arg3
= wxString_in_helper(obj2
);
33631 if (arg3
== NULL
) SWIG_fail
;
33635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33636 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33638 wxPyEndAllowThreads(__tstate
);
33639 if (PyErr_Occurred()) SWIG_fail
;
33641 Py_INCREF(Py_None
); resultobj
= Py_None
;
33656 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33657 PyObject
*resultobj
;
33658 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33659 wxWindow
*arg2
= (wxWindow
*) 0 ;
33660 PyObject
* obj0
= 0 ;
33661 PyObject
* obj1
= 0 ;
33662 char *kwnames
[] = {
33663 (char *) "self",(char *) "window", NULL
33666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33668 if (SWIG_arg_fail(1)) SWIG_fail
;
33669 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33670 if (SWIG_arg_fail(2)) SWIG_fail
;
33672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33673 (arg1
)->RemoveHelp(arg2
);
33675 wxPyEndAllowThreads(__tstate
);
33676 if (PyErr_Occurred()) SWIG_fail
;
33678 Py_INCREF(Py_None
); resultobj
= Py_None
;
33685 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33686 PyObject
*resultobj
;
33687 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33688 PyObject
* obj0
= 0 ;
33689 char *kwnames
[] = {
33690 (char *) "self", NULL
33693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
33694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33695 if (SWIG_arg_fail(1)) SWIG_fail
;
33697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33698 wxHelpProvider_Destroy(arg1
);
33700 wxPyEndAllowThreads(__tstate
);
33701 if (PyErr_Occurred()) SWIG_fail
;
33703 Py_INCREF(Py_None
); resultobj
= Py_None
;
33710 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33712 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33713 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
33715 return Py_BuildValue((char *)"");
33717 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33718 PyObject
*resultobj
;
33719 wxSimpleHelpProvider
*result
;
33720 char *kwnames
[] = {
33724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
33726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33727 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
33729 wxPyEndAllowThreads(__tstate
);
33730 if (PyErr_Occurred()) SWIG_fail
;
33732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
33739 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33742 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
33744 return Py_BuildValue((char *)"");
33746 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33747 PyObject
*resultobj
;
33748 wxBitmap
*arg1
= 0 ;
33749 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33750 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33751 wxGenericDragImage
*result
;
33752 PyObject
* obj0
= 0 ;
33753 PyObject
* obj1
= 0 ;
33754 char *kwnames
[] = {
33755 (char *) "image",(char *) "cursor", NULL
33758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
33760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33761 if (SWIG_arg_fail(1)) SWIG_fail
;
33762 if (arg1
== NULL
) {
33763 SWIG_null_ref("wxBitmap");
33765 if (SWIG_arg_fail(1)) SWIG_fail
;
33769 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33770 if (SWIG_arg_fail(2)) SWIG_fail
;
33771 if (arg2
== NULL
) {
33772 SWIG_null_ref("wxCursor");
33774 if (SWIG_arg_fail(2)) SWIG_fail
;
33778 if (!wxPyCheckForApp()) SWIG_fail
;
33779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33780 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
33782 wxPyEndAllowThreads(__tstate
);
33783 if (PyErr_Occurred()) SWIG_fail
;
33785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33792 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33793 PyObject
*resultobj
;
33795 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33796 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33797 wxGenericDragImage
*result
;
33798 PyObject
* obj0
= 0 ;
33799 PyObject
* obj1
= 0 ;
33800 char *kwnames
[] = {
33801 (char *) "image",(char *) "cursor", NULL
33804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
33806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
33807 if (SWIG_arg_fail(1)) SWIG_fail
;
33808 if (arg1
== NULL
) {
33809 SWIG_null_ref("wxIcon");
33811 if (SWIG_arg_fail(1)) SWIG_fail
;
33815 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33816 if (SWIG_arg_fail(2)) SWIG_fail
;
33817 if (arg2
== NULL
) {
33818 SWIG_null_ref("wxCursor");
33820 if (SWIG_arg_fail(2)) SWIG_fail
;
33824 if (!wxPyCheckForApp()) SWIG_fail
;
33825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33826 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
33828 wxPyEndAllowThreads(__tstate
);
33829 if (PyErr_Occurred()) SWIG_fail
;
33831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33838 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33839 PyObject
*resultobj
;
33840 wxString
*arg1
= 0 ;
33841 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33842 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33843 wxGenericDragImage
*result
;
33844 bool temp1
= false ;
33845 PyObject
* obj0
= 0 ;
33846 PyObject
* obj1
= 0 ;
33847 char *kwnames
[] = {
33848 (char *) "str",(char *) "cursor", NULL
33851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
33853 arg1
= wxString_in_helper(obj0
);
33854 if (arg1
== NULL
) SWIG_fail
;
33859 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33860 if (SWIG_arg_fail(2)) SWIG_fail
;
33861 if (arg2
== NULL
) {
33862 SWIG_null_ref("wxCursor");
33864 if (SWIG_arg_fail(2)) SWIG_fail
;
33868 if (!wxPyCheckForApp()) SWIG_fail
;
33869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33870 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
33872 wxPyEndAllowThreads(__tstate
);
33873 if (PyErr_Occurred()) SWIG_fail
;
33875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33890 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33891 PyObject
*resultobj
;
33892 wxPyTreeCtrl
*arg1
= 0 ;
33893 wxTreeItemId
*arg2
= 0 ;
33894 wxGenericDragImage
*result
;
33895 PyObject
* obj0
= 0 ;
33896 PyObject
* obj1
= 0 ;
33897 char *kwnames
[] = {
33898 (char *) "treeCtrl",(char *) "id", NULL
33901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33904 if (SWIG_arg_fail(1)) SWIG_fail
;
33905 if (arg1
== NULL
) {
33906 SWIG_null_ref("wxPyTreeCtrl");
33908 if (SWIG_arg_fail(1)) SWIG_fail
;
33911 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
33912 if (SWIG_arg_fail(2)) SWIG_fail
;
33913 if (arg2
== NULL
) {
33914 SWIG_null_ref("wxTreeItemId");
33916 if (SWIG_arg_fail(2)) SWIG_fail
;
33919 if (!wxPyCheckForApp()) SWIG_fail
;
33920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33921 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
33923 wxPyEndAllowThreads(__tstate
);
33924 if (PyErr_Occurred()) SWIG_fail
;
33926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33933 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33934 PyObject
*resultobj
;
33935 wxPyListCtrl
*arg1
= 0 ;
33937 wxGenericDragImage
*result
;
33938 PyObject
* obj0
= 0 ;
33939 PyObject
* obj1
= 0 ;
33940 char *kwnames
[] = {
33941 (char *) "listCtrl",(char *) "id", NULL
33944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33947 if (SWIG_arg_fail(1)) SWIG_fail
;
33948 if (arg1
== NULL
) {
33949 SWIG_null_ref("wxPyListCtrl");
33951 if (SWIG_arg_fail(1)) SWIG_fail
;
33954 arg2
= (long)(SWIG_As_long(obj1
));
33955 if (SWIG_arg_fail(2)) SWIG_fail
;
33958 if (!wxPyCheckForApp()) SWIG_fail
;
33959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33960 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
33962 wxPyEndAllowThreads(__tstate
);
33963 if (PyErr_Occurred()) SWIG_fail
;
33965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33972 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33973 PyObject
*resultobj
;
33974 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33975 PyObject
* obj0
= 0 ;
33976 char *kwnames
[] = {
33977 (char *) "self", NULL
33980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
33981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33982 if (SWIG_arg_fail(1)) SWIG_fail
;
33984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33987 wxPyEndAllowThreads(__tstate
);
33988 if (PyErr_Occurred()) SWIG_fail
;
33990 Py_INCREF(Py_None
); resultobj
= Py_None
;
33997 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33998 PyObject
*resultobj
;
33999 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34000 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34001 PyObject
* obj0
= 0 ;
34002 PyObject
* obj1
= 0 ;
34003 char *kwnames
[] = {
34004 (char *) "self",(char *) "bitmap", NULL
34007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
34008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34009 if (SWIG_arg_fail(1)) SWIG_fail
;
34010 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
34011 if (SWIG_arg_fail(2)) SWIG_fail
;
34013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34014 (arg1
)->SetBackingBitmap(arg2
);
34016 wxPyEndAllowThreads(__tstate
);
34017 if (PyErr_Occurred()) SWIG_fail
;
34019 Py_INCREF(Py_None
); resultobj
= Py_None
;
34026 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34027 PyObject
*resultobj
;
34028 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34029 wxPoint
*arg2
= 0 ;
34030 wxWindow
*arg3
= (wxWindow
*) 0 ;
34031 bool arg4
= (bool) false ;
34032 wxRect
*arg5
= (wxRect
*) NULL
;
34035 PyObject
* obj0
= 0 ;
34036 PyObject
* obj1
= 0 ;
34037 PyObject
* obj2
= 0 ;
34038 PyObject
* obj3
= 0 ;
34039 PyObject
* obj4
= 0 ;
34040 char *kwnames
[] = {
34041 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34046 if (SWIG_arg_fail(1)) SWIG_fail
;
34049 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34051 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34052 if (SWIG_arg_fail(3)) SWIG_fail
;
34055 arg4
= (bool)(SWIG_As_bool(obj3
));
34056 if (SWIG_arg_fail(4)) SWIG_fail
;
34060 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
34061 if (SWIG_arg_fail(5)) SWIG_fail
;
34064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34065 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
34067 wxPyEndAllowThreads(__tstate
);
34068 if (PyErr_Occurred()) SWIG_fail
;
34071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34079 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34080 PyObject
*resultobj
;
34081 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34082 wxPoint
*arg2
= 0 ;
34083 wxWindow
*arg3
= (wxWindow
*) 0 ;
34084 wxWindow
*arg4
= (wxWindow
*) 0 ;
34087 PyObject
* obj0
= 0 ;
34088 PyObject
* obj1
= 0 ;
34089 PyObject
* obj2
= 0 ;
34090 PyObject
* obj3
= 0 ;
34091 char *kwnames
[] = {
34092 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34097 if (SWIG_arg_fail(1)) SWIG_fail
;
34100 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34102 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34103 if (SWIG_arg_fail(3)) SWIG_fail
;
34104 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34105 if (SWIG_arg_fail(4)) SWIG_fail
;
34107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34108 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
34110 wxPyEndAllowThreads(__tstate
);
34111 if (PyErr_Occurred()) SWIG_fail
;
34114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34122 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34123 PyObject
*resultobj
;
34124 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34126 PyObject
* obj0
= 0 ;
34127 char *kwnames
[] = {
34128 (char *) "self", NULL
34131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
34132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34133 if (SWIG_arg_fail(1)) SWIG_fail
;
34135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34136 result
= (bool)(arg1
)->EndDrag();
34138 wxPyEndAllowThreads(__tstate
);
34139 if (PyErr_Occurred()) SWIG_fail
;
34142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34150 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34151 PyObject
*resultobj
;
34152 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34153 wxPoint
*arg2
= 0 ;
34156 PyObject
* obj0
= 0 ;
34157 PyObject
* obj1
= 0 ;
34158 char *kwnames
[] = {
34159 (char *) "self",(char *) "pt", NULL
34162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
34163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34164 if (SWIG_arg_fail(1)) SWIG_fail
;
34167 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34171 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
34173 wxPyEndAllowThreads(__tstate
);
34174 if (PyErr_Occurred()) SWIG_fail
;
34177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34185 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34186 PyObject
*resultobj
;
34187 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34189 PyObject
* obj0
= 0 ;
34190 char *kwnames
[] = {
34191 (char *) "self", NULL
34194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
34195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34196 if (SWIG_arg_fail(1)) SWIG_fail
;
34198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34199 result
= (bool)(arg1
)->Show();
34201 wxPyEndAllowThreads(__tstate
);
34202 if (PyErr_Occurred()) SWIG_fail
;
34205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34213 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34214 PyObject
*resultobj
;
34215 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34217 PyObject
* obj0
= 0 ;
34218 char *kwnames
[] = {
34219 (char *) "self", NULL
34222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
34223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34224 if (SWIG_arg_fail(1)) SWIG_fail
;
34226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34227 result
= (bool)(arg1
)->Hide();
34229 wxPyEndAllowThreads(__tstate
);
34230 if (PyErr_Occurred()) SWIG_fail
;
34233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34241 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34242 PyObject
*resultobj
;
34243 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34244 wxPoint
*arg2
= 0 ;
34247 PyObject
* obj0
= 0 ;
34248 PyObject
* obj1
= 0 ;
34249 char *kwnames
[] = {
34250 (char *) "self",(char *) "pos", NULL
34253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
34254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34255 if (SWIG_arg_fail(1)) SWIG_fail
;
34258 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34262 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
34264 wxPyEndAllowThreads(__tstate
);
34265 if (PyErr_Occurred()) SWIG_fail
;
34268 wxRect
* resultptr
;
34269 resultptr
= new wxRect((wxRect
&)(result
));
34270 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
34278 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34279 PyObject
*resultobj
;
34280 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34282 wxPoint
*arg3
= 0 ;
34285 PyObject
* obj0
= 0 ;
34286 PyObject
* obj1
= 0 ;
34287 PyObject
* obj2
= 0 ;
34288 char *kwnames
[] = {
34289 (char *) "self",(char *) "dc",(char *) "pos", NULL
34292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34294 if (SWIG_arg_fail(1)) SWIG_fail
;
34296 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34297 if (SWIG_arg_fail(2)) SWIG_fail
;
34298 if (arg2
== NULL
) {
34299 SWIG_null_ref("wxDC");
34301 if (SWIG_arg_fail(2)) SWIG_fail
;
34305 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34309 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
34311 wxPyEndAllowThreads(__tstate
);
34312 if (PyErr_Occurred()) SWIG_fail
;
34315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34323 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34324 PyObject
*resultobj
;
34325 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34327 wxMemoryDC
*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 *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",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
;
34346 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34347 if (SWIG_arg_fail(2)) SWIG_fail
;
34348 if (arg2
== NULL
) {
34349 SWIG_null_ref("wxDC");
34351 if (SWIG_arg_fail(2)) SWIG_fail
;
34354 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
34355 if (SWIG_arg_fail(3)) SWIG_fail
;
34356 if (arg3
== NULL
) {
34357 SWIG_null_ref("wxMemoryDC");
34359 if (SWIG_arg_fail(3)) SWIG_fail
;
34363 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34367 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
34370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34371 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
34373 wxPyEndAllowThreads(__tstate
);
34374 if (PyErr_Occurred()) SWIG_fail
;
34377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34385 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34386 PyObject
*resultobj
;
34387 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34388 wxPoint
*arg2
= 0 ;
34389 wxPoint
*arg3
= 0 ;
34395 PyObject
* obj0
= 0 ;
34396 PyObject
* obj1
= 0 ;
34397 PyObject
* obj2
= 0 ;
34398 PyObject
* obj3
= 0 ;
34399 PyObject
* obj4
= 0 ;
34400 char *kwnames
[] = {
34401 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34406 if (SWIG_arg_fail(1)) SWIG_fail
;
34409 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34413 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34416 arg4
= (bool)(SWIG_As_bool(obj3
));
34417 if (SWIG_arg_fail(4)) SWIG_fail
;
34420 arg5
= (bool)(SWIG_As_bool(obj4
));
34421 if (SWIG_arg_fail(5)) SWIG_fail
;
34424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34425 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
34427 wxPyEndAllowThreads(__tstate
);
34428 if (PyErr_Occurred()) SWIG_fail
;
34431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34439 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
34441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34442 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
34444 return Py_BuildValue((char *)"");
34446 static int _wrap_DatePickerCtrlNameStr_set(PyObject
*) {
34447 PyErr_SetString(PyExc_TypeError
,"Variable DatePickerCtrlNameStr is read-only.");
34452 static PyObject
*_wrap_DatePickerCtrlNameStr_get(void) {
34457 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34459 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34466 static PyObject
*_wrap_new_DatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34467 PyObject
*resultobj
;
34468 wxWindow
*arg1
= (wxWindow
*) 0 ;
34469 int arg2
= (int) -1 ;
34470 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
34471 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
34472 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34473 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34474 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34475 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34476 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34477 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34478 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34479 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
34480 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34481 wxDatePickerCtrl
*result
;
34484 bool temp8
= false ;
34485 PyObject
* obj0
= 0 ;
34486 PyObject
* obj1
= 0 ;
34487 PyObject
* obj2
= 0 ;
34488 PyObject
* obj3
= 0 ;
34489 PyObject
* obj4
= 0 ;
34490 PyObject
* obj5
= 0 ;
34491 PyObject
* obj6
= 0 ;
34492 PyObject
* obj7
= 0 ;
34493 char *kwnames
[] = {
34494 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
34498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34499 if (SWIG_arg_fail(1)) SWIG_fail
;
34502 arg2
= (int)(SWIG_As_int(obj1
));
34503 if (SWIG_arg_fail(2)) SWIG_fail
;
34508 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34509 if (SWIG_arg_fail(3)) SWIG_fail
;
34510 if (arg3
== NULL
) {
34511 SWIG_null_ref("wxDateTime");
34513 if (SWIG_arg_fail(3)) SWIG_fail
;
34519 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34525 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34530 arg6
= (long)(SWIG_As_long(obj5
));
34531 if (SWIG_arg_fail(6)) SWIG_fail
;
34536 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34537 if (SWIG_arg_fail(7)) SWIG_fail
;
34538 if (arg7
== NULL
) {
34539 SWIG_null_ref("wxValidator");
34541 if (SWIG_arg_fail(7)) SWIG_fail
;
34546 arg8
= wxString_in_helper(obj7
);
34547 if (arg8
== NULL
) SWIG_fail
;
34552 if (!wxPyCheckForApp()) SWIG_fail
;
34553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34554 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34556 wxPyEndAllowThreads(__tstate
);
34557 if (PyErr_Occurred()) SWIG_fail
;
34559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34574 static PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34575 PyObject
*resultobj
;
34576 wxDatePickerCtrl
*result
;
34577 char *kwnames
[] = {
34581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDatePickerCtrl",kwnames
)) goto fail
;
34583 if (!wxPyCheckForApp()) SWIG_fail
;
34584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34585 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
34587 wxPyEndAllowThreads(__tstate
);
34588 if (PyErr_Occurred()) SWIG_fail
;
34590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34597 static PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34598 PyObject
*resultobj
;
34599 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34600 wxWindow
*arg2
= (wxWindow
*) 0 ;
34601 int arg3
= (int) -1 ;
34602 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
34603 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
34604 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
34605 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
34606 wxSize
const &arg6_defvalue
= wxDefaultSize
;
34607 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
34608 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34609 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
34610 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
34611 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
34612 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
34616 bool temp9
= false ;
34617 PyObject
* obj0
= 0 ;
34618 PyObject
* obj1
= 0 ;
34619 PyObject
* obj2
= 0 ;
34620 PyObject
* obj3
= 0 ;
34621 PyObject
* obj4
= 0 ;
34622 PyObject
* obj5
= 0 ;
34623 PyObject
* obj6
= 0 ;
34624 PyObject
* obj7
= 0 ;
34625 PyObject
* obj8
= 0 ;
34626 char *kwnames
[] = {
34627 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
34631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34632 if (SWIG_arg_fail(1)) SWIG_fail
;
34633 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34634 if (SWIG_arg_fail(2)) SWIG_fail
;
34637 arg3
= (int)(SWIG_As_int(obj2
));
34638 if (SWIG_arg_fail(3)) SWIG_fail
;
34643 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34644 if (SWIG_arg_fail(4)) SWIG_fail
;
34645 if (arg4
== NULL
) {
34646 SWIG_null_ref("wxDateTime");
34648 if (SWIG_arg_fail(4)) SWIG_fail
;
34654 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
34660 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
34665 arg7
= (long)(SWIG_As_long(obj6
));
34666 if (SWIG_arg_fail(7)) SWIG_fail
;
34671 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34672 if (SWIG_arg_fail(8)) SWIG_fail
;
34673 if (arg8
== NULL
) {
34674 SWIG_null_ref("wxValidator");
34676 if (SWIG_arg_fail(8)) SWIG_fail
;
34681 arg9
= wxString_in_helper(obj8
);
34682 if (arg9
== NULL
) SWIG_fail
;
34687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34688 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
34690 wxPyEndAllowThreads(__tstate
);
34691 if (PyErr_Occurred()) SWIG_fail
;
34694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34710 static PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34711 PyObject
*resultobj
;
34712 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34713 wxDateTime
*arg2
= 0 ;
34714 PyObject
* obj0
= 0 ;
34715 PyObject
* obj1
= 0 ;
34716 char *kwnames
[] = {
34717 (char *) "self",(char *) "dt", NULL
34720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
34721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34722 if (SWIG_arg_fail(1)) SWIG_fail
;
34724 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34725 if (SWIG_arg_fail(2)) SWIG_fail
;
34726 if (arg2
== NULL
) {
34727 SWIG_null_ref("wxDateTime");
34729 if (SWIG_arg_fail(2)) SWIG_fail
;
34732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34733 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
34735 wxPyEndAllowThreads(__tstate
);
34736 if (PyErr_Occurred()) SWIG_fail
;
34738 Py_INCREF(Py_None
); resultobj
= Py_None
;
34745 static PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34746 PyObject
*resultobj
;
34747 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34749 PyObject
* obj0
= 0 ;
34750 char *kwnames
[] = {
34751 (char *) "self", NULL
34754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
34755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34756 if (SWIG_arg_fail(1)) SWIG_fail
;
34758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34759 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
34761 wxPyEndAllowThreads(__tstate
);
34762 if (PyErr_Occurred()) SWIG_fail
;
34765 wxDateTime
* resultptr
;
34766 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34767 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34775 static PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34776 PyObject
*resultobj
;
34777 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34778 wxDateTime
*arg2
= 0 ;
34779 wxDateTime
*arg3
= 0 ;
34780 PyObject
* obj0
= 0 ;
34781 PyObject
* obj1
= 0 ;
34782 PyObject
* obj2
= 0 ;
34783 char *kwnames
[] = {
34784 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34789 if (SWIG_arg_fail(1)) SWIG_fail
;
34791 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34792 if (SWIG_arg_fail(2)) SWIG_fail
;
34793 if (arg2
== NULL
) {
34794 SWIG_null_ref("wxDateTime");
34796 if (SWIG_arg_fail(2)) SWIG_fail
;
34799 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34800 if (SWIG_arg_fail(3)) SWIG_fail
;
34801 if (arg3
== NULL
) {
34802 SWIG_null_ref("wxDateTime");
34804 if (SWIG_arg_fail(3)) SWIG_fail
;
34807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34808 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
34810 wxPyEndAllowThreads(__tstate
);
34811 if (PyErr_Occurred()) SWIG_fail
;
34813 Py_INCREF(Py_None
); resultobj
= Py_None
;
34820 static PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34821 PyObject
*resultobj
;
34822 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34824 PyObject
* obj0
= 0 ;
34825 char *kwnames
[] = {
34826 (char *) "self", NULL
34829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames
,&obj0
)) goto fail
;
34830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34831 if (SWIG_arg_fail(1)) SWIG_fail
;
34833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34834 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
34836 wxPyEndAllowThreads(__tstate
);
34837 if (PyErr_Occurred()) SWIG_fail
;
34840 wxDateTime
* resultptr
;
34841 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34842 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34850 static PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34851 PyObject
*resultobj
;
34852 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34854 PyObject
* obj0
= 0 ;
34855 char *kwnames
[] = {
34856 (char *) "self", NULL
34859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames
,&obj0
)) goto fail
;
34860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34861 if (SWIG_arg_fail(1)) SWIG_fail
;
34863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34864 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
34866 wxPyEndAllowThreads(__tstate
);
34867 if (PyErr_Occurred()) SWIG_fail
;
34870 wxDateTime
* resultptr
;
34871 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34872 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34880 static PyObject
* DatePickerCtrl_swigregister(PyObject
*, PyObject
*args
) {
34882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34883 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl
, obj
);
34885 return Py_BuildValue((char *)"");
34887 static PyMethodDef SwigMethods
[] = {
34888 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34889 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34890 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34891 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34892 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34893 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34894 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
34895 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34896 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34897 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34898 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34899 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34900 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34901 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34902 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34903 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34904 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34905 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34906 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34907 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34908 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34909 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
34910 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34911 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34912 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34913 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34914 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34915 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34916 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34917 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34918 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34919 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34920 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34921 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
34922 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34923 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34924 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34925 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34926 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
34927 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34928 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34929 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34930 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34931 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34932 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34933 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34934 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34935 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34936 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34937 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34938 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34939 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34940 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34941 { (char *)"ComboBox_GetMark", (PyCFunction
) _wrap_ComboBox_GetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34942 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34943 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34944 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34945 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34946 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34947 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34948 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34949 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34950 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34951 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34952 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34953 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34954 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34955 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34956 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34957 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
34958 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34959 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34960 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34961 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34962 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34963 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34964 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34965 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34966 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34967 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34968 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34969 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34970 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34971 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
34972 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34973 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34974 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34975 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34976 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
34977 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34978 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34979 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34980 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34981 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34982 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34983 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
34984 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34985 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34986 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34987 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34988 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
34989 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34990 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34991 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34992 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34993 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34994 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34995 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34996 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
34997 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34998 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34999 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35000 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35001 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35002 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35003 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35004 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35005 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35006 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35007 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35008 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35009 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35010 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35011 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35012 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35013 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35014 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35015 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35016 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35017 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35018 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35019 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
35020 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35021 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35022 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35023 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35024 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35025 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35026 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35027 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35028 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
35029 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35030 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35031 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35032 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35033 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35034 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35035 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35036 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35037 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35038 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35039 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35040 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35041 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35042 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35043 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35044 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35045 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35046 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35047 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35048 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35049 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35050 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35051 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35052 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35053 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35054 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35055 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35056 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35057 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35058 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35059 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
35060 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35061 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35062 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35063 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35064 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35065 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35066 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35067 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35068 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35069 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35070 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35071 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35072 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35073 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35074 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35075 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35076 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35077 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35078 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35079 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35080 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35081 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35082 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35083 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35084 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35085 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35086 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35087 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35088 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35089 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35090 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35091 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35092 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35093 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35094 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35095 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35096 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35097 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35098 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35099 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35100 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35102 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35103 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35104 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35105 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35106 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35107 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35108 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35109 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35110 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35111 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35112 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35113 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35114 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35115 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
35116 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35117 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35118 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35119 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35120 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
35121 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35122 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35123 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35124 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35125 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35126 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35127 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35128 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35129 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35130 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35131 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35132 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
35133 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35134 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35135 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35136 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35137 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35138 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35139 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35140 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35142 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35144 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
35146 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35147 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35150 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35151 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35152 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35155 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35156 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35157 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
35158 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35159 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35161 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
35162 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35163 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35164 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35165 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35169 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35173 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35174 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35175 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35177 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35178 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35179 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
35180 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35181 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35186 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
35187 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35189 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35194 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35200 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35201 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35202 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35203 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35204 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35205 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35206 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35207 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35208 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35210 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
35213 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35215 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35218 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35220 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
35221 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35226 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35229 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35236 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
35243 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35244 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35245 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35246 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35247 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35248 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
35249 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35250 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35251 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35252 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35253 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35254 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35255 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35256 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35257 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
) _wrap_Notebook_GetThemeBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35258 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35259 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
35260 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35261 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
35262 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35263 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35264 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35265 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35266 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35267 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
35268 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35269 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
35270 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35271 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35272 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35273 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35274 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
) _wrap_Choicebook_GetChoiceCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35275 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35276 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
35277 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35278 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
35279 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35280 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35281 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35282 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35283 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
35284 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35285 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35286 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35287 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35288 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
35289 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35290 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35291 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35292 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35293 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35294 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35295 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35296 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35297 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35298 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35299 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35300 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35301 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35302 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35303 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35304 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35305 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35306 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35307 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35308 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35309 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35310 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35311 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35312 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35313 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35314 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35315 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35316 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35317 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35318 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
35319 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35320 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35321 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35322 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35323 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35324 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35325 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35326 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35327 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35328 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35329 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35330 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35331 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35332 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35333 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35334 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35335 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35336 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35337 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35338 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35339 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35340 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35341 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35342 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35343 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35344 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35345 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35346 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35347 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35348 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35349 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35350 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35351 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35352 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35353 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35354 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35355 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35356 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35357 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35358 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35359 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35360 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35361 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35362 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35363 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
35364 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35365 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35366 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35367 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35368 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35369 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
35370 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35371 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35372 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35373 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35374 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35375 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35376 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35377 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35378 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35379 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35380 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35381 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
35382 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35383 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35384 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35385 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35386 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35387 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35388 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35389 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35390 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35391 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35392 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35393 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35394 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35395 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35396 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35397 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35398 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35399 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35400 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35401 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35402 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35403 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35404 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35405 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35406 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35407 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35408 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35409 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35410 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35411 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35413 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35414 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35415 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35416 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35417 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35418 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35419 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35420 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35421 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35422 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35423 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35424 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35425 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35426 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35427 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35428 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35429 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35430 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35431 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35432 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35433 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
35434 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35435 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35436 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35438 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35439 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35440 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35441 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35442 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35443 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35444 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35445 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35446 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35447 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35448 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35450 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35451 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35452 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35453 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35454 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35455 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35456 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35457 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35458 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35459 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35460 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
35461 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35462 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35463 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35464 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35465 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35466 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35467 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35468 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35469 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35470 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35471 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35472 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35473 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35474 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35475 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35476 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35477 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35478 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35479 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35480 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35481 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35482 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35483 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35484 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35485 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35486 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35487 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35488 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35489 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35490 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35491 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35492 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35493 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35494 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35495 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35496 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35497 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35498 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35499 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35500 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35501 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35502 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35503 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35504 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35505 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35506 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35507 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35508 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35509 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35510 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35511 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35512 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35513 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35514 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35515 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35516 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35517 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35518 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35519 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35520 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35521 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35522 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35523 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35524 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35525 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35526 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35527 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35528 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35529 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35530 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35531 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
35532 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35533 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35534 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35535 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35536 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35537 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35538 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35539 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35540 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35541 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35542 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35543 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
35544 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35545 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35546 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35547 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35548 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35549 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35550 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35551 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
35552 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35553 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35554 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35555 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35556 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35557 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35558 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
35559 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35560 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35561 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35562 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35563 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35564 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35565 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35566 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35567 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35568 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35569 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35570 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35571 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35572 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35573 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35574 { (char *)"TreeEvent_GetToolTip", (PyCFunction
) _wrap_TreeEvent_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35575 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
35576 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35577 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35578 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35579 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35580 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35581 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35582 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35583 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35584 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35585 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35586 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35587 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35588 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35589 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35590 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35591 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35592 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35593 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35594 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35595 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35596 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35597 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35598 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35599 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35600 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35601 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35602 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35603 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35604 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35605 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35606 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35607 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35608 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35609 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35610 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35611 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35612 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35613 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35614 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35615 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35616 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35617 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35618 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35619 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35620 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35621 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35622 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35623 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35624 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35625 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35626 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35627 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35628 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35629 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35630 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35631 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35632 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35633 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35634 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35635 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35636 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35637 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35638 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35639 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35640 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35641 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35642 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35643 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35644 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35645 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35646 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35647 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35648 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35649 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35650 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35651 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
35652 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35653 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35654 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35655 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35656 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35657 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35658 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35659 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35660 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35661 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35662 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35663 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35664 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35665 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35666 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35667 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35668 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35669 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35670 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35671 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35672 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35673 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
35674 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35675 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35676 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35677 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35678 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
35679 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35680 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35681 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35682 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35683 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35684 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35685 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35686 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35687 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35688 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35689 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35690 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35691 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35692 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35693 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35694 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35695 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35696 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35697 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35698 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35699 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35700 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35701 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35702 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35703 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
35704 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35705 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35706 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35707 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35708 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35709 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35710 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35711 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
35712 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35713 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35714 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35715 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35716 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
35717 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35718 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
35719 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35720 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35721 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35722 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35723 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35724 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35725 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35726 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35727 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
35728 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35729 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
35730 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35731 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35732 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35733 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35734 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35735 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35736 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35737 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35738 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35739 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35740 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35741 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35742 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35743 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35744 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35745 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35746 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35747 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
35748 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35749 { (char *)"new_PreDatePickerCtrl", (PyCFunction
) _wrap_new_PreDatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35750 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35751 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35752 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
) _wrap_DatePickerCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35753 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35754 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetLowerLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35755 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetUpperLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35756 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
35757 { NULL
, NULL
, 0, NULL
}
35761 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35763 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
35764 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
35766 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
35767 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35769 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
35770 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35772 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
35773 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35775 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
35776 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
35778 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
35779 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35781 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
35782 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
35784 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
35785 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
35787 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
35788 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
35790 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
35791 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35793 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
35794 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
35796 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
35797 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
35799 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
35800 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
35802 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
35803 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
35805 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
35806 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35808 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
35809 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35811 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
35812 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
35814 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
35815 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
35817 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
35818 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
35820 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
35821 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
35823 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
35824 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
35826 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
35827 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35829 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
35830 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
35832 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
35833 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35835 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
35836 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35838 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
35839 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35841 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
35842 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
35844 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
35845 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
35847 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
35848 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35850 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
35851 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35853 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
35854 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
35856 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
35857 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
35859 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
35860 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
35862 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
35863 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
35865 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
35866 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
35868 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
35869 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
35871 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
35872 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
35874 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
35875 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
35877 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
35878 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35880 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
35881 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35883 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
35884 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35886 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
35887 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35889 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
35890 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35892 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
35893 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
35895 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
35896 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
35898 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
35899 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35901 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
35902 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
35904 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
35905 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
35907 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
35908 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35910 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
35911 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35913 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
35914 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35916 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
35917 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
35919 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
35920 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
35922 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
35923 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35925 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
35926 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
35928 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
35929 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35931 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
35932 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35934 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
35935 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
35937 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
35938 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35940 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
35941 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35943 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
35944 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
35946 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
35947 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
35949 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
35950 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
35952 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
35953 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
35955 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
35956 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
35958 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
35959 return (void *)((wxControl
*) ((wxPyControl
*) x
));
35961 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
35962 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
35964 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
35965 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35967 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
35968 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
35970 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
35971 return (void *)((wxControl
*) ((wxComboBox
*) x
));
35973 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
35974 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
35976 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
35977 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
35979 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
35980 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
35982 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
35983 return (void *)((wxControl
*) ((wxGauge
*) x
));
35985 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
35986 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
35988 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
35989 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35991 static void *_p_wxListbookTo_p_wxControl(void *x
) {
35992 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
35994 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
35995 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
35997 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
35998 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
36000 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
36001 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
36003 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
36004 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
36006 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
36007 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
36009 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
36010 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36012 static void *_p_wxListViewTo_p_wxControl(void *x
) {
36013 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
36015 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
36016 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
36018 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
36019 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
36021 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
36022 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
36024 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
36025 return (void *)((wxControl
*) ((wxStaticText
*) x
));
36027 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
36028 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
36030 static void *_p_wxSliderTo_p_wxControl(void *x
) {
36031 return (void *)((wxControl
*) ((wxSlider
*) x
));
36033 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
36034 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36036 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
36037 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
36039 static void *_p_wxButtonTo_p_wxControl(void *x
) {
36040 return (void *)((wxControl
*) ((wxButton
*) x
));
36042 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
36043 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
36045 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
36046 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
36048 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
36049 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
36051 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
36052 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
36054 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
36055 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36057 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
36058 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36060 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
36061 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36063 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
36064 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
36066 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
36067 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36069 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
36070 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36072 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
36073 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36075 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
36076 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36078 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
36079 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36081 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
36082 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
36084 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
36085 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
36087 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
36088 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
36090 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
36091 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36093 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
36094 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
36096 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
36097 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
36099 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
36100 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36102 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
36103 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
36105 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
36106 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36108 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
36109 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36111 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
36112 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
36114 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
36115 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
36117 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
36118 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36120 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
36121 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36123 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
36124 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36126 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
36127 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36129 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
36130 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36132 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
36133 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
36135 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
36136 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36138 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
36139 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36141 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
36142 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36144 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
36145 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36147 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
36148 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36150 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
36151 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36153 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
36154 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36156 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
36157 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36159 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
36160 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36162 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
36163 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36165 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
36166 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36168 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
36169 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36171 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
36172 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36174 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
36175 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36177 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
36178 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36180 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
36181 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36183 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
36184 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36186 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
36187 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36189 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
36190 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36192 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
36193 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36195 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
36196 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36198 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
36199 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36201 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
36202 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36204 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
36205 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36207 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
36208 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36210 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
36211 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36213 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
36214 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
36216 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
36217 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
36219 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
36220 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36222 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
36223 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36225 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
36226 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
36228 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36229 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36231 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36232 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36234 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36235 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36237 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36238 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36240 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36241 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36243 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
36244 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36246 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36247 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36249 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36250 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36252 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36253 return (void *)((wxObject
*) ((wxSizer
*) x
));
36255 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36256 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36258 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
36259 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36261 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
36262 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36264 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36265 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36267 static void *_p_wxEventTo_p_wxObject(void *x
) {
36268 return (void *)((wxObject
*) ((wxEvent
*) x
));
36270 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36271 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36273 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36274 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36276 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36277 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36279 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
36280 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36282 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
36283 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36285 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
36286 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36288 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36289 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36291 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36292 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36294 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36295 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36297 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36298 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36300 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36301 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36303 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36304 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36306 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
36307 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36309 static void *_p_wxControlTo_p_wxObject(void *x
) {
36310 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36312 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
36313 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36315 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
36316 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36318 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
36319 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36321 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
36322 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36324 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
36325 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36327 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36328 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36330 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
36331 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36333 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36334 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36336 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36337 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36339 static void *_p_wxListViewTo_p_wxObject(void *x
) {
36340 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36342 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
36343 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36345 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
36346 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36348 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36349 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36351 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36352 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36354 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
36355 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36357 static void *_p_wxListbookTo_p_wxObject(void *x
) {
36358 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36360 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36361 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36363 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
36364 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36366 static void *_p_wxSliderTo_p_wxObject(void *x
) {
36367 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36369 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36370 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36372 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
36373 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
36375 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36376 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36378 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36379 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36381 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36382 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36384 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36385 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36387 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36388 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36390 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36391 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36393 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36394 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36396 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36397 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36399 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
36400 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36402 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
36403 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
36405 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
36406 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36408 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36409 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36411 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36412 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36414 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36415 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36417 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36418 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36420 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36421 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36423 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36424 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36426 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36427 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36429 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36430 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36432 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36433 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36435 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36436 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36438 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36439 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36441 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36442 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36444 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36445 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36447 static void *_p_wxListEventTo_p_wxObject(void *x
) {
36448 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
36450 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
36451 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36453 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
36454 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36456 static void *_p_wxButtonTo_p_wxObject(void *x
) {
36457 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36459 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
36460 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36462 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
36463 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36465 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
36466 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36468 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36469 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36471 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36472 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36474 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
36475 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36477 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
36478 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36480 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
36481 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36483 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
36484 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
36486 static void *_p_wxListItemTo_p_wxObject(void *x
) {
36487 return (void *)((wxObject
*) ((wxListItem
*) x
));
36489 static void *_p_wxImageTo_p_wxObject(void *x
) {
36490 return (void *)((wxObject
*) ((wxImage
*) x
));
36492 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
36493 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
36495 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36496 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36498 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
36499 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36501 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
36502 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
36504 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
36505 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36507 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
36508 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36510 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
36511 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36513 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
36514 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36516 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36517 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36519 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36520 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36522 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36523 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36525 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36526 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36528 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36529 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36531 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36532 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36534 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36535 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36537 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36538 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36540 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36541 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36543 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36544 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36546 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36547 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36549 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36550 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36552 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36553 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36555 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
36556 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36558 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
36559 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36561 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36562 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36564 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36565 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36567 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
36568 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36570 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36571 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36573 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36574 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36576 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36577 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36579 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
36580 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36582 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36583 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36585 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
36586 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
36588 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
36589 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36591 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36592 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36594 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36595 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36597 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
36598 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
36600 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36601 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36603 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
36604 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
36606 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
36607 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36609 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
36610 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
36612 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
36613 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
36615 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36616 return (void *)((wxWindow
*) ((wxControl
*) x
));
36618 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
36619 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
36621 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
36622 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36624 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
36625 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
36627 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
36628 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
36630 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
36631 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
36633 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
36634 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
36636 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
36637 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
36639 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36640 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36642 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
36643 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
36645 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
36646 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
36648 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
36649 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36651 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
36652 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36654 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
36655 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
36657 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
36658 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
36660 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
36661 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
36663 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
36664 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36666 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
36667 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36669 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
36670 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36672 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
36673 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36675 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
36676 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36678 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
36679 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
36681 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
36682 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
36684 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
36685 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
36687 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
36688 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
36690 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
36691 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
36693 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
36694 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
36696 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
36697 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
36699 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
36700 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36702 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
36703 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36705 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
36706 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
36708 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
36709 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
36711 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36712 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36714 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36715 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36717 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36718 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36720 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
36721 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36723 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
36724 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36726 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
36727 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
36729 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
36730 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36732 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
36733 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36735 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
36736 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36738 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
36739 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36741 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
36742 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36744 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
36745 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36747 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
36748 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
36750 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
36751 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36753 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
36754 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
36756 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
36757 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36759 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
36760 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36762 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
36763 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36765 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
36766 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
36768 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
36769 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36771 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
36772 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36774 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
36775 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36777 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
36778 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
36780 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
36781 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
36783 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
36784 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
36786 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
36787 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
36789 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}};
36790 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}};
36791 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}};
36792 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}};
36793 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}};
36794 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}};
36795 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}};
36796 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}};
36797 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}};
36798 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}};
36799 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}};
36800 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}};
36801 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}};
36802 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}};
36803 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}};
36804 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}};
36805 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}};
36806 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}};
36807 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}};
36808 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}};
36809 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}};
36810 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}};
36811 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}};
36812 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}};
36813 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}};
36814 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}};
36815 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}};
36816 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}};
36817 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}};
36818 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}};
36819 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}};
36820 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}};
36821 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}};
36822 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}};
36823 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}};
36824 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}};
36825 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}};
36826 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}};
36827 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}};
36828 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}};
36829 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}};
36830 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}};
36831 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}};
36832 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}};
36833 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}};
36834 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}};
36835 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}};
36836 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}};
36837 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}};
36838 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}};
36839 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}};
36840 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}};
36841 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}};
36842 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}};
36843 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}};
36844 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}};
36845 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}};
36846 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}};
36847 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}};
36848 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}};
36849 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}};
36850 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}};
36851 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}};
36852 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}};
36853 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}};
36854 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}};
36855 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}};
36856 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}};
36857 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}};
36858 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}};
36859 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}};
36860 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}};
36861 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}};
36862 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}};
36863 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}};
36864 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}};
36865 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}};
36866 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}};
36867 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}};
36868 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}};
36869 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}};
36870 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}};
36871 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}};
36872 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}};
36873 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}};
36874 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}};
36875 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}};
36876 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}};
36877 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}};
36878 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}};
36879 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}};
36880 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}};
36881 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}};
36882 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}};
36883 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}};
36884 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}};
36885 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}};
36886 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}};
36888 static swig_type_info
*swig_types_initial
[] = {
36889 _swigt__p_wxTextUrlEvent
,
36891 _swigt__p_wxCheckBox
,
36892 _swigt__p_wxPyTreeCtrl
,
36894 _swigt__p_wxGenericDirCtrl
,
36896 _swigt__p_wxItemContainer
,
36897 _swigt__p_wxPyListCtrl
,
36898 _swigt__p_wxPyTreeItemData
,
36899 _swigt__p_wxDirFilterListCtrl
,
36900 _swigt__p_wxStaticLine
,
36901 _swigt__p_wxControl
,
36902 _swigt__p_wxPyControl
,
36904 _swigt__p_wxToolBarBase
,
36906 _swigt__p_wxToggleButton
,
36907 _swigt__p_wxRadioButton
,
36908 _swigt__p_wxChoice
,
36909 _swigt__p_wxMemoryDC
,
36911 _swigt__std__ptrdiff_t
,
36912 _swigt__p_wxListItemAttr
,
36917 _swigt__p_wxListView
,
36919 _swigt__p_wxVisualAttributes
,
36920 _swigt__p_wxTextCtrl
,
36921 _swigt__p_wxNotebook
,
36922 _swigt__p_wxChoicebook
,
36923 _swigt__p_wxNotifyEvent
,
36924 _swigt__p_wxArrayString
,
36925 _swigt__p_form_ops_t
,
36926 _swigt__p_wxListbook
,
36927 _swigt__p_wxStaticBitmap
,
36928 _swigt__p_wxSlider
,
36929 _swigt__p_wxStaticBox
,
36930 _swigt__p_wxArrayInt
,
36931 _swigt__p_wxContextHelp
,
36933 _swigt__p_wxDuplexMode
,
36934 _swigt__p_wxBookCtrlBase
,
36935 _swigt__p_wxEvtHandler
,
36936 _swigt__p_wxListEvent
,
36937 _swigt__p_wxCheckListBox
,
36938 _swigt__p_wxListBox
,
36939 _swigt__p_wxSpinButton
,
36940 _swigt__p_wxButton
,
36941 _swigt__p_wxBitmapButton
,
36943 _swigt__p_wxContextHelpButton
,
36944 _swigt__p_wxRadioBox
,
36945 _swigt__p_wxScrollBar
,
36947 _swigt__p_wxComboBox
,
36948 _swigt__p_wxTreeItemId
,
36949 _swigt__p_wxHelpEvent
,
36950 _swigt__p_wxListItem
,
36951 _swigt__p_wxNotebookSizer
,
36952 _swigt__p_wxSpinEvent
,
36953 _swigt__p_wxGenericDragImage
,
36954 _swigt__p_wxSpinCtrl
,
36955 _swigt__p_wxPaperSize
,
36956 _swigt__p_wxImageList
,
36957 _swigt__p_wxHelpProvider
,
36958 _swigt__p_wxTextAttr
,
36959 _swigt__p_wxSimpleHelpProvider
,
36960 _swigt__p_wxChoicebookEvent
,
36961 _swigt__p_wxListbookEvent
,
36962 _swigt__p_wxNotebookEvent
,
36964 _swigt__p_wxObject
,
36965 _swigt__p_wxCursor
,
36966 _swigt__p_wxDateTime
,
36967 _swigt__p_wxKeyEvent
,
36968 _swigt__p_unsigned_long
,
36969 _swigt__p_wxWindow
,
36970 _swigt__p_wxString
,
36971 _swigt__p_wxBitmap
,
36972 _swigt__unsigned_int
,
36973 _swigt__p_unsigned_int
,
36974 _swigt__p_unsigned_char
,
36975 _swigt__p_wxMouseEvent
,
36976 _swigt__p_wxBookCtrlBaseEvent
,
36977 _swigt__p_wxTreeEvent
,
36978 _swigt__p_wxCommandEvent
,
36979 _swigt__p_wxStaticText
,
36980 _swigt__p_wxDatePickerCtrl
,
36981 _swigt__p_wxControlWithItems
,
36982 _swigt__p_wxToolBarToolBase
,
36983 _swigt__p_wxColour
,
36984 _swigt__p_wxToolBar
,
36985 _swigt__p_wxBookCtrlSizer
,
36986 _swigt__p_wxValidator
,
36991 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36993 static swig_const_info swig_const_table
[] = {
36994 {0, 0, 0, 0.0, 0, 0}};
37005 /* Python-specific SWIG API */
37006 #define SWIG_newvarlink() SWIG_Python_newvarlink()
37007 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
37008 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
37010 /* -----------------------------------------------------------------------------
37011 * global variable support code.
37012 * ----------------------------------------------------------------------------- */
37014 typedef struct swig_globalvar
{
37015 char *name
; /* Name of global variable */
37016 PyObject
*(*get_attr
)(); /* Return the current value */
37017 int (*set_attr
)(PyObject
*); /* Set the value */
37018 struct swig_globalvar
*next
;
37021 typedef struct swig_varlinkobject
{
37023 swig_globalvar
*vars
;
37024 } swig_varlinkobject
;
37027 swig_varlink_repr(swig_varlinkobject
*v
) {
37029 return PyString_FromString("<Swig global variables>");
37033 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
37034 swig_globalvar
*var
;
37036 fprintf(fp
,"Swig global variables { ");
37037 for (var
= v
->vars
; var
; var
=var
->next
) {
37038 fprintf(fp
,"%s", var
->name
);
37039 if (var
->next
) fprintf(fp
,", ");
37041 fprintf(fp
," }\n");
37046 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
37047 swig_globalvar
*var
= v
->vars
;
37049 if (strcmp(var
->name
,n
) == 0) {
37050 return (*var
->get_attr
)();
37054 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37059 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
37060 swig_globalvar
*var
= v
->vars
;
37062 if (strcmp(var
->name
,n
) == 0) {
37063 return (*var
->set_attr
)(p
);
37067 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37071 static PyTypeObject varlinktype
= {
37072 PyObject_HEAD_INIT(0)
37073 0, /* Number of items in variable part (ob_size) */
37074 (char *)"swigvarlink", /* Type name (tp_name) */
37075 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
37076 0, /* Itemsize (tp_itemsize) */
37077 0, /* Deallocator (tp_dealloc) */
37078 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
37079 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
37080 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
37081 0, /* tp_compare */
37082 (reprfunc
) swig_varlink_repr
, /* tp_repr */
37083 0, /* tp_as_number */
37084 0, /* tp_as_sequence */
37085 0, /* tp_as_mapping */
37089 0, /* tp_getattro */
37090 0, /* tp_setattro */
37091 0, /* tp_as_buffer */
37094 #if PY_VERSION_HEX >= 0x02000000
37095 0, /* tp_traverse */
37098 #if PY_VERSION_HEX >= 0x02010000
37099 0, /* tp_richcompare */
37100 0, /* tp_weaklistoffset */
37102 #if PY_VERSION_HEX >= 0x02020000
37103 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37105 #if PY_VERSION_HEX >= 0x02030000
37108 #ifdef COUNT_ALLOCS
37109 0,0,0,0 /* tp_alloc -> tp_next */
37113 /* Create a variable linking object for use later */
37115 SWIG_Python_newvarlink(void) {
37116 swig_varlinkobject
*result
= 0;
37117 result
= PyMem_NEW(swig_varlinkobject
,1);
37118 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
37119 result
->ob_type
= &varlinktype
;
37121 result
->ob_refcnt
= 0;
37122 Py_XINCREF((PyObject
*) result
);
37123 return ((PyObject
*) result
);
37127 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
37128 swig_varlinkobject
*v
;
37129 swig_globalvar
*gv
;
37130 v
= (swig_varlinkobject
*) p
;
37131 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
37132 gv
->name
= (char *) malloc(strlen(name
)+1);
37133 strcpy(gv
->name
,name
);
37134 gv
->get_attr
= get_attr
;
37135 gv
->set_attr
= set_attr
;
37136 gv
->next
= v
->vars
;
37140 /* -----------------------------------------------------------------------------
37141 * constants/methods manipulation
37142 * ----------------------------------------------------------------------------- */
37144 /* Install Constants */
37146 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
37149 for (i
= 0; constants
[i
].type
; i
++) {
37150 switch(constants
[i
].type
) {
37152 obj
= PyInt_FromLong(constants
[i
].lvalue
);
37154 case SWIG_PY_FLOAT
:
37155 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
37157 case SWIG_PY_STRING
:
37158 if (constants
[i
].pvalue
) {
37159 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
37161 Py_INCREF(Py_None
);
37165 case SWIG_PY_POINTER
:
37166 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37168 case SWIG_PY_BINARY
:
37169 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37176 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
37182 /* -----------------------------------------------------------------------------*/
37183 /* Fix SwigMethods to carry the callback ptrs when needed */
37184 /* -----------------------------------------------------------------------------*/
37187 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37188 swig_const_info
*const_table
,
37189 swig_type_info
**types
,
37190 swig_type_info
**types_initial
) {
37192 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37193 char *c
= methods
[i
].ml_doc
;
37194 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37196 swig_const_info
*ci
= 0;
37197 char *name
= c
+ 10;
37198 for (j
= 0; const_table
[j
].type
; j
++) {
37199 if (strncmp(const_table
[j
].name
, name
,
37200 strlen(const_table
[j
].name
)) == 0) {
37201 ci
= &(const_table
[j
]);
37206 size_t shift
= (ci
->ptype
) - types
;
37207 swig_type_info
*ty
= types_initial
[shift
];
37208 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37209 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37210 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37212 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
37213 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37215 strncpy(buff
, "swig_ptr: ", 10);
37217 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37218 methods
[i
].ml_doc
= ndoc
;
37224 /* -----------------------------------------------------------------------------*
37225 * Initialize type list
37226 * -----------------------------------------------------------------------------*/
37228 #if PY_MAJOR_VERSION < 2
37229 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37230 is copied out of Python/modsupport.c in python version 2.3.4 */
37232 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
37235 if (!PyModule_Check(m
)) {
37236 PyErr_SetString(PyExc_TypeError
,
37237 "PyModule_AddObject() needs module as first arg");
37241 PyErr_SetString(PyExc_TypeError
,
37242 "PyModule_AddObject() needs non-NULL value");
37246 dict
= PyModule_GetDict(m
);
37247 if (dict
== NULL
) {
37248 /* Internal error -- modules must have a dict! */
37249 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
37250 PyModule_GetName(m
));
37253 if (PyDict_SetItemString(dict
, name
, o
))
37260 static swig_type_info
**
37261 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
37262 static PyMethodDef swig_empty_runtime_method_table
[] = {
37264 NULL
, NULL
, 0, NULL
37268 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
37269 swig_empty_runtime_method_table
);
37270 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
37271 if (pointer
&& module) {
37272 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
37274 return type_list_handle
;
37277 static swig_type_info
**
37278 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
37279 swig_type_info
**type_pointer
;
37281 /* first check if module already created */
37282 type_pointer
= SWIG_Python_GetTypeListHandle();
37283 if (type_pointer
) {
37284 return type_pointer
;
37286 /* create a new module and variable */
37287 return SWIG_Python_SetTypeListHandle(type_list_handle
);
37295 /* -----------------------------------------------------------------------------*
37296 * Partial Init method
37297 * -----------------------------------------------------------------------------*/
37299 #ifdef SWIG_LINK_RUNTIME
37303 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37309 SWIGEXPORT(void) SWIG_init(void) {
37310 static PyObject
*SWIG_globals
= 0;
37311 static int typeinit
= 0;
37314 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
37316 /* Fix SwigMethods to carry the callback ptrs when needed */
37317 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
37319 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37320 d
= PyModule_GetDict(m
);
37323 #ifdef SWIG_LINK_RUNTIME
37324 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
37326 # ifndef SWIG_STATIC_RUNTIME
37327 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
37330 for (i
= 0; swig_types_initial
[i
]; i
++) {
37331 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
37335 SWIG_InstallConstants(d
,swig_const_table
);
37337 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
37338 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
37340 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT
)));
37343 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)(wxBU_TOP
)));
37346 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT
)));
37349 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM
)));
37352 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK
)));
37355 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT
)));
37358 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW
)));
37360 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
37362 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE
)));
37365 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE
)));
37368 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
37371 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED
)));
37374 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED
)));
37377 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED
)));
37379 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
37380 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
37381 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
37383 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL
)));
37386 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL
)));
37389 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH
)));
37392 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR
)));
37394 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
37395 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
37396 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
37397 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
37398 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
37400 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL
)));
37403 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL
)));
37406 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY
)));
37409 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE
)));
37412 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB
)));
37415 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT
)));
37418 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER
)));
37421 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT
)));
37424 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE
)));
37427 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)(wxTE_RICH
)));
37430 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER
)));
37433 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD
)));
37436 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL
)));
37439 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL
)));
37442 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP
)));
37445 PyDict_SetItemString(d
,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP
)));
37448 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP
)));
37451 PyDict_SetItemString(d
,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP
)));
37454 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP
)));
37457 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2
)));
37460 PyDict_SetItemString(d
,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE
)));
37463 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT
)));
37466 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT
)));
37469 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE
)));
37472 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER
)));
37475 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT
)));
37478 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED
)));
37481 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR
)));
37484 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
37487 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE
)));
37490 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE
)));
37493 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT
)));
37496 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC
)));
37499 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE
)));
37502 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT
)));
37505 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT
)));
37508 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT
)));
37511 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT
)));
37514 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS
)));
37517 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN
)));
37520 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE
)));
37523 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT
)));
37526 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW
)));
37529 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND
)));
37532 PyDict_SetItemString(d
,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord
)));
37535 PyDict_SetItemString(d
,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord
)));
37537 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
37538 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
37539 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
37540 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
37541 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
37542 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
37543 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
37545 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL
)));
37548 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL
)));
37551 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS
)));
37554 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP
)));
37556 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
37557 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
37558 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
37559 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
37561 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL
)));
37564 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL
)));
37567 PyDict_SetItemString(d
,"SL_TICKS", SWIG_From_int((int)(wxSL_TICKS
)));
37570 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS
)));
37573 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS
)));
37576 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT
)));
37579 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)(wxSL_TOP
)));
37582 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT
)));
37585 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM
)));
37588 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH
)));
37591 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE
)));
37594 PyDict_SetItemString(d
,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE
)));
37596 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
37597 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
37598 SWIG_addvarlink(SWIG_globals
,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get
, _wrap_NotebookNameStr_set
);
37600 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH
)));
37603 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)(wxNB_TOP
)));
37606 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT
)));
37609 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT
)));
37612 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM
)));
37615 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE
)));
37618 PyDict_SetItemString(d
,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME
)));
37621 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE
)));
37624 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON
)));
37627 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL
)));
37630 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM
)));
37632 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
37633 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
37635 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT
)));
37638 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)(wxLB_TOP
)));
37641 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM
)));
37644 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT
)));
37647 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT
)));
37650 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK
)));
37652 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
37653 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
37655 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT
)));
37658 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP
)));
37661 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM
)));
37664 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT
)));
37667 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT
)));
37670 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK
)));
37672 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
37673 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
37675 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON
)));
37678 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR
)));
37681 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL
)));
37684 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL
)));
37687 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL
)));
37690 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS
)));
37693 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT
)));
37696 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE
)));
37699 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS
)));
37702 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT
)));
37705 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER
)));
37708 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN
)));
37711 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT
)));
37714 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT
)));
37716 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
37718 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES
)));
37721 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES
)));
37724 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)(wxLC_ICON
)));
37727 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON
)));
37730 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)(wxLC_LIST
)));
37733 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT
)));
37736 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP
)));
37739 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT
)));
37742 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE
)));
37745 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL
)));
37748 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS
)));
37751 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER
)));
37754 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER
)));
37757 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL
)));
37760 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING
)));
37763 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING
)));
37766 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE
)));
37769 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN
)));
37772 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT
)));
37775 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE
)));
37778 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT
)));
37781 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE
)));
37784 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA
)));
37787 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM
)));
37790 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH
)));
37793 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT
)));
37796 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE
)));
37799 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED
)));
37802 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED
)));
37805 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED
)));
37808 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT
)));
37811 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED
)));
37814 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED
)));
37817 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE
)));
37820 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED
)));
37823 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE
)));
37826 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE
)));
37829 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW
)));
37832 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE
)));
37835 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON
)));
37838 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL
)));
37841 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT
)));
37844 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON
)));
37847 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT
)));
37850 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT
)));
37853 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM
)));
37856 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE
)));
37859 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL
)));
37862 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW
)));
37865 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT
)));
37868 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT
)));
37871 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT
)));
37874 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT
)));
37877 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP
)));
37880 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID
)));
37883 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT
)));
37886 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT
)));
37889 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE
)));
37892 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER
)));
37895 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE
)));
37898 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER
)));
37901 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS
)));
37904 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON
)));
37907 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL
)));
37910 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP
)));
37913 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN
)));
37916 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT
)));
37919 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT
)));
37921 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
37922 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
37923 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
37924 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
37925 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
37926 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
37927 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
37928 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
37929 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
37930 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
37931 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
37932 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
37933 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
37934 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
37935 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
37936 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
37937 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
37938 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
37939 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
37940 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
37941 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
37942 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
37944 // Map renamed classes back to their common name for OOR
37945 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37947 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
37949 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS
)));
37952 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS
)));
37955 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES
)));
37958 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT
)));
37961 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE
)));
37964 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE
)));
37967 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED
)));
37970 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
37973 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS
)));
37976 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT
)));
37979 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES
)));
37982 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT
)));
37985 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE
)));
37988 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS
)));
37991 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS
)));
37994 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS
)));
37997 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal
)));
38000 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected
)));
38003 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded
)));
38006 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded
)));
38009 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max
)));
38012 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE
)));
38015 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW
)));
38018 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE
)));
38021 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON
)));
38024 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON
)));
38027 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT
)));
38030 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL
)));
38033 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT
)));
38036 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON
)));
38039 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT
)));
38042 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT
)));
38045 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART
)));
38048 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART
)));
38051 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM
)));
38053 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
38054 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
38055 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
38056 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
38057 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
38058 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
38059 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
38060 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
38061 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
38062 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
38063 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
38064 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
38065 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
38066 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
38067 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
38068 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
38069 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
38070 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
38071 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
38072 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
38073 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
38075 // Map renamed classes back to their common name for OOR
38076 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38077 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38079 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
38081 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY
)));
38084 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST
)));
38087 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS
)));
38090 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL
)));
38093 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS
)));
38096 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP
)));
38099 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP
)));
38101 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
38102 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
38104 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38106 SWIG_addvarlink(SWIG_globals
,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get
, _wrap_DatePickerCtrlNameStr_set
);
38108 PyDict_SetItemString(d
,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT
)));
38111 PyDict_SetItemString(d
,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN
)));
38114 PyDict_SetItemString(d
,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN
)));
38117 PyDict_SetItemString(d
,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY
)));
38120 PyDict_SetItemString(d
,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE
)));