1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1342 #define SWIGTYPE_p_wxSizer swig_types[1]
1343 #define SWIGTYPE_p_wxCheckBox swig_types[2]
1344 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
1345 #define SWIGTYPE_p_wxEvent swig_types[4]
1346 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
1347 #define SWIGTYPE_p_bool swig_types[6]
1348 #define SWIGTYPE_p_wxItemContainer swig_types[7]
1349 #define SWIGTYPE_p_wxPyListCtrl swig_types[8]
1350 #define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
1351 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
1352 #define SWIGTYPE_p_wxStaticLine swig_types[11]
1353 #define SWIGTYPE_p_wxControl swig_types[12]
1354 #define SWIGTYPE_p_wxPyControl swig_types[13]
1355 #define SWIGTYPE_p_wxGauge swig_types[14]
1356 #define SWIGTYPE_p_wxToolBarBase swig_types[15]
1357 #define SWIGTYPE_p_wxFont swig_types[16]
1358 #define SWIGTYPE_p_wxToggleButton swig_types[17]
1359 #define SWIGTYPE_p_wxRadioButton swig_types[18]
1360 #define SWIGTYPE_p_wxChoice swig_types[19]
1361 #define SWIGTYPE_p_wxMemoryDC swig_types[20]
1362 #define SWIGTYPE_ptrdiff_t swig_types[21]
1363 #define SWIGTYPE_std__ptrdiff_t swig_types[22]
1364 #define SWIGTYPE_p_wxListItemAttr swig_types[23]
1365 #define SWIGTYPE_p_void swig_types[24]
1366 #define SWIGTYPE_p_int swig_types[25]
1367 #define SWIGTYPE_p_wxSize swig_types[26]
1368 #define SWIGTYPE_p_wxDC swig_types[27]
1369 #define SWIGTYPE_p_wxListView swig_types[28]
1370 #define SWIGTYPE_p_wxIcon swig_types[29]
1371 #define SWIGTYPE_p_wxVisualAttributes swig_types[30]
1372 #define SWIGTYPE_p_wxTextCtrl swig_types[31]
1373 #define SWIGTYPE_p_wxNotebook swig_types[32]
1374 #define SWIGTYPE_p_wxChoicebook swig_types[33]
1375 #define SWIGTYPE_p_wxNotifyEvent swig_types[34]
1376 #define SWIGTYPE_p_wxArrayString swig_types[35]
1377 #define SWIGTYPE_p_form_ops_t swig_types[36]
1378 #define SWIGTYPE_p_wxListbook swig_types[37]
1379 #define SWIGTYPE_p_wxStaticBitmap swig_types[38]
1380 #define SWIGTYPE_p_wxSlider swig_types[39]
1381 #define SWIGTYPE_p_wxStaticBox swig_types[40]
1382 #define SWIGTYPE_p_wxArrayInt swig_types[41]
1383 #define SWIGTYPE_p_wxContextHelp swig_types[42]
1384 #define SWIGTYPE_p_long swig_types[43]
1385 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
1386 #define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
1387 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
1388 #define SWIGTYPE_p_wxListEvent swig_types[47]
1389 #define SWIGTYPE_p_wxCheckListBox swig_types[48]
1390 #define SWIGTYPE_p_wxListBox swig_types[49]
1391 #define SWIGTYPE_p_wxSpinButton swig_types[50]
1392 #define SWIGTYPE_p_wxButton swig_types[51]
1393 #define SWIGTYPE_p_wxBitmapButton swig_types[52]
1394 #define SWIGTYPE_p_wxRect swig_types[53]
1395 #define SWIGTYPE_p_wxContextHelpButton swig_types[54]
1396 #define SWIGTYPE_p_wxRadioBox swig_types[55]
1397 #define SWIGTYPE_p_wxScrollBar swig_types[56]
1398 #define SWIGTYPE_p_char swig_types[57]
1399 #define SWIGTYPE_p_wxComboBox swig_types[58]
1400 #define SWIGTYPE_p_wxTreeItemId swig_types[59]
1401 #define SWIGTYPE_p_wxHelpEvent swig_types[60]
1402 #define SWIGTYPE_p_wxListItem swig_types[61]
1403 #define SWIGTYPE_p_wxNotebookSizer swig_types[62]
1404 #define SWIGTYPE_p_wxSpinEvent swig_types[63]
1405 #define SWIGTYPE_p_wxGenericDragImage swig_types[64]
1406 #define SWIGTYPE_p_wxSpinCtrl swig_types[65]
1407 #define SWIGTYPE_p_wxPaperSize swig_types[66]
1408 #define SWIGTYPE_p_wxImageList swig_types[67]
1409 #define SWIGTYPE_p_wxHelpProvider swig_types[68]
1410 #define SWIGTYPE_p_wxTextAttr swig_types[69]
1411 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
1412 #define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
1413 #define SWIGTYPE_p_wxListbookEvent swig_types[72]
1414 #define SWIGTYPE_p_wxNotebookEvent swig_types[73]
1415 #define SWIGTYPE_p_wxPoint swig_types[74]
1416 #define SWIGTYPE_p_wxObject swig_types[75]
1417 #define SWIGTYPE_p_wxCursor swig_types[76]
1418 #define SWIGTYPE_p_wxDateTime swig_types[77]
1419 #define SWIGTYPE_p_wxKeyEvent swig_types[78]
1420 #define SWIGTYPE_p_unsigned_long swig_types[79]
1421 #define SWIGTYPE_p_wxWindow swig_types[80]
1422 #define SWIGTYPE_p_wxString swig_types[81]
1423 #define SWIGTYPE_p_wxBitmap swig_types[82]
1424 #define SWIGTYPE_unsigned_int swig_types[83]
1425 #define SWIGTYPE_p_unsigned_int swig_types[84]
1426 #define SWIGTYPE_p_unsigned_char swig_types[85]
1427 #define SWIGTYPE_p_wxMouseEvent swig_types[86]
1428 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[87]
1429 #define SWIGTYPE_p_wxTreeEvent swig_types[88]
1430 #define SWIGTYPE_p_wxCommandEvent swig_types[89]
1431 #define SWIGTYPE_p_wxStaticText swig_types[90]
1432 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[91]
1433 #define SWIGTYPE_p_wxControlWithItems swig_types[92]
1434 #define SWIGTYPE_p_wxToolBarToolBase swig_types[93]
1435 #define SWIGTYPE_p_wxColour swig_types[94]
1436 #define SWIGTYPE_p_wxToolBar swig_types[95]
1437 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[96]
1438 #define SWIGTYPE_p_wxValidator swig_types[97]
1439 static swig_type_info
*swig_types
[99];
1441 /* -------- TYPES TABLE (END) -------- */
1444 /*-----------------------------------------------
1445 @(target):= _controls_.so
1446 ------------------------------------------------*/
1447 #define SWIG_init init_controls_
1449 #define SWIG_name "_controls_"
1451 #include "wx/wxPython/wxPython.h"
1452 #include "wx/wxPython/pyclasses.h"
1454 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1455 static const wxString
wxPyEmptyString(wxEmptyString
);
1456 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1458 const wxArrayString wxPyEmptyStringArray
;
1460 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
1462 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1463 #define SWIG_From_int PyInt_FromLong
1471 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1474 if (value
< min_value
) {
1476 PyErr_Format(PyExc_OverflowError
,
1477 "value %ld is less than '%s' minimum %ld",
1478 value
, errmsg
, min_value
);
1481 } else if (value
> max_value
) {
1483 PyErr_Format(PyExc_OverflowError
,
1484 "value %ld is greater than '%s' maximum %ld",
1485 value
, errmsg
, max_value
);
1494 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1496 if (PyNumber_Check(obj
)) {
1497 if (val
) *val
= PyInt_AsLong(obj
);
1501 SWIG_type_error("number", obj
);
1507 #if INT_MAX != LONG_MAX
1509 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1511 const char* errmsg
= val
? "int" : (char*)0;
1513 if (SWIG_AsVal_long(obj
, &v
)) {
1514 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1515 if (val
) *val
= (int)(v
);
1524 SWIG_type_error(errmsg
, obj
);
1530 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1532 return SWIG_AsVal_long(obj
,(long*)val
);
1538 SWIG_As_int(PyObject
* obj
)
1541 if (!SWIG_AsVal_int(obj
, &v
)) {
1543 this is needed to make valgrind/purify happier.
1545 memset((void*)&v
, 0, sizeof(int));
1551 SWIGINTERNSHORT
long
1552 SWIG_As_long(PyObject
* obj
)
1555 if (!SWIG_AsVal_long(obj
, &v
)) {
1557 this is needed to make valgrind/purify happier.
1559 memset((void*)&v
, 0, sizeof(long));
1566 SWIG_Check_int(PyObject
* obj
)
1568 return SWIG_AsVal_int(obj
, (int*)0);
1573 SWIG_Check_long(PyObject
* obj
)
1575 return SWIG_AsVal_long(obj
, (long*)0);
1578 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
1581 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1583 if (obj
== Py_True
) {
1584 if (val
) *val
= true;
1587 if (obj
== Py_False
) {
1588 if (val
) *val
= false;
1592 if (SWIG_AsVal_int(obj
, &res
)) {
1593 if (val
) *val
= res
? true : false;
1599 SWIG_type_error("bool", obj
);
1605 SWIGINTERNSHORT
bool
1606 SWIG_As_bool(PyObject
* obj
)
1609 if (!SWIG_AsVal_bool(obj
, &v
)) {
1611 this is needed to make valgrind/purify happier.
1613 memset((void*)&v
, 0, sizeof(bool));
1620 SWIG_Check_bool(PyObject
* obj
)
1622 return SWIG_AsVal_bool(obj
, (bool*)0);
1625 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
1626 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
1628 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1629 #define SWIG_From_long PyInt_FromLong
1633 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1639 } else if (target
== Py_None
) {
1643 if (!PyTuple_Check(target
)) {
1645 target
= PyTuple_New(1);
1646 PyTuple_SetItem(target
, 0, o2
);
1648 o3
= PyTuple_New(1);
1649 PyTuple_SetItem(o3
, 0, o
);
1652 target
= PySequence_Concat(o2
, o3
);
1660 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
1661 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
1662 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
1663 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
1665 #include <wx/checklst.h>
1668 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
1669 static void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
1671 wxPyClientData
* data
= new wxPyClientData(clientData
);
1672 self
->Insert(item
, pos
, data
);
1674 self
->Insert(item
, pos
);
1676 static PyObject
*wxListBox_GetSelections(wxListBox
*self
){
1678 self
->GetSelections(lst
);
1679 PyObject
*tup
= PyTuple_New(lst
.GetCount());
1680 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
1681 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
1685 static void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1687 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1688 self
->GetItem(item
)->SetTextColour(c
);
1691 static void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1693 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1694 self
->GetItem(item
)->SetBackgroundColour(c
);
1697 static void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
1699 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1700 self
->GetItem(item
)->SetFont(f
);
1703 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
1706 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1709 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1710 SWIG_type_error("unsigned number", obj
);
1713 *val
= (unsigned long)v
;
1718 SWIGINTERNSHORT
unsigned long
1719 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1722 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1724 this is needed to make valgrind/purify happier.
1726 memset((void*)&v
, 0, sizeof(unsigned long));
1733 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1735 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1738 static void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
1739 self
->AppendText(text
);
1741 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
1742 return self
->GetValue().Mid(from
, to
- from
);
1744 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
1745 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
1746 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1747 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
1748 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
1749 static int wxRadioBox_GetColumnCount(wxRadioBox
const *self
){ return -1; }
1750 static int wxRadioBox_GetRowCount(wxRadioBox
const *self
){ return -1; }
1751 static int wxRadioBox_GetNextItem(wxRadioBox
const *self
,int item
,wxDirection dir
,long style
){ return -1; }
1753 #include <wx/slider.h>
1756 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
1757 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
1759 #if !wxUSE_TOGGLEBTN
1760 // implement dummy items for platforms that don't have this class
1762 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1764 class wxToggleButton
: public wxControl
1767 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
1768 const wxPoint
&, const wxSize
&, long,
1769 const wxValidator
&, const wxString
&)
1770 { wxPyRaiseNotImplemented(); }
1773 { wxPyRaiseNotImplemented(); }
1777 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
1779 SWIGINTERNSHORT PyObject
*
1780 SWIG_From_unsigned_SS_long(unsigned long value
)
1782 return (value
> LONG_MAX
) ?
1783 PyLong_FromUnsignedLong(value
)
1784 : PyInt_FromLong((long)(value
));
1787 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1788 static PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
1789 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
1791 Py_INCREF(udata
->m_obj
);
1792 return udata
->m_obj
;
1798 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
1799 self
->SetClientData(new wxPyUserData(clientData
));
1801 static wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
1802 wxPyUserData
* udata
= NULL
;
1803 if (clientData
&& clientData
!= Py_None
)
1804 udata
= new wxPyUserData(clientData
);
1805 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
1806 shortHelp
, longHelp
, udata
);
1808 static wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
1809 wxPyUserData
* udata
= NULL
;
1810 if (clientData
&& clientData
!= Py_None
)
1811 udata
= new wxPyUserData(clientData
);
1812 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
1813 shortHelp
, longHelp
, udata
);
1815 static PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
1816 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
1818 Py_INCREF(udata
->m_obj
);
1819 return udata
->m_obj
;
1825 static void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
1826 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
1829 #include <wx/listctrl.h>
1831 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
1832 static void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
1833 // Python aware sorting function for wxPyListCtrl
1834 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
1836 PyObject
* func
= (PyObject
*)funcPtr
;
1837 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1839 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
1840 PyObject
* result
= PyEval_CallObject(func
, args
);
1843 retval
= PyInt_AsLong(result
);
1847 wxPyEndBlockThreads(blocked
);
1851 // C++ Version of a Python aware class
1852 class wxPyListCtrl
: public wxListCtrl
{
1853 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
1855 wxPyListCtrl() : wxListCtrl() {}
1856 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
1860 const wxValidator
& validator
,
1861 const wxString
& name
) :
1862 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1864 bool Create(wxWindow
* parent
, wxWindowID id
,
1868 const wxValidator
& validator
,
1869 const wxString
& name
) {
1870 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1873 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
1874 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
1876 // use the virtual version to avoid a confusing assert in the base class
1877 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
1882 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
1884 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
1885 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
1886 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
1889 static wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
1891 item
.SetMask( wxLIST_MASK_STATE
|
1899 if (self
->GetColumn(col
, item
))
1900 return new wxListItem(item
);
1904 static wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
1905 wxListItem
* info
= new wxListItem
;
1906 info
->m_itemId
= itemId
;
1908 info
->m_mask
= 0xFFFF;
1909 self
->GetItem(*info
);
1912 static wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
1914 self
->GetItemPosition(item
, pos
);
1917 static wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
1919 self
->GetItemRect(item
, rect
, code
);
1923 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
1924 if (!PyCallable_Check(func
))
1926 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
1928 static wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
1932 return (wxWindow
*)self
->m_mainWin
;
1936 #include <wx/treectrl.h>
1937 #include "wx/wxPython/pytree.h"
1939 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1940 static bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
1941 static bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
1942 static void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
1943 // C++ version of Python aware wxTreeCtrl
1944 class wxPyTreeCtrl
: public wxTreeCtrl
{
1945 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
1947 wxPyTreeCtrl() : wxTreeCtrl() {}
1948 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
1952 const wxValidator
& validator
,
1953 const wxString
& name
) :
1954 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1956 bool Create(wxWindow
*parent
, wxWindowID id
,
1960 const wxValidator
& validator
,
1961 const wxString
& name
) {
1962 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1966 int OnCompareItems(const wxTreeItemId
& item1
,
1967 const wxTreeItemId
& item2
) {
1970 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1971 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
1972 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
1973 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
1974 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
1978 wxPyEndBlockThreads(blocked
);
1980 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
1986 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
1990 #if UINT_MAX < LONG_MAX
1991 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1992 #define SWIG_From_unsigned_SS_int SWIG_From_long
1995 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1996 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2002 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2003 unsigned long max_value
,
2006 if (value
> max_value
) {
2008 PyErr_Format(PyExc_OverflowError
,
2009 "value %lu is greater than '%s' minimum %lu",
2010 value
, errmsg
, max_value
);
2018 #if UINT_MAX != ULONG_MAX
2020 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2022 const char* errmsg
= val
? "unsigned int" : (char*)0;
2024 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2025 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2026 if (val
) *val
= (unsigned int)(v
);
2033 SWIG_type_error(errmsg
, obj
);
2038 SWIGINTERNSHORT
unsigned int
2039 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2041 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2046 SWIGINTERNSHORT
unsigned int
2047 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2050 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2052 this is needed to make valgrind/purify happier.
2054 memset((void*)&v
, 0, sizeof(unsigned int));
2061 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2063 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2066 static wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2067 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2069 data
= new wxPyTreeItemData();
2070 data
->SetId(item
); // set the id
2071 self
->SetItemData(item
, data
);
2075 static PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2076 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2078 data
= new wxPyTreeItemData();
2079 data
->SetId(item
); // set the id
2080 self
->SetItemData(item
, data
);
2082 return data
->GetData();
2084 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
2085 data
->SetId(item
); // set the id
2086 self
->SetItemData(item
, data
);
2088 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
2089 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2091 data
= new wxPyTreeItemData(obj
);
2092 data
->SetId(item
); // set the id
2093 self
->SetItemData(item
, data
);
2097 static PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
2098 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2099 PyObject
* rval
= PyList_New(0);
2100 wxArrayTreeItemIds array
;
2102 num
= self
->GetSelections(array
);
2103 for (x
=0; x
< num
; x
++) {
2104 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
2105 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
2106 PyList_Append(rval
, item
);
2109 wxPyEndBlockThreads(blocked
);
2112 static PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2114 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
2115 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2116 PyObject
* tup
= PyTuple_New(2);
2117 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2118 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2119 wxPyEndBlockThreads(blocked
);
2122 static PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
2123 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
2124 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2125 PyObject
* tup
= PyTuple_New(2);
2126 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2127 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2128 wxPyEndBlockThreads(blocked
);
2131 static PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
2133 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
2134 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2135 wxRect
* r
= new wxRect(rect
);
2136 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
2137 wxPyEndBlockThreads(blocked
);
2143 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
2145 SWIGINTERNSHORT PyObject
*
2146 SWIG_From_bool(bool value
)
2148 PyObject
*obj
= value
? Py_True
: Py_False
;
2154 // C++ version of Python aware wxControl
2155 class wxPyControl
: public wxControl
2157 DECLARE_DYNAMIC_CLASS(wxPyControl
)
2159 wxPyControl() : wxControl() {}
2160 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
2161 const wxPoint
& pos
= wxDefaultPosition
,
2162 const wxSize
& size
= wxDefaultSize
,
2164 const wxValidator
& validator
=wxDefaultValidator
,
2165 const wxString
& name
= wxPyControlNameStr
)
2166 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2168 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
2170 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2171 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2172 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2173 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2175 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2176 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2177 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2179 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2180 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2182 DEC_PYCALLBACK__(InitDialog
);
2183 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2184 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2185 DEC_PYCALLBACK_BOOL_(Validate
);
2187 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2188 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2189 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2191 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2192 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2194 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2195 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2197 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2202 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
2204 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
2205 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
2206 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
2207 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
2209 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
2210 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
2211 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
2213 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
2214 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
2216 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
2217 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
2218 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
2219 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
2221 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
2222 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
2223 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
2225 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
2226 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
2228 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
2229 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
2231 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
2235 static void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
2237 #include <wx/generic/dragimgg.h>
2239 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
2240 static wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
2242 self
->GetRange(&rv
, NULL
);
2245 static wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
2247 self
->GetRange(NULL
, &rv
);
2253 static int _wrap_ButtonNameStr_set(PyObject
*) {
2254 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
2259 static PyObject
*_wrap_ButtonNameStr_get(void) {
2264 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2266 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2273 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2274 PyObject
*resultobj
;
2275 wxWindow
*arg1
= (wxWindow
*) 0 ;
2276 int arg2
= (int) -1 ;
2277 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2278 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2279 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2280 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2281 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2282 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2283 long arg6
= (long) 0 ;
2284 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2285 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2286 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2287 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2289 bool temp3
= false ;
2292 bool temp8
= false ;
2293 PyObject
* obj0
= 0 ;
2294 PyObject
* obj1
= 0 ;
2295 PyObject
* obj2
= 0 ;
2296 PyObject
* obj3
= 0 ;
2297 PyObject
* obj4
= 0 ;
2298 PyObject
* obj5
= 0 ;
2299 PyObject
* obj6
= 0 ;
2300 PyObject
* obj7
= 0 ;
2302 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2307 if (SWIG_arg_fail(1)) SWIG_fail
;
2310 arg2
= (int)(SWIG_As_int(obj1
));
2311 if (SWIG_arg_fail(2)) SWIG_fail
;
2316 arg3
= wxString_in_helper(obj2
);
2317 if (arg3
== NULL
) SWIG_fail
;
2324 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2330 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2335 arg6
= (long)(SWIG_As_long(obj5
));
2336 if (SWIG_arg_fail(6)) SWIG_fail
;
2341 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2342 if (SWIG_arg_fail(7)) SWIG_fail
;
2344 SWIG_null_ref("wxValidator");
2346 if (SWIG_arg_fail(7)) SWIG_fail
;
2351 arg8
= wxString_in_helper(obj7
);
2352 if (arg8
== NULL
) SWIG_fail
;
2357 if (!wxPyCheckForApp()) SWIG_fail
;
2358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2359 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2361 wxPyEndAllowThreads(__tstate
);
2362 if (PyErr_Occurred()) SWIG_fail
;
2364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2387 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2388 PyObject
*resultobj
;
2394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
2396 if (!wxPyCheckForApp()) SWIG_fail
;
2397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2398 result
= (wxButton
*)new wxButton();
2400 wxPyEndAllowThreads(__tstate
);
2401 if (PyErr_Occurred()) SWIG_fail
;
2403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2410 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2411 PyObject
*resultobj
;
2412 wxButton
*arg1
= (wxButton
*) 0 ;
2413 wxWindow
*arg2
= (wxWindow
*) 0 ;
2414 int arg3
= (int) -1 ;
2415 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2416 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2417 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2418 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2419 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2420 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2421 long arg7
= (long) 0 ;
2422 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2423 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2424 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2425 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2427 bool temp4
= false ;
2430 bool temp9
= false ;
2431 PyObject
* obj0
= 0 ;
2432 PyObject
* obj1
= 0 ;
2433 PyObject
* obj2
= 0 ;
2434 PyObject
* obj3
= 0 ;
2435 PyObject
* obj4
= 0 ;
2436 PyObject
* obj5
= 0 ;
2437 PyObject
* obj6
= 0 ;
2438 PyObject
* obj7
= 0 ;
2439 PyObject
* obj8
= 0 ;
2441 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2446 if (SWIG_arg_fail(1)) SWIG_fail
;
2447 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2448 if (SWIG_arg_fail(2)) SWIG_fail
;
2451 arg3
= (int)(SWIG_As_int(obj2
));
2452 if (SWIG_arg_fail(3)) SWIG_fail
;
2457 arg4
= wxString_in_helper(obj3
);
2458 if (arg4
== NULL
) SWIG_fail
;
2465 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2471 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2476 arg7
= (long)(SWIG_As_long(obj6
));
2477 if (SWIG_arg_fail(7)) SWIG_fail
;
2482 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2483 if (SWIG_arg_fail(8)) SWIG_fail
;
2485 SWIG_null_ref("wxValidator");
2487 if (SWIG_arg_fail(8)) SWIG_fail
;
2492 arg9
= wxString_in_helper(obj8
);
2493 if (arg9
== NULL
) SWIG_fail
;
2498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2499 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2501 wxPyEndAllowThreads(__tstate
);
2502 if (PyErr_Occurred()) SWIG_fail
;
2505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2529 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2530 PyObject
*resultobj
;
2531 wxButton
*arg1
= (wxButton
*) 0 ;
2532 PyObject
* obj0
= 0 ;
2534 (char *) "self", NULL
2537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
2538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2539 if (SWIG_arg_fail(1)) SWIG_fail
;
2541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2542 (arg1
)->SetDefault();
2544 wxPyEndAllowThreads(__tstate
);
2545 if (PyErr_Occurred()) SWIG_fail
;
2547 Py_INCREF(Py_None
); resultobj
= Py_None
;
2554 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
*resultobj
;
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
2563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2564 result
= wxButton::GetDefaultSize();
2566 wxPyEndAllowThreads(__tstate
);
2567 if (PyErr_Occurred()) SWIG_fail
;
2571 resultptr
= new wxSize((wxSize
&)(result
));
2572 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2580 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2581 PyObject
*resultobj
;
2582 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2583 wxVisualAttributes result
;
2584 PyObject
* obj0
= 0 ;
2586 (char *) "variant", NULL
2589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2592 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2593 if (SWIG_arg_fail(1)) SWIG_fail
;
2597 if (!wxPyCheckForApp()) SWIG_fail
;
2598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2599 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2601 wxPyEndAllowThreads(__tstate
);
2602 if (PyErr_Occurred()) SWIG_fail
;
2605 wxVisualAttributes
* resultptr
;
2606 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2615 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
2617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2618 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
2620 return Py_BuildValue((char *)"");
2622 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2623 PyObject
*resultobj
;
2624 wxWindow
*arg1
= (wxWindow
*) 0 ;
2625 int arg2
= (int) -1 ;
2626 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
2627 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
2628 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2629 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2630 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2631 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2632 long arg6
= (long) wxBU_AUTODRAW
;
2633 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2634 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2635 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2636 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2637 wxBitmapButton
*result
;
2640 bool temp8
= false ;
2641 PyObject
* obj0
= 0 ;
2642 PyObject
* obj1
= 0 ;
2643 PyObject
* obj2
= 0 ;
2644 PyObject
* obj3
= 0 ;
2645 PyObject
* obj4
= 0 ;
2646 PyObject
* obj5
= 0 ;
2647 PyObject
* obj6
= 0 ;
2648 PyObject
* obj7
= 0 ;
2650 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2655 if (SWIG_arg_fail(1)) SWIG_fail
;
2658 arg2
= (int)(SWIG_As_int(obj1
));
2659 if (SWIG_arg_fail(2)) SWIG_fail
;
2664 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2665 if (SWIG_arg_fail(3)) SWIG_fail
;
2667 SWIG_null_ref("wxBitmap");
2669 if (SWIG_arg_fail(3)) SWIG_fail
;
2675 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2681 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2686 arg6
= (long)(SWIG_As_long(obj5
));
2687 if (SWIG_arg_fail(6)) SWIG_fail
;
2692 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2693 if (SWIG_arg_fail(7)) SWIG_fail
;
2695 SWIG_null_ref("wxValidator");
2697 if (SWIG_arg_fail(7)) SWIG_fail
;
2702 arg8
= wxString_in_helper(obj7
);
2703 if (arg8
== NULL
) SWIG_fail
;
2708 if (!wxPyCheckForApp()) SWIG_fail
;
2709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2710 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2712 wxPyEndAllowThreads(__tstate
);
2713 if (PyErr_Occurred()) SWIG_fail
;
2715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2730 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2731 PyObject
*resultobj
;
2732 wxBitmapButton
*result
;
2737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
2739 if (!wxPyCheckForApp()) SWIG_fail
;
2740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2741 result
= (wxBitmapButton
*)new wxBitmapButton();
2743 wxPyEndAllowThreads(__tstate
);
2744 if (PyErr_Occurred()) SWIG_fail
;
2746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2753 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
*resultobj
;
2755 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2756 wxWindow
*arg2
= (wxWindow
*) 0 ;
2757 int arg3
= (int) -1 ;
2758 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
2759 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
2760 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2761 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2762 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2763 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2764 long arg7
= (long) wxBU_AUTODRAW
;
2765 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2766 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2767 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2768 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2772 bool temp9
= false ;
2773 PyObject
* obj0
= 0 ;
2774 PyObject
* obj1
= 0 ;
2775 PyObject
* obj2
= 0 ;
2776 PyObject
* obj3
= 0 ;
2777 PyObject
* obj4
= 0 ;
2778 PyObject
* obj5
= 0 ;
2779 PyObject
* obj6
= 0 ;
2780 PyObject
* obj7
= 0 ;
2781 PyObject
* obj8
= 0 ;
2783 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2788 if (SWIG_arg_fail(1)) SWIG_fail
;
2789 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2790 if (SWIG_arg_fail(2)) SWIG_fail
;
2793 arg3
= (int)(SWIG_As_int(obj2
));
2794 if (SWIG_arg_fail(3)) SWIG_fail
;
2799 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2800 if (SWIG_arg_fail(4)) SWIG_fail
;
2802 SWIG_null_ref("wxBitmap");
2804 if (SWIG_arg_fail(4)) SWIG_fail
;
2810 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2816 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2821 arg7
= (long)(SWIG_As_long(obj6
));
2822 if (SWIG_arg_fail(7)) SWIG_fail
;
2827 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2828 if (SWIG_arg_fail(8)) SWIG_fail
;
2830 SWIG_null_ref("wxValidator");
2832 if (SWIG_arg_fail(8)) SWIG_fail
;
2837 arg9
= wxString_in_helper(obj8
);
2838 if (arg9
== NULL
) SWIG_fail
;
2843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2844 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2846 wxPyEndAllowThreads(__tstate
);
2847 if (PyErr_Occurred()) SWIG_fail
;
2850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2866 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2867 PyObject
*resultobj
;
2868 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2870 PyObject
* obj0
= 0 ;
2872 (char *) "self", NULL
2875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
2876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2877 if (SWIG_arg_fail(1)) SWIG_fail
;
2879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2880 result
= (arg1
)->GetBitmapLabel();
2882 wxPyEndAllowThreads(__tstate
);
2883 if (PyErr_Occurred()) SWIG_fail
;
2886 wxBitmap
* resultptr
;
2887 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2888 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2896 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2897 PyObject
*resultobj
;
2898 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2900 PyObject
* obj0
= 0 ;
2902 (char *) "self", NULL
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
2906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2907 if (SWIG_arg_fail(1)) SWIG_fail
;
2909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2910 result
= (arg1
)->GetBitmapDisabled();
2912 wxPyEndAllowThreads(__tstate
);
2913 if (PyErr_Occurred()) SWIG_fail
;
2916 wxBitmap
* resultptr
;
2917 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2918 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2926 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2927 PyObject
*resultobj
;
2928 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2930 PyObject
* obj0
= 0 ;
2932 (char *) "self", NULL
2935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
2936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2937 if (SWIG_arg_fail(1)) SWIG_fail
;
2939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2940 result
= (arg1
)->GetBitmapFocus();
2942 wxPyEndAllowThreads(__tstate
);
2943 if (PyErr_Occurred()) SWIG_fail
;
2946 wxBitmap
* resultptr
;
2947 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2948 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2956 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2957 PyObject
*resultobj
;
2958 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2960 PyObject
* obj0
= 0 ;
2962 (char *) "self", NULL
2965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
2966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2967 if (SWIG_arg_fail(1)) SWIG_fail
;
2969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2970 result
= (arg1
)->GetBitmapSelected();
2972 wxPyEndAllowThreads(__tstate
);
2973 if (PyErr_Occurred()) SWIG_fail
;
2976 wxBitmap
* resultptr
;
2977 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2978 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2986 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2987 PyObject
*resultobj
;
2988 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2989 wxBitmap
*arg2
= 0 ;
2990 PyObject
* obj0
= 0 ;
2991 PyObject
* obj1
= 0 ;
2993 (char *) "self",(char *) "bitmap", NULL
2996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
2997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2998 if (SWIG_arg_fail(1)) SWIG_fail
;
3000 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3001 if (SWIG_arg_fail(2)) SWIG_fail
;
3003 SWIG_null_ref("wxBitmap");
3005 if (SWIG_arg_fail(2)) SWIG_fail
;
3008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3009 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
3011 wxPyEndAllowThreads(__tstate
);
3012 if (PyErr_Occurred()) SWIG_fail
;
3014 Py_INCREF(Py_None
); resultobj
= Py_None
;
3021 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3022 PyObject
*resultobj
;
3023 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3024 wxBitmap
*arg2
= 0 ;
3025 PyObject
* obj0
= 0 ;
3026 PyObject
* obj1
= 0 ;
3028 (char *) "self",(char *) "bitmap", NULL
3031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
3032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3033 if (SWIG_arg_fail(1)) SWIG_fail
;
3035 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3036 if (SWIG_arg_fail(2)) SWIG_fail
;
3038 SWIG_null_ref("wxBitmap");
3040 if (SWIG_arg_fail(2)) SWIG_fail
;
3043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3044 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
3046 wxPyEndAllowThreads(__tstate
);
3047 if (PyErr_Occurred()) SWIG_fail
;
3049 Py_INCREF(Py_None
); resultobj
= Py_None
;
3056 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3057 PyObject
*resultobj
;
3058 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3059 wxBitmap
*arg2
= 0 ;
3060 PyObject
* obj0
= 0 ;
3061 PyObject
* obj1
= 0 ;
3063 (char *) "self",(char *) "bitmap", NULL
3066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
3067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3068 if (SWIG_arg_fail(1)) SWIG_fail
;
3070 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3071 if (SWIG_arg_fail(2)) SWIG_fail
;
3073 SWIG_null_ref("wxBitmap");
3075 if (SWIG_arg_fail(2)) SWIG_fail
;
3078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3079 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
3081 wxPyEndAllowThreads(__tstate
);
3082 if (PyErr_Occurred()) SWIG_fail
;
3084 Py_INCREF(Py_None
); resultobj
= Py_None
;
3091 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3092 PyObject
*resultobj
;
3093 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3094 wxBitmap
*arg2
= 0 ;
3095 PyObject
* obj0
= 0 ;
3096 PyObject
* obj1
= 0 ;
3098 (char *) "self",(char *) "bitmap", NULL
3101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3103 if (SWIG_arg_fail(1)) SWIG_fail
;
3105 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3106 if (SWIG_arg_fail(2)) SWIG_fail
;
3108 SWIG_null_ref("wxBitmap");
3110 if (SWIG_arg_fail(2)) SWIG_fail
;
3113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3114 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
3116 wxPyEndAllowThreads(__tstate
);
3117 if (PyErr_Occurred()) SWIG_fail
;
3119 Py_INCREF(Py_None
); resultobj
= Py_None
;
3126 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3127 PyObject
*resultobj
;
3128 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3131 PyObject
* obj0
= 0 ;
3132 PyObject
* obj1
= 0 ;
3133 PyObject
* obj2
= 0 ;
3135 (char *) "self",(char *) "x",(char *) "y", NULL
3138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3140 if (SWIG_arg_fail(1)) SWIG_fail
;
3142 arg2
= (int)(SWIG_As_int(obj1
));
3143 if (SWIG_arg_fail(2)) SWIG_fail
;
3146 arg3
= (int)(SWIG_As_int(obj2
));
3147 if (SWIG_arg_fail(3)) SWIG_fail
;
3150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3151 (arg1
)->SetMargins(arg2
,arg3
);
3153 wxPyEndAllowThreads(__tstate
);
3154 if (PyErr_Occurred()) SWIG_fail
;
3156 Py_INCREF(Py_None
); resultobj
= Py_None
;
3163 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
*resultobj
;
3165 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3167 PyObject
* obj0
= 0 ;
3169 (char *) "self", NULL
3172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
3173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3174 if (SWIG_arg_fail(1)) SWIG_fail
;
3176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3177 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
3179 wxPyEndAllowThreads(__tstate
);
3180 if (PyErr_Occurred()) SWIG_fail
;
3183 resultobj
= SWIG_From_int((int)(result
));
3191 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3192 PyObject
*resultobj
;
3193 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3195 PyObject
* obj0
= 0 ;
3197 (char *) "self", NULL
3200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
3201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3202 if (SWIG_arg_fail(1)) SWIG_fail
;
3204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3205 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
3207 wxPyEndAllowThreads(__tstate
);
3208 if (PyErr_Occurred()) SWIG_fail
;
3211 resultobj
= SWIG_From_int((int)(result
));
3219 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
3221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3222 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
3224 return Py_BuildValue((char *)"");
3226 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
3227 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
3232 static PyObject
*_wrap_CheckBoxNameStr_get(void) {
3237 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3239 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3246 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
*resultobj
;
3248 wxWindow
*arg1
= (wxWindow
*) 0 ;
3249 int arg2
= (int) -1 ;
3250 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3251 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3252 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3253 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3254 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3255 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3256 long arg6
= (long) 0 ;
3257 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3258 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3259 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
3260 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3262 bool temp3
= false ;
3265 bool temp8
= false ;
3266 PyObject
* obj0
= 0 ;
3267 PyObject
* obj1
= 0 ;
3268 PyObject
* obj2
= 0 ;
3269 PyObject
* obj3
= 0 ;
3270 PyObject
* obj4
= 0 ;
3271 PyObject
* obj5
= 0 ;
3272 PyObject
* obj6
= 0 ;
3273 PyObject
* obj7
= 0 ;
3275 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3280 if (SWIG_arg_fail(1)) SWIG_fail
;
3283 arg2
= (int)(SWIG_As_int(obj1
));
3284 if (SWIG_arg_fail(2)) SWIG_fail
;
3289 arg3
= wxString_in_helper(obj2
);
3290 if (arg3
== NULL
) SWIG_fail
;
3297 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3303 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3308 arg6
= (long)(SWIG_As_long(obj5
));
3309 if (SWIG_arg_fail(6)) SWIG_fail
;
3314 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3315 if (SWIG_arg_fail(7)) SWIG_fail
;
3317 SWIG_null_ref("wxValidator");
3319 if (SWIG_arg_fail(7)) SWIG_fail
;
3324 arg8
= wxString_in_helper(obj7
);
3325 if (arg8
== NULL
) SWIG_fail
;
3330 if (!wxPyCheckForApp()) SWIG_fail
;
3331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3332 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3334 wxPyEndAllowThreads(__tstate
);
3335 if (PyErr_Occurred()) SWIG_fail
;
3337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3360 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3361 PyObject
*resultobj
;
3367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
3369 if (!wxPyCheckForApp()) SWIG_fail
;
3370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3371 result
= (wxCheckBox
*)new wxCheckBox();
3373 wxPyEndAllowThreads(__tstate
);
3374 if (PyErr_Occurred()) SWIG_fail
;
3376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3383 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3384 PyObject
*resultobj
;
3385 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3386 wxWindow
*arg2
= (wxWindow
*) 0 ;
3387 int arg3
= (int) -1 ;
3388 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3389 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3390 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3391 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3392 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3393 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3394 long arg7
= (long) 0 ;
3395 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3396 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3397 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
3398 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3400 bool temp4
= false ;
3403 bool temp9
= false ;
3404 PyObject
* obj0
= 0 ;
3405 PyObject
* obj1
= 0 ;
3406 PyObject
* obj2
= 0 ;
3407 PyObject
* obj3
= 0 ;
3408 PyObject
* obj4
= 0 ;
3409 PyObject
* obj5
= 0 ;
3410 PyObject
* obj6
= 0 ;
3411 PyObject
* obj7
= 0 ;
3412 PyObject
* obj8
= 0 ;
3414 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3419 if (SWIG_arg_fail(1)) SWIG_fail
;
3420 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3421 if (SWIG_arg_fail(2)) SWIG_fail
;
3424 arg3
= (int)(SWIG_As_int(obj2
));
3425 if (SWIG_arg_fail(3)) SWIG_fail
;
3430 arg4
= wxString_in_helper(obj3
);
3431 if (arg4
== NULL
) SWIG_fail
;
3438 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3444 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3449 arg7
= (long)(SWIG_As_long(obj6
));
3450 if (SWIG_arg_fail(7)) SWIG_fail
;
3455 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3456 if (SWIG_arg_fail(8)) SWIG_fail
;
3458 SWIG_null_ref("wxValidator");
3460 if (SWIG_arg_fail(8)) SWIG_fail
;
3465 arg9
= wxString_in_helper(obj8
);
3466 if (arg9
== NULL
) SWIG_fail
;
3471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3472 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3474 wxPyEndAllowThreads(__tstate
);
3475 if (PyErr_Occurred()) SWIG_fail
;
3478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3502 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3503 PyObject
*resultobj
;
3504 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3506 PyObject
* obj0
= 0 ;
3508 (char *) "self", NULL
3511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
3512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3513 if (SWIG_arg_fail(1)) SWIG_fail
;
3515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3516 result
= (bool)(arg1
)->GetValue();
3518 wxPyEndAllowThreads(__tstate
);
3519 if (PyErr_Occurred()) SWIG_fail
;
3522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3530 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3531 PyObject
*resultobj
;
3532 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3534 PyObject
* obj0
= 0 ;
3536 (char *) "self", NULL
3539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
3540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3541 if (SWIG_arg_fail(1)) SWIG_fail
;
3543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3544 result
= (bool)(arg1
)->IsChecked();
3546 wxPyEndAllowThreads(__tstate
);
3547 if (PyErr_Occurred()) SWIG_fail
;
3550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3558 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3559 PyObject
*resultobj
;
3560 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3562 PyObject
* obj0
= 0 ;
3563 PyObject
* obj1
= 0 ;
3565 (char *) "self",(char *) "state", NULL
3568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3570 if (SWIG_arg_fail(1)) SWIG_fail
;
3572 arg2
= (bool const)(SWIG_As_bool(obj1
));
3573 if (SWIG_arg_fail(2)) SWIG_fail
;
3576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3577 (arg1
)->SetValue(arg2
);
3579 wxPyEndAllowThreads(__tstate
);
3580 if (PyErr_Occurred()) SWIG_fail
;
3582 Py_INCREF(Py_None
); resultobj
= Py_None
;
3589 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3590 PyObject
*resultobj
;
3591 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3592 wxCheckBoxState result
;
3593 PyObject
* obj0
= 0 ;
3595 (char *) "self", NULL
3598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
3599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3600 if (SWIG_arg_fail(1)) SWIG_fail
;
3602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3603 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
3605 wxPyEndAllowThreads(__tstate
);
3606 if (PyErr_Occurred()) SWIG_fail
;
3608 resultobj
= SWIG_From_int((result
));
3615 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3616 PyObject
*resultobj
;
3617 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3618 wxCheckBoxState arg2
;
3619 PyObject
* obj0
= 0 ;
3620 PyObject
* obj1
= 0 ;
3622 (char *) "self",(char *) "state", NULL
3625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3627 if (SWIG_arg_fail(1)) SWIG_fail
;
3629 arg2
= (wxCheckBoxState
)(SWIG_As_int(obj1
));
3630 if (SWIG_arg_fail(2)) SWIG_fail
;
3633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3634 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
3636 wxPyEndAllowThreads(__tstate
);
3637 if (PyErr_Occurred()) SWIG_fail
;
3639 Py_INCREF(Py_None
); resultobj
= Py_None
;
3646 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3647 PyObject
*resultobj
;
3648 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3650 PyObject
* obj0
= 0 ;
3652 (char *) "self", NULL
3655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
3656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3657 if (SWIG_arg_fail(1)) SWIG_fail
;
3659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3660 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
3662 wxPyEndAllowThreads(__tstate
);
3663 if (PyErr_Occurred()) SWIG_fail
;
3666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3674 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3675 PyObject
*resultobj
;
3676 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3678 PyObject
* obj0
= 0 ;
3680 (char *) "self", NULL
3683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
3684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3685 if (SWIG_arg_fail(1)) SWIG_fail
;
3687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3688 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
3690 wxPyEndAllowThreads(__tstate
);
3691 if (PyErr_Occurred()) SWIG_fail
;
3694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3702 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3703 PyObject
*resultobj
;
3704 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3705 wxVisualAttributes result
;
3706 PyObject
* obj0
= 0 ;
3708 (char *) "variant", NULL
3711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3714 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3715 if (SWIG_arg_fail(1)) SWIG_fail
;
3719 if (!wxPyCheckForApp()) SWIG_fail
;
3720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3721 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3723 wxPyEndAllowThreads(__tstate
);
3724 if (PyErr_Occurred()) SWIG_fail
;
3727 wxVisualAttributes
* resultptr
;
3728 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3737 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
3739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3740 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
3742 return Py_BuildValue((char *)"");
3744 static int _wrap_ChoiceNameStr_set(PyObject
*) {
3745 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
3750 static PyObject
*_wrap_ChoiceNameStr_get(void) {
3755 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3757 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3764 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
*resultobj
;
3766 wxWindow
*arg1
= (wxWindow
*) 0 ;
3767 int arg2
= (int) -1 ;
3768 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3769 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3770 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3771 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3772 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
3773 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
3774 long arg6
= (long) 0 ;
3775 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3776 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3777 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
3778 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3782 bool temp5
= false ;
3783 bool temp8
= false ;
3784 PyObject
* obj0
= 0 ;
3785 PyObject
* obj1
= 0 ;
3786 PyObject
* obj2
= 0 ;
3787 PyObject
* obj3
= 0 ;
3788 PyObject
* obj4
= 0 ;
3789 PyObject
* obj5
= 0 ;
3790 PyObject
* obj6
= 0 ;
3791 PyObject
* obj7
= 0 ;
3793 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3798 if (SWIG_arg_fail(1)) SWIG_fail
;
3801 arg2
= (int)(SWIG_As_int(obj1
));
3802 if (SWIG_arg_fail(2)) SWIG_fail
;
3808 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3814 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3819 if (! PySequence_Check(obj4
)) {
3820 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3823 arg5
= new wxArrayString
;
3825 int i
, len
=PySequence_Length(obj4
);
3826 for (i
=0; i
<len
; i
++) {
3827 PyObject
* item
= PySequence_GetItem(obj4
, i
);
3829 PyObject
* str
= PyObject_Unicode(item
);
3831 PyObject
* str
= PyObject_Str(item
);
3833 if (PyErr_Occurred()) SWIG_fail
;
3834 arg5
->Add(Py2wxString(str
));
3842 arg6
= (long)(SWIG_As_long(obj5
));
3843 if (SWIG_arg_fail(6)) SWIG_fail
;
3848 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3849 if (SWIG_arg_fail(7)) SWIG_fail
;
3851 SWIG_null_ref("wxValidator");
3853 if (SWIG_arg_fail(7)) SWIG_fail
;
3858 arg8
= wxString_in_helper(obj7
);
3859 if (arg8
== NULL
) SWIG_fail
;
3864 if (!wxPyCheckForApp()) SWIG_fail
;
3865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3866 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3868 wxPyEndAllowThreads(__tstate
);
3869 if (PyErr_Occurred()) SWIG_fail
;
3871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3873 if (temp5
) delete arg5
;
3882 if (temp5
) delete arg5
;
3892 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3893 PyObject
*resultobj
;
3899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
3901 if (!wxPyCheckForApp()) SWIG_fail
;
3902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3903 result
= (wxChoice
*)new wxChoice();
3905 wxPyEndAllowThreads(__tstate
);
3906 if (PyErr_Occurred()) SWIG_fail
;
3908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3915 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3916 PyObject
*resultobj
;
3917 wxChoice
*arg1
= (wxChoice
*) 0 ;
3918 wxWindow
*arg2
= (wxWindow
*) 0 ;
3919 int arg3
= (int) -1 ;
3920 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3921 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3922 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3923 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3924 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3925 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3926 long arg7
= (long) 0 ;
3927 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3928 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3929 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
3930 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3934 bool temp6
= false ;
3935 bool temp9
= false ;
3936 PyObject
* obj0
= 0 ;
3937 PyObject
* obj1
= 0 ;
3938 PyObject
* obj2
= 0 ;
3939 PyObject
* obj3
= 0 ;
3940 PyObject
* obj4
= 0 ;
3941 PyObject
* obj5
= 0 ;
3942 PyObject
* obj6
= 0 ;
3943 PyObject
* obj7
= 0 ;
3944 PyObject
* obj8
= 0 ;
3946 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
3951 if (SWIG_arg_fail(1)) SWIG_fail
;
3952 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3953 if (SWIG_arg_fail(2)) SWIG_fail
;
3956 arg3
= (int)(SWIG_As_int(obj2
));
3957 if (SWIG_arg_fail(3)) SWIG_fail
;
3963 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3969 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3974 if (! PySequence_Check(obj5
)) {
3975 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3978 arg6
= new wxArrayString
;
3980 int i
, len
=PySequence_Length(obj5
);
3981 for (i
=0; i
<len
; i
++) {
3982 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3984 PyObject
* str
= PyObject_Unicode(item
);
3986 PyObject
* str
= PyObject_Str(item
);
3988 if (PyErr_Occurred()) SWIG_fail
;
3989 arg6
->Add(Py2wxString(str
));
3997 arg7
= (long)(SWIG_As_long(obj6
));
3998 if (SWIG_arg_fail(7)) SWIG_fail
;
4003 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4004 if (SWIG_arg_fail(8)) SWIG_fail
;
4006 SWIG_null_ref("wxValidator");
4008 if (SWIG_arg_fail(8)) SWIG_fail
;
4013 arg9
= wxString_in_helper(obj8
);
4014 if (arg9
== NULL
) SWIG_fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) SWIG_fail
;
4026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4029 if (temp6
) delete arg6
;
4038 if (temp6
) delete arg6
;
4048 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4049 PyObject
*resultobj
;
4050 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4051 wxVisualAttributes result
;
4052 PyObject
* obj0
= 0 ;
4054 (char *) "variant", NULL
4057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4060 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
4061 if (SWIG_arg_fail(1)) SWIG_fail
;
4065 if (!wxPyCheckForApp()) SWIG_fail
;
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4073 wxVisualAttributes
* resultptr
;
4074 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
4075 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4083 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
4085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4086 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
4088 return Py_BuildValue((char *)"");
4090 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
4091 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
4096 static PyObject
*_wrap_ComboBoxNameStr_get(void) {
4101 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4103 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4110 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4111 PyObject
*resultobj
;
4112 wxWindow
*arg1
= (wxWindow
*) 0 ;
4113 int arg2
= (int) -1 ;
4114 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4115 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4116 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4117 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4118 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4119 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4120 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4121 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4122 long arg7
= (long) 0 ;
4123 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4124 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4125 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
4126 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4128 bool temp3
= false ;
4131 bool temp6
= false ;
4132 bool temp9
= false ;
4133 PyObject
* obj0
= 0 ;
4134 PyObject
* obj1
= 0 ;
4135 PyObject
* obj2
= 0 ;
4136 PyObject
* obj3
= 0 ;
4137 PyObject
* obj4
= 0 ;
4138 PyObject
* obj5
= 0 ;
4139 PyObject
* obj6
= 0 ;
4140 PyObject
* obj7
= 0 ;
4141 PyObject
* obj8
= 0 ;
4143 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4148 if (SWIG_arg_fail(1)) SWIG_fail
;
4151 arg2
= (int)(SWIG_As_int(obj1
));
4152 if (SWIG_arg_fail(2)) SWIG_fail
;
4157 arg3
= wxString_in_helper(obj2
);
4158 if (arg3
== NULL
) SWIG_fail
;
4165 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4171 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4176 if (! PySequence_Check(obj5
)) {
4177 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4180 arg6
= new wxArrayString
;
4182 int i
, len
=PySequence_Length(obj5
);
4183 for (i
=0; i
<len
; i
++) {
4184 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4186 PyObject
* str
= PyObject_Unicode(item
);
4188 PyObject
* str
= PyObject_Str(item
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4191 arg6
->Add(Py2wxString(str
));
4199 arg7
= (long)(SWIG_As_long(obj6
));
4200 if (SWIG_arg_fail(7)) SWIG_fail
;
4205 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4206 if (SWIG_arg_fail(8)) SWIG_fail
;
4208 SWIG_null_ref("wxValidator");
4210 if (SWIG_arg_fail(8)) SWIG_fail
;
4215 arg9
= wxString_in_helper(obj8
);
4216 if (arg9
== NULL
) SWIG_fail
;
4221 if (!wxPyCheckForApp()) SWIG_fail
;
4222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4223 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
);
4225 wxPyEndAllowThreads(__tstate
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4234 if (temp6
) delete arg6
;
4247 if (temp6
) delete arg6
;
4257 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4258 PyObject
*resultobj
;
4264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
4266 if (!wxPyCheckForApp()) SWIG_fail
;
4267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4268 result
= (wxComboBox
*)new wxComboBox();
4270 wxPyEndAllowThreads(__tstate
);
4271 if (PyErr_Occurred()) SWIG_fail
;
4273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4280 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4281 PyObject
*resultobj
;
4282 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4283 wxWindow
*arg2
= (wxWindow
*) 0 ;
4284 int arg3
= (int) -1 ;
4285 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4286 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4287 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4288 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4289 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4290 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4291 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
4292 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
4293 long arg8
= (long) 0 ;
4294 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4295 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4296 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
4297 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4299 bool temp4
= false ;
4302 bool temp7
= false ;
4303 bool temp10
= false ;
4304 PyObject
* obj0
= 0 ;
4305 PyObject
* obj1
= 0 ;
4306 PyObject
* obj2
= 0 ;
4307 PyObject
* obj3
= 0 ;
4308 PyObject
* obj4
= 0 ;
4309 PyObject
* obj5
= 0 ;
4310 PyObject
* obj6
= 0 ;
4311 PyObject
* obj7
= 0 ;
4312 PyObject
* obj8
= 0 ;
4313 PyObject
* obj9
= 0 ;
4315 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
4319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4320 if (SWIG_arg_fail(1)) SWIG_fail
;
4321 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4322 if (SWIG_arg_fail(2)) SWIG_fail
;
4325 arg3
= (int)(SWIG_As_int(obj2
));
4326 if (SWIG_arg_fail(3)) SWIG_fail
;
4331 arg4
= wxString_in_helper(obj3
);
4332 if (arg4
== NULL
) SWIG_fail
;
4339 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4345 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4350 if (! PySequence_Check(obj6
)) {
4351 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4354 arg7
= new wxArrayString
;
4356 int i
, len
=PySequence_Length(obj6
);
4357 for (i
=0; i
<len
; i
++) {
4358 PyObject
* item
= PySequence_GetItem(obj6
, i
);
4360 PyObject
* str
= PyObject_Unicode(item
);
4362 PyObject
* str
= PyObject_Str(item
);
4364 if (PyErr_Occurred()) SWIG_fail
;
4365 arg7
->Add(Py2wxString(str
));
4373 arg8
= (long)(SWIG_As_long(obj7
));
4374 if (SWIG_arg_fail(8)) SWIG_fail
;
4379 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4380 if (SWIG_arg_fail(9)) SWIG_fail
;
4382 SWIG_null_ref("wxValidator");
4384 if (SWIG_arg_fail(9)) SWIG_fail
;
4389 arg10
= wxString_in_helper(obj9
);
4390 if (arg10
== NULL
) SWIG_fail
;
4395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4396 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
);
4398 wxPyEndAllowThreads(__tstate
);
4399 if (PyErr_Occurred()) SWIG_fail
;
4402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4409 if (temp7
) delete arg7
;
4422 if (temp7
) delete arg7
;
4432 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4433 PyObject
*resultobj
;
4434 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4436 PyObject
* obj0
= 0 ;
4438 (char *) "self", NULL
4441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
4442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4443 if (SWIG_arg_fail(1)) SWIG_fail
;
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 result
= ((wxComboBox
const *)arg1
)->GetValue();
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4453 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4455 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4464 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
*resultobj
;
4466 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4467 wxString
*arg2
= 0 ;
4468 bool temp2
= false ;
4469 PyObject
* obj0
= 0 ;
4470 PyObject
* obj1
= 0 ;
4472 (char *) "self",(char *) "value", NULL
4475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4477 if (SWIG_arg_fail(1)) SWIG_fail
;
4479 arg2
= wxString_in_helper(obj1
);
4480 if (arg2
== NULL
) SWIG_fail
;
4484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4485 (arg1
)->SetValue((wxString
const &)*arg2
);
4487 wxPyEndAllowThreads(__tstate
);
4488 if (PyErr_Occurred()) SWIG_fail
;
4490 Py_INCREF(Py_None
); resultobj
= Py_None
;
4505 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4506 PyObject
*resultobj
;
4507 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4508 PyObject
* obj0
= 0 ;
4510 (char *) "self", NULL
4513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
4514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4515 if (SWIG_arg_fail(1)) SWIG_fail
;
4517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4520 wxPyEndAllowThreads(__tstate
);
4521 if (PyErr_Occurred()) SWIG_fail
;
4523 Py_INCREF(Py_None
); resultobj
= Py_None
;
4530 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4531 PyObject
*resultobj
;
4532 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4533 PyObject
* obj0
= 0 ;
4535 (char *) "self", NULL
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
4539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4540 if (SWIG_arg_fail(1)) SWIG_fail
;
4542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4545 wxPyEndAllowThreads(__tstate
);
4546 if (PyErr_Occurred()) SWIG_fail
;
4548 Py_INCREF(Py_None
); resultobj
= Py_None
;
4555 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
*resultobj
;
4557 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4558 PyObject
* obj0
= 0 ;
4560 (char *) "self", NULL
4563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
4564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4565 if (SWIG_arg_fail(1)) SWIG_fail
;
4567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4570 wxPyEndAllowThreads(__tstate
);
4571 if (PyErr_Occurred()) SWIG_fail
;
4573 Py_INCREF(Py_None
); resultobj
= Py_None
;
4580 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4581 PyObject
*resultobj
;
4582 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4584 PyObject
* obj0
= 0 ;
4585 PyObject
* obj1
= 0 ;
4587 (char *) "self",(char *) "pos", NULL
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4592 if (SWIG_arg_fail(1)) SWIG_fail
;
4594 arg2
= (long)(SWIG_As_long(obj1
));
4595 if (SWIG_arg_fail(2)) SWIG_fail
;
4598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4599 (arg1
)->SetInsertionPoint(arg2
);
4601 wxPyEndAllowThreads(__tstate
);
4602 if (PyErr_Occurred()) SWIG_fail
;
4604 Py_INCREF(Py_None
); resultobj
= Py_None
;
4611 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4612 PyObject
*resultobj
;
4613 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4615 PyObject
* obj0
= 0 ;
4617 (char *) "self", NULL
4620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
4621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4622 if (SWIG_arg_fail(1)) SWIG_fail
;
4624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4625 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
4627 wxPyEndAllowThreads(__tstate
);
4628 if (PyErr_Occurred()) SWIG_fail
;
4631 resultobj
= SWIG_From_long((long)(result
));
4639 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4640 PyObject
*resultobj
;
4641 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4643 PyObject
* obj0
= 0 ;
4645 (char *) "self", NULL
4648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
4649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4650 if (SWIG_arg_fail(1)) SWIG_fail
;
4652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4653 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
4655 wxPyEndAllowThreads(__tstate
);
4656 if (PyErr_Occurred()) SWIG_fail
;
4659 resultobj
= SWIG_From_long((long)(result
));
4667 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4668 PyObject
*resultobj
;
4669 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4672 wxString
*arg4
= 0 ;
4673 bool temp4
= false ;
4674 PyObject
* obj0
= 0 ;
4675 PyObject
* obj1
= 0 ;
4676 PyObject
* obj2
= 0 ;
4677 PyObject
* obj3
= 0 ;
4679 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4684 if (SWIG_arg_fail(1)) SWIG_fail
;
4686 arg2
= (long)(SWIG_As_long(obj1
));
4687 if (SWIG_arg_fail(2)) SWIG_fail
;
4690 arg3
= (long)(SWIG_As_long(obj2
));
4691 if (SWIG_arg_fail(3)) SWIG_fail
;
4694 arg4
= wxString_in_helper(obj3
);
4695 if (arg4
== NULL
) SWIG_fail
;
4699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4700 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4705 Py_INCREF(Py_None
); resultobj
= Py_None
;
4720 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4721 PyObject
*resultobj
;
4722 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4724 PyObject
* obj0
= 0 ;
4725 PyObject
* obj1
= 0 ;
4727 (char *) "self",(char *) "n", NULL
4730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4732 if (SWIG_arg_fail(1)) SWIG_fail
;
4734 arg2
= (int)(SWIG_As_int(obj1
));
4735 if (SWIG_arg_fail(2)) SWIG_fail
;
4738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4739 (arg1
)->SetSelection(arg2
);
4741 wxPyEndAllowThreads(__tstate
);
4742 if (PyErr_Occurred()) SWIG_fail
;
4744 Py_INCREF(Py_None
); resultobj
= Py_None
;
4751 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4752 PyObject
*resultobj
;
4753 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4756 PyObject
* obj0
= 0 ;
4757 PyObject
* obj1
= 0 ;
4758 PyObject
* obj2
= 0 ;
4760 (char *) "self",(char *) "from",(char *) "to", NULL
4763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4765 if (SWIG_arg_fail(1)) SWIG_fail
;
4767 arg2
= (long)(SWIG_As_long(obj1
));
4768 if (SWIG_arg_fail(2)) SWIG_fail
;
4771 arg3
= (long)(SWIG_As_long(obj2
));
4772 if (SWIG_arg_fail(3)) SWIG_fail
;
4775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4776 (arg1
)->SetSelection(arg2
,arg3
);
4778 wxPyEndAllowThreads(__tstate
);
4779 if (PyErr_Occurred()) SWIG_fail
;
4781 Py_INCREF(Py_None
); resultobj
= Py_None
;
4788 static PyObject
*_wrap_ComboBox_GetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4789 PyObject
*resultobj
;
4790 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4791 long *arg2
= (long *) 0 ;
4792 long *arg3
= (long *) 0 ;
4797 PyObject
* obj0
= 0 ;
4799 (char *) "self", NULL
4802 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4803 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetMark",kwnames
,&obj0
)) goto fail
;
4805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4806 if (SWIG_arg_fail(1)) SWIG_fail
;
4808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4809 (arg1
)->GetSelection(arg2
,arg3
);
4811 wxPyEndAllowThreads(__tstate
);
4812 if (PyErr_Occurred()) SWIG_fail
;
4814 Py_INCREF(Py_None
); resultobj
= Py_None
;
4815 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4816 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
4817 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4818 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
4825 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4826 PyObject
*resultobj
;
4827 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4828 wxString
*arg2
= 0 ;
4830 bool temp2
= false ;
4831 PyObject
* obj0
= 0 ;
4832 PyObject
* obj1
= 0 ;
4834 (char *) "self",(char *) "string", NULL
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4839 if (SWIG_arg_fail(1)) SWIG_fail
;
4841 arg2
= wxString_in_helper(obj1
);
4842 if (arg2
== NULL
) SWIG_fail
;
4846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4847 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4869 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4870 PyObject
*resultobj
;
4871 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4873 wxString
*arg3
= 0 ;
4874 bool temp3
= false ;
4875 PyObject
* obj0
= 0 ;
4876 PyObject
* obj1
= 0 ;
4877 PyObject
* obj2
= 0 ;
4879 (char *) "self",(char *) "n",(char *) "string", NULL
4882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4884 if (SWIG_arg_fail(1)) SWIG_fail
;
4886 arg2
= (int)(SWIG_As_int(obj1
));
4887 if (SWIG_arg_fail(2)) SWIG_fail
;
4890 arg3
= wxString_in_helper(obj2
);
4891 if (arg3
== NULL
) SWIG_fail
;
4895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4896 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
4898 wxPyEndAllowThreads(__tstate
);
4899 if (PyErr_Occurred()) SWIG_fail
;
4901 Py_INCREF(Py_None
); resultobj
= Py_None
;
4916 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
*resultobj
;
4918 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4920 PyObject
* obj0
= 0 ;
4921 PyObject
* obj1
= 0 ;
4923 (char *) "self",(char *) "editable", NULL
4926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
4927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4928 if (SWIG_arg_fail(1)) SWIG_fail
;
4930 arg2
= (bool)(SWIG_As_bool(obj1
));
4931 if (SWIG_arg_fail(2)) SWIG_fail
;
4934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4935 (arg1
)->SetEditable(arg2
);
4937 wxPyEndAllowThreads(__tstate
);
4938 if (PyErr_Occurred()) SWIG_fail
;
4940 Py_INCREF(Py_None
); resultobj
= Py_None
;
4947 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4948 PyObject
*resultobj
;
4949 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4950 PyObject
* obj0
= 0 ;
4952 (char *) "self", NULL
4955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
4956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4957 if (SWIG_arg_fail(1)) SWIG_fail
;
4959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4960 (arg1
)->SetInsertionPointEnd();
4962 wxPyEndAllowThreads(__tstate
);
4963 if (PyErr_Occurred()) SWIG_fail
;
4965 Py_INCREF(Py_None
); resultobj
= Py_None
;
4972 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4973 PyObject
*resultobj
;
4974 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4977 PyObject
* obj0
= 0 ;
4978 PyObject
* obj1
= 0 ;
4979 PyObject
* obj2
= 0 ;
4981 (char *) "self",(char *) "from",(char *) "to", NULL
4984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4986 if (SWIG_arg_fail(1)) SWIG_fail
;
4988 arg2
= (long)(SWIG_As_long(obj1
));
4989 if (SWIG_arg_fail(2)) SWIG_fail
;
4992 arg3
= (long)(SWIG_As_long(obj2
));
4993 if (SWIG_arg_fail(3)) SWIG_fail
;
4996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4997 (arg1
)->Remove(arg2
,arg3
);
4999 wxPyEndAllowThreads(__tstate
);
5000 if (PyErr_Occurred()) SWIG_fail
;
5002 Py_INCREF(Py_None
); resultobj
= Py_None
;
5009 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5010 PyObject
*resultobj
;
5011 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5013 PyObject
* obj0
= 0 ;
5015 (char *) "self", NULL
5018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
5019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5020 if (SWIG_arg_fail(1)) SWIG_fail
;
5022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5023 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
5025 wxPyEndAllowThreads(__tstate
);
5026 if (PyErr_Occurred()) SWIG_fail
;
5029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5037 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5038 PyObject
*resultobj
;
5039 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5040 PyObject
* obj0
= 0 ;
5042 (char *) "self", NULL
5045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
5046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5047 if (SWIG_arg_fail(1)) SWIG_fail
;
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5052 wxPyEndAllowThreads(__tstate
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5055 Py_INCREF(Py_None
); resultobj
= Py_None
;
5062 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
;
5064 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5065 PyObject
* obj0
= 0 ;
5067 (char *) "self", NULL
5070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5072 if (SWIG_arg_fail(1)) SWIG_fail
;
5074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5077 wxPyEndAllowThreads(__tstate
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5080 Py_INCREF(Py_None
); resultobj
= Py_None
;
5087 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
*resultobj
;
5089 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5090 PyObject
* obj0
= 0 ;
5092 (char *) "self", NULL
5095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5097 if (SWIG_arg_fail(1)) SWIG_fail
;
5099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5100 (arg1
)->SelectAll();
5102 wxPyEndAllowThreads(__tstate
);
5103 if (PyErr_Occurred()) SWIG_fail
;
5105 Py_INCREF(Py_None
); resultobj
= Py_None
;
5112 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5113 PyObject
*resultobj
;
5114 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5116 PyObject
* obj0
= 0 ;
5118 (char *) "self", NULL
5121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
5122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5123 if (SWIG_arg_fail(1)) SWIG_fail
;
5125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5126 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
5128 wxPyEndAllowThreads(__tstate
);
5129 if (PyErr_Occurred()) SWIG_fail
;
5132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5140 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5141 PyObject
*resultobj
;
5142 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5144 PyObject
* obj0
= 0 ;
5146 (char *) "self", NULL
5149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5151 if (SWIG_arg_fail(1)) SWIG_fail
;
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5156 wxPyEndAllowThreads(__tstate
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5168 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5169 PyObject
*resultobj
;
5170 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5172 PyObject
* obj0
= 0 ;
5174 (char *) "self", NULL
5177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5179 if (SWIG_arg_fail(1)) SWIG_fail
;
5181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5182 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5184 wxPyEndAllowThreads(__tstate
);
5185 if (PyErr_Occurred()) SWIG_fail
;
5188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5196 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
*resultobj
;
5198 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5200 PyObject
* obj0
= 0 ;
5202 (char *) "self", NULL
5205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5207 if (SWIG_arg_fail(1)) SWIG_fail
;
5209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5210 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5212 wxPyEndAllowThreads(__tstate
);
5213 if (PyErr_Occurred()) SWIG_fail
;
5216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5224 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
*resultobj
;
5226 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5228 PyObject
* obj0
= 0 ;
5230 (char *) "self", NULL
5233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
5234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5235 if (SWIG_arg_fail(1)) SWIG_fail
;
5237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5252 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
*resultobj
;
5254 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5255 wxVisualAttributes result
;
5256 PyObject
* obj0
= 0 ;
5258 (char *) "variant", NULL
5261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5264 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5265 if (SWIG_arg_fail(1)) SWIG_fail
;
5269 if (!wxPyCheckForApp()) SWIG_fail
;
5270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5271 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5273 wxPyEndAllowThreads(__tstate
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5277 wxVisualAttributes
* resultptr
;
5278 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5287 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5289 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5290 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5292 return Py_BuildValue((char *)"");
5294 static int _wrap_GaugeNameStr_set(PyObject
*) {
5295 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5300 static PyObject
*_wrap_GaugeNameStr_get(void) {
5305 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5307 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5314 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5315 PyObject
*resultobj
;
5316 wxWindow
*arg1
= (wxWindow
*) 0 ;
5317 int arg2
= (int) -1 ;
5318 int arg3
= (int) 100 ;
5319 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5320 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5321 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5322 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5323 long arg6
= (long) wxGA_HORIZONTAL
;
5324 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5325 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5326 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5327 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5331 bool temp8
= false ;
5332 PyObject
* obj0
= 0 ;
5333 PyObject
* obj1
= 0 ;
5334 PyObject
* obj2
= 0 ;
5335 PyObject
* obj3
= 0 ;
5336 PyObject
* obj4
= 0 ;
5337 PyObject
* obj5
= 0 ;
5338 PyObject
* obj6
= 0 ;
5339 PyObject
* obj7
= 0 ;
5341 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5346 if (SWIG_arg_fail(1)) SWIG_fail
;
5349 arg2
= (int)(SWIG_As_int(obj1
));
5350 if (SWIG_arg_fail(2)) SWIG_fail
;
5355 arg3
= (int)(SWIG_As_int(obj2
));
5356 if (SWIG_arg_fail(3)) SWIG_fail
;
5362 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5368 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5373 arg6
= (long)(SWIG_As_long(obj5
));
5374 if (SWIG_arg_fail(6)) SWIG_fail
;
5379 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5380 if (SWIG_arg_fail(7)) SWIG_fail
;
5382 SWIG_null_ref("wxValidator");
5384 if (SWIG_arg_fail(7)) SWIG_fail
;
5389 arg8
= wxString_in_helper(obj7
);
5390 if (arg8
== NULL
) SWIG_fail
;
5395 if (!wxPyCheckForApp()) SWIG_fail
;
5396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5397 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5399 wxPyEndAllowThreads(__tstate
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5417 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
*resultobj
;
5424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5426 if (!wxPyCheckForApp()) SWIG_fail
;
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5428 result
= (wxGauge
*)new wxGauge();
5430 wxPyEndAllowThreads(__tstate
);
5431 if (PyErr_Occurred()) SWIG_fail
;
5433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5440 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5441 PyObject
*resultobj
;
5442 wxGauge
*arg1
= (wxGauge
*) 0 ;
5443 wxWindow
*arg2
= (wxWindow
*) 0 ;
5444 int arg3
= (int) -1 ;
5445 int arg4
= (int) 100 ;
5446 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5447 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5448 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5449 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5450 long arg7
= (long) wxGA_HORIZONTAL
;
5451 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5452 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5453 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5454 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5458 bool temp9
= false ;
5459 PyObject
* obj0
= 0 ;
5460 PyObject
* obj1
= 0 ;
5461 PyObject
* obj2
= 0 ;
5462 PyObject
* obj3
= 0 ;
5463 PyObject
* obj4
= 0 ;
5464 PyObject
* obj5
= 0 ;
5465 PyObject
* obj6
= 0 ;
5466 PyObject
* obj7
= 0 ;
5467 PyObject
* obj8
= 0 ;
5469 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5474 if (SWIG_arg_fail(1)) SWIG_fail
;
5475 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5476 if (SWIG_arg_fail(2)) SWIG_fail
;
5479 arg3
= (int)(SWIG_As_int(obj2
));
5480 if (SWIG_arg_fail(3)) SWIG_fail
;
5485 arg4
= (int)(SWIG_As_int(obj3
));
5486 if (SWIG_arg_fail(4)) SWIG_fail
;
5492 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5498 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5503 arg7
= (long)(SWIG_As_long(obj6
));
5504 if (SWIG_arg_fail(7)) SWIG_fail
;
5509 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5510 if (SWIG_arg_fail(8)) SWIG_fail
;
5512 SWIG_null_ref("wxValidator");
5514 if (SWIG_arg_fail(8)) SWIG_fail
;
5519 arg9
= wxString_in_helper(obj8
);
5520 if (arg9
== NULL
) SWIG_fail
;
5525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5526 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5528 wxPyEndAllowThreads(__tstate
);
5529 if (PyErr_Occurred()) SWIG_fail
;
5532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5548 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5549 PyObject
*resultobj
;
5550 wxGauge
*arg1
= (wxGauge
*) 0 ;
5552 PyObject
* obj0
= 0 ;
5553 PyObject
* obj1
= 0 ;
5555 (char *) "self",(char *) "range", NULL
5558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5560 if (SWIG_arg_fail(1)) SWIG_fail
;
5562 arg2
= (int)(SWIG_As_int(obj1
));
5563 if (SWIG_arg_fail(2)) SWIG_fail
;
5566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5567 (arg1
)->SetRange(arg2
);
5569 wxPyEndAllowThreads(__tstate
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5572 Py_INCREF(Py_None
); resultobj
= Py_None
;
5579 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5580 PyObject
*resultobj
;
5581 wxGauge
*arg1
= (wxGauge
*) 0 ;
5583 PyObject
* obj0
= 0 ;
5585 (char *) "self", NULL
5588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5590 if (SWIG_arg_fail(1)) SWIG_fail
;
5592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5593 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5595 wxPyEndAllowThreads(__tstate
);
5596 if (PyErr_Occurred()) SWIG_fail
;
5599 resultobj
= SWIG_From_int((int)(result
));
5607 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
*resultobj
;
5609 wxGauge
*arg1
= (wxGauge
*) 0 ;
5611 PyObject
* obj0
= 0 ;
5612 PyObject
* obj1
= 0 ;
5614 (char *) "self",(char *) "pos", NULL
5617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5619 if (SWIG_arg_fail(1)) SWIG_fail
;
5621 arg2
= (int)(SWIG_As_int(obj1
));
5622 if (SWIG_arg_fail(2)) SWIG_fail
;
5625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5626 (arg1
)->SetValue(arg2
);
5628 wxPyEndAllowThreads(__tstate
);
5629 if (PyErr_Occurred()) SWIG_fail
;
5631 Py_INCREF(Py_None
); resultobj
= Py_None
;
5638 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5639 PyObject
*resultobj
;
5640 wxGauge
*arg1
= (wxGauge
*) 0 ;
5642 PyObject
* obj0
= 0 ;
5644 (char *) "self", NULL
5647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5649 if (SWIG_arg_fail(1)) SWIG_fail
;
5651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5652 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5654 wxPyEndAllowThreads(__tstate
);
5655 if (PyErr_Occurred()) SWIG_fail
;
5658 resultobj
= SWIG_From_int((int)(result
));
5666 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
*resultobj
;
5668 wxGauge
*arg1
= (wxGauge
*) 0 ;
5670 PyObject
* obj0
= 0 ;
5672 (char *) "self", NULL
5675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5677 if (SWIG_arg_fail(1)) SWIG_fail
;
5679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5680 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5682 wxPyEndAllowThreads(__tstate
);
5683 if (PyErr_Occurred()) SWIG_fail
;
5686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5694 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5695 PyObject
*resultobj
;
5696 wxGauge
*arg1
= (wxGauge
*) 0 ;
5698 PyObject
* obj0
= 0 ;
5699 PyObject
* obj1
= 0 ;
5701 (char *) "self",(char *) "w", NULL
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5706 if (SWIG_arg_fail(1)) SWIG_fail
;
5708 arg2
= (int)(SWIG_As_int(obj1
));
5709 if (SWIG_arg_fail(2)) SWIG_fail
;
5712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5713 (arg1
)->SetShadowWidth(arg2
);
5715 wxPyEndAllowThreads(__tstate
);
5716 if (PyErr_Occurred()) SWIG_fail
;
5718 Py_INCREF(Py_None
); resultobj
= Py_None
;
5725 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5726 PyObject
*resultobj
;
5727 wxGauge
*arg1
= (wxGauge
*) 0 ;
5729 PyObject
* obj0
= 0 ;
5731 (char *) "self", NULL
5734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
5735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5736 if (SWIG_arg_fail(1)) SWIG_fail
;
5738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5739 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
5741 wxPyEndAllowThreads(__tstate
);
5742 if (PyErr_Occurred()) SWIG_fail
;
5745 resultobj
= SWIG_From_int((int)(result
));
5753 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
*resultobj
;
5755 wxGauge
*arg1
= (wxGauge
*) 0 ;
5757 PyObject
* obj0
= 0 ;
5758 PyObject
* obj1
= 0 ;
5760 (char *) "self",(char *) "w", NULL
5763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
5764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5765 if (SWIG_arg_fail(1)) SWIG_fail
;
5767 arg2
= (int)(SWIG_As_int(obj1
));
5768 if (SWIG_arg_fail(2)) SWIG_fail
;
5771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5772 (arg1
)->SetBezelFace(arg2
);
5774 wxPyEndAllowThreads(__tstate
);
5775 if (PyErr_Occurred()) SWIG_fail
;
5777 Py_INCREF(Py_None
); resultobj
= Py_None
;
5784 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5785 PyObject
*resultobj
;
5786 wxGauge
*arg1
= (wxGauge
*) 0 ;
5788 PyObject
* obj0
= 0 ;
5790 (char *) "self", NULL
5793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
5794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5795 if (SWIG_arg_fail(1)) SWIG_fail
;
5797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5798 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
5800 wxPyEndAllowThreads(__tstate
);
5801 if (PyErr_Occurred()) SWIG_fail
;
5804 resultobj
= SWIG_From_int((int)(result
));
5812 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5813 PyObject
*resultobj
;
5814 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5815 wxVisualAttributes result
;
5816 PyObject
* obj0
= 0 ;
5818 (char *) "variant", NULL
5821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5824 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5825 if (SWIG_arg_fail(1)) SWIG_fail
;
5829 if (!wxPyCheckForApp()) SWIG_fail
;
5830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5831 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5833 wxPyEndAllowThreads(__tstate
);
5834 if (PyErr_Occurred()) SWIG_fail
;
5837 wxVisualAttributes
* resultptr
;
5838 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5847 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
5849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5850 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
5852 return Py_BuildValue((char *)"");
5854 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
5855 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
5860 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
5865 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5867 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5874 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
5875 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
5880 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
5885 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5887 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5894 static int _wrap_StaticTextNameStr_set(PyObject
*) {
5895 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
5900 static PyObject
*_wrap_StaticTextNameStr_get(void) {
5905 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5907 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5914 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5915 PyObject
*resultobj
;
5916 wxWindow
*arg1
= (wxWindow
*) 0 ;
5917 int arg2
= (int) -1 ;
5918 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5919 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5920 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5921 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5922 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5923 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5924 long arg6
= (long) 0 ;
5925 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
5926 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5927 wxStaticBox
*result
;
5928 bool temp3
= false ;
5931 bool temp7
= false ;
5932 PyObject
* obj0
= 0 ;
5933 PyObject
* obj1
= 0 ;
5934 PyObject
* obj2
= 0 ;
5935 PyObject
* obj3
= 0 ;
5936 PyObject
* obj4
= 0 ;
5937 PyObject
* obj5
= 0 ;
5938 PyObject
* obj6
= 0 ;
5940 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5945 if (SWIG_arg_fail(1)) SWIG_fail
;
5948 arg2
= (int)(SWIG_As_int(obj1
));
5949 if (SWIG_arg_fail(2)) SWIG_fail
;
5954 arg3
= wxString_in_helper(obj2
);
5955 if (arg3
== NULL
) SWIG_fail
;
5962 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5968 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5973 arg6
= (long)(SWIG_As_long(obj5
));
5974 if (SWIG_arg_fail(6)) SWIG_fail
;
5979 arg7
= wxString_in_helper(obj6
);
5980 if (arg7
== NULL
) SWIG_fail
;
5985 if (!wxPyCheckForApp()) SWIG_fail
;
5986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5987 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5989 wxPyEndAllowThreads(__tstate
);
5990 if (PyErr_Occurred()) SWIG_fail
;
5992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6015 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6016 PyObject
*resultobj
;
6017 wxStaticBox
*result
;
6022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
6024 if (!wxPyCheckForApp()) SWIG_fail
;
6025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6026 result
= (wxStaticBox
*)new wxStaticBox();
6028 wxPyEndAllowThreads(__tstate
);
6029 if (PyErr_Occurred()) SWIG_fail
;
6031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6038 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6039 PyObject
*resultobj
;
6040 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
6041 wxWindow
*arg2
= (wxWindow
*) 0 ;
6042 int arg3
= (int) -1 ;
6043 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6044 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6045 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6046 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6047 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6048 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6049 long arg7
= (long) 0 ;
6050 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
6051 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6053 bool temp4
= false ;
6056 bool temp8
= false ;
6057 PyObject
* obj0
= 0 ;
6058 PyObject
* obj1
= 0 ;
6059 PyObject
* obj2
= 0 ;
6060 PyObject
* obj3
= 0 ;
6061 PyObject
* obj4
= 0 ;
6062 PyObject
* obj5
= 0 ;
6063 PyObject
* obj6
= 0 ;
6064 PyObject
* obj7
= 0 ;
6066 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6071 if (SWIG_arg_fail(1)) SWIG_fail
;
6072 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6073 if (SWIG_arg_fail(2)) SWIG_fail
;
6076 arg3
= (int)(SWIG_As_int(obj2
));
6077 if (SWIG_arg_fail(3)) SWIG_fail
;
6082 arg4
= wxString_in_helper(obj3
);
6083 if (arg4
== NULL
) SWIG_fail
;
6090 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6096 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6101 arg7
= (long)(SWIG_As_long(obj6
));
6102 if (SWIG_arg_fail(7)) SWIG_fail
;
6107 arg8
= wxString_in_helper(obj7
);
6108 if (arg8
== NULL
) SWIG_fail
;
6113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6114 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6144 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6145 PyObject
*resultobj
;
6146 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6147 wxVisualAttributes result
;
6148 PyObject
* obj0
= 0 ;
6150 (char *) "variant", NULL
6153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6156 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6157 if (SWIG_arg_fail(1)) SWIG_fail
;
6161 if (!wxPyCheckForApp()) SWIG_fail
;
6162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6163 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6165 wxPyEndAllowThreads(__tstate
);
6166 if (PyErr_Occurred()) SWIG_fail
;
6169 wxVisualAttributes
* resultptr
;
6170 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6171 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6179 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6182 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6184 return Py_BuildValue((char *)"");
6186 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6187 PyObject
*resultobj
;
6188 wxWindow
*arg1
= (wxWindow
*) 0 ;
6189 int arg2
= (int) -1 ;
6190 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6191 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6192 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6193 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6194 long arg5
= (long) wxLI_HORIZONTAL
;
6195 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6196 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6197 wxStaticLine
*result
;
6200 bool temp6
= false ;
6201 PyObject
* obj0
= 0 ;
6202 PyObject
* obj1
= 0 ;
6203 PyObject
* obj2
= 0 ;
6204 PyObject
* obj3
= 0 ;
6205 PyObject
* obj4
= 0 ;
6206 PyObject
* obj5
= 0 ;
6208 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6213 if (SWIG_arg_fail(1)) SWIG_fail
;
6216 arg2
= (int)(SWIG_As_int(obj1
));
6217 if (SWIG_arg_fail(2)) SWIG_fail
;
6223 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6229 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6234 arg5
= (long)(SWIG_As_long(obj4
));
6235 if (SWIG_arg_fail(5)) SWIG_fail
;
6240 arg6
= wxString_in_helper(obj5
);
6241 if (arg6
== NULL
) SWIG_fail
;
6246 if (!wxPyCheckForApp()) SWIG_fail
;
6247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6248 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6250 wxPyEndAllowThreads(__tstate
);
6251 if (PyErr_Occurred()) SWIG_fail
;
6253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6268 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
*resultobj
;
6270 wxStaticLine
*result
;
6275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6277 if (!wxPyCheckForApp()) SWIG_fail
;
6278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6279 result
= (wxStaticLine
*)new wxStaticLine();
6281 wxPyEndAllowThreads(__tstate
);
6282 if (PyErr_Occurred()) SWIG_fail
;
6284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6291 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6292 PyObject
*resultobj
;
6293 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6294 wxWindow
*arg2
= (wxWindow
*) 0 ;
6295 int arg3
= (int) -1 ;
6296 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6297 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6298 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6299 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6300 long arg6
= (long) wxLI_HORIZONTAL
;
6301 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6302 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6306 bool temp7
= false ;
6307 PyObject
* obj0
= 0 ;
6308 PyObject
* obj1
= 0 ;
6309 PyObject
* obj2
= 0 ;
6310 PyObject
* obj3
= 0 ;
6311 PyObject
* obj4
= 0 ;
6312 PyObject
* obj5
= 0 ;
6313 PyObject
* obj6
= 0 ;
6315 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6320 if (SWIG_arg_fail(1)) SWIG_fail
;
6321 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6322 if (SWIG_arg_fail(2)) SWIG_fail
;
6325 arg3
= (int)(SWIG_As_int(obj2
));
6326 if (SWIG_arg_fail(3)) SWIG_fail
;
6332 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6338 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6343 arg6
= (long)(SWIG_As_long(obj5
));
6344 if (SWIG_arg_fail(6)) SWIG_fail
;
6349 arg7
= wxString_in_helper(obj6
);
6350 if (arg7
== NULL
) SWIG_fail
;
6355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6356 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6358 wxPyEndAllowThreads(__tstate
);
6359 if (PyErr_Occurred()) SWIG_fail
;
6362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6378 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6379 PyObject
*resultobj
;
6380 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6382 PyObject
* obj0
= 0 ;
6384 (char *) "self", NULL
6387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6389 if (SWIG_arg_fail(1)) SWIG_fail
;
6391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6392 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6394 wxPyEndAllowThreads(__tstate
);
6395 if (PyErr_Occurred()) SWIG_fail
;
6398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6406 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6407 PyObject
*resultobj
;
6413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 result
= (int)wxStaticLine::GetDefaultSize();
6418 wxPyEndAllowThreads(__tstate
);
6419 if (PyErr_Occurred()) SWIG_fail
;
6422 resultobj
= SWIG_From_int((int)(result
));
6430 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6431 PyObject
*resultobj
;
6432 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6433 wxVisualAttributes result
;
6434 PyObject
* obj0
= 0 ;
6436 (char *) "variant", NULL
6439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6442 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6443 if (SWIG_arg_fail(1)) SWIG_fail
;
6447 if (!wxPyCheckForApp()) SWIG_fail
;
6448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6449 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6451 wxPyEndAllowThreads(__tstate
);
6452 if (PyErr_Occurred()) SWIG_fail
;
6455 wxVisualAttributes
* resultptr
;
6456 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6457 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6465 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6468 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6470 return Py_BuildValue((char *)"");
6472 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6473 PyObject
*resultobj
;
6474 wxWindow
*arg1
= (wxWindow
*) 0 ;
6475 int arg2
= (int) -1 ;
6476 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6477 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6478 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6479 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6480 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6481 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6482 long arg6
= (long) 0 ;
6483 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6484 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6485 wxStaticText
*result
;
6486 bool temp3
= false ;
6489 bool temp7
= false ;
6490 PyObject
* obj0
= 0 ;
6491 PyObject
* obj1
= 0 ;
6492 PyObject
* obj2
= 0 ;
6493 PyObject
* obj3
= 0 ;
6494 PyObject
* obj4
= 0 ;
6495 PyObject
* obj5
= 0 ;
6496 PyObject
* obj6
= 0 ;
6498 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6503 if (SWIG_arg_fail(1)) SWIG_fail
;
6506 arg2
= (int)(SWIG_As_int(obj1
));
6507 if (SWIG_arg_fail(2)) SWIG_fail
;
6512 arg3
= wxString_in_helper(obj2
);
6513 if (arg3
== NULL
) SWIG_fail
;
6520 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6526 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6531 arg6
= (long)(SWIG_As_long(obj5
));
6532 if (SWIG_arg_fail(6)) SWIG_fail
;
6537 arg7
= wxString_in_helper(obj6
);
6538 if (arg7
== NULL
) SWIG_fail
;
6543 if (!wxPyCheckForApp()) SWIG_fail
;
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) SWIG_fail
;
6550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6573 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6574 PyObject
*resultobj
;
6575 wxStaticText
*result
;
6580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6582 if (!wxPyCheckForApp()) SWIG_fail
;
6583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6584 result
= (wxStaticText
*)new wxStaticText();
6586 wxPyEndAllowThreads(__tstate
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6596 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6597 PyObject
*resultobj
;
6598 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6599 wxWindow
*arg2
= (wxWindow
*) 0 ;
6600 int arg3
= (int) -1 ;
6601 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6602 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6603 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6604 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6605 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6606 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6607 long arg7
= (long) 0 ;
6608 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6609 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6611 bool temp4
= false ;
6614 bool temp8
= false ;
6615 PyObject
* obj0
= 0 ;
6616 PyObject
* obj1
= 0 ;
6617 PyObject
* obj2
= 0 ;
6618 PyObject
* obj3
= 0 ;
6619 PyObject
* obj4
= 0 ;
6620 PyObject
* obj5
= 0 ;
6621 PyObject
* obj6
= 0 ;
6622 PyObject
* obj7
= 0 ;
6624 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6629 if (SWIG_arg_fail(1)) SWIG_fail
;
6630 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6631 if (SWIG_arg_fail(2)) SWIG_fail
;
6634 arg3
= (int)(SWIG_As_int(obj2
));
6635 if (SWIG_arg_fail(3)) SWIG_fail
;
6640 arg4
= wxString_in_helper(obj3
);
6641 if (arg4
== NULL
) SWIG_fail
;
6648 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6654 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6659 arg7
= (long)(SWIG_As_long(obj6
));
6660 if (SWIG_arg_fail(7)) SWIG_fail
;
6665 arg8
= wxString_in_helper(obj7
);
6666 if (arg8
== NULL
) SWIG_fail
;
6671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6672 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6674 wxPyEndAllowThreads(__tstate
);
6675 if (PyErr_Occurred()) SWIG_fail
;
6678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6702 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6703 PyObject
*resultobj
;
6704 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6705 wxVisualAttributes result
;
6706 PyObject
* obj0
= 0 ;
6708 (char *) "variant", NULL
6711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6714 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6715 if (SWIG_arg_fail(1)) SWIG_fail
;
6719 if (!wxPyCheckForApp()) SWIG_fail
;
6720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6721 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6723 wxPyEndAllowThreads(__tstate
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6727 wxVisualAttributes
* resultptr
;
6728 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6737 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
6739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6740 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
6742 return Py_BuildValue((char *)"");
6744 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6745 PyObject
*resultobj
;
6746 wxWindow
*arg1
= (wxWindow
*) 0 ;
6747 int arg2
= (int) -1 ;
6748 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
6749 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
6750 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6751 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6752 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6753 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6754 long arg6
= (long) 0 ;
6755 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
6756 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6757 wxStaticBitmap
*result
;
6760 bool temp7
= false ;
6761 PyObject
* obj0
= 0 ;
6762 PyObject
* obj1
= 0 ;
6763 PyObject
* obj2
= 0 ;
6764 PyObject
* obj3
= 0 ;
6765 PyObject
* obj4
= 0 ;
6766 PyObject
* obj5
= 0 ;
6767 PyObject
* obj6
= 0 ;
6769 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6774 if (SWIG_arg_fail(1)) SWIG_fail
;
6777 arg2
= (int)(SWIG_As_int(obj1
));
6778 if (SWIG_arg_fail(2)) SWIG_fail
;
6783 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6784 if (SWIG_arg_fail(3)) SWIG_fail
;
6786 SWIG_null_ref("wxBitmap");
6788 if (SWIG_arg_fail(3)) SWIG_fail
;
6794 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6800 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6805 arg6
= (long)(SWIG_As_long(obj5
));
6806 if (SWIG_arg_fail(6)) SWIG_fail
;
6811 arg7
= wxString_in_helper(obj6
);
6812 if (arg7
== NULL
) SWIG_fail
;
6817 if (!wxPyCheckForApp()) SWIG_fail
;
6818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6819 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6821 wxPyEndAllowThreads(__tstate
);
6822 if (PyErr_Occurred()) SWIG_fail
;
6824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6839 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6840 PyObject
*resultobj
;
6841 wxStaticBitmap
*result
;
6846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
6848 if (!wxPyCheckForApp()) SWIG_fail
;
6849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6850 result
= (wxStaticBitmap
*)new wxStaticBitmap();
6852 wxPyEndAllowThreads(__tstate
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6862 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6863 PyObject
*resultobj
;
6864 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6865 wxWindow
*arg2
= (wxWindow
*) 0 ;
6866 int arg3
= (int) -1 ;
6867 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
6868 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
6869 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6870 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6871 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6872 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6873 long arg7
= (long) 0 ;
6874 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
6875 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6879 bool temp8
= false ;
6880 PyObject
* obj0
= 0 ;
6881 PyObject
* obj1
= 0 ;
6882 PyObject
* obj2
= 0 ;
6883 PyObject
* obj3
= 0 ;
6884 PyObject
* obj4
= 0 ;
6885 PyObject
* obj5
= 0 ;
6886 PyObject
* obj6
= 0 ;
6887 PyObject
* obj7
= 0 ;
6889 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6894 if (SWIG_arg_fail(1)) SWIG_fail
;
6895 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6896 if (SWIG_arg_fail(2)) SWIG_fail
;
6899 arg3
= (int)(SWIG_As_int(obj2
));
6900 if (SWIG_arg_fail(3)) SWIG_fail
;
6905 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6906 if (SWIG_arg_fail(4)) SWIG_fail
;
6908 SWIG_null_ref("wxBitmap");
6910 if (SWIG_arg_fail(4)) SWIG_fail
;
6916 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6922 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6927 arg7
= (long)(SWIG_As_long(obj6
));
6928 if (SWIG_arg_fail(7)) SWIG_fail
;
6933 arg8
= wxString_in_helper(obj7
);
6934 if (arg8
== NULL
) SWIG_fail
;
6939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6940 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6942 wxPyEndAllowThreads(__tstate
);
6943 if (PyErr_Occurred()) SWIG_fail
;
6946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6962 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
*resultobj
;
6964 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6966 PyObject
* obj0
= 0 ;
6968 (char *) "self", NULL
6971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
6972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6973 if (SWIG_arg_fail(1)) SWIG_fail
;
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 result
= (arg1
)->GetBitmap();
6978 wxPyEndAllowThreads(__tstate
);
6979 if (PyErr_Occurred()) SWIG_fail
;
6982 wxBitmap
* resultptr
;
6983 resultptr
= new wxBitmap((wxBitmap
&)(result
));
6984 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6992 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6993 PyObject
*resultobj
;
6994 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6995 wxBitmap
*arg2
= 0 ;
6996 PyObject
* obj0
= 0 ;
6997 PyObject
* obj1
= 0 ;
6999 (char *) "self",(char *) "bitmap", NULL
7002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7004 if (SWIG_arg_fail(1)) SWIG_fail
;
7006 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7007 if (SWIG_arg_fail(2)) SWIG_fail
;
7009 SWIG_null_ref("wxBitmap");
7011 if (SWIG_arg_fail(2)) SWIG_fail
;
7014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7015 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
7017 wxPyEndAllowThreads(__tstate
);
7018 if (PyErr_Occurred()) SWIG_fail
;
7020 Py_INCREF(Py_None
); resultobj
= Py_None
;
7027 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7028 PyObject
*resultobj
;
7029 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7031 PyObject
* obj0
= 0 ;
7032 PyObject
* obj1
= 0 ;
7034 (char *) "self",(char *) "icon", NULL
7037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
7038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7039 if (SWIG_arg_fail(1)) SWIG_fail
;
7041 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
7042 if (SWIG_arg_fail(2)) SWIG_fail
;
7044 SWIG_null_ref("wxIcon");
7046 if (SWIG_arg_fail(2)) SWIG_fail
;
7049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7050 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
7052 wxPyEndAllowThreads(__tstate
);
7053 if (PyErr_Occurred()) SWIG_fail
;
7055 Py_INCREF(Py_None
); resultobj
= Py_None
;
7062 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7063 PyObject
*resultobj
;
7064 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7065 wxVisualAttributes result
;
7066 PyObject
* obj0
= 0 ;
7068 (char *) "variant", NULL
7071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7074 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7075 if (SWIG_arg_fail(1)) SWIG_fail
;
7079 if (!wxPyCheckForApp()) SWIG_fail
;
7080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7081 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7083 wxPyEndAllowThreads(__tstate
);
7084 if (PyErr_Occurred()) SWIG_fail
;
7087 wxVisualAttributes
* resultptr
;
7088 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7089 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7097 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7100 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7102 return Py_BuildValue((char *)"");
7104 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7105 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7110 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7115 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7117 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7124 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7125 PyObject
*resultobj
;
7126 wxWindow
*arg1
= (wxWindow
*) 0 ;
7127 int arg2
= (int) -1 ;
7128 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7129 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7130 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7131 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7132 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7133 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7134 long arg6
= (long) 0 ;
7135 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7136 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7137 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7138 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7142 bool temp5
= false ;
7143 bool temp8
= false ;
7144 PyObject
* obj0
= 0 ;
7145 PyObject
* obj1
= 0 ;
7146 PyObject
* obj2
= 0 ;
7147 PyObject
* obj3
= 0 ;
7148 PyObject
* obj4
= 0 ;
7149 PyObject
* obj5
= 0 ;
7150 PyObject
* obj6
= 0 ;
7151 PyObject
* obj7
= 0 ;
7153 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7158 if (SWIG_arg_fail(1)) SWIG_fail
;
7161 arg2
= (int)(SWIG_As_int(obj1
));
7162 if (SWIG_arg_fail(2)) SWIG_fail
;
7168 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7174 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7179 if (! PySequence_Check(obj4
)) {
7180 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7183 arg5
= new wxArrayString
;
7185 int i
, len
=PySequence_Length(obj4
);
7186 for (i
=0; i
<len
; i
++) {
7187 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7189 PyObject
* str
= PyObject_Unicode(item
);
7191 PyObject
* str
= PyObject_Str(item
);
7193 if (PyErr_Occurred()) SWIG_fail
;
7194 arg5
->Add(Py2wxString(str
));
7202 arg6
= (long)(SWIG_As_long(obj5
));
7203 if (SWIG_arg_fail(6)) SWIG_fail
;
7208 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7209 if (SWIG_arg_fail(7)) SWIG_fail
;
7211 SWIG_null_ref("wxValidator");
7213 if (SWIG_arg_fail(7)) SWIG_fail
;
7218 arg8
= wxString_in_helper(obj7
);
7219 if (arg8
== NULL
) SWIG_fail
;
7224 if (!wxPyCheckForApp()) SWIG_fail
;
7225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7226 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7228 wxPyEndAllowThreads(__tstate
);
7229 if (PyErr_Occurred()) SWIG_fail
;
7231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7233 if (temp5
) delete arg5
;
7242 if (temp5
) delete arg5
;
7252 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
*resultobj
;
7259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7261 if (!wxPyCheckForApp()) SWIG_fail
;
7262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7263 result
= (wxListBox
*)new wxListBox();
7265 wxPyEndAllowThreads(__tstate
);
7266 if (PyErr_Occurred()) SWIG_fail
;
7268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7275 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7276 PyObject
*resultobj
;
7277 wxListBox
*arg1
= (wxListBox
*) 0 ;
7278 wxWindow
*arg2
= (wxWindow
*) 0 ;
7279 int arg3
= (int) -1 ;
7280 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7281 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7282 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7283 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7284 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7285 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7286 long arg7
= (long) 0 ;
7287 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7288 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7289 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7290 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7294 bool temp6
= false ;
7295 bool temp9
= false ;
7296 PyObject
* obj0
= 0 ;
7297 PyObject
* obj1
= 0 ;
7298 PyObject
* obj2
= 0 ;
7299 PyObject
* obj3
= 0 ;
7300 PyObject
* obj4
= 0 ;
7301 PyObject
* obj5
= 0 ;
7302 PyObject
* obj6
= 0 ;
7303 PyObject
* obj7
= 0 ;
7304 PyObject
* obj8
= 0 ;
7306 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7311 if (SWIG_arg_fail(1)) SWIG_fail
;
7312 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7313 if (SWIG_arg_fail(2)) SWIG_fail
;
7316 arg3
= (int)(SWIG_As_int(obj2
));
7317 if (SWIG_arg_fail(3)) SWIG_fail
;
7323 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7329 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7334 if (! PySequence_Check(obj5
)) {
7335 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7338 arg6
= new wxArrayString
;
7340 int i
, len
=PySequence_Length(obj5
);
7341 for (i
=0; i
<len
; i
++) {
7342 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7344 PyObject
* str
= PyObject_Unicode(item
);
7346 PyObject
* str
= PyObject_Str(item
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7349 arg6
->Add(Py2wxString(str
));
7357 arg7
= (long)(SWIG_As_long(obj6
));
7358 if (SWIG_arg_fail(7)) SWIG_fail
;
7363 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7364 if (SWIG_arg_fail(8)) SWIG_fail
;
7366 SWIG_null_ref("wxValidator");
7368 if (SWIG_arg_fail(8)) SWIG_fail
;
7373 arg9
= wxString_in_helper(obj8
);
7374 if (arg9
== NULL
) SWIG_fail
;
7379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7380 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7382 wxPyEndAllowThreads(__tstate
);
7383 if (PyErr_Occurred()) SWIG_fail
;
7386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7389 if (temp6
) delete arg6
;
7398 if (temp6
) delete arg6
;
7408 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7409 PyObject
*resultobj
;
7410 wxListBox
*arg1
= (wxListBox
*) 0 ;
7411 wxString
*arg2
= 0 ;
7413 PyObject
*arg4
= (PyObject
*) NULL
;
7414 bool temp2
= false ;
7415 PyObject
* obj0
= 0 ;
7416 PyObject
* obj1
= 0 ;
7417 PyObject
* obj2
= 0 ;
7418 PyObject
* obj3
= 0 ;
7420 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7425 if (SWIG_arg_fail(1)) SWIG_fail
;
7427 arg2
= wxString_in_helper(obj1
);
7428 if (arg2
== NULL
) SWIG_fail
;
7432 arg3
= (int)(SWIG_As_int(obj2
));
7433 if (SWIG_arg_fail(3)) SWIG_fail
;
7439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7440 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7442 wxPyEndAllowThreads(__tstate
);
7443 if (PyErr_Occurred()) SWIG_fail
;
7445 Py_INCREF(Py_None
); resultobj
= Py_None
;
7460 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7461 PyObject
*resultobj
;
7462 wxListBox
*arg1
= (wxListBox
*) 0 ;
7463 wxArrayString
*arg2
= 0 ;
7465 bool temp2
= false ;
7466 PyObject
* obj0
= 0 ;
7467 PyObject
* obj1
= 0 ;
7468 PyObject
* obj2
= 0 ;
7470 (char *) "self",(char *) "items",(char *) "pos", NULL
7473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7475 if (SWIG_arg_fail(1)) SWIG_fail
;
7477 if (! PySequence_Check(obj1
)) {
7478 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7481 arg2
= new wxArrayString
;
7483 int i
, len
=PySequence_Length(obj1
);
7484 for (i
=0; i
<len
; i
++) {
7485 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7487 PyObject
* str
= PyObject_Unicode(item
);
7489 PyObject
* str
= PyObject_Str(item
);
7491 if (PyErr_Occurred()) SWIG_fail
;
7492 arg2
->Add(Py2wxString(str
));
7498 arg3
= (int)(SWIG_As_int(obj2
));
7499 if (SWIG_arg_fail(3)) SWIG_fail
;
7502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7503 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7505 wxPyEndAllowThreads(__tstate
);
7506 if (PyErr_Occurred()) SWIG_fail
;
7508 Py_INCREF(Py_None
); resultobj
= Py_None
;
7510 if (temp2
) delete arg2
;
7515 if (temp2
) delete arg2
;
7521 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
*resultobj
;
7523 wxListBox
*arg1
= (wxListBox
*) 0 ;
7524 wxArrayString
*arg2
= 0 ;
7525 bool temp2
= false ;
7526 PyObject
* obj0
= 0 ;
7527 PyObject
* obj1
= 0 ;
7529 (char *) "self",(char *) "items", NULL
7532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7534 if (SWIG_arg_fail(1)) SWIG_fail
;
7536 if (! PySequence_Check(obj1
)) {
7537 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7540 arg2
= new wxArrayString
;
7542 int i
, len
=PySequence_Length(obj1
);
7543 for (i
=0; i
<len
; i
++) {
7544 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7546 PyObject
* str
= PyObject_Unicode(item
);
7548 PyObject
* str
= PyObject_Str(item
);
7550 if (PyErr_Occurred()) SWIG_fail
;
7551 arg2
->Add(Py2wxString(str
));
7557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7558 (arg1
)->Set((wxArrayString
const &)*arg2
);
7560 wxPyEndAllowThreads(__tstate
);
7561 if (PyErr_Occurred()) SWIG_fail
;
7563 Py_INCREF(Py_None
); resultobj
= Py_None
;
7565 if (temp2
) delete arg2
;
7570 if (temp2
) delete arg2
;
7576 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7577 PyObject
*resultobj
;
7578 wxListBox
*arg1
= (wxListBox
*) 0 ;
7581 PyObject
* obj0
= 0 ;
7582 PyObject
* obj1
= 0 ;
7584 (char *) "self",(char *) "n", NULL
7587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
7588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7589 if (SWIG_arg_fail(1)) SWIG_fail
;
7591 arg2
= (int)(SWIG_As_int(obj1
));
7592 if (SWIG_arg_fail(2)) SWIG_fail
;
7595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7596 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7598 wxPyEndAllowThreads(__tstate
);
7599 if (PyErr_Occurred()) SWIG_fail
;
7602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7610 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7611 PyObject
*resultobj
;
7612 wxListBox
*arg1
= (wxListBox
*) 0 ;
7614 bool arg3
= (bool) true ;
7615 PyObject
* obj0
= 0 ;
7616 PyObject
* obj1
= 0 ;
7617 PyObject
* obj2
= 0 ;
7619 (char *) "self",(char *) "n",(char *) "select", NULL
7622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7624 if (SWIG_arg_fail(1)) SWIG_fail
;
7626 arg2
= (int)(SWIG_As_int(obj1
));
7627 if (SWIG_arg_fail(2)) SWIG_fail
;
7631 arg3
= (bool)(SWIG_As_bool(obj2
));
7632 if (SWIG_arg_fail(3)) SWIG_fail
;
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 (arg1
)->SetSelection(arg2
,arg3
);
7639 wxPyEndAllowThreads(__tstate
);
7640 if (PyErr_Occurred()) SWIG_fail
;
7642 Py_INCREF(Py_None
); resultobj
= Py_None
;
7649 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7650 PyObject
*resultobj
;
7651 wxListBox
*arg1
= (wxListBox
*) 0 ;
7653 PyObject
* obj0
= 0 ;
7654 PyObject
* obj1
= 0 ;
7656 (char *) "self",(char *) "n", NULL
7659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
7660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7661 if (SWIG_arg_fail(1)) SWIG_fail
;
7663 arg2
= (int)(SWIG_As_int(obj1
));
7664 if (SWIG_arg_fail(2)) SWIG_fail
;
7667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7668 (arg1
)->Select(arg2
);
7670 wxPyEndAllowThreads(__tstate
);
7671 if (PyErr_Occurred()) SWIG_fail
;
7673 Py_INCREF(Py_None
); resultobj
= Py_None
;
7680 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7681 PyObject
*resultobj
;
7682 wxListBox
*arg1
= (wxListBox
*) 0 ;
7684 PyObject
* obj0
= 0 ;
7685 PyObject
* obj1
= 0 ;
7687 (char *) "self",(char *) "n", NULL
7690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
7691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7692 if (SWIG_arg_fail(1)) SWIG_fail
;
7694 arg2
= (int)(SWIG_As_int(obj1
));
7695 if (SWIG_arg_fail(2)) SWIG_fail
;
7698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7699 (arg1
)->Deselect(arg2
);
7701 wxPyEndAllowThreads(__tstate
);
7702 if (PyErr_Occurred()) SWIG_fail
;
7704 Py_INCREF(Py_None
); resultobj
= Py_None
;
7711 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7712 PyObject
*resultobj
;
7713 wxListBox
*arg1
= (wxListBox
*) 0 ;
7714 int arg2
= (int) -1 ;
7715 PyObject
* obj0
= 0 ;
7716 PyObject
* obj1
= 0 ;
7718 (char *) "self",(char *) "itemToLeaveSelected", NULL
7721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
7722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7723 if (SWIG_arg_fail(1)) SWIG_fail
;
7726 arg2
= (int)(SWIG_As_int(obj1
));
7727 if (SWIG_arg_fail(2)) SWIG_fail
;
7731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7732 (arg1
)->DeselectAll(arg2
);
7734 wxPyEndAllowThreads(__tstate
);
7735 if (PyErr_Occurred()) SWIG_fail
;
7737 Py_INCREF(Py_None
); resultobj
= Py_None
;
7744 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7745 PyObject
*resultobj
;
7746 wxListBox
*arg1
= (wxListBox
*) 0 ;
7747 wxString
*arg2
= 0 ;
7748 bool arg3
= (bool) true ;
7750 bool temp2
= false ;
7751 PyObject
* obj0
= 0 ;
7752 PyObject
* obj1
= 0 ;
7753 PyObject
* obj2
= 0 ;
7755 (char *) "self",(char *) "s",(char *) "select", NULL
7758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7760 if (SWIG_arg_fail(1)) SWIG_fail
;
7762 arg2
= wxString_in_helper(obj1
);
7763 if (arg2
== NULL
) SWIG_fail
;
7768 arg3
= (bool)(SWIG_As_bool(obj2
));
7769 if (SWIG_arg_fail(3)) SWIG_fail
;
7773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7774 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
7776 wxPyEndAllowThreads(__tstate
);
7777 if (PyErr_Occurred()) SWIG_fail
;
7780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7796 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7797 PyObject
*resultobj
;
7798 wxListBox
*arg1
= (wxListBox
*) 0 ;
7800 PyObject
* obj0
= 0 ;
7802 (char *) "self", NULL
7805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
7806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7807 if (SWIG_arg_fail(1)) SWIG_fail
;
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7810 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
7812 wxPyEndAllowThreads(__tstate
);
7813 if (PyErr_Occurred()) SWIG_fail
;
7822 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7823 PyObject
*resultobj
;
7824 wxListBox
*arg1
= (wxListBox
*) 0 ;
7826 PyObject
* obj0
= 0 ;
7827 PyObject
* obj1
= 0 ;
7829 (char *) "self",(char *) "n", NULL
7832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
7833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7834 if (SWIG_arg_fail(1)) SWIG_fail
;
7836 arg2
= (int)(SWIG_As_int(obj1
));
7837 if (SWIG_arg_fail(2)) SWIG_fail
;
7840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7841 (arg1
)->SetFirstItem(arg2
);
7843 wxPyEndAllowThreads(__tstate
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7846 Py_INCREF(Py_None
); resultobj
= Py_None
;
7853 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7854 PyObject
*resultobj
;
7855 wxListBox
*arg1
= (wxListBox
*) 0 ;
7856 wxString
*arg2
= 0 ;
7857 bool temp2
= false ;
7858 PyObject
* obj0
= 0 ;
7859 PyObject
* obj1
= 0 ;
7861 (char *) "self",(char *) "s", NULL
7864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
7865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7866 if (SWIG_arg_fail(1)) SWIG_fail
;
7868 arg2
= wxString_in_helper(obj1
);
7869 if (arg2
== NULL
) SWIG_fail
;
7873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7874 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
7876 wxPyEndAllowThreads(__tstate
);
7877 if (PyErr_Occurred()) SWIG_fail
;
7879 Py_INCREF(Py_None
); resultobj
= Py_None
;
7894 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7895 PyObject
*resultobj
;
7896 wxListBox
*arg1
= (wxListBox
*) 0 ;
7898 PyObject
* obj0
= 0 ;
7899 PyObject
* obj1
= 0 ;
7901 (char *) "self",(char *) "n", NULL
7904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7906 if (SWIG_arg_fail(1)) SWIG_fail
;
7908 arg2
= (int)(SWIG_As_int(obj1
));
7909 if (SWIG_arg_fail(2)) SWIG_fail
;
7912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7913 (arg1
)->EnsureVisible(arg2
);
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) SWIG_fail
;
7918 Py_INCREF(Py_None
); resultobj
= Py_None
;
7925 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7926 PyObject
*resultobj
;
7927 wxListBox
*arg1
= (wxListBox
*) 0 ;
7928 wxString
*arg2
= 0 ;
7929 bool temp2
= false ;
7930 PyObject
* obj0
= 0 ;
7931 PyObject
* obj1
= 0 ;
7933 (char *) "self",(char *) "s", NULL
7936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7938 if (SWIG_arg_fail(1)) SWIG_fail
;
7940 arg2
= wxString_in_helper(obj1
);
7941 if (arg2
== NULL
) SWIG_fail
;
7945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7946 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
7948 wxPyEndAllowThreads(__tstate
);
7949 if (PyErr_Occurred()) SWIG_fail
;
7951 Py_INCREF(Py_None
); resultobj
= Py_None
;
7966 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7967 PyObject
*resultobj
;
7968 wxListBox
*arg1
= (wxListBox
*) 0 ;
7970 PyObject
* obj0
= 0 ;
7972 (char *) "self", NULL
7975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
7976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7977 if (SWIG_arg_fail(1)) SWIG_fail
;
7979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7980 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
7982 wxPyEndAllowThreads(__tstate
);
7983 if (PyErr_Occurred()) SWIG_fail
;
7986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7994 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
*resultobj
;
7996 wxListBox
*arg1
= (wxListBox
*) 0 ;
7998 wxColour
*arg3
= 0 ;
8000 PyObject
* obj0
= 0 ;
8001 PyObject
* obj1
= 0 ;
8002 PyObject
* obj2
= 0 ;
8004 (char *) "self",(char *) "item",(char *) "c", NULL
8007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8009 if (SWIG_arg_fail(1)) SWIG_fail
;
8011 arg2
= (int)(SWIG_As_int(obj1
));
8012 if (SWIG_arg_fail(2)) SWIG_fail
;
8016 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8020 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8022 wxPyEndAllowThreads(__tstate
);
8023 if (PyErr_Occurred()) SWIG_fail
;
8025 Py_INCREF(Py_None
); resultobj
= Py_None
;
8032 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8033 PyObject
*resultobj
;
8034 wxListBox
*arg1
= (wxListBox
*) 0 ;
8036 wxColour
*arg3
= 0 ;
8038 PyObject
* obj0
= 0 ;
8039 PyObject
* obj1
= 0 ;
8040 PyObject
* obj2
= 0 ;
8042 (char *) "self",(char *) "item",(char *) "c", NULL
8045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8047 if (SWIG_arg_fail(1)) SWIG_fail
;
8049 arg2
= (int)(SWIG_As_int(obj1
));
8050 if (SWIG_arg_fail(2)) SWIG_fail
;
8054 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8058 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8060 wxPyEndAllowThreads(__tstate
);
8061 if (PyErr_Occurred()) SWIG_fail
;
8063 Py_INCREF(Py_None
); resultobj
= Py_None
;
8070 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8071 PyObject
*resultobj
;
8072 wxListBox
*arg1
= (wxListBox
*) 0 ;
8075 PyObject
* obj0
= 0 ;
8076 PyObject
* obj1
= 0 ;
8077 PyObject
* obj2
= 0 ;
8079 (char *) "self",(char *) "item",(char *) "f", NULL
8082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8084 if (SWIG_arg_fail(1)) SWIG_fail
;
8086 arg2
= (int)(SWIG_As_int(obj1
));
8087 if (SWIG_arg_fail(2)) SWIG_fail
;
8090 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8091 if (SWIG_arg_fail(3)) SWIG_fail
;
8093 SWIG_null_ref("wxFont");
8095 if (SWIG_arg_fail(3)) SWIG_fail
;
8098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8099 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8101 wxPyEndAllowThreads(__tstate
);
8102 if (PyErr_Occurred()) SWIG_fail
;
8104 Py_INCREF(Py_None
); resultobj
= Py_None
;
8111 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8112 PyObject
*resultobj
;
8113 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8114 wxVisualAttributes result
;
8115 PyObject
* obj0
= 0 ;
8117 (char *) "variant", NULL
8120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8123 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8124 if (SWIG_arg_fail(1)) SWIG_fail
;
8128 if (!wxPyCheckForApp()) SWIG_fail
;
8129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8130 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8132 wxPyEndAllowThreads(__tstate
);
8133 if (PyErr_Occurred()) SWIG_fail
;
8136 wxVisualAttributes
* resultptr
;
8137 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8138 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8146 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8149 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8151 return Py_BuildValue((char *)"");
8153 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8154 PyObject
*resultobj
;
8155 wxWindow
*arg1
= (wxWindow
*) 0 ;
8156 int arg2
= (int) -1 ;
8157 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8158 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8159 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8160 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8161 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8162 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8163 long arg6
= (long) 0 ;
8164 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8165 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8166 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8167 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8168 wxCheckListBox
*result
;
8171 bool temp5
= false ;
8172 bool temp8
= false ;
8173 PyObject
* obj0
= 0 ;
8174 PyObject
* obj1
= 0 ;
8175 PyObject
* obj2
= 0 ;
8176 PyObject
* obj3
= 0 ;
8177 PyObject
* obj4
= 0 ;
8178 PyObject
* obj5
= 0 ;
8179 PyObject
* obj6
= 0 ;
8180 PyObject
* obj7
= 0 ;
8182 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8187 if (SWIG_arg_fail(1)) SWIG_fail
;
8190 arg2
= (int)(SWIG_As_int(obj1
));
8191 if (SWIG_arg_fail(2)) SWIG_fail
;
8197 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8203 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8208 if (! PySequence_Check(obj4
)) {
8209 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8212 arg5
= new wxArrayString
;
8214 int i
, len
=PySequence_Length(obj4
);
8215 for (i
=0; i
<len
; i
++) {
8216 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8218 PyObject
* str
= PyObject_Unicode(item
);
8220 PyObject
* str
= PyObject_Str(item
);
8222 if (PyErr_Occurred()) SWIG_fail
;
8223 arg5
->Add(Py2wxString(str
));
8231 arg6
= (long)(SWIG_As_long(obj5
));
8232 if (SWIG_arg_fail(6)) SWIG_fail
;
8237 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8238 if (SWIG_arg_fail(7)) SWIG_fail
;
8240 SWIG_null_ref("wxValidator");
8242 if (SWIG_arg_fail(7)) SWIG_fail
;
8247 arg8
= wxString_in_helper(obj7
);
8248 if (arg8
== NULL
) SWIG_fail
;
8253 if (!wxPyCheckForApp()) SWIG_fail
;
8254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8255 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8257 wxPyEndAllowThreads(__tstate
);
8258 if (PyErr_Occurred()) SWIG_fail
;
8260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8262 if (temp5
) delete arg5
;
8271 if (temp5
) delete arg5
;
8281 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8282 PyObject
*resultobj
;
8283 wxCheckListBox
*result
;
8288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8290 if (!wxPyCheckForApp()) SWIG_fail
;
8291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8292 result
= (wxCheckListBox
*)new wxCheckListBox();
8294 wxPyEndAllowThreads(__tstate
);
8295 if (PyErr_Occurred()) SWIG_fail
;
8297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8304 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8305 PyObject
*resultobj
;
8306 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8307 wxWindow
*arg2
= (wxWindow
*) 0 ;
8308 int arg3
= (int) -1 ;
8309 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8310 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8311 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8312 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8313 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8314 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8315 long arg7
= (long) 0 ;
8316 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8317 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8318 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8319 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8323 bool temp6
= false ;
8324 bool temp9
= false ;
8325 PyObject
* obj0
= 0 ;
8326 PyObject
* obj1
= 0 ;
8327 PyObject
* obj2
= 0 ;
8328 PyObject
* obj3
= 0 ;
8329 PyObject
* obj4
= 0 ;
8330 PyObject
* obj5
= 0 ;
8331 PyObject
* obj6
= 0 ;
8332 PyObject
* obj7
= 0 ;
8333 PyObject
* obj8
= 0 ;
8335 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8340 if (SWIG_arg_fail(1)) SWIG_fail
;
8341 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8342 if (SWIG_arg_fail(2)) SWIG_fail
;
8345 arg3
= (int)(SWIG_As_int(obj2
));
8346 if (SWIG_arg_fail(3)) SWIG_fail
;
8352 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8358 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8363 if (! PySequence_Check(obj5
)) {
8364 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8367 arg6
= new wxArrayString
;
8369 int i
, len
=PySequence_Length(obj5
);
8370 for (i
=0; i
<len
; i
++) {
8371 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8373 PyObject
* str
= PyObject_Unicode(item
);
8375 PyObject
* str
= PyObject_Str(item
);
8377 if (PyErr_Occurred()) SWIG_fail
;
8378 arg6
->Add(Py2wxString(str
));
8386 arg7
= (long)(SWIG_As_long(obj6
));
8387 if (SWIG_arg_fail(7)) SWIG_fail
;
8392 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8393 if (SWIG_arg_fail(8)) SWIG_fail
;
8395 SWIG_null_ref("wxValidator");
8397 if (SWIG_arg_fail(8)) SWIG_fail
;
8402 arg9
= wxString_in_helper(obj8
);
8403 if (arg9
== NULL
) SWIG_fail
;
8408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8409 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8411 wxPyEndAllowThreads(__tstate
);
8412 if (PyErr_Occurred()) SWIG_fail
;
8415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8418 if (temp6
) delete arg6
;
8427 if (temp6
) delete arg6
;
8437 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8438 PyObject
*resultobj
;
8439 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8442 PyObject
* obj0
= 0 ;
8443 PyObject
* obj1
= 0 ;
8445 (char *) "self",(char *) "index", NULL
8448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
8449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8450 if (SWIG_arg_fail(1)) SWIG_fail
;
8452 arg2
= (int)(SWIG_As_int(obj1
));
8453 if (SWIG_arg_fail(2)) SWIG_fail
;
8456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8457 result
= (bool)(arg1
)->IsChecked(arg2
);
8459 wxPyEndAllowThreads(__tstate
);
8460 if (PyErr_Occurred()) SWIG_fail
;
8463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8471 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8472 PyObject
*resultobj
;
8473 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8475 int arg3
= (int) true ;
8476 PyObject
* obj0
= 0 ;
8477 PyObject
* obj1
= 0 ;
8478 PyObject
* obj2
= 0 ;
8480 (char *) "self",(char *) "index",(char *) "check", NULL
8483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8485 if (SWIG_arg_fail(1)) SWIG_fail
;
8487 arg2
= (int)(SWIG_As_int(obj1
));
8488 if (SWIG_arg_fail(2)) SWIG_fail
;
8492 arg3
= (int)(SWIG_As_int(obj2
));
8493 if (SWIG_arg_fail(3)) SWIG_fail
;
8497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8498 (arg1
)->Check(arg2
,arg3
);
8500 wxPyEndAllowThreads(__tstate
);
8501 if (PyErr_Occurred()) SWIG_fail
;
8503 Py_INCREF(Py_None
); resultobj
= Py_None
;
8510 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8511 PyObject
*resultobj
;
8512 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8514 PyObject
* obj0
= 0 ;
8516 (char *) "self", NULL
8519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
8520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8521 if (SWIG_arg_fail(1)) SWIG_fail
;
8523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8524 result
= (int)(arg1
)->GetItemHeight();
8526 wxPyEndAllowThreads(__tstate
);
8527 if (PyErr_Occurred()) SWIG_fail
;
8530 resultobj
= SWIG_From_int((int)(result
));
8538 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8539 PyObject
*resultobj
;
8540 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8544 PyObject
* obj0
= 0 ;
8545 PyObject
* obj1
= 0 ;
8547 (char *) "self",(char *) "pt", NULL
8550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8552 if (SWIG_arg_fail(1)) SWIG_fail
;
8555 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8559 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8561 wxPyEndAllowThreads(__tstate
);
8562 if (PyErr_Occurred()) SWIG_fail
;
8565 resultobj
= SWIG_From_int((int)(result
));
8573 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8574 PyObject
*resultobj
;
8575 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8579 PyObject
* obj0
= 0 ;
8580 PyObject
* obj1
= 0 ;
8581 PyObject
* obj2
= 0 ;
8583 (char *) "self",(char *) "x",(char *) "y", NULL
8586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8588 if (SWIG_arg_fail(1)) SWIG_fail
;
8590 arg2
= (int)(SWIG_As_int(obj1
));
8591 if (SWIG_arg_fail(2)) SWIG_fail
;
8594 arg3
= (int)(SWIG_As_int(obj2
));
8595 if (SWIG_arg_fail(3)) SWIG_fail
;
8598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8599 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8601 wxPyEndAllowThreads(__tstate
);
8602 if (PyErr_Occurred()) SWIG_fail
;
8605 resultobj
= SWIG_From_int((int)(result
));
8613 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8616 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8618 return Py_BuildValue((char *)"");
8620 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8621 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8626 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8631 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8633 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8640 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8641 PyObject
*resultobj
;
8642 wxColour
const &arg1_defvalue
= wxNullColour
;
8643 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8644 wxColour
const &arg2_defvalue
= wxNullColour
;
8645 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8646 wxFont
const &arg3_defvalue
= wxNullFont
;
8647 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8648 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8652 PyObject
* obj0
= 0 ;
8653 PyObject
* obj1
= 0 ;
8654 PyObject
* obj2
= 0 ;
8655 PyObject
* obj3
= 0 ;
8657 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8664 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8670 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8675 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8676 if (SWIG_arg_fail(3)) SWIG_fail
;
8678 SWIG_null_ref("wxFont");
8680 if (SWIG_arg_fail(3)) SWIG_fail
;
8685 arg4
= (wxTextAttrAlignment
)(SWIG_As_int(obj3
));
8686 if (SWIG_arg_fail(4)) SWIG_fail
;
8690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8703 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8704 PyObject
*resultobj
;
8705 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8706 PyObject
* obj0
= 0 ;
8708 (char *) "self", NULL
8711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
8712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8713 if (SWIG_arg_fail(1)) SWIG_fail
;
8715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8718 wxPyEndAllowThreads(__tstate
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8721 Py_INCREF(Py_None
); resultobj
= Py_None
;
8728 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
;
8730 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8731 PyObject
* obj0
= 0 ;
8733 (char *) "self", NULL
8736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
8737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8738 if (SWIG_arg_fail(1)) SWIG_fail
;
8740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8743 wxPyEndAllowThreads(__tstate
);
8744 if (PyErr_Occurred()) SWIG_fail
;
8746 Py_INCREF(Py_None
); resultobj
= Py_None
;
8753 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8754 PyObject
*resultobj
;
8755 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8756 wxColour
*arg2
= 0 ;
8758 PyObject
* obj0
= 0 ;
8759 PyObject
* obj1
= 0 ;
8761 (char *) "self",(char *) "colText", NULL
8764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8766 if (SWIG_arg_fail(1)) SWIG_fail
;
8769 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8775 wxPyEndAllowThreads(__tstate
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8778 Py_INCREF(Py_None
); resultobj
= Py_None
;
8785 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8786 PyObject
*resultobj
;
8787 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8788 wxColour
*arg2
= 0 ;
8790 PyObject
* obj0
= 0 ;
8791 PyObject
* obj1
= 0 ;
8793 (char *) "self",(char *) "colBack", NULL
8796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8798 if (SWIG_arg_fail(1)) SWIG_fail
;
8801 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8805 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8807 wxPyEndAllowThreads(__tstate
);
8808 if (PyErr_Occurred()) SWIG_fail
;
8810 Py_INCREF(Py_None
); resultobj
= Py_None
;
8817 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8818 PyObject
*resultobj
;
8819 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8821 long arg3
= (long) wxTEXT_ATTR_FONT
;
8822 PyObject
* obj0
= 0 ;
8823 PyObject
* obj1
= 0 ;
8824 PyObject
* obj2
= 0 ;
8826 (char *) "self",(char *) "font",(char *) "flags", NULL
8829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8831 if (SWIG_arg_fail(1)) SWIG_fail
;
8833 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8834 if (SWIG_arg_fail(2)) SWIG_fail
;
8836 SWIG_null_ref("wxFont");
8838 if (SWIG_arg_fail(2)) SWIG_fail
;
8842 arg3
= (long)(SWIG_As_long(obj2
));
8843 if (SWIG_arg_fail(3)) SWIG_fail
;
8847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8848 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
8850 wxPyEndAllowThreads(__tstate
);
8851 if (PyErr_Occurred()) SWIG_fail
;
8853 Py_INCREF(Py_None
); resultobj
= Py_None
;
8860 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8861 PyObject
*resultobj
;
8862 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8863 wxTextAttrAlignment arg2
;
8864 PyObject
* obj0
= 0 ;
8865 PyObject
* obj1
= 0 ;
8867 (char *) "self",(char *) "alignment", NULL
8870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8872 if (SWIG_arg_fail(1)) SWIG_fail
;
8874 arg2
= (wxTextAttrAlignment
)(SWIG_As_int(obj1
));
8875 if (SWIG_arg_fail(2)) SWIG_fail
;
8878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8879 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
8881 wxPyEndAllowThreads(__tstate
);
8882 if (PyErr_Occurred()) SWIG_fail
;
8884 Py_INCREF(Py_None
); resultobj
= Py_None
;
8891 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8892 PyObject
*resultobj
;
8893 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8894 wxArrayInt
*arg2
= 0 ;
8895 bool temp2
= false ;
8896 PyObject
* obj0
= 0 ;
8897 PyObject
* obj1
= 0 ;
8899 (char *) "self",(char *) "tabs", NULL
8902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
8903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8904 if (SWIG_arg_fail(1)) SWIG_fail
;
8906 if (! PySequence_Check(obj1
)) {
8907 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
8910 arg2
= new wxArrayInt
;
8912 int i
, len
=PySequence_Length(obj1
);
8913 for (i
=0; i
<len
; i
++) {
8914 PyObject
* item
= PySequence_GetItem(obj1
, i
);
8915 PyObject
* number
= PyNumber_Int(item
);
8916 arg2
->Add(PyInt_AS_LONG(number
));
8922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8923 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
8925 wxPyEndAllowThreads(__tstate
);
8926 if (PyErr_Occurred()) SWIG_fail
;
8928 Py_INCREF(Py_None
); resultobj
= Py_None
;
8930 if (temp2
) delete arg2
;
8935 if (temp2
) delete arg2
;
8941 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8942 PyObject
*resultobj
;
8943 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8945 int arg3
= (int) 0 ;
8946 PyObject
* obj0
= 0 ;
8947 PyObject
* obj1
= 0 ;
8948 PyObject
* obj2
= 0 ;
8950 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
8953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8955 if (SWIG_arg_fail(1)) SWIG_fail
;
8957 arg2
= (int)(SWIG_As_int(obj1
));
8958 if (SWIG_arg_fail(2)) SWIG_fail
;
8962 arg3
= (int)(SWIG_As_int(obj2
));
8963 if (SWIG_arg_fail(3)) SWIG_fail
;
8967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8968 (arg1
)->SetLeftIndent(arg2
,arg3
);
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8973 Py_INCREF(Py_None
); resultobj
= Py_None
;
8980 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8981 PyObject
*resultobj
;
8982 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8984 PyObject
* obj0
= 0 ;
8985 PyObject
* obj1
= 0 ;
8987 (char *) "self",(char *) "indent", NULL
8990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
8991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8992 if (SWIG_arg_fail(1)) SWIG_fail
;
8994 arg2
= (int)(SWIG_As_int(obj1
));
8995 if (SWIG_arg_fail(2)) SWIG_fail
;
8998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8999 (arg1
)->SetRightIndent(arg2
);
9001 wxPyEndAllowThreads(__tstate
);
9002 if (PyErr_Occurred()) SWIG_fail
;
9004 Py_INCREF(Py_None
); resultobj
= Py_None
;
9011 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9012 PyObject
*resultobj
;
9013 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9015 PyObject
* obj0
= 0 ;
9016 PyObject
* obj1
= 0 ;
9018 (char *) "self",(char *) "flags", NULL
9021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9023 if (SWIG_arg_fail(1)) SWIG_fail
;
9025 arg2
= (long)(SWIG_As_long(obj1
));
9026 if (SWIG_arg_fail(2)) SWIG_fail
;
9029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9030 (arg1
)->SetFlags(arg2
);
9032 wxPyEndAllowThreads(__tstate
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9035 Py_INCREF(Py_None
); resultobj
= Py_None
;
9042 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9043 PyObject
*resultobj
;
9044 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9046 PyObject
* obj0
= 0 ;
9048 (char *) "self", NULL
9051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
9052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9053 if (SWIG_arg_fail(1)) SWIG_fail
;
9055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9056 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
9058 wxPyEndAllowThreads(__tstate
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9070 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9071 PyObject
*resultobj
;
9072 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9074 PyObject
* obj0
= 0 ;
9076 (char *) "self", NULL
9079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
9080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9081 if (SWIG_arg_fail(1)) SWIG_fail
;
9083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9084 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
9086 wxPyEndAllowThreads(__tstate
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9098 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
*resultobj
;
9100 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9102 PyObject
* obj0
= 0 ;
9104 (char *) "self", NULL
9107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
9108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9109 if (SWIG_arg_fail(1)) SWIG_fail
;
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9126 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9127 PyObject
*resultobj
;
9128 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9130 PyObject
* obj0
= 0 ;
9132 (char *) "self", NULL
9135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
9136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9137 if (SWIG_arg_fail(1)) SWIG_fail
;
9139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9140 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
9142 wxPyEndAllowThreads(__tstate
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9154 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9155 PyObject
*resultobj
;
9156 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9158 PyObject
* obj0
= 0 ;
9160 (char *) "self", NULL
9163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
9164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9165 if (SWIG_arg_fail(1)) SWIG_fail
;
9167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9168 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
9170 wxPyEndAllowThreads(__tstate
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9182 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9183 PyObject
*resultobj
;
9184 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9186 PyObject
* obj0
= 0 ;
9188 (char *) "self", NULL
9191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
9192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9193 if (SWIG_arg_fail(1)) SWIG_fail
;
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
9198 wxPyEndAllowThreads(__tstate
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9210 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9211 PyObject
*resultobj
;
9212 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9214 PyObject
* obj0
= 0 ;
9216 (char *) "self", NULL
9219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
9220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9221 if (SWIG_arg_fail(1)) SWIG_fail
;
9223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9224 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9226 wxPyEndAllowThreads(__tstate
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9238 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9239 PyObject
*resultobj
;
9240 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9243 PyObject
* obj0
= 0 ;
9244 PyObject
* obj1
= 0 ;
9246 (char *) "self",(char *) "flag", NULL
9249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9251 if (SWIG_arg_fail(1)) SWIG_fail
;
9253 arg2
= (long)(SWIG_As_long(obj1
));
9254 if (SWIG_arg_fail(2)) SWIG_fail
;
9257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9260 wxPyEndAllowThreads(__tstate
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9272 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9273 PyObject
*resultobj
;
9274 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9276 PyObject
* obj0
= 0 ;
9278 (char *) "self", NULL
9281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9283 if (SWIG_arg_fail(1)) SWIG_fail
;
9285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9287 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9288 result
= (wxColour
*) &_result_ref
;
9291 wxPyEndAllowThreads(__tstate
);
9292 if (PyErr_Occurred()) SWIG_fail
;
9294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9301 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9302 PyObject
*resultobj
;
9303 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9305 PyObject
* obj0
= 0 ;
9307 (char *) "self", NULL
9310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9312 if (SWIG_arg_fail(1)) SWIG_fail
;
9314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9316 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9317 result
= (wxColour
*) &_result_ref
;
9320 wxPyEndAllowThreads(__tstate
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9330 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
*resultobj
;
9332 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9334 PyObject
* obj0
= 0 ;
9336 (char *) "self", NULL
9339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9341 if (SWIG_arg_fail(1)) SWIG_fail
;
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9345 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9346 result
= (wxFont
*) &_result_ref
;
9349 wxPyEndAllowThreads(__tstate
);
9350 if (PyErr_Occurred()) SWIG_fail
;
9353 wxFont
* resultptr
= new wxFont(*result
);
9354 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9362 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9363 PyObject
*resultobj
;
9364 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9365 wxTextAttrAlignment result
;
9366 PyObject
* obj0
= 0 ;
9368 (char *) "self", NULL
9371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
9372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9373 if (SWIG_arg_fail(1)) SWIG_fail
;
9375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9376 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9381 resultobj
= SWIG_From_int((result
));
9388 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9389 PyObject
*resultobj
;
9390 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9392 PyObject
* obj0
= 0 ;
9394 (char *) "self", NULL
9397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
9398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9399 if (SWIG_arg_fail(1)) SWIG_fail
;
9401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9403 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9404 result
= (wxArrayInt
*) &_result_ref
;
9407 wxPyEndAllowThreads(__tstate
);
9408 if (PyErr_Occurred()) SWIG_fail
;
9411 resultobj
= PyList_New(0);
9413 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9414 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9415 PyList_Append(resultobj
, val
);
9425 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9426 PyObject
*resultobj
;
9427 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9429 PyObject
* obj0
= 0 ;
9431 (char *) "self", NULL
9434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
9435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9436 if (SWIG_arg_fail(1)) SWIG_fail
;
9438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9439 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
9441 wxPyEndAllowThreads(__tstate
);
9442 if (PyErr_Occurred()) SWIG_fail
;
9445 resultobj
= SWIG_From_long((long)(result
));
9453 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9454 PyObject
*resultobj
;
9455 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9457 PyObject
* obj0
= 0 ;
9459 (char *) "self", NULL
9462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
9463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9464 if (SWIG_arg_fail(1)) SWIG_fail
;
9466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9467 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
9469 wxPyEndAllowThreads(__tstate
);
9470 if (PyErr_Occurred()) SWIG_fail
;
9473 resultobj
= SWIG_From_long((long)(result
));
9481 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9482 PyObject
*resultobj
;
9483 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9485 PyObject
* obj0
= 0 ;
9487 (char *) "self", NULL
9490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
9491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9492 if (SWIG_arg_fail(1)) SWIG_fail
;
9494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9495 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
9497 wxPyEndAllowThreads(__tstate
);
9498 if (PyErr_Occurred()) SWIG_fail
;
9501 resultobj
= SWIG_From_long((long)(result
));
9509 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9510 PyObject
*resultobj
;
9511 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9513 PyObject
* obj0
= 0 ;
9515 (char *) "self", NULL
9518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
9519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9520 if (SWIG_arg_fail(1)) SWIG_fail
;
9522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9523 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9529 resultobj
= SWIG_From_long((long)(result
));
9537 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9538 PyObject
*resultobj
;
9539 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9541 PyObject
* obj0
= 0 ;
9543 (char *) "self", NULL
9546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9548 if (SWIG_arg_fail(1)) SWIG_fail
;
9550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9551 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9553 wxPyEndAllowThreads(__tstate
);
9554 if (PyErr_Occurred()) SWIG_fail
;
9557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9565 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9566 PyObject
*resultobj
;
9567 wxTextAttr
*arg1
= 0 ;
9568 wxTextAttr
*arg2
= 0 ;
9569 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9571 PyObject
* obj0
= 0 ;
9572 PyObject
* obj1
= 0 ;
9573 PyObject
* obj2
= 0 ;
9575 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9581 if (SWIG_arg_fail(1)) SWIG_fail
;
9583 SWIG_null_ref("wxTextAttr");
9585 if (SWIG_arg_fail(1)) SWIG_fail
;
9588 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9589 if (SWIG_arg_fail(2)) SWIG_fail
;
9591 SWIG_null_ref("wxTextAttr");
9593 if (SWIG_arg_fail(2)) SWIG_fail
;
9595 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9596 if (SWIG_arg_fail(3)) SWIG_fail
;
9598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9599 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9605 wxTextAttr
* resultptr
;
9606 resultptr
= new wxTextAttr((wxTextAttr
&)(result
));
9607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9615 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9618 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9620 return Py_BuildValue((char *)"");
9622 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9623 PyObject
*resultobj
;
9624 wxWindow
*arg1
= (wxWindow
*) 0 ;
9625 int arg2
= (int) -1 ;
9626 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9627 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9628 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9629 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9630 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9631 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9632 long arg6
= (long) 0 ;
9633 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9634 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9635 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9636 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9638 bool temp3
= false ;
9641 bool temp8
= false ;
9642 PyObject
* obj0
= 0 ;
9643 PyObject
* obj1
= 0 ;
9644 PyObject
* obj2
= 0 ;
9645 PyObject
* obj3
= 0 ;
9646 PyObject
* obj4
= 0 ;
9647 PyObject
* obj5
= 0 ;
9648 PyObject
* obj6
= 0 ;
9649 PyObject
* obj7
= 0 ;
9651 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9656 if (SWIG_arg_fail(1)) SWIG_fail
;
9659 arg2
= (int)(SWIG_As_int(obj1
));
9660 if (SWIG_arg_fail(2)) SWIG_fail
;
9665 arg3
= wxString_in_helper(obj2
);
9666 if (arg3
== NULL
) SWIG_fail
;
9673 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9679 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9684 arg6
= (long)(SWIG_As_long(obj5
));
9685 if (SWIG_arg_fail(6)) SWIG_fail
;
9690 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9691 if (SWIG_arg_fail(7)) SWIG_fail
;
9693 SWIG_null_ref("wxValidator");
9695 if (SWIG_arg_fail(7)) SWIG_fail
;
9700 arg8
= wxString_in_helper(obj7
);
9701 if (arg8
== NULL
) SWIG_fail
;
9706 if (!wxPyCheckForApp()) SWIG_fail
;
9707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9708 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9710 wxPyEndAllowThreads(__tstate
);
9711 if (PyErr_Occurred()) SWIG_fail
;
9713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9736 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9737 PyObject
*resultobj
;
9743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
9745 if (!wxPyCheckForApp()) SWIG_fail
;
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 result
= (wxTextCtrl
*)new wxTextCtrl();
9749 wxPyEndAllowThreads(__tstate
);
9750 if (PyErr_Occurred()) SWIG_fail
;
9752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9759 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9760 PyObject
*resultobj
;
9761 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9762 wxWindow
*arg2
= (wxWindow
*) 0 ;
9763 int arg3
= (int) -1 ;
9764 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9765 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9766 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9767 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9768 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9769 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9770 long arg7
= (long) 0 ;
9771 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9772 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9773 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
9774 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9776 bool temp4
= false ;
9779 bool temp9
= false ;
9780 PyObject
* obj0
= 0 ;
9781 PyObject
* obj1
= 0 ;
9782 PyObject
* obj2
= 0 ;
9783 PyObject
* obj3
= 0 ;
9784 PyObject
* obj4
= 0 ;
9785 PyObject
* obj5
= 0 ;
9786 PyObject
* obj6
= 0 ;
9787 PyObject
* obj7
= 0 ;
9788 PyObject
* obj8
= 0 ;
9790 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
9794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9795 if (SWIG_arg_fail(1)) SWIG_fail
;
9796 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9797 if (SWIG_arg_fail(2)) SWIG_fail
;
9800 arg3
= (int)(SWIG_As_int(obj2
));
9801 if (SWIG_arg_fail(3)) SWIG_fail
;
9806 arg4
= wxString_in_helper(obj3
);
9807 if (arg4
== NULL
) SWIG_fail
;
9814 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9820 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9825 arg7
= (long)(SWIG_As_long(obj6
));
9826 if (SWIG_arg_fail(7)) SWIG_fail
;
9831 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9832 if (SWIG_arg_fail(8)) SWIG_fail
;
9834 SWIG_null_ref("wxValidator");
9836 if (SWIG_arg_fail(8)) SWIG_fail
;
9841 arg9
= wxString_in_helper(obj8
);
9842 if (arg9
== NULL
) SWIG_fail
;
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9878 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9879 PyObject
*resultobj
;
9880 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9882 PyObject
* obj0
= 0 ;
9884 (char *) "self", NULL
9887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9889 if (SWIG_arg_fail(1)) SWIG_fail
;
9891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9892 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
9894 wxPyEndAllowThreads(__tstate
);
9895 if (PyErr_Occurred()) SWIG_fail
;
9899 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9901 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9910 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9911 PyObject
*resultobj
;
9912 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9913 wxString
*arg2
= 0 ;
9914 bool temp2
= false ;
9915 PyObject
* obj0
= 0 ;
9916 PyObject
* obj1
= 0 ;
9918 (char *) "self",(char *) "value", NULL
9921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9923 if (SWIG_arg_fail(1)) SWIG_fail
;
9925 arg2
= wxString_in_helper(obj1
);
9926 if (arg2
== NULL
) SWIG_fail
;
9930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9931 (arg1
)->SetValue((wxString
const &)*arg2
);
9933 wxPyEndAllowThreads(__tstate
);
9934 if (PyErr_Occurred()) SWIG_fail
;
9936 Py_INCREF(Py_None
); resultobj
= Py_None
;
9951 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9952 PyObject
*resultobj
;
9953 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9957 PyObject
* obj0
= 0 ;
9958 PyObject
* obj1
= 0 ;
9959 PyObject
* obj2
= 0 ;
9961 (char *) "self",(char *) "from",(char *) "to", NULL
9964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9966 if (SWIG_arg_fail(1)) SWIG_fail
;
9968 arg2
= (long)(SWIG_As_long(obj1
));
9969 if (SWIG_arg_fail(2)) SWIG_fail
;
9972 arg3
= (long)(SWIG_As_long(obj2
));
9973 if (SWIG_arg_fail(3)) SWIG_fail
;
9976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9977 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
9979 wxPyEndAllowThreads(__tstate
);
9980 if (PyErr_Occurred()) SWIG_fail
;
9984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9995 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9996 PyObject
*resultobj
;
9997 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10000 PyObject
* obj0
= 0 ;
10001 PyObject
* obj1
= 0 ;
10002 char *kwnames
[] = {
10003 (char *) "self",(char *) "lineNo", NULL
10006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10008 if (SWIG_arg_fail(1)) SWIG_fail
;
10010 arg2
= (long)(SWIG_As_long(obj1
));
10011 if (SWIG_arg_fail(2)) SWIG_fail
;
10014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10015 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
10017 wxPyEndAllowThreads(__tstate
);
10018 if (PyErr_Occurred()) SWIG_fail
;
10021 resultobj
= SWIG_From_int((int)(result
));
10029 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10030 PyObject
*resultobj
;
10031 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10034 PyObject
* obj0
= 0 ;
10035 PyObject
* obj1
= 0 ;
10036 char *kwnames
[] = {
10037 (char *) "self",(char *) "lineNo", NULL
10040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
10041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10042 if (SWIG_arg_fail(1)) SWIG_fail
;
10044 arg2
= (long)(SWIG_As_long(obj1
));
10045 if (SWIG_arg_fail(2)) SWIG_fail
;
10048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10049 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
10051 wxPyEndAllowThreads(__tstate
);
10052 if (PyErr_Occurred()) SWIG_fail
;
10056 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10058 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10067 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10068 PyObject
*resultobj
;
10069 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10071 PyObject
* obj0
= 0 ;
10072 char *kwnames
[] = {
10073 (char *) "self", NULL
10076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
10077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10078 if (SWIG_arg_fail(1)) SWIG_fail
;
10080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10081 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
10083 wxPyEndAllowThreads(__tstate
);
10084 if (PyErr_Occurred()) SWIG_fail
;
10087 resultobj
= SWIG_From_int((int)(result
));
10095 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10096 PyObject
*resultobj
;
10097 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10099 PyObject
* obj0
= 0 ;
10100 char *kwnames
[] = {
10101 (char *) "self", NULL
10104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
10105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10106 if (SWIG_arg_fail(1)) SWIG_fail
;
10108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10109 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
10111 wxPyEndAllowThreads(__tstate
);
10112 if (PyErr_Occurred()) SWIG_fail
;
10115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10123 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10124 PyObject
*resultobj
;
10125 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10127 PyObject
* obj0
= 0 ;
10128 char *kwnames
[] = {
10129 (char *) "self", NULL
10132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
10133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10134 if (SWIG_arg_fail(1)) SWIG_fail
;
10136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10137 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
10139 wxPyEndAllowThreads(__tstate
);
10140 if (PyErr_Occurred()) SWIG_fail
;
10143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10151 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10152 PyObject
*resultobj
;
10153 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10155 PyObject
* obj0
= 0 ;
10156 char *kwnames
[] = {
10157 (char *) "self", NULL
10160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
10161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10162 if (SWIG_arg_fail(1)) SWIG_fail
;
10164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10165 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
10167 wxPyEndAllowThreads(__tstate
);
10168 if (PyErr_Occurred()) SWIG_fail
;
10171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10179 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10180 PyObject
*resultobj
;
10181 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10183 PyObject
* obj0
= 0 ;
10184 char *kwnames
[] = {
10185 (char *) "self", NULL
10188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
10189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10190 if (SWIG_arg_fail(1)) SWIG_fail
;
10192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10193 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10195 wxPyEndAllowThreads(__tstate
);
10196 if (PyErr_Occurred()) SWIG_fail
;
10199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10207 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10208 PyObject
*resultobj
;
10209 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10210 long *arg2
= (long *) 0 ;
10211 long *arg3
= (long *) 0 ;
10216 PyObject
* obj0
= 0 ;
10217 char *kwnames
[] = {
10218 (char *) "self", NULL
10221 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10222 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10225 if (SWIG_arg_fail(1)) SWIG_fail
;
10227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10228 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10230 wxPyEndAllowThreads(__tstate
);
10231 if (PyErr_Occurred()) SWIG_fail
;
10233 Py_INCREF(Py_None
); resultobj
= Py_None
;
10234 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10235 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10236 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10237 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10244 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10245 PyObject
*resultobj
;
10246 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10248 PyObject
* obj0
= 0 ;
10249 char *kwnames
[] = {
10250 (char *) "self", NULL
10253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10255 if (SWIG_arg_fail(1)) SWIG_fail
;
10257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10258 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10260 wxPyEndAllowThreads(__tstate
);
10261 if (PyErr_Occurred()) SWIG_fail
;
10265 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10267 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10276 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10277 PyObject
*resultobj
;
10278 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10279 PyObject
* obj0
= 0 ;
10280 char *kwnames
[] = {
10281 (char *) "self", NULL
10284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
10285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10286 if (SWIG_arg_fail(1)) SWIG_fail
;
10288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10291 wxPyEndAllowThreads(__tstate
);
10292 if (PyErr_Occurred()) SWIG_fail
;
10294 Py_INCREF(Py_None
); resultobj
= Py_None
;
10301 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10302 PyObject
*resultobj
;
10303 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10306 wxString
*arg4
= 0 ;
10307 bool temp4
= false ;
10308 PyObject
* obj0
= 0 ;
10309 PyObject
* obj1
= 0 ;
10310 PyObject
* obj2
= 0 ;
10311 PyObject
* obj3
= 0 ;
10312 char *kwnames
[] = {
10313 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10318 if (SWIG_arg_fail(1)) SWIG_fail
;
10320 arg2
= (long)(SWIG_As_long(obj1
));
10321 if (SWIG_arg_fail(2)) SWIG_fail
;
10324 arg3
= (long)(SWIG_As_long(obj2
));
10325 if (SWIG_arg_fail(3)) SWIG_fail
;
10328 arg4
= wxString_in_helper(obj3
);
10329 if (arg4
== NULL
) SWIG_fail
;
10333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10334 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10336 wxPyEndAllowThreads(__tstate
);
10337 if (PyErr_Occurred()) SWIG_fail
;
10339 Py_INCREF(Py_None
); resultobj
= Py_None
;
10354 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10355 PyObject
*resultobj
;
10356 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10359 PyObject
* obj0
= 0 ;
10360 PyObject
* obj1
= 0 ;
10361 PyObject
* obj2
= 0 ;
10362 char *kwnames
[] = {
10363 (char *) "self",(char *) "from",(char *) "to", NULL
10366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10368 if (SWIG_arg_fail(1)) SWIG_fail
;
10370 arg2
= (long)(SWIG_As_long(obj1
));
10371 if (SWIG_arg_fail(2)) SWIG_fail
;
10374 arg3
= (long)(SWIG_As_long(obj2
));
10375 if (SWIG_arg_fail(3)) SWIG_fail
;
10378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10379 (arg1
)->Remove(arg2
,arg3
);
10381 wxPyEndAllowThreads(__tstate
);
10382 if (PyErr_Occurred()) SWIG_fail
;
10384 Py_INCREF(Py_None
); resultobj
= Py_None
;
10391 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10392 PyObject
*resultobj
;
10393 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10394 wxString
*arg2
= 0 ;
10396 bool temp2
= false ;
10397 PyObject
* obj0
= 0 ;
10398 PyObject
* obj1
= 0 ;
10399 char *kwnames
[] = {
10400 (char *) "self",(char *) "file", NULL
10403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10405 if (SWIG_arg_fail(1)) SWIG_fail
;
10407 arg2
= wxString_in_helper(obj1
);
10408 if (arg2
== NULL
) SWIG_fail
;
10412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10413 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10415 wxPyEndAllowThreads(__tstate
);
10416 if (PyErr_Occurred()) SWIG_fail
;
10419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10435 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10436 PyObject
*resultobj
;
10437 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10438 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10439 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10441 bool temp2
= false ;
10442 PyObject
* obj0
= 0 ;
10443 PyObject
* obj1
= 0 ;
10444 char *kwnames
[] = {
10445 (char *) "self",(char *) "file", NULL
10448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10450 if (SWIG_arg_fail(1)) SWIG_fail
;
10453 arg2
= wxString_in_helper(obj1
);
10454 if (arg2
== NULL
) SWIG_fail
;
10459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10460 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10462 wxPyEndAllowThreads(__tstate
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10482 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10483 PyObject
*resultobj
;
10484 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10485 PyObject
* obj0
= 0 ;
10486 char *kwnames
[] = {
10487 (char *) "self", NULL
10490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10492 if (SWIG_arg_fail(1)) SWIG_fail
;
10494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10495 (arg1
)->MarkDirty();
10497 wxPyEndAllowThreads(__tstate
);
10498 if (PyErr_Occurred()) SWIG_fail
;
10500 Py_INCREF(Py_None
); resultobj
= Py_None
;
10507 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10508 PyObject
*resultobj
;
10509 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10510 PyObject
* obj0
= 0 ;
10511 char *kwnames
[] = {
10512 (char *) "self", NULL
10515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10517 if (SWIG_arg_fail(1)) SWIG_fail
;
10519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10520 (arg1
)->DiscardEdits();
10522 wxPyEndAllowThreads(__tstate
);
10523 if (PyErr_Occurred()) SWIG_fail
;
10525 Py_INCREF(Py_None
); resultobj
= Py_None
;
10532 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10533 PyObject
*resultobj
;
10534 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10535 unsigned long arg2
;
10536 PyObject
* obj0
= 0 ;
10537 PyObject
* obj1
= 0 ;
10538 char *kwnames
[] = {
10539 (char *) "self",(char *) "len", NULL
10542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10544 if (SWIG_arg_fail(1)) SWIG_fail
;
10546 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10547 if (SWIG_arg_fail(2)) SWIG_fail
;
10550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10551 (arg1
)->SetMaxLength(arg2
);
10553 wxPyEndAllowThreads(__tstate
);
10554 if (PyErr_Occurred()) SWIG_fail
;
10556 Py_INCREF(Py_None
); resultobj
= Py_None
;
10563 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10564 PyObject
*resultobj
;
10565 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10566 wxString
*arg2
= 0 ;
10567 bool temp2
= false ;
10568 PyObject
* obj0
= 0 ;
10569 PyObject
* obj1
= 0 ;
10570 char *kwnames
[] = {
10571 (char *) "self",(char *) "text", NULL
10574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10576 if (SWIG_arg_fail(1)) SWIG_fail
;
10578 arg2
= wxString_in_helper(obj1
);
10579 if (arg2
== NULL
) SWIG_fail
;
10583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10584 (arg1
)->WriteText((wxString
const &)*arg2
);
10586 wxPyEndAllowThreads(__tstate
);
10587 if (PyErr_Occurred()) SWIG_fail
;
10589 Py_INCREF(Py_None
); resultobj
= Py_None
;
10604 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10605 PyObject
*resultobj
;
10606 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10607 wxString
*arg2
= 0 ;
10608 bool temp2
= false ;
10609 PyObject
* obj0
= 0 ;
10610 PyObject
* obj1
= 0 ;
10611 char *kwnames
[] = {
10612 (char *) "self",(char *) "text", NULL
10615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
10616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10617 if (SWIG_arg_fail(1)) SWIG_fail
;
10619 arg2
= wxString_in_helper(obj1
);
10620 if (arg2
== NULL
) SWIG_fail
;
10624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10625 (arg1
)->AppendText((wxString
const &)*arg2
);
10627 wxPyEndAllowThreads(__tstate
);
10628 if (PyErr_Occurred()) SWIG_fail
;
10630 Py_INCREF(Py_None
); resultobj
= Py_None
;
10645 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10646 PyObject
*resultobj
;
10647 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10648 wxKeyEvent
*arg2
= 0 ;
10650 PyObject
* obj0
= 0 ;
10651 PyObject
* obj1
= 0 ;
10652 char *kwnames
[] = {
10653 (char *) "self",(char *) "event", NULL
10656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
10657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10658 if (SWIG_arg_fail(1)) SWIG_fail
;
10660 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10661 if (SWIG_arg_fail(2)) SWIG_fail
;
10662 if (arg2
== NULL
) {
10663 SWIG_null_ref("wxKeyEvent");
10665 if (SWIG_arg_fail(2)) SWIG_fail
;
10668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10669 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10683 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10684 PyObject
*resultobj
;
10685 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10688 wxTextAttr
*arg4
= 0 ;
10690 PyObject
* obj0
= 0 ;
10691 PyObject
* obj1
= 0 ;
10692 PyObject
* obj2
= 0 ;
10693 PyObject
* obj3
= 0 ;
10694 char *kwnames
[] = {
10695 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10700 if (SWIG_arg_fail(1)) SWIG_fail
;
10702 arg2
= (long)(SWIG_As_long(obj1
));
10703 if (SWIG_arg_fail(2)) SWIG_fail
;
10706 arg3
= (long)(SWIG_As_long(obj2
));
10707 if (SWIG_arg_fail(3)) SWIG_fail
;
10710 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10711 if (SWIG_arg_fail(4)) SWIG_fail
;
10712 if (arg4
== NULL
) {
10713 SWIG_null_ref("wxTextAttr");
10715 if (SWIG_arg_fail(4)) SWIG_fail
;
10718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10719 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
10721 wxPyEndAllowThreads(__tstate
);
10722 if (PyErr_Occurred()) SWIG_fail
;
10725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10733 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10734 PyObject
*resultobj
;
10735 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10737 wxTextAttr
*arg3
= 0 ;
10739 PyObject
* obj0
= 0 ;
10740 PyObject
* obj1
= 0 ;
10741 PyObject
* obj2
= 0 ;
10742 char *kwnames
[] = {
10743 (char *) "self",(char *) "position",(char *) "style", NULL
10746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10748 if (SWIG_arg_fail(1)) SWIG_fail
;
10750 arg2
= (long)(SWIG_As_long(obj1
));
10751 if (SWIG_arg_fail(2)) SWIG_fail
;
10754 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10755 if (SWIG_arg_fail(3)) SWIG_fail
;
10756 if (arg3
== NULL
) {
10757 SWIG_null_ref("wxTextAttr");
10759 if (SWIG_arg_fail(3)) SWIG_fail
;
10762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10763 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
10765 wxPyEndAllowThreads(__tstate
);
10766 if (PyErr_Occurred()) SWIG_fail
;
10769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10777 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10778 PyObject
*resultobj
;
10779 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10780 wxTextAttr
*arg2
= 0 ;
10782 PyObject
* obj0
= 0 ;
10783 PyObject
* obj1
= 0 ;
10784 char *kwnames
[] = {
10785 (char *) "self",(char *) "style", NULL
10788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10790 if (SWIG_arg_fail(1)) SWIG_fail
;
10792 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10793 if (SWIG_arg_fail(2)) SWIG_fail
;
10794 if (arg2
== NULL
) {
10795 SWIG_null_ref("wxTextAttr");
10797 if (SWIG_arg_fail(2)) SWIG_fail
;
10800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10801 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
10803 wxPyEndAllowThreads(__tstate
);
10804 if (PyErr_Occurred()) SWIG_fail
;
10807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10815 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10816 PyObject
*resultobj
;
10817 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10818 wxTextAttr
*result
;
10819 PyObject
* obj0
= 0 ;
10820 char *kwnames
[] = {
10821 (char *) "self", NULL
10824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
10825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10826 if (SWIG_arg_fail(1)) SWIG_fail
;
10828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10830 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
10831 result
= (wxTextAttr
*) &_result_ref
;
10834 wxPyEndAllowThreads(__tstate
);
10835 if (PyErr_Occurred()) SWIG_fail
;
10837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
10844 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10845 PyObject
*resultobj
;
10846 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10850 PyObject
* obj0
= 0 ;
10851 PyObject
* obj1
= 0 ;
10852 PyObject
* obj2
= 0 ;
10853 char *kwnames
[] = {
10854 (char *) "self",(char *) "x",(char *) "y", NULL
10857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10859 if (SWIG_arg_fail(1)) SWIG_fail
;
10861 arg2
= (long)(SWIG_As_long(obj1
));
10862 if (SWIG_arg_fail(2)) SWIG_fail
;
10865 arg3
= (long)(SWIG_As_long(obj2
));
10866 if (SWIG_arg_fail(3)) SWIG_fail
;
10869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10870 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
10872 wxPyEndAllowThreads(__tstate
);
10873 if (PyErr_Occurred()) SWIG_fail
;
10876 resultobj
= SWIG_From_long((long)(result
));
10884 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10885 PyObject
*resultobj
;
10886 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10888 long *arg3
= (long *) 0 ;
10889 long *arg4
= (long *) 0 ;
10894 PyObject
* obj0
= 0 ;
10895 PyObject
* obj1
= 0 ;
10896 char *kwnames
[] = {
10897 (char *) "self",(char *) "pos", NULL
10900 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10901 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
10903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10904 if (SWIG_arg_fail(1)) SWIG_fail
;
10906 arg2
= (long)(SWIG_As_long(obj1
));
10907 if (SWIG_arg_fail(2)) SWIG_fail
;
10910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10911 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
10913 wxPyEndAllowThreads(__tstate
);
10914 if (PyErr_Occurred()) SWIG_fail
;
10916 Py_INCREF(Py_None
); resultobj
= Py_None
;
10917 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10918 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10919 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10920 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10927 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10928 PyObject
*resultobj
;
10929 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10931 PyObject
* obj0
= 0 ;
10932 PyObject
* obj1
= 0 ;
10933 char *kwnames
[] = {
10934 (char *) "self",(char *) "pos", NULL
10937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10939 if (SWIG_arg_fail(1)) SWIG_fail
;
10941 arg2
= (long)(SWIG_As_long(obj1
));
10942 if (SWIG_arg_fail(2)) SWIG_fail
;
10945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10946 (arg1
)->ShowPosition(arg2
);
10948 wxPyEndAllowThreads(__tstate
);
10949 if (PyErr_Occurred()) SWIG_fail
;
10951 Py_INCREF(Py_None
); resultobj
= Py_None
;
10958 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10959 PyObject
*resultobj
;
10960 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10961 wxPoint
*arg2
= 0 ;
10962 long *arg3
= (long *) 0 ;
10963 long *arg4
= (long *) 0 ;
10964 wxTextCtrlHitTestResult result
;
10970 PyObject
* obj0
= 0 ;
10971 PyObject
* obj1
= 0 ;
10972 char *kwnames
[] = {
10973 (char *) "self",(char *) "pt", NULL
10976 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10977 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
10979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10980 if (SWIG_arg_fail(1)) SWIG_fail
;
10983 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10987 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
10989 wxPyEndAllowThreads(__tstate
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10992 resultobj
= SWIG_From_int((result
));
10993 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10994 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10995 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10996 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
11003 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11004 PyObject
*resultobj
;
11005 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11006 wxPoint
*arg2
= 0 ;
11007 long *arg3
= (long *) 0 ;
11008 wxTextCtrlHitTestResult result
;
11012 PyObject
* obj0
= 0 ;
11013 PyObject
* obj1
= 0 ;
11014 char *kwnames
[] = {
11015 (char *) "self",(char *) "pt", NULL
11018 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
11020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11021 if (SWIG_arg_fail(1)) SWIG_fail
;
11024 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11028 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
11030 wxPyEndAllowThreads(__tstate
);
11031 if (PyErr_Occurred()) SWIG_fail
;
11033 resultobj
= SWIG_From_int((result
));
11034 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11035 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11042 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11043 PyObject
*resultobj
;
11044 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11045 PyObject
* obj0
= 0 ;
11046 char *kwnames
[] = {
11047 (char *) "self", NULL
11050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
11051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11052 if (SWIG_arg_fail(1)) SWIG_fail
;
11054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11057 wxPyEndAllowThreads(__tstate
);
11058 if (PyErr_Occurred()) SWIG_fail
;
11060 Py_INCREF(Py_None
); resultobj
= Py_None
;
11067 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11068 PyObject
*resultobj
;
11069 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11070 PyObject
* obj0
= 0 ;
11071 char *kwnames
[] = {
11072 (char *) "self", NULL
11075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
11076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11077 if (SWIG_arg_fail(1)) SWIG_fail
;
11079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11082 wxPyEndAllowThreads(__tstate
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11085 Py_INCREF(Py_None
); resultobj
= Py_None
;
11092 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11093 PyObject
*resultobj
;
11094 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11095 PyObject
* obj0
= 0 ;
11096 char *kwnames
[] = {
11097 (char *) "self", NULL
11100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
11101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11102 if (SWIG_arg_fail(1)) SWIG_fail
;
11104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11107 wxPyEndAllowThreads(__tstate
);
11108 if (PyErr_Occurred()) SWIG_fail
;
11110 Py_INCREF(Py_None
); resultobj
= Py_None
;
11117 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11118 PyObject
*resultobj
;
11119 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11121 PyObject
* obj0
= 0 ;
11122 char *kwnames
[] = {
11123 (char *) "self", NULL
11126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
11127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11128 if (SWIG_arg_fail(1)) SWIG_fail
;
11130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11131 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
11133 wxPyEndAllowThreads(__tstate
);
11134 if (PyErr_Occurred()) SWIG_fail
;
11137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11145 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11146 PyObject
*resultobj
;
11147 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11149 PyObject
* obj0
= 0 ;
11150 char *kwnames
[] = {
11151 (char *) "self", NULL
11154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
11155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11156 if (SWIG_arg_fail(1)) SWIG_fail
;
11158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11159 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
11161 wxPyEndAllowThreads(__tstate
);
11162 if (PyErr_Occurred()) SWIG_fail
;
11165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11173 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11174 PyObject
*resultobj
;
11175 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11177 PyObject
* obj0
= 0 ;
11178 char *kwnames
[] = {
11179 (char *) "self", NULL
11182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11184 if (SWIG_arg_fail(1)) SWIG_fail
;
11186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11187 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11189 wxPyEndAllowThreads(__tstate
);
11190 if (PyErr_Occurred()) SWIG_fail
;
11193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11201 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11202 PyObject
*resultobj
;
11203 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11204 PyObject
* obj0
= 0 ;
11205 char *kwnames
[] = {
11206 (char *) "self", NULL
11209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11211 if (SWIG_arg_fail(1)) SWIG_fail
;
11213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11216 wxPyEndAllowThreads(__tstate
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11219 Py_INCREF(Py_None
); resultobj
= Py_None
;
11226 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11227 PyObject
*resultobj
;
11228 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11229 PyObject
* obj0
= 0 ;
11230 char *kwnames
[] = {
11231 (char *) "self", NULL
11234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11236 if (SWIG_arg_fail(1)) SWIG_fail
;
11238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11241 wxPyEndAllowThreads(__tstate
);
11242 if (PyErr_Occurred()) SWIG_fail
;
11244 Py_INCREF(Py_None
); resultobj
= Py_None
;
11251 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11252 PyObject
*resultobj
;
11253 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11255 PyObject
* obj0
= 0 ;
11256 char *kwnames
[] = {
11257 (char *) "self", NULL
11260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
11261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11262 if (SWIG_arg_fail(1)) SWIG_fail
;
11264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11265 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
11267 wxPyEndAllowThreads(__tstate
);
11268 if (PyErr_Occurred()) SWIG_fail
;
11271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11279 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11280 PyObject
*resultobj
;
11281 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11283 PyObject
* obj0
= 0 ;
11284 char *kwnames
[] = {
11285 (char *) "self", NULL
11288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11290 if (SWIG_arg_fail(1)) SWIG_fail
;
11292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11293 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11295 wxPyEndAllowThreads(__tstate
);
11296 if (PyErr_Occurred()) SWIG_fail
;
11299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11307 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11308 PyObject
*resultobj
;
11309 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11311 PyObject
* obj0
= 0 ;
11312 PyObject
* obj1
= 0 ;
11313 char *kwnames
[] = {
11314 (char *) "self",(char *) "pos", NULL
11317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11319 if (SWIG_arg_fail(1)) SWIG_fail
;
11321 arg2
= (long)(SWIG_As_long(obj1
));
11322 if (SWIG_arg_fail(2)) SWIG_fail
;
11325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 (arg1
)->SetInsertionPoint(arg2
);
11328 wxPyEndAllowThreads(__tstate
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11331 Py_INCREF(Py_None
); resultobj
= Py_None
;
11338 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11339 PyObject
*resultobj
;
11340 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11341 PyObject
* obj0
= 0 ;
11342 char *kwnames
[] = {
11343 (char *) "self", NULL
11346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11348 if (SWIG_arg_fail(1)) SWIG_fail
;
11350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11351 (arg1
)->SetInsertionPointEnd();
11353 wxPyEndAllowThreads(__tstate
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11356 Py_INCREF(Py_None
); resultobj
= Py_None
;
11363 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
*resultobj
;
11365 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11367 PyObject
* obj0
= 0 ;
11368 char *kwnames
[] = {
11369 (char *) "self", NULL
11372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
11373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11374 if (SWIG_arg_fail(1)) SWIG_fail
;
11376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11377 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
11379 wxPyEndAllowThreads(__tstate
);
11380 if (PyErr_Occurred()) SWIG_fail
;
11383 resultobj
= SWIG_From_long((long)(result
));
11391 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11392 PyObject
*resultobj
;
11393 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11395 PyObject
* obj0
= 0 ;
11396 char *kwnames
[] = {
11397 (char *) "self", NULL
11400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
11401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11402 if (SWIG_arg_fail(1)) SWIG_fail
;
11404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11405 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11407 wxPyEndAllowThreads(__tstate
);
11408 if (PyErr_Occurred()) SWIG_fail
;
11411 resultobj
= SWIG_From_long((long)(result
));
11419 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11420 PyObject
*resultobj
;
11421 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11424 PyObject
* obj0
= 0 ;
11425 PyObject
* obj1
= 0 ;
11426 PyObject
* obj2
= 0 ;
11427 char *kwnames
[] = {
11428 (char *) "self",(char *) "from",(char *) "to", NULL
11431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11433 if (SWIG_arg_fail(1)) SWIG_fail
;
11435 arg2
= (long)(SWIG_As_long(obj1
));
11436 if (SWIG_arg_fail(2)) SWIG_fail
;
11439 arg3
= (long)(SWIG_As_long(obj2
));
11440 if (SWIG_arg_fail(3)) SWIG_fail
;
11443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11444 (arg1
)->SetSelection(arg2
,arg3
);
11446 wxPyEndAllowThreads(__tstate
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11449 Py_INCREF(Py_None
); resultobj
= Py_None
;
11456 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11457 PyObject
*resultobj
;
11458 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11459 PyObject
* obj0
= 0 ;
11460 char *kwnames
[] = {
11461 (char *) "self", NULL
11464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
11465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11466 if (SWIG_arg_fail(1)) SWIG_fail
;
11468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11469 (arg1
)->SelectAll();
11471 wxPyEndAllowThreads(__tstate
);
11472 if (PyErr_Occurred()) SWIG_fail
;
11474 Py_INCREF(Py_None
); resultobj
= Py_None
;
11481 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11482 PyObject
*resultobj
;
11483 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11485 PyObject
* obj0
= 0 ;
11486 PyObject
* obj1
= 0 ;
11487 char *kwnames
[] = {
11488 (char *) "self",(char *) "editable", NULL
11491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11493 if (SWIG_arg_fail(1)) SWIG_fail
;
11495 arg2
= (bool)(SWIG_As_bool(obj1
));
11496 if (SWIG_arg_fail(2)) SWIG_fail
;
11499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11500 (arg1
)->SetEditable(arg2
);
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11505 Py_INCREF(Py_None
); resultobj
= Py_None
;
11512 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11513 PyObject
*resultobj
;
11514 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11515 wxString
*arg2
= 0 ;
11516 bool temp2
= false ;
11517 PyObject
* obj0
= 0 ;
11518 PyObject
* obj1
= 0 ;
11519 char *kwnames
[] = {
11520 (char *) "self",(char *) "text", NULL
11523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11525 if (SWIG_arg_fail(1)) SWIG_fail
;
11527 arg2
= wxString_in_helper(obj1
);
11528 if (arg2
== NULL
) SWIG_fail
;
11532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11533 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11535 wxPyEndAllowThreads(__tstate
);
11536 if (PyErr_Occurred()) SWIG_fail
;
11538 Py_INCREF(Py_None
); resultobj
= Py_None
;
11553 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11554 PyObject
*resultobj
;
11555 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11559 PyObject
* obj0
= 0 ;
11560 PyObject
* obj1
= 0 ;
11561 PyObject
* obj2
= 0 ;
11562 char *kwnames
[] = {
11563 (char *) "self",(char *) "from",(char *) "to", NULL
11566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11568 if (SWIG_arg_fail(1)) SWIG_fail
;
11570 arg2
= (long)(SWIG_As_long(obj1
));
11571 if (SWIG_arg_fail(2)) SWIG_fail
;
11574 arg3
= (long)(SWIG_As_long(obj2
));
11575 if (SWIG_arg_fail(3)) SWIG_fail
;
11578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11579 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11581 wxPyEndAllowThreads(__tstate
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11586 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11588 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11597 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11598 PyObject
*resultobj
;
11599 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11600 wxVisualAttributes result
;
11601 PyObject
* obj0
= 0 ;
11602 char *kwnames
[] = {
11603 (char *) "variant", NULL
11606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11609 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
11610 if (SWIG_arg_fail(1)) SWIG_fail
;
11614 if (!wxPyCheckForApp()) SWIG_fail
;
11615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11616 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11618 wxPyEndAllowThreads(__tstate
);
11619 if (PyErr_Occurred()) SWIG_fail
;
11622 wxVisualAttributes
* resultptr
;
11623 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
11624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11632 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11635 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11637 return Py_BuildValue((char *)"");
11639 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11640 PyObject
*resultobj
;
11642 wxMouseEvent
*arg2
= 0 ;
11645 wxTextUrlEvent
*result
;
11646 PyObject
* obj0
= 0 ;
11647 PyObject
* obj1
= 0 ;
11648 PyObject
* obj2
= 0 ;
11649 PyObject
* obj3
= 0 ;
11650 char *kwnames
[] = {
11651 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11656 arg1
= (int)(SWIG_As_int(obj0
));
11657 if (SWIG_arg_fail(1)) SWIG_fail
;
11660 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
11661 if (SWIG_arg_fail(2)) SWIG_fail
;
11662 if (arg2
== NULL
) {
11663 SWIG_null_ref("wxMouseEvent");
11665 if (SWIG_arg_fail(2)) SWIG_fail
;
11668 arg3
= (long)(SWIG_As_long(obj2
));
11669 if (SWIG_arg_fail(3)) SWIG_fail
;
11672 arg4
= (long)(SWIG_As_long(obj3
));
11673 if (SWIG_arg_fail(4)) SWIG_fail
;
11676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11677 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
11679 wxPyEndAllowThreads(__tstate
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
11689 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11690 PyObject
*resultobj
;
11691 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11692 wxMouseEvent
*result
;
11693 PyObject
* obj0
= 0 ;
11694 char *kwnames
[] = {
11695 (char *) "self", NULL
11698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
11699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11700 if (SWIG_arg_fail(1)) SWIG_fail
;
11702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11704 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
11705 result
= (wxMouseEvent
*) &_result_ref
;
11708 wxPyEndAllowThreads(__tstate
);
11709 if (PyErr_Occurred()) SWIG_fail
;
11711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
11718 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11719 PyObject
*resultobj
;
11720 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11722 PyObject
* obj0
= 0 ;
11723 char *kwnames
[] = {
11724 (char *) "self", NULL
11727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
11728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11729 if (SWIG_arg_fail(1)) SWIG_fail
;
11731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11732 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
11734 wxPyEndAllowThreads(__tstate
);
11735 if (PyErr_Occurred()) SWIG_fail
;
11738 resultobj
= SWIG_From_long((long)(result
));
11746 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11747 PyObject
*resultobj
;
11748 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11750 PyObject
* obj0
= 0 ;
11751 char *kwnames
[] = {
11752 (char *) "self", NULL
11755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
11756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11757 if (SWIG_arg_fail(1)) SWIG_fail
;
11759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11760 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
11762 wxPyEndAllowThreads(__tstate
);
11763 if (PyErr_Occurred()) SWIG_fail
;
11766 resultobj
= SWIG_From_long((long)(result
));
11774 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
11776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11777 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
11779 return Py_BuildValue((char *)"");
11781 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
11782 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
11787 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
11792 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11794 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11801 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11802 PyObject
*resultobj
;
11803 wxWindow
*arg1
= (wxWindow
*) 0 ;
11804 int arg2
= (int) -1 ;
11805 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11806 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11807 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11808 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11809 long arg5
= (long) wxSB_HORIZONTAL
;
11810 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
11811 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
11812 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
11813 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11814 wxScrollBar
*result
;
11817 bool temp7
= false ;
11818 PyObject
* obj0
= 0 ;
11819 PyObject
* obj1
= 0 ;
11820 PyObject
* obj2
= 0 ;
11821 PyObject
* obj3
= 0 ;
11822 PyObject
* obj4
= 0 ;
11823 PyObject
* obj5
= 0 ;
11824 PyObject
* obj6
= 0 ;
11825 char *kwnames
[] = {
11826 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11831 if (SWIG_arg_fail(1)) SWIG_fail
;
11834 arg2
= (int)(SWIG_As_int(obj1
));
11835 if (SWIG_arg_fail(2)) SWIG_fail
;
11841 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11847 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11852 arg5
= (long)(SWIG_As_long(obj4
));
11853 if (SWIG_arg_fail(5)) SWIG_fail
;
11858 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11859 if (SWIG_arg_fail(6)) SWIG_fail
;
11860 if (arg6
== NULL
) {
11861 SWIG_null_ref("wxValidator");
11863 if (SWIG_arg_fail(6)) SWIG_fail
;
11868 arg7
= wxString_in_helper(obj6
);
11869 if (arg7
== NULL
) SWIG_fail
;
11874 if (!wxPyCheckForApp()) SWIG_fail
;
11875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11876 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
11878 wxPyEndAllowThreads(__tstate
);
11879 if (PyErr_Occurred()) SWIG_fail
;
11881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11896 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11897 PyObject
*resultobj
;
11898 wxScrollBar
*result
;
11899 char *kwnames
[] = {
11903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
11905 if (!wxPyCheckForApp()) SWIG_fail
;
11906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11907 result
= (wxScrollBar
*)new wxScrollBar();
11909 wxPyEndAllowThreads(__tstate
);
11910 if (PyErr_Occurred()) SWIG_fail
;
11912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11919 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11920 PyObject
*resultobj
;
11921 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11922 wxWindow
*arg2
= (wxWindow
*) 0 ;
11923 int arg3
= (int) -1 ;
11924 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11925 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11926 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11927 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11928 long arg6
= (long) wxSB_HORIZONTAL
;
11929 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11930 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11931 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
11932 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11936 bool temp8
= false ;
11937 PyObject
* obj0
= 0 ;
11938 PyObject
* obj1
= 0 ;
11939 PyObject
* obj2
= 0 ;
11940 PyObject
* obj3
= 0 ;
11941 PyObject
* obj4
= 0 ;
11942 PyObject
* obj5
= 0 ;
11943 PyObject
* obj6
= 0 ;
11944 PyObject
* obj7
= 0 ;
11945 char *kwnames
[] = {
11946 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11951 if (SWIG_arg_fail(1)) SWIG_fail
;
11952 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11953 if (SWIG_arg_fail(2)) SWIG_fail
;
11956 arg3
= (int)(SWIG_As_int(obj2
));
11957 if (SWIG_arg_fail(3)) SWIG_fail
;
11963 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11969 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11974 arg6
= (long)(SWIG_As_long(obj5
));
11975 if (SWIG_arg_fail(6)) SWIG_fail
;
11980 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11981 if (SWIG_arg_fail(7)) SWIG_fail
;
11982 if (arg7
== NULL
) {
11983 SWIG_null_ref("wxValidator");
11985 if (SWIG_arg_fail(7)) SWIG_fail
;
11990 arg8
= wxString_in_helper(obj7
);
11991 if (arg8
== NULL
) SWIG_fail
;
11996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11997 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11999 wxPyEndAllowThreads(__tstate
);
12000 if (PyErr_Occurred()) SWIG_fail
;
12003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12019 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12020 PyObject
*resultobj
;
12021 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12023 PyObject
* obj0
= 0 ;
12024 char *kwnames
[] = {
12025 (char *) "self", NULL
12028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
12029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12030 if (SWIG_arg_fail(1)) SWIG_fail
;
12032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12033 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
12035 wxPyEndAllowThreads(__tstate
);
12036 if (PyErr_Occurred()) SWIG_fail
;
12039 resultobj
= SWIG_From_int((int)(result
));
12047 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12048 PyObject
*resultobj
;
12049 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12051 PyObject
* obj0
= 0 ;
12052 char *kwnames
[] = {
12053 (char *) "self", NULL
12056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
12057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12058 if (SWIG_arg_fail(1)) SWIG_fail
;
12060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12061 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
12063 wxPyEndAllowThreads(__tstate
);
12064 if (PyErr_Occurred()) SWIG_fail
;
12067 resultobj
= SWIG_From_int((int)(result
));
12075 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12076 PyObject
*resultobj
;
12077 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12079 PyObject
* obj0
= 0 ;
12080 char *kwnames
[] = {
12081 (char *) "self", NULL
12084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
12085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12086 if (SWIG_arg_fail(1)) SWIG_fail
;
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
12091 wxPyEndAllowThreads(__tstate
);
12092 if (PyErr_Occurred()) SWIG_fail
;
12095 resultobj
= SWIG_From_int((int)(result
));
12103 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12104 PyObject
*resultobj
;
12105 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12107 PyObject
* obj0
= 0 ;
12108 char *kwnames
[] = {
12109 (char *) "self", NULL
12112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12114 if (SWIG_arg_fail(1)) SWIG_fail
;
12116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12117 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12119 wxPyEndAllowThreads(__tstate
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12123 resultobj
= SWIG_From_int((int)(result
));
12131 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12132 PyObject
*resultobj
;
12133 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12135 PyObject
* obj0
= 0 ;
12136 char *kwnames
[] = {
12137 (char *) "self", NULL
12140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12142 if (SWIG_arg_fail(1)) SWIG_fail
;
12144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12145 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12147 wxPyEndAllowThreads(__tstate
);
12148 if (PyErr_Occurred()) SWIG_fail
;
12151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12159 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12160 PyObject
*resultobj
;
12161 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12163 PyObject
* obj0
= 0 ;
12164 PyObject
* obj1
= 0 ;
12165 char *kwnames
[] = {
12166 (char *) "self",(char *) "viewStart", NULL
12169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12171 if (SWIG_arg_fail(1)) SWIG_fail
;
12173 arg2
= (int)(SWIG_As_int(obj1
));
12174 if (SWIG_arg_fail(2)) SWIG_fail
;
12177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12178 (arg1
)->SetThumbPosition(arg2
);
12180 wxPyEndAllowThreads(__tstate
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12183 Py_INCREF(Py_None
); resultobj
= Py_None
;
12190 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12191 PyObject
*resultobj
;
12192 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12197 bool arg6
= (bool) true ;
12198 PyObject
* obj0
= 0 ;
12199 PyObject
* obj1
= 0 ;
12200 PyObject
* obj2
= 0 ;
12201 PyObject
* obj3
= 0 ;
12202 PyObject
* obj4
= 0 ;
12203 PyObject
* obj5
= 0 ;
12204 char *kwnames
[] = {
12205 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12210 if (SWIG_arg_fail(1)) SWIG_fail
;
12212 arg2
= (int)(SWIG_As_int(obj1
));
12213 if (SWIG_arg_fail(2)) SWIG_fail
;
12216 arg3
= (int)(SWIG_As_int(obj2
));
12217 if (SWIG_arg_fail(3)) SWIG_fail
;
12220 arg4
= (int)(SWIG_As_int(obj3
));
12221 if (SWIG_arg_fail(4)) SWIG_fail
;
12224 arg5
= (int)(SWIG_As_int(obj4
));
12225 if (SWIG_arg_fail(5)) SWIG_fail
;
12229 arg6
= (bool)(SWIG_As_bool(obj5
));
12230 if (SWIG_arg_fail(6)) SWIG_fail
;
12234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12235 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12237 wxPyEndAllowThreads(__tstate
);
12238 if (PyErr_Occurred()) SWIG_fail
;
12240 Py_INCREF(Py_None
); resultobj
= Py_None
;
12247 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12248 PyObject
*resultobj
;
12249 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12250 wxVisualAttributes result
;
12251 PyObject
* obj0
= 0 ;
12252 char *kwnames
[] = {
12253 (char *) "variant", NULL
12256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12259 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12260 if (SWIG_arg_fail(1)) SWIG_fail
;
12264 if (!wxPyCheckForApp()) SWIG_fail
;
12265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12266 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12268 wxPyEndAllowThreads(__tstate
);
12269 if (PyErr_Occurred()) SWIG_fail
;
12272 wxVisualAttributes
* resultptr
;
12273 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12274 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12282 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12285 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12287 return Py_BuildValue((char *)"");
12289 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12290 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12295 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12300 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12302 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12309 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12310 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12315 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12320 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12322 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12329 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12330 PyObject
*resultobj
;
12331 wxWindow
*arg1
= (wxWindow
*) 0 ;
12332 int arg2
= (int) -1 ;
12333 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12334 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12335 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12336 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12337 long arg5
= (long) wxSP_HORIZONTAL
;
12338 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12339 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12340 wxSpinButton
*result
;
12343 bool temp6
= false ;
12344 PyObject
* obj0
= 0 ;
12345 PyObject
* obj1
= 0 ;
12346 PyObject
* obj2
= 0 ;
12347 PyObject
* obj3
= 0 ;
12348 PyObject
* obj4
= 0 ;
12349 PyObject
* obj5
= 0 ;
12350 char *kwnames
[] = {
12351 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12356 if (SWIG_arg_fail(1)) SWIG_fail
;
12359 arg2
= (int)(SWIG_As_int(obj1
));
12360 if (SWIG_arg_fail(2)) SWIG_fail
;
12366 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12372 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12377 arg5
= (long)(SWIG_As_long(obj4
));
12378 if (SWIG_arg_fail(5)) SWIG_fail
;
12383 arg6
= wxString_in_helper(obj5
);
12384 if (arg6
== NULL
) SWIG_fail
;
12389 if (!wxPyCheckForApp()) SWIG_fail
;
12390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12391 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12393 wxPyEndAllowThreads(__tstate
);
12394 if (PyErr_Occurred()) SWIG_fail
;
12396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12411 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12412 PyObject
*resultobj
;
12413 wxSpinButton
*result
;
12414 char *kwnames
[] = {
12418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12420 if (!wxPyCheckForApp()) SWIG_fail
;
12421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12422 result
= (wxSpinButton
*)new wxSpinButton();
12424 wxPyEndAllowThreads(__tstate
);
12425 if (PyErr_Occurred()) SWIG_fail
;
12427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12434 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12435 PyObject
*resultobj
;
12436 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12437 wxWindow
*arg2
= (wxWindow
*) 0 ;
12438 int arg3
= (int) -1 ;
12439 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12440 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12441 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12442 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12443 long arg6
= (long) wxSP_HORIZONTAL
;
12444 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12445 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12449 bool temp7
= false ;
12450 PyObject
* obj0
= 0 ;
12451 PyObject
* obj1
= 0 ;
12452 PyObject
* obj2
= 0 ;
12453 PyObject
* obj3
= 0 ;
12454 PyObject
* obj4
= 0 ;
12455 PyObject
* obj5
= 0 ;
12456 PyObject
* obj6
= 0 ;
12457 char *kwnames
[] = {
12458 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12463 if (SWIG_arg_fail(1)) SWIG_fail
;
12464 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12465 if (SWIG_arg_fail(2)) SWIG_fail
;
12468 arg3
= (int)(SWIG_As_int(obj2
));
12469 if (SWIG_arg_fail(3)) SWIG_fail
;
12475 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12481 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12486 arg6
= (long)(SWIG_As_long(obj5
));
12487 if (SWIG_arg_fail(6)) SWIG_fail
;
12492 arg7
= wxString_in_helper(obj6
);
12493 if (arg7
== NULL
) SWIG_fail
;
12498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12499 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12501 wxPyEndAllowThreads(__tstate
);
12502 if (PyErr_Occurred()) SWIG_fail
;
12505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12521 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12522 PyObject
*resultobj
;
12523 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12525 PyObject
* obj0
= 0 ;
12526 char *kwnames
[] = {
12527 (char *) "self", NULL
12530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12532 if (SWIG_arg_fail(1)) SWIG_fail
;
12534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12535 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12537 wxPyEndAllowThreads(__tstate
);
12538 if (PyErr_Occurred()) SWIG_fail
;
12541 resultobj
= SWIG_From_int((int)(result
));
12549 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12550 PyObject
*resultobj
;
12551 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12553 PyObject
* obj0
= 0 ;
12554 char *kwnames
[] = {
12555 (char *) "self", NULL
12558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12560 if (SWIG_arg_fail(1)) SWIG_fail
;
12562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12563 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12565 wxPyEndAllowThreads(__tstate
);
12566 if (PyErr_Occurred()) SWIG_fail
;
12569 resultobj
= SWIG_From_int((int)(result
));
12577 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12578 PyObject
*resultobj
;
12579 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12581 PyObject
* obj0
= 0 ;
12582 char *kwnames
[] = {
12583 (char *) "self", NULL
12586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12588 if (SWIG_arg_fail(1)) SWIG_fail
;
12590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12591 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12593 wxPyEndAllowThreads(__tstate
);
12594 if (PyErr_Occurred()) SWIG_fail
;
12597 resultobj
= SWIG_From_int((int)(result
));
12605 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12606 PyObject
*resultobj
;
12607 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12609 PyObject
* obj0
= 0 ;
12610 PyObject
* obj1
= 0 ;
12611 char *kwnames
[] = {
12612 (char *) "self",(char *) "val", NULL
12615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12617 if (SWIG_arg_fail(1)) SWIG_fail
;
12619 arg2
= (int)(SWIG_As_int(obj1
));
12620 if (SWIG_arg_fail(2)) SWIG_fail
;
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 (arg1
)->SetValue(arg2
);
12626 wxPyEndAllowThreads(__tstate
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12629 Py_INCREF(Py_None
); resultobj
= Py_None
;
12636 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12637 PyObject
*resultobj
;
12638 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12640 PyObject
* obj0
= 0 ;
12641 PyObject
* obj1
= 0 ;
12642 char *kwnames
[] = {
12643 (char *) "self",(char *) "minVal", NULL
12646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12648 if (SWIG_arg_fail(1)) SWIG_fail
;
12650 arg2
= (int)(SWIG_As_int(obj1
));
12651 if (SWIG_arg_fail(2)) SWIG_fail
;
12654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12655 (arg1
)->SetMin(arg2
);
12657 wxPyEndAllowThreads(__tstate
);
12658 if (PyErr_Occurred()) SWIG_fail
;
12660 Py_INCREF(Py_None
); resultobj
= Py_None
;
12667 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12668 PyObject
*resultobj
;
12669 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12671 PyObject
* obj0
= 0 ;
12672 PyObject
* obj1
= 0 ;
12673 char *kwnames
[] = {
12674 (char *) "self",(char *) "maxVal", NULL
12677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12679 if (SWIG_arg_fail(1)) SWIG_fail
;
12681 arg2
= (int)(SWIG_As_int(obj1
));
12682 if (SWIG_arg_fail(2)) SWIG_fail
;
12685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12686 (arg1
)->SetMax(arg2
);
12688 wxPyEndAllowThreads(__tstate
);
12689 if (PyErr_Occurred()) SWIG_fail
;
12691 Py_INCREF(Py_None
); resultobj
= Py_None
;
12698 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12699 PyObject
*resultobj
;
12700 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12703 PyObject
* obj0
= 0 ;
12704 PyObject
* obj1
= 0 ;
12705 PyObject
* obj2
= 0 ;
12706 char *kwnames
[] = {
12707 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12712 if (SWIG_arg_fail(1)) SWIG_fail
;
12714 arg2
= (int)(SWIG_As_int(obj1
));
12715 if (SWIG_arg_fail(2)) SWIG_fail
;
12718 arg3
= (int)(SWIG_As_int(obj2
));
12719 if (SWIG_arg_fail(3)) SWIG_fail
;
12722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12723 (arg1
)->SetRange(arg2
,arg3
);
12725 wxPyEndAllowThreads(__tstate
);
12726 if (PyErr_Occurred()) SWIG_fail
;
12728 Py_INCREF(Py_None
); resultobj
= Py_None
;
12735 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12736 PyObject
*resultobj
;
12737 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12739 PyObject
* obj0
= 0 ;
12740 char *kwnames
[] = {
12741 (char *) "self", NULL
12744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
12745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12746 if (SWIG_arg_fail(1)) SWIG_fail
;
12748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12749 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
12751 wxPyEndAllowThreads(__tstate
);
12752 if (PyErr_Occurred()) SWIG_fail
;
12755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12763 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12764 PyObject
*resultobj
;
12765 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12766 wxVisualAttributes result
;
12767 PyObject
* obj0
= 0 ;
12768 char *kwnames
[] = {
12769 (char *) "variant", NULL
12772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12775 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12776 if (SWIG_arg_fail(1)) SWIG_fail
;
12780 if (!wxPyCheckForApp()) SWIG_fail
;
12781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12782 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12784 wxPyEndAllowThreads(__tstate
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12788 wxVisualAttributes
* resultptr
;
12789 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12790 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12798 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
12800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12801 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
12803 return Py_BuildValue((char *)"");
12805 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12806 PyObject
*resultobj
;
12807 wxWindow
*arg1
= (wxWindow
*) 0 ;
12808 int arg2
= (int) -1 ;
12809 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12810 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12811 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12812 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12813 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12814 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12815 long arg6
= (long) wxSP_ARROW_KEYS
;
12816 int arg7
= (int) 0 ;
12817 int arg8
= (int) 100 ;
12818 int arg9
= (int) 0 ;
12819 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
12820 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12821 wxSpinCtrl
*result
;
12822 bool temp3
= false ;
12825 bool temp10
= false ;
12826 PyObject
* obj0
= 0 ;
12827 PyObject
* obj1
= 0 ;
12828 PyObject
* obj2
= 0 ;
12829 PyObject
* obj3
= 0 ;
12830 PyObject
* obj4
= 0 ;
12831 PyObject
* obj5
= 0 ;
12832 PyObject
* obj6
= 0 ;
12833 PyObject
* obj7
= 0 ;
12834 PyObject
* obj8
= 0 ;
12835 PyObject
* obj9
= 0 ;
12836 char *kwnames
[] = {
12837 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12842 if (SWIG_arg_fail(1)) SWIG_fail
;
12845 arg2
= (int)(SWIG_As_int(obj1
));
12846 if (SWIG_arg_fail(2)) SWIG_fail
;
12851 arg3
= wxString_in_helper(obj2
);
12852 if (arg3
== NULL
) SWIG_fail
;
12859 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12865 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12870 arg6
= (long)(SWIG_As_long(obj5
));
12871 if (SWIG_arg_fail(6)) SWIG_fail
;
12876 arg7
= (int)(SWIG_As_int(obj6
));
12877 if (SWIG_arg_fail(7)) SWIG_fail
;
12882 arg8
= (int)(SWIG_As_int(obj7
));
12883 if (SWIG_arg_fail(8)) SWIG_fail
;
12888 arg9
= (int)(SWIG_As_int(obj8
));
12889 if (SWIG_arg_fail(9)) SWIG_fail
;
12894 arg10
= wxString_in_helper(obj9
);
12895 if (arg10
== NULL
) SWIG_fail
;
12900 if (!wxPyCheckForApp()) SWIG_fail
;
12901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12902 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
12904 wxPyEndAllowThreads(__tstate
);
12905 if (PyErr_Occurred()) SWIG_fail
;
12907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12930 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12931 PyObject
*resultobj
;
12932 wxSpinCtrl
*result
;
12933 char *kwnames
[] = {
12937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
12939 if (!wxPyCheckForApp()) SWIG_fail
;
12940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12941 result
= (wxSpinCtrl
*)new wxSpinCtrl();
12943 wxPyEndAllowThreads(__tstate
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12953 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12954 PyObject
*resultobj
;
12955 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
12956 wxWindow
*arg2
= (wxWindow
*) 0 ;
12957 int arg3
= (int) -1 ;
12958 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12959 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12960 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12961 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12962 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12963 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12964 long arg7
= (long) wxSP_ARROW_KEYS
;
12965 int arg8
= (int) 0 ;
12966 int arg9
= (int) 100 ;
12967 int arg10
= (int) 0 ;
12968 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
12969 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12971 bool temp4
= false ;
12974 bool temp11
= false ;
12975 PyObject
* obj0
= 0 ;
12976 PyObject
* obj1
= 0 ;
12977 PyObject
* obj2
= 0 ;
12978 PyObject
* obj3
= 0 ;
12979 PyObject
* obj4
= 0 ;
12980 PyObject
* obj5
= 0 ;
12981 PyObject
* obj6
= 0 ;
12982 PyObject
* obj7
= 0 ;
12983 PyObject
* obj8
= 0 ;
12984 PyObject
* obj9
= 0 ;
12985 PyObject
* obj10
= 0 ;
12986 char *kwnames
[] = {
12987 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
12992 if (SWIG_arg_fail(1)) SWIG_fail
;
12993 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12994 if (SWIG_arg_fail(2)) SWIG_fail
;
12997 arg3
= (int)(SWIG_As_int(obj2
));
12998 if (SWIG_arg_fail(3)) SWIG_fail
;
13003 arg4
= wxString_in_helper(obj3
);
13004 if (arg4
== NULL
) SWIG_fail
;
13011 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13017 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13022 arg7
= (long)(SWIG_As_long(obj6
));
13023 if (SWIG_arg_fail(7)) SWIG_fail
;
13028 arg8
= (int)(SWIG_As_int(obj7
));
13029 if (SWIG_arg_fail(8)) SWIG_fail
;
13034 arg9
= (int)(SWIG_As_int(obj8
));
13035 if (SWIG_arg_fail(9)) SWIG_fail
;
13040 arg10
= (int)(SWIG_As_int(obj9
));
13041 if (SWIG_arg_fail(10)) SWIG_fail
;
13046 arg11
= wxString_in_helper(obj10
);
13047 if (arg11
== NULL
) SWIG_fail
;
13052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13053 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
13055 wxPyEndAllowThreads(__tstate
);
13056 if (PyErr_Occurred()) SWIG_fail
;
13059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13083 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13084 PyObject
*resultobj
;
13085 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13087 PyObject
* obj0
= 0 ;
13088 char *kwnames
[] = {
13089 (char *) "self", NULL
13092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
13093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13094 if (SWIG_arg_fail(1)) SWIG_fail
;
13096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13097 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
13099 wxPyEndAllowThreads(__tstate
);
13100 if (PyErr_Occurred()) SWIG_fail
;
13103 resultobj
= SWIG_From_int((int)(result
));
13111 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
;
13113 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13115 PyObject
* obj0
= 0 ;
13116 PyObject
* obj1
= 0 ;
13117 char *kwnames
[] = {
13118 (char *) "self",(char *) "value", NULL
13121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13123 if (SWIG_arg_fail(1)) SWIG_fail
;
13125 arg2
= (int)(SWIG_As_int(obj1
));
13126 if (SWIG_arg_fail(2)) SWIG_fail
;
13129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13130 (arg1
)->SetValue(arg2
);
13132 wxPyEndAllowThreads(__tstate
);
13133 if (PyErr_Occurred()) SWIG_fail
;
13135 Py_INCREF(Py_None
); resultobj
= Py_None
;
13142 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13143 PyObject
*resultobj
;
13144 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13145 wxString
*arg2
= 0 ;
13146 bool temp2
= false ;
13147 PyObject
* obj0
= 0 ;
13148 PyObject
* obj1
= 0 ;
13149 char *kwnames
[] = {
13150 (char *) "self",(char *) "text", NULL
13153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
13154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13155 if (SWIG_arg_fail(1)) SWIG_fail
;
13157 arg2
= wxString_in_helper(obj1
);
13158 if (arg2
== NULL
) SWIG_fail
;
13162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13163 (arg1
)->SetValue((wxString
const &)*arg2
);
13165 wxPyEndAllowThreads(__tstate
);
13166 if (PyErr_Occurred()) SWIG_fail
;
13168 Py_INCREF(Py_None
); resultobj
= Py_None
;
13183 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13184 PyObject
*resultobj
;
13185 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13188 PyObject
* obj0
= 0 ;
13189 PyObject
* obj1
= 0 ;
13190 PyObject
* obj2
= 0 ;
13191 char *kwnames
[] = {
13192 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13197 if (SWIG_arg_fail(1)) SWIG_fail
;
13199 arg2
= (int)(SWIG_As_int(obj1
));
13200 if (SWIG_arg_fail(2)) SWIG_fail
;
13203 arg3
= (int)(SWIG_As_int(obj2
));
13204 if (SWIG_arg_fail(3)) SWIG_fail
;
13207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13208 (arg1
)->SetRange(arg2
,arg3
);
13210 wxPyEndAllowThreads(__tstate
);
13211 if (PyErr_Occurred()) SWIG_fail
;
13213 Py_INCREF(Py_None
); resultobj
= Py_None
;
13220 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13221 PyObject
*resultobj
;
13222 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13224 PyObject
* obj0
= 0 ;
13225 char *kwnames
[] = {
13226 (char *) "self", NULL
13229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13231 if (SWIG_arg_fail(1)) SWIG_fail
;
13233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13234 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13236 wxPyEndAllowThreads(__tstate
);
13237 if (PyErr_Occurred()) SWIG_fail
;
13240 resultobj
= SWIG_From_int((int)(result
));
13248 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13249 PyObject
*resultobj
;
13250 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13252 PyObject
* obj0
= 0 ;
13253 char *kwnames
[] = {
13254 (char *) "self", NULL
13257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
13258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13259 if (SWIG_arg_fail(1)) SWIG_fail
;
13261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13262 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13264 wxPyEndAllowThreads(__tstate
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13268 resultobj
= SWIG_From_int((int)(result
));
13276 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13277 PyObject
*resultobj
;
13278 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13281 PyObject
* obj0
= 0 ;
13282 PyObject
* obj1
= 0 ;
13283 PyObject
* obj2
= 0 ;
13284 char *kwnames
[] = {
13285 (char *) "self",(char *) "from",(char *) "to", NULL
13288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13290 if (SWIG_arg_fail(1)) SWIG_fail
;
13292 arg2
= (long)(SWIG_As_long(obj1
));
13293 if (SWIG_arg_fail(2)) SWIG_fail
;
13296 arg3
= (long)(SWIG_As_long(obj2
));
13297 if (SWIG_arg_fail(3)) SWIG_fail
;
13300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13301 (arg1
)->SetSelection(arg2
,arg3
);
13303 wxPyEndAllowThreads(__tstate
);
13304 if (PyErr_Occurred()) SWIG_fail
;
13306 Py_INCREF(Py_None
); resultobj
= Py_None
;
13313 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13314 PyObject
*resultobj
;
13315 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13316 wxVisualAttributes result
;
13317 PyObject
* obj0
= 0 ;
13318 char *kwnames
[] = {
13319 (char *) "variant", NULL
13322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13325 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
13326 if (SWIG_arg_fail(1)) SWIG_fail
;
13330 if (!wxPyCheckForApp()) SWIG_fail
;
13331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13332 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13334 wxPyEndAllowThreads(__tstate
);
13335 if (PyErr_Occurred()) SWIG_fail
;
13338 wxVisualAttributes
* resultptr
;
13339 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
13340 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13348 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13351 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13353 return Py_BuildValue((char *)"");
13355 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13356 PyObject
*resultobj
;
13357 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13358 int arg2
= (int) 0 ;
13359 wxSpinEvent
*result
;
13360 PyObject
* obj0
= 0 ;
13361 PyObject
* obj1
= 0 ;
13362 char *kwnames
[] = {
13363 (char *) "commandType",(char *) "winid", NULL
13366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13369 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13370 if (SWIG_arg_fail(1)) SWIG_fail
;
13375 arg2
= (int)(SWIG_As_int(obj1
));
13376 if (SWIG_arg_fail(2)) SWIG_fail
;
13380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13381 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13383 wxPyEndAllowThreads(__tstate
);
13384 if (PyErr_Occurred()) SWIG_fail
;
13386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13393 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13394 PyObject
*resultobj
;
13395 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13397 PyObject
* obj0
= 0 ;
13398 char *kwnames
[] = {
13399 (char *) "self", NULL
13402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13404 if (SWIG_arg_fail(1)) SWIG_fail
;
13406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13407 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13409 wxPyEndAllowThreads(__tstate
);
13410 if (PyErr_Occurred()) SWIG_fail
;
13413 resultobj
= SWIG_From_int((int)(result
));
13421 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13422 PyObject
*resultobj
;
13423 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13425 PyObject
* obj0
= 0 ;
13426 PyObject
* obj1
= 0 ;
13427 char *kwnames
[] = {
13428 (char *) "self",(char *) "pos", NULL
13431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13433 if (SWIG_arg_fail(1)) SWIG_fail
;
13435 arg2
= (int)(SWIG_As_int(obj1
));
13436 if (SWIG_arg_fail(2)) SWIG_fail
;
13439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13440 (arg1
)->SetPosition(arg2
);
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13445 Py_INCREF(Py_None
); resultobj
= Py_None
;
13452 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13455 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13457 return Py_BuildValue((char *)"");
13459 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13460 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13465 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13470 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13472 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13479 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13480 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13485 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13490 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13492 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13499 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13500 PyObject
*resultobj
;
13501 wxWindow
*arg1
= (wxWindow
*) 0 ;
13502 int arg2
= (int) -1 ;
13503 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13504 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13505 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13506 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13507 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13508 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13509 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13510 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13511 int arg7
= (int) 0 ;
13512 long arg8
= (long) wxRA_HORIZONTAL
;
13513 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13514 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13515 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13516 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13517 wxRadioBox
*result
;
13518 bool temp3
= false ;
13521 bool temp6
= false ;
13522 bool temp10
= false ;
13523 PyObject
* obj0
= 0 ;
13524 PyObject
* obj1
= 0 ;
13525 PyObject
* obj2
= 0 ;
13526 PyObject
* obj3
= 0 ;
13527 PyObject
* obj4
= 0 ;
13528 PyObject
* obj5
= 0 ;
13529 PyObject
* obj6
= 0 ;
13530 PyObject
* obj7
= 0 ;
13531 PyObject
* obj8
= 0 ;
13532 PyObject
* obj9
= 0 ;
13533 char *kwnames
[] = {
13534 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13539 if (SWIG_arg_fail(1)) SWIG_fail
;
13542 arg2
= (int)(SWIG_As_int(obj1
));
13543 if (SWIG_arg_fail(2)) SWIG_fail
;
13548 arg3
= wxString_in_helper(obj2
);
13549 if (arg3
== NULL
) SWIG_fail
;
13556 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13562 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13567 if (! PySequence_Check(obj5
)) {
13568 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13571 arg6
= new wxArrayString
;
13573 int i
, len
=PySequence_Length(obj5
);
13574 for (i
=0; i
<len
; i
++) {
13575 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13577 PyObject
* str
= PyObject_Unicode(item
);
13579 PyObject
* str
= PyObject_Str(item
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13582 arg6
->Add(Py2wxString(str
));
13590 arg7
= (int)(SWIG_As_int(obj6
));
13591 if (SWIG_arg_fail(7)) SWIG_fail
;
13596 arg8
= (long)(SWIG_As_long(obj7
));
13597 if (SWIG_arg_fail(8)) SWIG_fail
;
13602 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13603 if (SWIG_arg_fail(9)) SWIG_fail
;
13604 if (arg9
== NULL
) {
13605 SWIG_null_ref("wxValidator");
13607 if (SWIG_arg_fail(9)) SWIG_fail
;
13612 arg10
= wxString_in_helper(obj9
);
13613 if (arg10
== NULL
) SWIG_fail
;
13618 if (!wxPyCheckForApp()) SWIG_fail
;
13619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13620 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
);
13622 wxPyEndAllowThreads(__tstate
);
13623 if (PyErr_Occurred()) SWIG_fail
;
13625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13631 if (temp6
) delete arg6
;
13644 if (temp6
) delete arg6
;
13654 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13655 PyObject
*resultobj
;
13656 wxRadioBox
*result
;
13657 char *kwnames
[] = {
13661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
13663 if (!wxPyCheckForApp()) SWIG_fail
;
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 result
= (wxRadioBox
*)new wxRadioBox();
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13677 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13678 PyObject
*resultobj
;
13679 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13680 wxWindow
*arg2
= (wxWindow
*) 0 ;
13681 int arg3
= (int) -1 ;
13682 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13683 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13684 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13685 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13686 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13687 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13688 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
13689 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
13690 int arg8
= (int) 0 ;
13691 long arg9
= (long) wxRA_HORIZONTAL
;
13692 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13693 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13694 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
13695 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13697 bool temp4
= false ;
13700 bool temp7
= false ;
13701 bool temp11
= false ;
13702 PyObject
* obj0
= 0 ;
13703 PyObject
* obj1
= 0 ;
13704 PyObject
* obj2
= 0 ;
13705 PyObject
* obj3
= 0 ;
13706 PyObject
* obj4
= 0 ;
13707 PyObject
* obj5
= 0 ;
13708 PyObject
* obj6
= 0 ;
13709 PyObject
* obj7
= 0 ;
13710 PyObject
* obj8
= 0 ;
13711 PyObject
* obj9
= 0 ;
13712 PyObject
* obj10
= 0 ;
13713 char *kwnames
[] = {
13714 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13719 if (SWIG_arg_fail(1)) SWIG_fail
;
13720 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13721 if (SWIG_arg_fail(2)) SWIG_fail
;
13724 arg3
= (int)(SWIG_As_int(obj2
));
13725 if (SWIG_arg_fail(3)) SWIG_fail
;
13730 arg4
= wxString_in_helper(obj3
);
13731 if (arg4
== NULL
) SWIG_fail
;
13738 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13744 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13749 if (! PySequence_Check(obj6
)) {
13750 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13753 arg7
= new wxArrayString
;
13755 int i
, len
=PySequence_Length(obj6
);
13756 for (i
=0; i
<len
; i
++) {
13757 PyObject
* item
= PySequence_GetItem(obj6
, i
);
13759 PyObject
* str
= PyObject_Unicode(item
);
13761 PyObject
* str
= PyObject_Str(item
);
13763 if (PyErr_Occurred()) SWIG_fail
;
13764 arg7
->Add(Py2wxString(str
));
13772 arg8
= (int)(SWIG_As_int(obj7
));
13773 if (SWIG_arg_fail(8)) SWIG_fail
;
13778 arg9
= (long)(SWIG_As_long(obj8
));
13779 if (SWIG_arg_fail(9)) SWIG_fail
;
13784 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13785 if (SWIG_arg_fail(10)) SWIG_fail
;
13786 if (arg10
== NULL
) {
13787 SWIG_null_ref("wxValidator");
13789 if (SWIG_arg_fail(10)) SWIG_fail
;
13794 arg11
= wxString_in_helper(obj10
);
13795 if (arg11
== NULL
) SWIG_fail
;
13800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 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
);
13803 wxPyEndAllowThreads(__tstate
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13814 if (temp7
) delete arg7
;
13827 if (temp7
) delete arg7
;
13837 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13838 PyObject
*resultobj
;
13839 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13841 PyObject
* obj0
= 0 ;
13842 PyObject
* obj1
= 0 ;
13843 char *kwnames
[] = {
13844 (char *) "self",(char *) "n", NULL
13847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13849 if (SWIG_arg_fail(1)) SWIG_fail
;
13851 arg2
= (int)(SWIG_As_int(obj1
));
13852 if (SWIG_arg_fail(2)) SWIG_fail
;
13855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13856 (arg1
)->SetSelection(arg2
);
13858 wxPyEndAllowThreads(__tstate
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13861 Py_INCREF(Py_None
); resultobj
= Py_None
;
13868 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13869 PyObject
*resultobj
;
13870 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13872 PyObject
* obj0
= 0 ;
13873 char *kwnames
[] = {
13874 (char *) "self", NULL
13877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
13878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13879 if (SWIG_arg_fail(1)) SWIG_fail
;
13881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13882 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
13884 wxPyEndAllowThreads(__tstate
);
13885 if (PyErr_Occurred()) SWIG_fail
;
13888 resultobj
= SWIG_From_int((int)(result
));
13896 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13897 PyObject
*resultobj
;
13898 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13900 PyObject
* obj0
= 0 ;
13901 char *kwnames
[] = {
13902 (char *) "self", NULL
13905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13907 if (SWIG_arg_fail(1)) SWIG_fail
;
13909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13910 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
13912 wxPyEndAllowThreads(__tstate
);
13913 if (PyErr_Occurred()) SWIG_fail
;
13917 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13919 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13928 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13929 PyObject
*resultobj
;
13930 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13931 wxString
*arg2
= 0 ;
13933 bool temp2
= false ;
13934 PyObject
* obj0
= 0 ;
13935 PyObject
* obj1
= 0 ;
13936 char *kwnames
[] = {
13937 (char *) "self",(char *) "s", NULL
13940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13942 if (SWIG_arg_fail(1)) SWIG_fail
;
13944 arg2
= wxString_in_helper(obj1
);
13945 if (arg2
== NULL
) SWIG_fail
;
13949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13950 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
13952 wxPyEndAllowThreads(__tstate
);
13953 if (PyErr_Occurred()) SWIG_fail
;
13956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13972 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13973 PyObject
*resultobj
;
13974 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13976 PyObject
* obj0
= 0 ;
13977 char *kwnames
[] = {
13978 (char *) "self", NULL
13981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
13982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13983 if (SWIG_arg_fail(1)) SWIG_fail
;
13985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13986 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
13988 wxPyEndAllowThreads(__tstate
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13992 resultobj
= SWIG_From_int((int)(result
));
14000 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14001 PyObject
*resultobj
;
14002 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14003 wxString
*arg2
= 0 ;
14005 bool temp2
= false ;
14006 PyObject
* obj0
= 0 ;
14007 PyObject
* obj1
= 0 ;
14008 char *kwnames
[] = {
14009 (char *) "self",(char *) "s", NULL
14012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14014 if (SWIG_arg_fail(1)) SWIG_fail
;
14016 arg2
= wxString_in_helper(obj1
);
14017 if (arg2
== NULL
) SWIG_fail
;
14021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14022 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
14024 wxPyEndAllowThreads(__tstate
);
14025 if (PyErr_Occurred()) SWIG_fail
;
14028 resultobj
= SWIG_From_int((int)(result
));
14044 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14045 PyObject
*resultobj
;
14046 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14049 PyObject
* obj0
= 0 ;
14050 PyObject
* obj1
= 0 ;
14051 char *kwnames
[] = {
14052 (char *) "self",(char *) "n", NULL
14055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14057 if (SWIG_arg_fail(1)) SWIG_fail
;
14059 arg2
= (int)(SWIG_As_int(obj1
));
14060 if (SWIG_arg_fail(2)) SWIG_fail
;
14063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14064 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
14066 wxPyEndAllowThreads(__tstate
);
14067 if (PyErr_Occurred()) SWIG_fail
;
14071 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14073 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14082 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14083 PyObject
*resultobj
;
14084 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14086 wxString
*arg3
= 0 ;
14087 bool temp3
= false ;
14088 PyObject
* obj0
= 0 ;
14089 PyObject
* obj1
= 0 ;
14090 PyObject
* obj2
= 0 ;
14091 char *kwnames
[] = {
14092 (char *) "self",(char *) "n",(char *) "label", NULL
14095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14097 if (SWIG_arg_fail(1)) SWIG_fail
;
14099 arg2
= (int)(SWIG_As_int(obj1
));
14100 if (SWIG_arg_fail(2)) SWIG_fail
;
14103 arg3
= wxString_in_helper(obj2
);
14104 if (arg3
== NULL
) SWIG_fail
;
14108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14109 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
14111 wxPyEndAllowThreads(__tstate
);
14112 if (PyErr_Occurred()) SWIG_fail
;
14114 Py_INCREF(Py_None
); resultobj
= Py_None
;
14129 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14130 PyObject
*resultobj
;
14131 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14133 bool arg3
= (bool) true ;
14134 PyObject
* obj0
= 0 ;
14135 PyObject
* obj1
= 0 ;
14136 PyObject
* obj2
= 0 ;
14137 char *kwnames
[] = {
14138 (char *) "self",(char *) "n",(char *) "enable", NULL
14141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14143 if (SWIG_arg_fail(1)) SWIG_fail
;
14145 arg2
= (int)(SWIG_As_int(obj1
));
14146 if (SWIG_arg_fail(2)) SWIG_fail
;
14150 arg3
= (bool)(SWIG_As_bool(obj2
));
14151 if (SWIG_arg_fail(3)) SWIG_fail
;
14155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14156 (arg1
)->Enable(arg2
,arg3
);
14158 wxPyEndAllowThreads(__tstate
);
14159 if (PyErr_Occurred()) SWIG_fail
;
14161 Py_INCREF(Py_None
); resultobj
= Py_None
;
14168 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14169 PyObject
*resultobj
;
14170 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14172 bool arg3
= (bool) true ;
14173 PyObject
* obj0
= 0 ;
14174 PyObject
* obj1
= 0 ;
14175 PyObject
* obj2
= 0 ;
14176 char *kwnames
[] = {
14177 (char *) "self",(char *) "n",(char *) "show", NULL
14180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14182 if (SWIG_arg_fail(1)) SWIG_fail
;
14184 arg2
= (int)(SWIG_As_int(obj1
));
14185 if (SWIG_arg_fail(2)) SWIG_fail
;
14189 arg3
= (bool)(SWIG_As_bool(obj2
));
14190 if (SWIG_arg_fail(3)) SWIG_fail
;
14194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14195 (arg1
)->Show(arg2
,arg3
);
14197 wxPyEndAllowThreads(__tstate
);
14198 if (PyErr_Occurred()) SWIG_fail
;
14200 Py_INCREF(Py_None
); resultobj
= Py_None
;
14207 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14208 PyObject
*resultobj
;
14209 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14211 PyObject
* obj0
= 0 ;
14212 char *kwnames
[] = {
14213 (char *) "self", NULL
14216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14218 if (SWIG_arg_fail(1)) SWIG_fail
;
14220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14221 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
14223 wxPyEndAllowThreads(__tstate
);
14224 if (PyErr_Occurred()) SWIG_fail
;
14227 resultobj
= SWIG_From_int((int)(result
));
14235 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14236 PyObject
*resultobj
;
14237 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14239 PyObject
* obj0
= 0 ;
14240 char *kwnames
[] = {
14241 (char *) "self", NULL
14244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14246 if (SWIG_arg_fail(1)) SWIG_fail
;
14248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14249 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
14251 wxPyEndAllowThreads(__tstate
);
14252 if (PyErr_Occurred()) SWIG_fail
;
14255 resultobj
= SWIG_From_int((int)(result
));
14263 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14264 PyObject
*resultobj
;
14265 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14270 PyObject
* obj0
= 0 ;
14271 PyObject
* obj1
= 0 ;
14272 PyObject
* obj2
= 0 ;
14273 PyObject
* obj3
= 0 ;
14274 char *kwnames
[] = {
14275 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14280 if (SWIG_arg_fail(1)) SWIG_fail
;
14282 arg2
= (int)(SWIG_As_int(obj1
));
14283 if (SWIG_arg_fail(2)) SWIG_fail
;
14286 arg3
= (wxDirection
)(SWIG_As_int(obj2
));
14287 if (SWIG_arg_fail(3)) SWIG_fail
;
14290 arg4
= (long)(SWIG_As_long(obj3
));
14291 if (SWIG_arg_fail(4)) SWIG_fail
;
14294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14295 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
14297 wxPyEndAllowThreads(__tstate
);
14298 if (PyErr_Occurred()) SWIG_fail
;
14301 resultobj
= SWIG_From_int((int)(result
));
14309 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14310 PyObject
*resultobj
;
14311 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14312 wxVisualAttributes result
;
14313 PyObject
* obj0
= 0 ;
14314 char *kwnames
[] = {
14315 (char *) "variant", NULL
14318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14321 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14322 if (SWIG_arg_fail(1)) SWIG_fail
;
14326 if (!wxPyCheckForApp()) SWIG_fail
;
14327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14328 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14330 wxPyEndAllowThreads(__tstate
);
14331 if (PyErr_Occurred()) SWIG_fail
;
14334 wxVisualAttributes
* resultptr
;
14335 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14336 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14344 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14346 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14347 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14349 return Py_BuildValue((char *)"");
14351 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14352 PyObject
*resultobj
;
14353 wxWindow
*arg1
= (wxWindow
*) 0 ;
14354 int arg2
= (int) -1 ;
14355 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14356 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14357 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14358 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14359 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14360 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14361 long arg6
= (long) 0 ;
14362 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14363 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14364 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14365 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14366 wxRadioButton
*result
;
14367 bool temp3
= false ;
14370 bool temp8
= false ;
14371 PyObject
* obj0
= 0 ;
14372 PyObject
* obj1
= 0 ;
14373 PyObject
* obj2
= 0 ;
14374 PyObject
* obj3
= 0 ;
14375 PyObject
* obj4
= 0 ;
14376 PyObject
* obj5
= 0 ;
14377 PyObject
* obj6
= 0 ;
14378 PyObject
* obj7
= 0 ;
14379 char *kwnames
[] = {
14380 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14385 if (SWIG_arg_fail(1)) SWIG_fail
;
14388 arg2
= (int)(SWIG_As_int(obj1
));
14389 if (SWIG_arg_fail(2)) SWIG_fail
;
14394 arg3
= wxString_in_helper(obj2
);
14395 if (arg3
== NULL
) SWIG_fail
;
14402 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14408 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14413 arg6
= (long)(SWIG_As_long(obj5
));
14414 if (SWIG_arg_fail(6)) SWIG_fail
;
14419 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14420 if (SWIG_arg_fail(7)) SWIG_fail
;
14421 if (arg7
== NULL
) {
14422 SWIG_null_ref("wxValidator");
14424 if (SWIG_arg_fail(7)) SWIG_fail
;
14429 arg8
= wxString_in_helper(obj7
);
14430 if (arg8
== NULL
) SWIG_fail
;
14435 if (!wxPyCheckForApp()) SWIG_fail
;
14436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14437 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14439 wxPyEndAllowThreads(__tstate
);
14440 if (PyErr_Occurred()) SWIG_fail
;
14442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14465 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14466 PyObject
*resultobj
;
14467 wxRadioButton
*result
;
14468 char *kwnames
[] = {
14472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14474 if (!wxPyCheckForApp()) SWIG_fail
;
14475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14476 result
= (wxRadioButton
*)new wxRadioButton();
14478 wxPyEndAllowThreads(__tstate
);
14479 if (PyErr_Occurred()) SWIG_fail
;
14481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14488 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14489 PyObject
*resultobj
;
14490 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14491 wxWindow
*arg2
= (wxWindow
*) 0 ;
14492 int arg3
= (int) -1 ;
14493 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14494 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14495 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14496 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14497 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14498 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14499 long arg7
= (long) 0 ;
14500 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14501 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14502 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14503 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14505 bool temp4
= false ;
14508 bool temp9
= false ;
14509 PyObject
* obj0
= 0 ;
14510 PyObject
* obj1
= 0 ;
14511 PyObject
* obj2
= 0 ;
14512 PyObject
* obj3
= 0 ;
14513 PyObject
* obj4
= 0 ;
14514 PyObject
* obj5
= 0 ;
14515 PyObject
* obj6
= 0 ;
14516 PyObject
* obj7
= 0 ;
14517 PyObject
* obj8
= 0 ;
14518 char *kwnames
[] = {
14519 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14524 if (SWIG_arg_fail(1)) SWIG_fail
;
14525 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14526 if (SWIG_arg_fail(2)) SWIG_fail
;
14529 arg3
= (int)(SWIG_As_int(obj2
));
14530 if (SWIG_arg_fail(3)) SWIG_fail
;
14535 arg4
= wxString_in_helper(obj3
);
14536 if (arg4
== NULL
) SWIG_fail
;
14543 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14549 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14554 arg7
= (long)(SWIG_As_long(obj6
));
14555 if (SWIG_arg_fail(7)) SWIG_fail
;
14560 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14561 if (SWIG_arg_fail(8)) SWIG_fail
;
14562 if (arg8
== NULL
) {
14563 SWIG_null_ref("wxValidator");
14565 if (SWIG_arg_fail(8)) SWIG_fail
;
14570 arg9
= wxString_in_helper(obj8
);
14571 if (arg9
== NULL
) SWIG_fail
;
14576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14577 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14579 wxPyEndAllowThreads(__tstate
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14607 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14608 PyObject
*resultobj
;
14609 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14611 PyObject
* obj0
= 0 ;
14612 char *kwnames
[] = {
14613 (char *) "self", NULL
14616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14618 if (SWIG_arg_fail(1)) SWIG_fail
;
14620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14621 result
= (bool)(arg1
)->GetValue();
14623 wxPyEndAllowThreads(__tstate
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14635 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14636 PyObject
*resultobj
;
14637 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14639 PyObject
* obj0
= 0 ;
14640 PyObject
* obj1
= 0 ;
14641 char *kwnames
[] = {
14642 (char *) "self",(char *) "value", NULL
14645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14647 if (SWIG_arg_fail(1)) SWIG_fail
;
14649 arg2
= (bool)(SWIG_As_bool(obj1
));
14650 if (SWIG_arg_fail(2)) SWIG_fail
;
14653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14654 (arg1
)->SetValue(arg2
);
14656 wxPyEndAllowThreads(__tstate
);
14657 if (PyErr_Occurred()) SWIG_fail
;
14659 Py_INCREF(Py_None
); resultobj
= Py_None
;
14666 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14667 PyObject
*resultobj
;
14668 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14669 wxVisualAttributes result
;
14670 PyObject
* obj0
= 0 ;
14671 char *kwnames
[] = {
14672 (char *) "variant", NULL
14675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14678 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14679 if (SWIG_arg_fail(1)) SWIG_fail
;
14683 if (!wxPyCheckForApp()) SWIG_fail
;
14684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14685 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14687 wxPyEndAllowThreads(__tstate
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14691 wxVisualAttributes
* resultptr
;
14692 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14693 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14701 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
14703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14704 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
14706 return Py_BuildValue((char *)"");
14708 static int _wrap_SliderNameStr_set(PyObject
*) {
14709 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
14714 static PyObject
*_wrap_SliderNameStr_get(void) {
14719 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14721 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14728 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14729 PyObject
*resultobj
;
14730 wxWindow
*arg1
= (wxWindow
*) 0 ;
14731 int arg2
= (int) -1 ;
14732 int arg3
= (int) 0 ;
14733 int arg4
= (int) 0 ;
14734 int arg5
= (int) 100 ;
14735 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14736 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14737 wxSize
const &arg7_defvalue
= wxDefaultSize
;
14738 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
14739 long arg8
= (long) wxSL_HORIZONTAL
;
14740 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
14741 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
14742 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
14743 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
14747 bool temp10
= false ;
14748 PyObject
* obj0
= 0 ;
14749 PyObject
* obj1
= 0 ;
14750 PyObject
* obj2
= 0 ;
14751 PyObject
* obj3
= 0 ;
14752 PyObject
* obj4
= 0 ;
14753 PyObject
* obj5
= 0 ;
14754 PyObject
* obj6
= 0 ;
14755 PyObject
* obj7
= 0 ;
14756 PyObject
* obj8
= 0 ;
14757 PyObject
* obj9
= 0 ;
14758 char *kwnames
[] = {
14759 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14764 if (SWIG_arg_fail(1)) SWIG_fail
;
14767 arg2
= (int)(SWIG_As_int(obj1
));
14768 if (SWIG_arg_fail(2)) SWIG_fail
;
14773 arg3
= (int)(SWIG_As_int(obj2
));
14774 if (SWIG_arg_fail(3)) SWIG_fail
;
14779 arg4
= (int)(SWIG_As_int(obj3
));
14780 if (SWIG_arg_fail(4)) SWIG_fail
;
14785 arg5
= (int)(SWIG_As_int(obj4
));
14786 if (SWIG_arg_fail(5)) SWIG_fail
;
14792 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14798 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
14803 arg8
= (long)(SWIG_As_long(obj7
));
14804 if (SWIG_arg_fail(8)) SWIG_fail
;
14809 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14810 if (SWIG_arg_fail(9)) SWIG_fail
;
14811 if (arg9
== NULL
) {
14812 SWIG_null_ref("wxValidator");
14814 if (SWIG_arg_fail(9)) SWIG_fail
;
14819 arg10
= wxString_in_helper(obj9
);
14820 if (arg10
== NULL
) SWIG_fail
;
14825 if (!wxPyCheckForApp()) SWIG_fail
;
14826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14827 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
14829 wxPyEndAllowThreads(__tstate
);
14830 if (PyErr_Occurred()) SWIG_fail
;
14832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14847 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14848 PyObject
*resultobj
;
14850 char *kwnames
[] = {
14854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
14856 if (!wxPyCheckForApp()) SWIG_fail
;
14857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14858 result
= (wxSlider
*)new wxSlider();
14860 wxPyEndAllowThreads(__tstate
);
14861 if (PyErr_Occurred()) SWIG_fail
;
14863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14870 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14871 PyObject
*resultobj
;
14872 wxSlider
*arg1
= (wxSlider
*) 0 ;
14873 wxWindow
*arg2
= (wxWindow
*) 0 ;
14874 int arg3
= (int) -1 ;
14875 int arg4
= (int) 0 ;
14876 int arg5
= (int) 0 ;
14877 int arg6
= (int) 100 ;
14878 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14879 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14880 wxSize
const &arg8_defvalue
= wxDefaultSize
;
14881 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
14882 long arg9
= (long) wxSL_HORIZONTAL
;
14883 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
14884 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
14885 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
14886 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
14890 bool temp11
= false ;
14891 PyObject
* obj0
= 0 ;
14892 PyObject
* obj1
= 0 ;
14893 PyObject
* obj2
= 0 ;
14894 PyObject
* obj3
= 0 ;
14895 PyObject
* obj4
= 0 ;
14896 PyObject
* obj5
= 0 ;
14897 PyObject
* obj6
= 0 ;
14898 PyObject
* obj7
= 0 ;
14899 PyObject
* obj8
= 0 ;
14900 PyObject
* obj9
= 0 ;
14901 PyObject
* obj10
= 0 ;
14902 char *kwnames
[] = {
14903 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
14907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14908 if (SWIG_arg_fail(1)) SWIG_fail
;
14909 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14910 if (SWIG_arg_fail(2)) SWIG_fail
;
14913 arg3
= (int)(SWIG_As_int(obj2
));
14914 if (SWIG_arg_fail(3)) SWIG_fail
;
14919 arg4
= (int)(SWIG_As_int(obj3
));
14920 if (SWIG_arg_fail(4)) SWIG_fail
;
14925 arg5
= (int)(SWIG_As_int(obj4
));
14926 if (SWIG_arg_fail(5)) SWIG_fail
;
14931 arg6
= (int)(SWIG_As_int(obj5
));
14932 if (SWIG_arg_fail(6)) SWIG_fail
;
14938 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14944 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
14949 arg9
= (long)(SWIG_As_long(obj8
));
14950 if (SWIG_arg_fail(9)) SWIG_fail
;
14955 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14956 if (SWIG_arg_fail(10)) SWIG_fail
;
14957 if (arg10
== NULL
) {
14958 SWIG_null_ref("wxValidator");
14960 if (SWIG_arg_fail(10)) SWIG_fail
;
14965 arg11
= wxString_in_helper(obj10
);
14966 if (arg11
== NULL
) SWIG_fail
;
14971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14972 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
14974 wxPyEndAllowThreads(__tstate
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14994 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14995 PyObject
*resultobj
;
14996 wxSlider
*arg1
= (wxSlider
*) 0 ;
14998 PyObject
* obj0
= 0 ;
14999 char *kwnames
[] = {
15000 (char *) "self", NULL
15003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
15004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15005 if (SWIG_arg_fail(1)) SWIG_fail
;
15007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15008 result
= (int)((wxSlider
const *)arg1
)->GetValue();
15010 wxPyEndAllowThreads(__tstate
);
15011 if (PyErr_Occurred()) SWIG_fail
;
15014 resultobj
= SWIG_From_int((int)(result
));
15022 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15023 PyObject
*resultobj
;
15024 wxSlider
*arg1
= (wxSlider
*) 0 ;
15026 PyObject
* obj0
= 0 ;
15027 PyObject
* obj1
= 0 ;
15028 char *kwnames
[] = {
15029 (char *) "self",(char *) "value", NULL
15032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15034 if (SWIG_arg_fail(1)) SWIG_fail
;
15036 arg2
= (int)(SWIG_As_int(obj1
));
15037 if (SWIG_arg_fail(2)) SWIG_fail
;
15040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15041 (arg1
)->SetValue(arg2
);
15043 wxPyEndAllowThreads(__tstate
);
15044 if (PyErr_Occurred()) SWIG_fail
;
15046 Py_INCREF(Py_None
); resultobj
= Py_None
;
15053 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15054 PyObject
*resultobj
;
15055 wxSlider
*arg1
= (wxSlider
*) 0 ;
15058 PyObject
* obj0
= 0 ;
15059 PyObject
* obj1
= 0 ;
15060 PyObject
* obj2
= 0 ;
15061 char *kwnames
[] = {
15062 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15067 if (SWIG_arg_fail(1)) SWIG_fail
;
15069 arg2
= (int)(SWIG_As_int(obj1
));
15070 if (SWIG_arg_fail(2)) SWIG_fail
;
15073 arg3
= (int)(SWIG_As_int(obj2
));
15074 if (SWIG_arg_fail(3)) SWIG_fail
;
15077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15078 (arg1
)->SetRange(arg2
,arg3
);
15080 wxPyEndAllowThreads(__tstate
);
15081 if (PyErr_Occurred()) SWIG_fail
;
15083 Py_INCREF(Py_None
); resultobj
= Py_None
;
15090 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15091 PyObject
*resultobj
;
15092 wxSlider
*arg1
= (wxSlider
*) 0 ;
15094 PyObject
* obj0
= 0 ;
15095 char *kwnames
[] = {
15096 (char *) "self", NULL
15099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
15100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15101 if (SWIG_arg_fail(1)) SWIG_fail
;
15103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15104 result
= (int)((wxSlider
const *)arg1
)->GetMin();
15106 wxPyEndAllowThreads(__tstate
);
15107 if (PyErr_Occurred()) SWIG_fail
;
15110 resultobj
= SWIG_From_int((int)(result
));
15118 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15119 PyObject
*resultobj
;
15120 wxSlider
*arg1
= (wxSlider
*) 0 ;
15122 PyObject
* obj0
= 0 ;
15123 char *kwnames
[] = {
15124 (char *) "self", NULL
15127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15129 if (SWIG_arg_fail(1)) SWIG_fail
;
15131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15132 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15134 wxPyEndAllowThreads(__tstate
);
15135 if (PyErr_Occurred()) SWIG_fail
;
15138 resultobj
= SWIG_From_int((int)(result
));
15146 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15147 PyObject
*resultobj
;
15148 wxSlider
*arg1
= (wxSlider
*) 0 ;
15150 PyObject
* obj0
= 0 ;
15151 PyObject
* obj1
= 0 ;
15152 char *kwnames
[] = {
15153 (char *) "self",(char *) "minValue", NULL
15156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
15157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15158 if (SWIG_arg_fail(1)) SWIG_fail
;
15160 arg2
= (int)(SWIG_As_int(obj1
));
15161 if (SWIG_arg_fail(2)) SWIG_fail
;
15164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15165 (arg1
)->SetMin(arg2
);
15167 wxPyEndAllowThreads(__tstate
);
15168 if (PyErr_Occurred()) SWIG_fail
;
15170 Py_INCREF(Py_None
); resultobj
= Py_None
;
15177 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15178 PyObject
*resultobj
;
15179 wxSlider
*arg1
= (wxSlider
*) 0 ;
15181 PyObject
* obj0
= 0 ;
15182 PyObject
* obj1
= 0 ;
15183 char *kwnames
[] = {
15184 (char *) "self",(char *) "maxValue", NULL
15187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
15188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15189 if (SWIG_arg_fail(1)) SWIG_fail
;
15191 arg2
= (int)(SWIG_As_int(obj1
));
15192 if (SWIG_arg_fail(2)) SWIG_fail
;
15195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15196 (arg1
)->SetMax(arg2
);
15198 wxPyEndAllowThreads(__tstate
);
15199 if (PyErr_Occurred()) SWIG_fail
;
15201 Py_INCREF(Py_None
); resultobj
= Py_None
;
15208 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15209 PyObject
*resultobj
;
15210 wxSlider
*arg1
= (wxSlider
*) 0 ;
15212 PyObject
* obj0
= 0 ;
15213 PyObject
* obj1
= 0 ;
15214 char *kwnames
[] = {
15215 (char *) "self",(char *) "lineSize", NULL
15218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15220 if (SWIG_arg_fail(1)) SWIG_fail
;
15222 arg2
= (int)(SWIG_As_int(obj1
));
15223 if (SWIG_arg_fail(2)) SWIG_fail
;
15226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15227 (arg1
)->SetLineSize(arg2
);
15229 wxPyEndAllowThreads(__tstate
);
15230 if (PyErr_Occurred()) SWIG_fail
;
15232 Py_INCREF(Py_None
); resultobj
= Py_None
;
15239 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15240 PyObject
*resultobj
;
15241 wxSlider
*arg1
= (wxSlider
*) 0 ;
15243 PyObject
* obj0
= 0 ;
15244 PyObject
* obj1
= 0 ;
15245 char *kwnames
[] = {
15246 (char *) "self",(char *) "pageSize", NULL
15249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15251 if (SWIG_arg_fail(1)) SWIG_fail
;
15253 arg2
= (int)(SWIG_As_int(obj1
));
15254 if (SWIG_arg_fail(2)) SWIG_fail
;
15257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15258 (arg1
)->SetPageSize(arg2
);
15260 wxPyEndAllowThreads(__tstate
);
15261 if (PyErr_Occurred()) SWIG_fail
;
15263 Py_INCREF(Py_None
); resultobj
= Py_None
;
15270 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15271 PyObject
*resultobj
;
15272 wxSlider
*arg1
= (wxSlider
*) 0 ;
15274 PyObject
* obj0
= 0 ;
15275 char *kwnames
[] = {
15276 (char *) "self", NULL
15279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
15280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15281 if (SWIG_arg_fail(1)) SWIG_fail
;
15283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15284 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15286 wxPyEndAllowThreads(__tstate
);
15287 if (PyErr_Occurred()) SWIG_fail
;
15290 resultobj
= SWIG_From_int((int)(result
));
15298 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15299 PyObject
*resultobj
;
15300 wxSlider
*arg1
= (wxSlider
*) 0 ;
15302 PyObject
* obj0
= 0 ;
15303 char *kwnames
[] = {
15304 (char *) "self", NULL
15307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15309 if (SWIG_arg_fail(1)) SWIG_fail
;
15311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15312 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15314 wxPyEndAllowThreads(__tstate
);
15315 if (PyErr_Occurred()) SWIG_fail
;
15318 resultobj
= SWIG_From_int((int)(result
));
15326 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15327 PyObject
*resultobj
;
15328 wxSlider
*arg1
= (wxSlider
*) 0 ;
15330 PyObject
* obj0
= 0 ;
15331 PyObject
* obj1
= 0 ;
15332 char *kwnames
[] = {
15333 (char *) "self",(char *) "lenPixels", NULL
15336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15338 if (SWIG_arg_fail(1)) SWIG_fail
;
15340 arg2
= (int)(SWIG_As_int(obj1
));
15341 if (SWIG_arg_fail(2)) SWIG_fail
;
15344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15345 (arg1
)->SetThumbLength(arg2
);
15347 wxPyEndAllowThreads(__tstate
);
15348 if (PyErr_Occurred()) SWIG_fail
;
15350 Py_INCREF(Py_None
); resultobj
= Py_None
;
15357 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15358 PyObject
*resultobj
;
15359 wxSlider
*arg1
= (wxSlider
*) 0 ;
15361 PyObject
* obj0
= 0 ;
15362 char *kwnames
[] = {
15363 (char *) "self", NULL
15366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15368 if (SWIG_arg_fail(1)) SWIG_fail
;
15370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15371 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15373 wxPyEndAllowThreads(__tstate
);
15374 if (PyErr_Occurred()) SWIG_fail
;
15377 resultobj
= SWIG_From_int((int)(result
));
15385 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15386 PyObject
*resultobj
;
15387 wxSlider
*arg1
= (wxSlider
*) 0 ;
15389 int arg3
= (int) 1 ;
15390 PyObject
* obj0
= 0 ;
15391 PyObject
* obj1
= 0 ;
15392 PyObject
* obj2
= 0 ;
15393 char *kwnames
[] = {
15394 (char *) "self",(char *) "n",(char *) "pos", NULL
15397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15399 if (SWIG_arg_fail(1)) SWIG_fail
;
15401 arg2
= (int)(SWIG_As_int(obj1
));
15402 if (SWIG_arg_fail(2)) SWIG_fail
;
15406 arg3
= (int)(SWIG_As_int(obj2
));
15407 if (SWIG_arg_fail(3)) SWIG_fail
;
15411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15412 (arg1
)->SetTickFreq(arg2
,arg3
);
15414 wxPyEndAllowThreads(__tstate
);
15415 if (PyErr_Occurred()) SWIG_fail
;
15417 Py_INCREF(Py_None
); resultobj
= Py_None
;
15424 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15425 PyObject
*resultobj
;
15426 wxSlider
*arg1
= (wxSlider
*) 0 ;
15428 PyObject
* obj0
= 0 ;
15429 char *kwnames
[] = {
15430 (char *) "self", NULL
15433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15435 if (SWIG_arg_fail(1)) SWIG_fail
;
15437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15438 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15440 wxPyEndAllowThreads(__tstate
);
15441 if (PyErr_Occurred()) SWIG_fail
;
15444 resultobj
= SWIG_From_int((int)(result
));
15452 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15453 PyObject
*resultobj
;
15454 wxSlider
*arg1
= (wxSlider
*) 0 ;
15455 PyObject
* obj0
= 0 ;
15456 char *kwnames
[] = {
15457 (char *) "self", NULL
15460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
15461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15462 if (SWIG_arg_fail(1)) SWIG_fail
;
15464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15465 (arg1
)->ClearTicks();
15467 wxPyEndAllowThreads(__tstate
);
15468 if (PyErr_Occurred()) SWIG_fail
;
15470 Py_INCREF(Py_None
); resultobj
= Py_None
;
15477 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15478 PyObject
*resultobj
;
15479 wxSlider
*arg1
= (wxSlider
*) 0 ;
15481 PyObject
* obj0
= 0 ;
15482 PyObject
* obj1
= 0 ;
15483 char *kwnames
[] = {
15484 (char *) "self",(char *) "tickPos", NULL
15487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
15488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15489 if (SWIG_arg_fail(1)) SWIG_fail
;
15491 arg2
= (int)(SWIG_As_int(obj1
));
15492 if (SWIG_arg_fail(2)) SWIG_fail
;
15495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15496 (arg1
)->SetTick(arg2
);
15498 wxPyEndAllowThreads(__tstate
);
15499 if (PyErr_Occurred()) SWIG_fail
;
15501 Py_INCREF(Py_None
); resultobj
= Py_None
;
15508 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15509 PyObject
*resultobj
;
15510 wxSlider
*arg1
= (wxSlider
*) 0 ;
15511 PyObject
* obj0
= 0 ;
15512 char *kwnames
[] = {
15513 (char *) "self", NULL
15516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15518 if (SWIG_arg_fail(1)) SWIG_fail
;
15520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15521 (arg1
)->ClearSel();
15523 wxPyEndAllowThreads(__tstate
);
15524 if (PyErr_Occurred()) SWIG_fail
;
15526 Py_INCREF(Py_None
); resultobj
= Py_None
;
15533 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15534 PyObject
*resultobj
;
15535 wxSlider
*arg1
= (wxSlider
*) 0 ;
15537 PyObject
* obj0
= 0 ;
15538 char *kwnames
[] = {
15539 (char *) "self", NULL
15542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15544 if (SWIG_arg_fail(1)) SWIG_fail
;
15546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15547 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15549 wxPyEndAllowThreads(__tstate
);
15550 if (PyErr_Occurred()) SWIG_fail
;
15553 resultobj
= SWIG_From_int((int)(result
));
15561 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15562 PyObject
*resultobj
;
15563 wxSlider
*arg1
= (wxSlider
*) 0 ;
15565 PyObject
* obj0
= 0 ;
15566 char *kwnames
[] = {
15567 (char *) "self", NULL
15570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15572 if (SWIG_arg_fail(1)) SWIG_fail
;
15574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15575 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15577 wxPyEndAllowThreads(__tstate
);
15578 if (PyErr_Occurred()) SWIG_fail
;
15581 resultobj
= SWIG_From_int((int)(result
));
15589 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15590 PyObject
*resultobj
;
15591 wxSlider
*arg1
= (wxSlider
*) 0 ;
15594 PyObject
* obj0
= 0 ;
15595 PyObject
* obj1
= 0 ;
15596 PyObject
* obj2
= 0 ;
15597 char *kwnames
[] = {
15598 (char *) "self",(char *) "min",(char *) "max", NULL
15601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15603 if (SWIG_arg_fail(1)) SWIG_fail
;
15605 arg2
= (int)(SWIG_As_int(obj1
));
15606 if (SWIG_arg_fail(2)) SWIG_fail
;
15609 arg3
= (int)(SWIG_As_int(obj2
));
15610 if (SWIG_arg_fail(3)) SWIG_fail
;
15613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15614 (arg1
)->SetSelection(arg2
,arg3
);
15616 wxPyEndAllowThreads(__tstate
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15619 Py_INCREF(Py_None
); resultobj
= Py_None
;
15626 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15627 PyObject
*resultobj
;
15628 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15629 wxVisualAttributes result
;
15630 PyObject
* obj0
= 0 ;
15631 char *kwnames
[] = {
15632 (char *) "variant", NULL
15635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15638 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
15639 if (SWIG_arg_fail(1)) SWIG_fail
;
15643 if (!wxPyCheckForApp()) SWIG_fail
;
15644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15645 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15647 wxPyEndAllowThreads(__tstate
);
15648 if (PyErr_Occurred()) SWIG_fail
;
15651 wxVisualAttributes
* resultptr
;
15652 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
15653 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15661 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
15663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15664 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
15666 return Py_BuildValue((char *)"");
15668 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
15669 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
15674 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
15679 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15681 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15688 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15689 PyObject
*resultobj
;
15690 wxWindow
*arg1
= (wxWindow
*) 0 ;
15691 int arg2
= (int) -1 ;
15692 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15693 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15694 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15695 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15696 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15697 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15698 long arg6
= (long) 0 ;
15699 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15700 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15701 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
15702 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15703 wxToggleButton
*result
;
15704 bool temp3
= false ;
15707 bool temp8
= false ;
15708 PyObject
* obj0
= 0 ;
15709 PyObject
* obj1
= 0 ;
15710 PyObject
* obj2
= 0 ;
15711 PyObject
* obj3
= 0 ;
15712 PyObject
* obj4
= 0 ;
15713 PyObject
* obj5
= 0 ;
15714 PyObject
* obj6
= 0 ;
15715 PyObject
* obj7
= 0 ;
15716 char *kwnames
[] = {
15717 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15722 if (SWIG_arg_fail(1)) SWIG_fail
;
15725 arg2
= (int)(SWIG_As_int(obj1
));
15726 if (SWIG_arg_fail(2)) SWIG_fail
;
15731 arg3
= wxString_in_helper(obj2
);
15732 if (arg3
== NULL
) SWIG_fail
;
15739 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15745 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15750 arg6
= (long)(SWIG_As_long(obj5
));
15751 if (SWIG_arg_fail(6)) SWIG_fail
;
15756 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15757 if (SWIG_arg_fail(7)) SWIG_fail
;
15758 if (arg7
== NULL
) {
15759 SWIG_null_ref("wxValidator");
15761 if (SWIG_arg_fail(7)) SWIG_fail
;
15766 arg8
= wxString_in_helper(obj7
);
15767 if (arg8
== NULL
) SWIG_fail
;
15772 if (!wxPyCheckForApp()) SWIG_fail
;
15773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15774 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
15776 wxPyEndAllowThreads(__tstate
);
15777 if (PyErr_Occurred()) SWIG_fail
;
15779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15802 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15803 PyObject
*resultobj
;
15804 wxToggleButton
*result
;
15805 char *kwnames
[] = {
15809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
15811 if (!wxPyCheckForApp()) SWIG_fail
;
15812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15813 result
= (wxToggleButton
*)new wxToggleButton();
15815 wxPyEndAllowThreads(__tstate
);
15816 if (PyErr_Occurred()) SWIG_fail
;
15818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15825 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15826 PyObject
*resultobj
;
15827 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15828 wxWindow
*arg2
= (wxWindow
*) 0 ;
15829 int arg3
= (int) -1 ;
15830 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15831 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15832 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15833 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15834 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15835 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15836 long arg7
= (long) 0 ;
15837 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
15838 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
15839 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
15840 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15842 bool temp4
= false ;
15845 bool temp9
= false ;
15846 PyObject
* obj0
= 0 ;
15847 PyObject
* obj1
= 0 ;
15848 PyObject
* obj2
= 0 ;
15849 PyObject
* obj3
= 0 ;
15850 PyObject
* obj4
= 0 ;
15851 PyObject
* obj5
= 0 ;
15852 PyObject
* obj6
= 0 ;
15853 PyObject
* obj7
= 0 ;
15854 PyObject
* obj8
= 0 ;
15855 char *kwnames
[] = {
15856 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15861 if (SWIG_arg_fail(1)) SWIG_fail
;
15862 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15863 if (SWIG_arg_fail(2)) SWIG_fail
;
15866 arg3
= (int)(SWIG_As_int(obj2
));
15867 if (SWIG_arg_fail(3)) SWIG_fail
;
15872 arg4
= wxString_in_helper(obj3
);
15873 if (arg4
== NULL
) SWIG_fail
;
15880 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15886 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15891 arg7
= (long)(SWIG_As_long(obj6
));
15892 if (SWIG_arg_fail(7)) SWIG_fail
;
15897 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15898 if (SWIG_arg_fail(8)) SWIG_fail
;
15899 if (arg8
== NULL
) {
15900 SWIG_null_ref("wxValidator");
15902 if (SWIG_arg_fail(8)) SWIG_fail
;
15907 arg9
= wxString_in_helper(obj8
);
15908 if (arg9
== NULL
) SWIG_fail
;
15913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15914 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
15916 wxPyEndAllowThreads(__tstate
);
15917 if (PyErr_Occurred()) SWIG_fail
;
15920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15944 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15945 PyObject
*resultobj
;
15946 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15948 PyObject
* obj0
= 0 ;
15949 PyObject
* obj1
= 0 ;
15950 char *kwnames
[] = {
15951 (char *) "self",(char *) "value", NULL
15954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15956 if (SWIG_arg_fail(1)) SWIG_fail
;
15958 arg2
= (bool)(SWIG_As_bool(obj1
));
15959 if (SWIG_arg_fail(2)) SWIG_fail
;
15962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15963 (arg1
)->SetValue(arg2
);
15965 wxPyEndAllowThreads(__tstate
);
15966 if (PyErr_Occurred()) SWIG_fail
;
15968 Py_INCREF(Py_None
); resultobj
= Py_None
;
15975 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15976 PyObject
*resultobj
;
15977 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15979 PyObject
* obj0
= 0 ;
15980 char *kwnames
[] = {
15981 (char *) "self", NULL
15984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
15985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15986 if (SWIG_arg_fail(1)) SWIG_fail
;
15988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15989 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
15991 wxPyEndAllowThreads(__tstate
);
15992 if (PyErr_Occurred()) SWIG_fail
;
15995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16003 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16004 PyObject
*resultobj
;
16005 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16006 wxString
*arg2
= 0 ;
16007 bool temp2
= false ;
16008 PyObject
* obj0
= 0 ;
16009 PyObject
* obj1
= 0 ;
16010 char *kwnames
[] = {
16011 (char *) "self",(char *) "label", NULL
16014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16016 if (SWIG_arg_fail(1)) SWIG_fail
;
16018 arg2
= wxString_in_helper(obj1
);
16019 if (arg2
== NULL
) SWIG_fail
;
16023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16024 (arg1
)->SetLabel((wxString
const &)*arg2
);
16026 wxPyEndAllowThreads(__tstate
);
16027 if (PyErr_Occurred()) SWIG_fail
;
16029 Py_INCREF(Py_None
); resultobj
= Py_None
;
16044 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16045 PyObject
*resultobj
;
16046 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16047 wxVisualAttributes result
;
16048 PyObject
* obj0
= 0 ;
16049 char *kwnames
[] = {
16050 (char *) "variant", NULL
16053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16056 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16057 if (SWIG_arg_fail(1)) SWIG_fail
;
16061 if (!wxPyCheckForApp()) SWIG_fail
;
16062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16063 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16065 wxPyEndAllowThreads(__tstate
);
16066 if (PyErr_Occurred()) SWIG_fail
;
16069 wxVisualAttributes
* resultptr
;
16070 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16071 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16079 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
16081 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16082 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
16084 return Py_BuildValue((char *)"");
16086 static int _wrap_NotebookNameStr_set(PyObject
*) {
16087 PyErr_SetString(PyExc_TypeError
,"Variable NotebookNameStr is read-only.");
16092 static PyObject
*_wrap_NotebookNameStr_get(void) {
16097 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16099 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16106 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16107 PyObject
*resultobj
;
16108 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16110 PyObject
* obj0
= 0 ;
16111 char *kwnames
[] = {
16112 (char *) "self", NULL
16115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
16116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16117 if (SWIG_arg_fail(1)) SWIG_fail
;
16119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16120 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16122 wxPyEndAllowThreads(__tstate
);
16123 if (PyErr_Occurred()) SWIG_fail
;
16126 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16134 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16135 PyObject
*resultobj
;
16136 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16139 PyObject
* obj0
= 0 ;
16140 PyObject
* obj1
= 0 ;
16141 char *kwnames
[] = {
16142 (char *) "self",(char *) "n", NULL
16145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16147 if (SWIG_arg_fail(1)) SWIG_fail
;
16149 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16150 if (SWIG_arg_fail(2)) SWIG_fail
;
16153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16154 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16156 wxPyEndAllowThreads(__tstate
);
16157 if (PyErr_Occurred()) SWIG_fail
;
16160 resultobj
= wxPyMake_wxObject(result
, 0);
16168 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16169 PyObject
*resultobj
;
16170 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16172 PyObject
* obj0
= 0 ;
16173 char *kwnames
[] = {
16174 (char *) "self", NULL
16177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16179 if (SWIG_arg_fail(1)) SWIG_fail
;
16181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16182 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16184 wxPyEndAllowThreads(__tstate
);
16185 if (PyErr_Occurred()) SWIG_fail
;
16188 resultobj
= wxPyMake_wxObject(result
, 0);
16196 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16197 PyObject
*resultobj
;
16198 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16200 PyObject
* obj0
= 0 ;
16201 char *kwnames
[] = {
16202 (char *) "self", NULL
16205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16207 if (SWIG_arg_fail(1)) SWIG_fail
;
16209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16210 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16212 wxPyEndAllowThreads(__tstate
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16216 resultobj
= SWIG_From_int((int)(result
));
16224 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16225 PyObject
*resultobj
;
16226 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16228 wxString
*arg3
= 0 ;
16230 bool temp3
= false ;
16231 PyObject
* obj0
= 0 ;
16232 PyObject
* obj1
= 0 ;
16233 PyObject
* obj2
= 0 ;
16234 char *kwnames
[] = {
16235 (char *) "self",(char *) "n",(char *) "strText", NULL
16238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16240 if (SWIG_arg_fail(1)) SWIG_fail
;
16242 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16243 if (SWIG_arg_fail(2)) SWIG_fail
;
16246 arg3
= wxString_in_helper(obj2
);
16247 if (arg3
== NULL
) SWIG_fail
;
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16252 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16254 wxPyEndAllowThreads(__tstate
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16274 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16275 PyObject
*resultobj
;
16276 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16279 PyObject
* obj0
= 0 ;
16280 PyObject
* obj1
= 0 ;
16281 char *kwnames
[] = {
16282 (char *) "self",(char *) "n", NULL
16285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
16286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16287 if (SWIG_arg_fail(1)) SWIG_fail
;
16289 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16290 if (SWIG_arg_fail(2)) SWIG_fail
;
16293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16294 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16296 wxPyEndAllowThreads(__tstate
);
16297 if (PyErr_Occurred()) SWIG_fail
;
16301 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16303 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16312 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16313 PyObject
*resultobj
;
16314 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16315 wxImageList
*arg2
= (wxImageList
*) 0 ;
16316 PyObject
* obj0
= 0 ;
16317 PyObject
* obj1
= 0 ;
16318 char *kwnames
[] = {
16319 (char *) "self",(char *) "imageList", NULL
16322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16324 if (SWIG_arg_fail(1)) SWIG_fail
;
16325 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16326 if (SWIG_arg_fail(2)) SWIG_fail
;
16328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16329 (arg1
)->SetImageList(arg2
);
16331 wxPyEndAllowThreads(__tstate
);
16332 if (PyErr_Occurred()) SWIG_fail
;
16334 Py_INCREF(Py_None
); resultobj
= Py_None
;
16341 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16342 PyObject
*resultobj
;
16343 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16344 wxImageList
*arg2
= (wxImageList
*) 0 ;
16345 PyObject
* obj0
= 0 ;
16346 PyObject
* obj1
= 0 ;
16347 char *kwnames
[] = {
16348 (char *) "self",(char *) "imageList", NULL
16351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16353 if (SWIG_arg_fail(1)) SWIG_fail
;
16354 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16355 if (SWIG_arg_fail(2)) SWIG_fail
;
16357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16358 (arg1
)->AssignImageList(arg2
);
16360 wxPyEndAllowThreads(__tstate
);
16361 if (PyErr_Occurred()) SWIG_fail
;
16363 Py_INCREF(Py_None
); resultobj
= Py_None
;
16370 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16371 PyObject
*resultobj
;
16372 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16373 wxImageList
*result
;
16374 PyObject
* obj0
= 0 ;
16375 char *kwnames
[] = {
16376 (char *) "self", NULL
16379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16381 if (SWIG_arg_fail(1)) SWIG_fail
;
16383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16384 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16386 wxPyEndAllowThreads(__tstate
);
16387 if (PyErr_Occurred()) SWIG_fail
;
16390 resultobj
= wxPyMake_wxObject(result
, 0);
16398 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16399 PyObject
*resultobj
;
16400 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16403 PyObject
* obj0
= 0 ;
16404 PyObject
* obj1
= 0 ;
16405 char *kwnames
[] = {
16406 (char *) "self",(char *) "n", NULL
16409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16411 if (SWIG_arg_fail(1)) SWIG_fail
;
16413 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16414 if (SWIG_arg_fail(2)) SWIG_fail
;
16417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16418 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16420 wxPyEndAllowThreads(__tstate
);
16421 if (PyErr_Occurred()) SWIG_fail
;
16424 resultobj
= SWIG_From_int((int)(result
));
16432 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16433 PyObject
*resultobj
;
16434 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16438 PyObject
* obj0
= 0 ;
16439 PyObject
* obj1
= 0 ;
16440 PyObject
* obj2
= 0 ;
16441 char *kwnames
[] = {
16442 (char *) "self",(char *) "n",(char *) "imageId", NULL
16445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16447 if (SWIG_arg_fail(1)) SWIG_fail
;
16449 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16450 if (SWIG_arg_fail(2)) SWIG_fail
;
16453 arg3
= (int)(SWIG_As_int(obj2
));
16454 if (SWIG_arg_fail(3)) SWIG_fail
;
16457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16458 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16460 wxPyEndAllowThreads(__tstate
);
16461 if (PyErr_Occurred()) SWIG_fail
;
16464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16472 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16473 PyObject
*resultobj
;
16474 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16477 PyObject
* obj0
= 0 ;
16478 PyObject
* obj1
= 0 ;
16479 char *kwnames
[] = {
16480 (char *) "self",(char *) "size", NULL
16483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16485 if (SWIG_arg_fail(1)) SWIG_fail
;
16488 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16492 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16494 wxPyEndAllowThreads(__tstate
);
16495 if (PyErr_Occurred()) SWIG_fail
;
16497 Py_INCREF(Py_None
); resultobj
= Py_None
;
16504 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16505 PyObject
*resultobj
;
16506 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16510 PyObject
* obj0
= 0 ;
16511 PyObject
* obj1
= 0 ;
16512 char *kwnames
[] = {
16513 (char *) "self",(char *) "sizePage", NULL
16516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16518 if (SWIG_arg_fail(1)) SWIG_fail
;
16521 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16525 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16527 wxPyEndAllowThreads(__tstate
);
16528 if (PyErr_Occurred()) SWIG_fail
;
16531 wxSize
* resultptr
;
16532 resultptr
= new wxSize((wxSize
&)(result
));
16533 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16541 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16542 PyObject
*resultobj
;
16543 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16546 PyObject
* obj0
= 0 ;
16547 PyObject
* obj1
= 0 ;
16548 char *kwnames
[] = {
16549 (char *) "self",(char *) "n", NULL
16552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16554 if (SWIG_arg_fail(1)) SWIG_fail
;
16556 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16557 if (SWIG_arg_fail(2)) SWIG_fail
;
16560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16561 result
= (bool)(arg1
)->DeletePage(arg2
);
16563 wxPyEndAllowThreads(__tstate
);
16564 if (PyErr_Occurred()) SWIG_fail
;
16567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16575 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16576 PyObject
*resultobj
;
16577 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16580 PyObject
* obj0
= 0 ;
16581 PyObject
* obj1
= 0 ;
16582 char *kwnames
[] = {
16583 (char *) "self",(char *) "n", NULL
16586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16588 if (SWIG_arg_fail(1)) SWIG_fail
;
16590 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16591 if (SWIG_arg_fail(2)) SWIG_fail
;
16594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16595 result
= (bool)(arg1
)->RemovePage(arg2
);
16597 wxPyEndAllowThreads(__tstate
);
16598 if (PyErr_Occurred()) SWIG_fail
;
16601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16609 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16610 PyObject
*resultobj
;
16611 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16613 PyObject
* obj0
= 0 ;
16614 char *kwnames
[] = {
16615 (char *) "self", NULL
16618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16620 if (SWIG_arg_fail(1)) SWIG_fail
;
16622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16623 result
= (bool)(arg1
)->DeleteAllPages();
16625 wxPyEndAllowThreads(__tstate
);
16626 if (PyErr_Occurred()) SWIG_fail
;
16629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16637 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16638 PyObject
*resultobj
;
16639 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16640 wxWindow
*arg2
= (wxWindow
*) 0 ;
16641 wxString
*arg3
= 0 ;
16642 bool arg4
= (bool) false ;
16643 int arg5
= (int) -1 ;
16645 bool temp3
= false ;
16646 PyObject
* obj0
= 0 ;
16647 PyObject
* obj1
= 0 ;
16648 PyObject
* obj2
= 0 ;
16649 PyObject
* obj3
= 0 ;
16650 PyObject
* obj4
= 0 ;
16651 char *kwnames
[] = {
16652 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16657 if (SWIG_arg_fail(1)) SWIG_fail
;
16658 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16659 if (SWIG_arg_fail(2)) SWIG_fail
;
16661 arg3
= wxString_in_helper(obj2
);
16662 if (arg3
== NULL
) SWIG_fail
;
16667 arg4
= (bool)(SWIG_As_bool(obj3
));
16668 if (SWIG_arg_fail(4)) SWIG_fail
;
16673 arg5
= (int)(SWIG_As_int(obj4
));
16674 if (SWIG_arg_fail(5)) SWIG_fail
;
16678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16679 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
16681 wxPyEndAllowThreads(__tstate
);
16682 if (PyErr_Occurred()) SWIG_fail
;
16685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16701 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16702 PyObject
*resultobj
;
16703 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16705 wxWindow
*arg3
= (wxWindow
*) 0 ;
16706 wxString
*arg4
= 0 ;
16707 bool arg5
= (bool) false ;
16708 int arg6
= (int) -1 ;
16710 bool temp4
= false ;
16711 PyObject
* obj0
= 0 ;
16712 PyObject
* obj1
= 0 ;
16713 PyObject
* obj2
= 0 ;
16714 PyObject
* obj3
= 0 ;
16715 PyObject
* obj4
= 0 ;
16716 PyObject
* obj5
= 0 ;
16717 char *kwnames
[] = {
16718 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16723 if (SWIG_arg_fail(1)) SWIG_fail
;
16725 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16726 if (SWIG_arg_fail(2)) SWIG_fail
;
16728 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16729 if (SWIG_arg_fail(3)) SWIG_fail
;
16731 arg4
= wxString_in_helper(obj3
);
16732 if (arg4
== NULL
) SWIG_fail
;
16737 arg5
= (bool)(SWIG_As_bool(obj4
));
16738 if (SWIG_arg_fail(5)) SWIG_fail
;
16743 arg6
= (int)(SWIG_As_int(obj5
));
16744 if (SWIG_arg_fail(6)) SWIG_fail
;
16748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16749 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16751 wxPyEndAllowThreads(__tstate
);
16752 if (PyErr_Occurred()) SWIG_fail
;
16755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16771 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16772 PyObject
*resultobj
;
16773 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16776 PyObject
* obj0
= 0 ;
16777 PyObject
* obj1
= 0 ;
16778 char *kwnames
[] = {
16779 (char *) "self",(char *) "n", NULL
16782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16784 if (SWIG_arg_fail(1)) SWIG_fail
;
16786 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16787 if (SWIG_arg_fail(2)) SWIG_fail
;
16790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16791 result
= (int)(arg1
)->SetSelection(arg2
);
16793 wxPyEndAllowThreads(__tstate
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16797 resultobj
= SWIG_From_int((int)(result
));
16805 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16806 PyObject
*resultobj
;
16807 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16808 bool arg2
= (bool) true ;
16809 PyObject
* obj0
= 0 ;
16810 PyObject
* obj1
= 0 ;
16811 char *kwnames
[] = {
16812 (char *) "self",(char *) "forward", NULL
16815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16817 if (SWIG_arg_fail(1)) SWIG_fail
;
16820 arg2
= (bool)(SWIG_As_bool(obj1
));
16821 if (SWIG_arg_fail(2)) SWIG_fail
;
16825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16826 (arg1
)->AdvanceSelection(arg2
);
16828 wxPyEndAllowThreads(__tstate
);
16829 if (PyErr_Occurred()) SWIG_fail
;
16831 Py_INCREF(Py_None
); resultobj
= Py_None
;
16838 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16839 PyObject
*resultobj
;
16840 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16841 wxVisualAttributes result
;
16842 PyObject
* obj0
= 0 ;
16843 char *kwnames
[] = {
16844 (char *) "variant", NULL
16847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16850 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16851 if (SWIG_arg_fail(1)) SWIG_fail
;
16855 if (!wxPyCheckForApp()) SWIG_fail
;
16856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16857 result
= wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16859 wxPyEndAllowThreads(__tstate
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16863 wxVisualAttributes
* resultptr
;
16864 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16865 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16873 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
16875 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16876 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
16878 return Py_BuildValue((char *)"");
16880 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16881 PyObject
*resultobj
;
16882 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16883 int arg2
= (int) 0 ;
16884 int arg3
= (int) -1 ;
16885 int arg4
= (int) -1 ;
16886 wxBookCtrlBaseEvent
*result
;
16887 PyObject
* obj0
= 0 ;
16888 PyObject
* obj1
= 0 ;
16889 PyObject
* obj2
= 0 ;
16890 PyObject
* obj3
= 0 ;
16891 char *kwnames
[] = {
16892 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16898 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16899 if (SWIG_arg_fail(1)) SWIG_fail
;
16904 arg2
= (int)(SWIG_As_int(obj1
));
16905 if (SWIG_arg_fail(2)) SWIG_fail
;
16910 arg3
= (int)(SWIG_As_int(obj2
));
16911 if (SWIG_arg_fail(3)) SWIG_fail
;
16916 arg4
= (int)(SWIG_As_int(obj3
));
16917 if (SWIG_arg_fail(4)) SWIG_fail
;
16921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16922 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
16924 wxPyEndAllowThreads(__tstate
);
16925 if (PyErr_Occurred()) SWIG_fail
;
16927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
16934 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16935 PyObject
*resultobj
;
16936 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16938 PyObject
* obj0
= 0 ;
16939 char *kwnames
[] = {
16940 (char *) "self", NULL
16943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
16944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16945 if (SWIG_arg_fail(1)) SWIG_fail
;
16947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16948 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
16950 wxPyEndAllowThreads(__tstate
);
16951 if (PyErr_Occurred()) SWIG_fail
;
16954 resultobj
= SWIG_From_int((int)(result
));
16962 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16963 PyObject
*resultobj
;
16964 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16966 PyObject
* obj0
= 0 ;
16967 PyObject
* obj1
= 0 ;
16968 char *kwnames
[] = {
16969 (char *) "self",(char *) "nSel", NULL
16972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16974 if (SWIG_arg_fail(1)) SWIG_fail
;
16976 arg2
= (int)(SWIG_As_int(obj1
));
16977 if (SWIG_arg_fail(2)) SWIG_fail
;
16980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16981 (arg1
)->SetSelection(arg2
);
16983 wxPyEndAllowThreads(__tstate
);
16984 if (PyErr_Occurred()) SWIG_fail
;
16986 Py_INCREF(Py_None
); resultobj
= Py_None
;
16993 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16994 PyObject
*resultobj
;
16995 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16997 PyObject
* obj0
= 0 ;
16998 char *kwnames
[] = {
16999 (char *) "self", NULL
17002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
17003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17004 if (SWIG_arg_fail(1)) SWIG_fail
;
17006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17007 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
17009 wxPyEndAllowThreads(__tstate
);
17010 if (PyErr_Occurred()) SWIG_fail
;
17013 resultobj
= SWIG_From_int((int)(result
));
17021 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17022 PyObject
*resultobj
;
17023 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17025 PyObject
* obj0
= 0 ;
17026 PyObject
* obj1
= 0 ;
17027 char *kwnames
[] = {
17028 (char *) "self",(char *) "nOldSel", NULL
17031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17033 if (SWIG_arg_fail(1)) SWIG_fail
;
17035 arg2
= (int)(SWIG_As_int(obj1
));
17036 if (SWIG_arg_fail(2)) SWIG_fail
;
17039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17040 (arg1
)->SetOldSelection(arg2
);
17042 wxPyEndAllowThreads(__tstate
);
17043 if (PyErr_Occurred()) SWIG_fail
;
17045 Py_INCREF(Py_None
); resultobj
= Py_None
;
17052 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
17054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17055 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
17057 return Py_BuildValue((char *)"");
17059 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17060 PyObject
*resultobj
;
17061 wxWindow
*arg1
= (wxWindow
*) 0 ;
17062 int arg2
= (int) -1 ;
17063 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17064 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17065 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17066 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17067 long arg5
= (long) 0 ;
17068 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
17069 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17070 wxNotebook
*result
;
17073 bool temp6
= false ;
17074 PyObject
* obj0
= 0 ;
17075 PyObject
* obj1
= 0 ;
17076 PyObject
* obj2
= 0 ;
17077 PyObject
* obj3
= 0 ;
17078 PyObject
* obj4
= 0 ;
17079 PyObject
* obj5
= 0 ;
17080 char *kwnames
[] = {
17081 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17086 if (SWIG_arg_fail(1)) SWIG_fail
;
17089 arg2
= (int)(SWIG_As_int(obj1
));
17090 if (SWIG_arg_fail(2)) SWIG_fail
;
17096 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17102 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17107 arg5
= (long)(SWIG_As_long(obj4
));
17108 if (SWIG_arg_fail(5)) SWIG_fail
;
17113 arg6
= wxString_in_helper(obj5
);
17114 if (arg6
== NULL
) SWIG_fail
;
17119 if (!wxPyCheckForApp()) SWIG_fail
;
17120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17121 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17123 wxPyEndAllowThreads(__tstate
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17141 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17142 PyObject
*resultobj
;
17143 wxNotebook
*result
;
17144 char *kwnames
[] = {
17148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17150 if (!wxPyCheckForApp()) SWIG_fail
;
17151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17152 result
= (wxNotebook
*)new wxNotebook();
17154 wxPyEndAllowThreads(__tstate
);
17155 if (PyErr_Occurred()) SWIG_fail
;
17157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17164 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17165 PyObject
*resultobj
;
17166 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17167 wxWindow
*arg2
= (wxWindow
*) 0 ;
17168 int arg3
= (int) -1 ;
17169 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17170 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17171 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17172 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17173 long arg6
= (long) 0 ;
17174 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
17175 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17179 bool temp7
= false ;
17180 PyObject
* obj0
= 0 ;
17181 PyObject
* obj1
= 0 ;
17182 PyObject
* obj2
= 0 ;
17183 PyObject
* obj3
= 0 ;
17184 PyObject
* obj4
= 0 ;
17185 PyObject
* obj5
= 0 ;
17186 PyObject
* obj6
= 0 ;
17187 char *kwnames
[] = {
17188 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17193 if (SWIG_arg_fail(1)) SWIG_fail
;
17194 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17195 if (SWIG_arg_fail(2)) SWIG_fail
;
17198 arg3
= (int)(SWIG_As_int(obj2
));
17199 if (SWIG_arg_fail(3)) SWIG_fail
;
17205 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17211 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17216 arg6
= (long)(SWIG_As_long(obj5
));
17217 if (SWIG_arg_fail(6)) SWIG_fail
;
17222 arg7
= wxString_in_helper(obj6
);
17223 if (arg7
== NULL
) SWIG_fail
;
17228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17229 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17231 wxPyEndAllowThreads(__tstate
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17251 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17252 PyObject
*resultobj
;
17253 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17255 PyObject
* obj0
= 0 ;
17256 char *kwnames
[] = {
17257 (char *) "self", NULL
17260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17262 if (SWIG_arg_fail(1)) SWIG_fail
;
17264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17265 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17267 wxPyEndAllowThreads(__tstate
);
17268 if (PyErr_Occurred()) SWIG_fail
;
17271 resultobj
= SWIG_From_int((int)(result
));
17279 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17280 PyObject
*resultobj
;
17281 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17284 PyObject
* obj0
= 0 ;
17285 PyObject
* obj1
= 0 ;
17286 char *kwnames
[] = {
17287 (char *) "self",(char *) "padding", NULL
17290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17292 if (SWIG_arg_fail(1)) SWIG_fail
;
17295 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17299 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17301 wxPyEndAllowThreads(__tstate
);
17302 if (PyErr_Occurred()) SWIG_fail
;
17304 Py_INCREF(Py_None
); resultobj
= Py_None
;
17311 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17312 PyObject
*resultobj
;
17313 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17316 PyObject
* obj0
= 0 ;
17317 PyObject
* obj1
= 0 ;
17318 char *kwnames
[] = {
17319 (char *) "self",(char *) "sz", NULL
17322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17324 if (SWIG_arg_fail(1)) SWIG_fail
;
17327 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17331 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17333 wxPyEndAllowThreads(__tstate
);
17334 if (PyErr_Occurred()) SWIG_fail
;
17336 Py_INCREF(Py_None
); resultobj
= Py_None
;
17343 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17344 PyObject
*resultobj
;
17345 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17346 wxPoint
*arg2
= 0 ;
17347 long *arg3
= (long *) 0 ;
17352 PyObject
* obj0
= 0 ;
17353 PyObject
* obj1
= 0 ;
17354 char *kwnames
[] = {
17355 (char *) "self",(char *) "pt", NULL
17358 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
17360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17361 if (SWIG_arg_fail(1)) SWIG_fail
;
17364 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17368 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17374 resultobj
= SWIG_From_int((int)(result
));
17376 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17377 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17384 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17385 PyObject
*resultobj
;
17386 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17390 PyObject
* obj0
= 0 ;
17391 PyObject
* obj1
= 0 ;
17392 char *kwnames
[] = {
17393 (char *) "self",(char *) "sizePage", NULL
17396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
17397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17398 if (SWIG_arg_fail(1)) SWIG_fail
;
17401 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17405 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17407 wxPyEndAllowThreads(__tstate
);
17408 if (PyErr_Occurred()) SWIG_fail
;
17411 wxSize
* resultptr
;
17412 resultptr
= new wxSize((wxSize
&)(result
));
17413 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17421 static PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17422 PyObject
*resultobj
;
17423 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17425 PyObject
* obj0
= 0 ;
17426 char *kwnames
[] = {
17427 (char *) "self", NULL
17430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames
,&obj0
)) goto fail
;
17431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17432 if (SWIG_arg_fail(1)) SWIG_fail
;
17434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17435 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
17437 wxPyEndAllowThreads(__tstate
);
17438 if (PyErr_Occurred()) SWIG_fail
;
17441 wxColour
* resultptr
;
17442 resultptr
= new wxColour((wxColour
&)(result
));
17443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17451 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17452 PyObject
*resultobj
;
17453 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17454 wxVisualAttributes result
;
17455 PyObject
* obj0
= 0 ;
17456 char *kwnames
[] = {
17457 (char *) "variant", NULL
17460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17463 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
17464 if (SWIG_arg_fail(1)) SWIG_fail
;
17468 if (!wxPyCheckForApp()) SWIG_fail
;
17469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17470 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
17472 wxPyEndAllowThreads(__tstate
);
17473 if (PyErr_Occurred()) SWIG_fail
;
17476 wxVisualAttributes
* resultptr
;
17477 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
17478 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17486 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17489 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17491 return Py_BuildValue((char *)"");
17493 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17494 PyObject
*resultobj
;
17495 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17496 int arg2
= (int) 0 ;
17497 int arg3
= (int) -1 ;
17498 int arg4
= (int) -1 ;
17499 wxNotebookEvent
*result
;
17500 PyObject
* obj0
= 0 ;
17501 PyObject
* obj1
= 0 ;
17502 PyObject
* obj2
= 0 ;
17503 PyObject
* obj3
= 0 ;
17504 char *kwnames
[] = {
17505 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17511 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17512 if (SWIG_arg_fail(1)) SWIG_fail
;
17517 arg2
= (int)(SWIG_As_int(obj1
));
17518 if (SWIG_arg_fail(2)) SWIG_fail
;
17523 arg3
= (int)(SWIG_As_int(obj2
));
17524 if (SWIG_arg_fail(3)) SWIG_fail
;
17529 arg4
= (int)(SWIG_As_int(obj3
));
17530 if (SWIG_arg_fail(4)) SWIG_fail
;
17534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17535 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17537 wxPyEndAllowThreads(__tstate
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17547 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17549 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17550 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17552 return Py_BuildValue((char *)"");
17554 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17555 PyObject
*resultobj
;
17556 wxWindow
*arg1
= (wxWindow
*) 0 ;
17557 int arg2
= (int) -1 ;
17558 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17559 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17560 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17561 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17562 long arg5
= (long) 0 ;
17563 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17564 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17565 wxListbook
*result
;
17568 bool temp6
= false ;
17569 PyObject
* obj0
= 0 ;
17570 PyObject
* obj1
= 0 ;
17571 PyObject
* obj2
= 0 ;
17572 PyObject
* obj3
= 0 ;
17573 PyObject
* obj4
= 0 ;
17574 PyObject
* obj5
= 0 ;
17575 char *kwnames
[] = {
17576 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17581 if (SWIG_arg_fail(1)) SWIG_fail
;
17584 arg2
= (int)(SWIG_As_int(obj1
));
17585 if (SWIG_arg_fail(2)) SWIG_fail
;
17591 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17597 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17602 arg5
= (long)(SWIG_As_long(obj4
));
17603 if (SWIG_arg_fail(5)) SWIG_fail
;
17608 arg6
= wxString_in_helper(obj5
);
17609 if (arg6
== NULL
) SWIG_fail
;
17614 if (!wxPyCheckForApp()) SWIG_fail
;
17615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17616 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17618 wxPyEndAllowThreads(__tstate
);
17619 if (PyErr_Occurred()) SWIG_fail
;
17621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17636 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17637 PyObject
*resultobj
;
17638 wxListbook
*result
;
17639 char *kwnames
[] = {
17643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
17645 if (!wxPyCheckForApp()) SWIG_fail
;
17646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17647 result
= (wxListbook
*)new wxListbook();
17649 wxPyEndAllowThreads(__tstate
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17659 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17660 PyObject
*resultobj
;
17661 wxListbook
*arg1
= (wxListbook
*) 0 ;
17662 wxWindow
*arg2
= (wxWindow
*) 0 ;
17663 int arg3
= (int) -1 ;
17664 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17665 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17666 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17667 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17668 long arg6
= (long) 0 ;
17669 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17670 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17674 bool temp7
= false ;
17675 PyObject
* obj0
= 0 ;
17676 PyObject
* obj1
= 0 ;
17677 PyObject
* obj2
= 0 ;
17678 PyObject
* obj3
= 0 ;
17679 PyObject
* obj4
= 0 ;
17680 PyObject
* obj5
= 0 ;
17681 PyObject
* obj6
= 0 ;
17682 char *kwnames
[] = {
17683 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17688 if (SWIG_arg_fail(1)) SWIG_fail
;
17689 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17690 if (SWIG_arg_fail(2)) SWIG_fail
;
17693 arg3
= (int)(SWIG_As_int(obj2
));
17694 if (SWIG_arg_fail(3)) SWIG_fail
;
17700 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17706 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17711 arg6
= (long)(SWIG_As_long(obj5
));
17712 if (SWIG_arg_fail(6)) SWIG_fail
;
17717 arg7
= wxString_in_helper(obj6
);
17718 if (arg7
== NULL
) SWIG_fail
;
17723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17724 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17726 wxPyEndAllowThreads(__tstate
);
17727 if (PyErr_Occurred()) SWIG_fail
;
17730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17746 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17747 PyObject
*resultobj
;
17748 wxListbook
*arg1
= (wxListbook
*) 0 ;
17750 PyObject
* obj0
= 0 ;
17751 char *kwnames
[] = {
17752 (char *) "self", NULL
17755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
17756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17757 if (SWIG_arg_fail(1)) SWIG_fail
;
17759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17760 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
17762 wxPyEndAllowThreads(__tstate
);
17763 if (PyErr_Occurred()) SWIG_fail
;
17766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17774 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17775 PyObject
*resultobj
;
17776 wxListbook
*arg1
= (wxListbook
*) 0 ;
17777 wxListView
*result
;
17778 PyObject
* obj0
= 0 ;
17779 char *kwnames
[] = {
17780 (char *) "self", NULL
17783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
17784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17785 if (SWIG_arg_fail(1)) SWIG_fail
;
17787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17788 result
= (wxListView
*)(arg1
)->GetListView();
17790 wxPyEndAllowThreads(__tstate
);
17791 if (PyErr_Occurred()) SWIG_fail
;
17793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
17800 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
17802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17803 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
17805 return Py_BuildValue((char *)"");
17807 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17808 PyObject
*resultobj
;
17809 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17810 int arg2
= (int) 0 ;
17811 int arg3
= (int) -1 ;
17812 int arg4
= (int) -1 ;
17813 wxListbookEvent
*result
;
17814 PyObject
* obj0
= 0 ;
17815 PyObject
* obj1
= 0 ;
17816 PyObject
* obj2
= 0 ;
17817 PyObject
* obj3
= 0 ;
17818 char *kwnames
[] = {
17819 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17825 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17826 if (SWIG_arg_fail(1)) SWIG_fail
;
17831 arg2
= (int)(SWIG_As_int(obj1
));
17832 if (SWIG_arg_fail(2)) SWIG_fail
;
17837 arg3
= (int)(SWIG_As_int(obj2
));
17838 if (SWIG_arg_fail(3)) SWIG_fail
;
17843 arg4
= (int)(SWIG_As_int(obj3
));
17844 if (SWIG_arg_fail(4)) SWIG_fail
;
17848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17849 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
17851 wxPyEndAllowThreads(__tstate
);
17852 if (PyErr_Occurred()) SWIG_fail
;
17854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
17861 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
17863 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17864 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
17866 return Py_BuildValue((char *)"");
17868 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17869 PyObject
*resultobj
;
17870 wxWindow
*arg1
= (wxWindow
*) 0 ;
17872 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17873 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17874 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17875 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17876 long arg5
= (long) 0 ;
17877 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17878 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17879 wxChoicebook
*result
;
17882 bool temp6
= false ;
17883 PyObject
* obj0
= 0 ;
17884 PyObject
* obj1
= 0 ;
17885 PyObject
* obj2
= 0 ;
17886 PyObject
* obj3
= 0 ;
17887 PyObject
* obj4
= 0 ;
17888 PyObject
* obj5
= 0 ;
17889 char *kwnames
[] = {
17890 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17895 if (SWIG_arg_fail(1)) SWIG_fail
;
17897 arg2
= (int)(SWIG_As_int(obj1
));
17898 if (SWIG_arg_fail(2)) SWIG_fail
;
17903 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17909 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17914 arg5
= (long)(SWIG_As_long(obj4
));
17915 if (SWIG_arg_fail(5)) SWIG_fail
;
17920 arg6
= wxString_in_helper(obj5
);
17921 if (arg6
== NULL
) SWIG_fail
;
17926 if (!wxPyCheckForApp()) SWIG_fail
;
17927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17928 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17930 wxPyEndAllowThreads(__tstate
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17948 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17949 PyObject
*resultobj
;
17950 wxChoicebook
*result
;
17951 char *kwnames
[] = {
17955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
17957 if (!wxPyCheckForApp()) SWIG_fail
;
17958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17959 result
= (wxChoicebook
*)new wxChoicebook();
17961 wxPyEndAllowThreads(__tstate
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17971 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17972 PyObject
*resultobj
;
17973 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
17974 wxWindow
*arg2
= (wxWindow
*) 0 ;
17976 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17977 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17978 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17979 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17980 long arg6
= (long) 0 ;
17981 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17982 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17986 bool temp7
= false ;
17987 PyObject
* obj0
= 0 ;
17988 PyObject
* obj1
= 0 ;
17989 PyObject
* obj2
= 0 ;
17990 PyObject
* obj3
= 0 ;
17991 PyObject
* obj4
= 0 ;
17992 PyObject
* obj5
= 0 ;
17993 PyObject
* obj6
= 0 ;
17994 char *kwnames
[] = {
17995 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18000 if (SWIG_arg_fail(1)) SWIG_fail
;
18001 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18002 if (SWIG_arg_fail(2)) SWIG_fail
;
18004 arg3
= (int)(SWIG_As_int(obj2
));
18005 if (SWIG_arg_fail(3)) SWIG_fail
;
18010 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18016 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18021 arg6
= (long)(SWIG_As_long(obj5
));
18022 if (SWIG_arg_fail(6)) SWIG_fail
;
18027 arg7
= wxString_in_helper(obj6
);
18028 if (arg7
== NULL
) SWIG_fail
;
18033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18034 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18036 wxPyEndAllowThreads(__tstate
);
18037 if (PyErr_Occurred()) SWIG_fail
;
18040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18056 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18057 PyObject
*resultobj
;
18058 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18060 PyObject
* obj0
= 0 ;
18061 char *kwnames
[] = {
18062 (char *) "self", NULL
18065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
18066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18067 if (SWIG_arg_fail(1)) SWIG_fail
;
18069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18070 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
18072 wxPyEndAllowThreads(__tstate
);
18073 if (PyErr_Occurred()) SWIG_fail
;
18076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18084 static PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18085 PyObject
*resultobj
;
18086 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18088 PyObject
* obj0
= 0 ;
18089 char *kwnames
[] = {
18090 (char *) "self", NULL
18093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_GetChoiceCtrl",kwnames
,&obj0
)) goto fail
;
18094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18095 if (SWIG_arg_fail(1)) SWIG_fail
;
18097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18098 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
18100 wxPyEndAllowThreads(__tstate
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 0);
18110 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18111 PyObject
*resultobj
;
18112 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18114 PyObject
* obj0
= 0 ;
18115 char *kwnames
[] = {
18116 (char *) "self", NULL
18119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18121 if (SWIG_arg_fail(1)) SWIG_fail
;
18123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18124 result
= (bool)(arg1
)->DeleteAllPages();
18126 wxPyEndAllowThreads(__tstate
);
18127 if (PyErr_Occurred()) SWIG_fail
;
18130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18138 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18141 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18143 return Py_BuildValue((char *)"");
18145 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18146 PyObject
*resultobj
;
18147 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18148 int arg2
= (int) 0 ;
18149 int arg3
= (int) -1 ;
18150 int arg4
= (int) -1 ;
18151 wxChoicebookEvent
*result
;
18152 PyObject
* obj0
= 0 ;
18153 PyObject
* obj1
= 0 ;
18154 PyObject
* obj2
= 0 ;
18155 PyObject
* obj3
= 0 ;
18156 char *kwnames
[] = {
18157 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18163 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18164 if (SWIG_arg_fail(1)) SWIG_fail
;
18169 arg2
= (int)(SWIG_As_int(obj1
));
18170 if (SWIG_arg_fail(2)) SWIG_fail
;
18175 arg3
= (int)(SWIG_As_int(obj2
));
18176 if (SWIG_arg_fail(3)) SWIG_fail
;
18181 arg4
= (int)(SWIG_As_int(obj3
));
18182 if (SWIG_arg_fail(4)) SWIG_fail
;
18186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18187 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18189 wxPyEndAllowThreads(__tstate
);
18190 if (PyErr_Occurred()) SWIG_fail
;
18192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18199 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18201 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18202 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18204 return Py_BuildValue((char *)"");
18206 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18207 PyObject
*resultobj
;
18208 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18209 wxBookCtrlSizer
*result
;
18210 PyObject
* obj0
= 0 ;
18211 char *kwnames
[] = {
18212 (char *) "nb", NULL
18215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
18216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
18217 if (SWIG_arg_fail(1)) SWIG_fail
;
18219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18220 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
18222 wxPyEndAllowThreads(__tstate
);
18223 if (PyErr_Occurred()) SWIG_fail
;
18225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
18232 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18233 PyObject
*resultobj
;
18234 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18235 PyObject
* obj0
= 0 ;
18236 char *kwnames
[] = {
18237 (char *) "self", NULL
18240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18242 if (SWIG_arg_fail(1)) SWIG_fail
;
18244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18245 (arg1
)->RecalcSizes();
18247 wxPyEndAllowThreads(__tstate
);
18248 if (PyErr_Occurred()) SWIG_fail
;
18250 Py_INCREF(Py_None
); resultobj
= Py_None
;
18257 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18258 PyObject
*resultobj
;
18259 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18261 PyObject
* obj0
= 0 ;
18262 char *kwnames
[] = {
18263 (char *) "self", NULL
18266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18268 if (SWIG_arg_fail(1)) SWIG_fail
;
18270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18271 result
= (arg1
)->CalcMin();
18273 wxPyEndAllowThreads(__tstate
);
18274 if (PyErr_Occurred()) SWIG_fail
;
18277 wxSize
* resultptr
;
18278 resultptr
= new wxSize((wxSize
&)(result
));
18279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18287 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18288 PyObject
*resultobj
;
18289 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18290 wxBookCtrlBase
*result
;
18291 PyObject
* obj0
= 0 ;
18292 char *kwnames
[] = {
18293 (char *) "self", NULL
18296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
18297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18298 if (SWIG_arg_fail(1)) SWIG_fail
;
18300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18301 result
= (wxBookCtrlBase
*)(arg1
)->GetControl();
18303 wxPyEndAllowThreads(__tstate
);
18304 if (PyErr_Occurred()) SWIG_fail
;
18306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBase
, 0);
18313 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
18315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18316 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
18318 return Py_BuildValue((char *)"");
18320 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18321 PyObject
*resultobj
;
18322 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
18323 wxNotebookSizer
*result
;
18324 PyObject
* obj0
= 0 ;
18325 char *kwnames
[] = {
18326 (char *) "nb", NULL
18329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
18330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
18331 if (SWIG_arg_fail(1)) SWIG_fail
;
18333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18334 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
18336 wxPyEndAllowThreads(__tstate
);
18337 if (PyErr_Occurred()) SWIG_fail
;
18339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
18346 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18347 PyObject
*resultobj
;
18348 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18349 PyObject
* obj0
= 0 ;
18350 char *kwnames
[] = {
18351 (char *) "self", NULL
18354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18356 if (SWIG_arg_fail(1)) SWIG_fail
;
18358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18359 (arg1
)->RecalcSizes();
18361 wxPyEndAllowThreads(__tstate
);
18362 if (PyErr_Occurred()) SWIG_fail
;
18364 Py_INCREF(Py_None
); resultobj
= Py_None
;
18371 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18372 PyObject
*resultobj
;
18373 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18375 PyObject
* obj0
= 0 ;
18376 char *kwnames
[] = {
18377 (char *) "self", NULL
18380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18382 if (SWIG_arg_fail(1)) SWIG_fail
;
18384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18385 result
= (arg1
)->CalcMin();
18387 wxPyEndAllowThreads(__tstate
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18391 wxSize
* resultptr
;
18392 resultptr
= new wxSize((wxSize
&)(result
));
18393 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18401 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18402 PyObject
*resultobj
;
18403 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18404 wxNotebook
*result
;
18405 PyObject
* obj0
= 0 ;
18406 char *kwnames
[] = {
18407 (char *) "self", NULL
18410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
18411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18412 if (SWIG_arg_fail(1)) SWIG_fail
;
18414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18415 result
= (wxNotebook
*)(arg1
)->GetNotebook();
18417 wxPyEndAllowThreads(__tstate
);
18418 if (PyErr_Occurred()) SWIG_fail
;
18421 resultobj
= wxPyMake_wxObject(result
, 0);
18429 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
18431 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18432 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
18434 return Py_BuildValue((char *)"");
18436 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18437 PyObject
*resultobj
;
18438 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18440 PyObject
* obj0
= 0 ;
18441 char *kwnames
[] = {
18442 (char *) "self", NULL
18445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
18446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18447 if (SWIG_arg_fail(1)) SWIG_fail
;
18449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18450 result
= (int)(arg1
)->GetId();
18452 wxPyEndAllowThreads(__tstate
);
18453 if (PyErr_Occurred()) SWIG_fail
;
18456 resultobj
= SWIG_From_int((int)(result
));
18464 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18465 PyObject
*resultobj
;
18466 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18468 PyObject
* obj0
= 0 ;
18469 char *kwnames
[] = {
18470 (char *) "self", NULL
18473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
18474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18475 if (SWIG_arg_fail(1)) SWIG_fail
;
18477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18478 result
= (wxControl
*)(arg1
)->GetControl();
18480 wxPyEndAllowThreads(__tstate
);
18481 if (PyErr_Occurred()) SWIG_fail
;
18484 resultobj
= wxPyMake_wxObject(result
, 0);
18492 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18493 PyObject
*resultobj
;
18494 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18495 wxToolBarBase
*result
;
18496 PyObject
* obj0
= 0 ;
18497 char *kwnames
[] = {
18498 (char *) "self", NULL
18501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
18502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18503 if (SWIG_arg_fail(1)) SWIG_fail
;
18505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18506 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
18508 wxPyEndAllowThreads(__tstate
);
18509 if (PyErr_Occurred()) SWIG_fail
;
18512 resultobj
= wxPyMake_wxObject(result
, 0);
18520 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18521 PyObject
*resultobj
;
18522 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18524 PyObject
* obj0
= 0 ;
18525 char *kwnames
[] = {
18526 (char *) "self", NULL
18529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
18530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18531 if (SWIG_arg_fail(1)) SWIG_fail
;
18533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18534 result
= (int)(arg1
)->IsButton();
18536 wxPyEndAllowThreads(__tstate
);
18537 if (PyErr_Occurred()) SWIG_fail
;
18540 resultobj
= SWIG_From_int((int)(result
));
18548 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18549 PyObject
*resultobj
;
18550 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18552 PyObject
* obj0
= 0 ;
18553 char *kwnames
[] = {
18554 (char *) "self", NULL
18557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
18558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18559 if (SWIG_arg_fail(1)) SWIG_fail
;
18561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18562 result
= (int)(arg1
)->IsControl();
18564 wxPyEndAllowThreads(__tstate
);
18565 if (PyErr_Occurred()) SWIG_fail
;
18568 resultobj
= SWIG_From_int((int)(result
));
18576 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18577 PyObject
*resultobj
;
18578 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18580 PyObject
* obj0
= 0 ;
18581 char *kwnames
[] = {
18582 (char *) "self", NULL
18585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
18586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18587 if (SWIG_arg_fail(1)) SWIG_fail
;
18589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18590 result
= (int)(arg1
)->IsSeparator();
18592 wxPyEndAllowThreads(__tstate
);
18593 if (PyErr_Occurred()) SWIG_fail
;
18596 resultobj
= SWIG_From_int((int)(result
));
18604 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18605 PyObject
*resultobj
;
18606 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18608 PyObject
* obj0
= 0 ;
18609 char *kwnames
[] = {
18610 (char *) "self", NULL
18613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18615 if (SWIG_arg_fail(1)) SWIG_fail
;
18617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18618 result
= (int)(arg1
)->GetStyle();
18620 wxPyEndAllowThreads(__tstate
);
18621 if (PyErr_Occurred()) SWIG_fail
;
18624 resultobj
= SWIG_From_int((int)(result
));
18632 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18633 PyObject
*resultobj
;
18634 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18636 PyObject
* obj0
= 0 ;
18637 char *kwnames
[] = {
18638 (char *) "self", NULL
18641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
18642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18643 if (SWIG_arg_fail(1)) SWIG_fail
;
18645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18646 result
= (wxItemKind
)(arg1
)->GetKind();
18648 wxPyEndAllowThreads(__tstate
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18651 resultobj
= SWIG_From_int((result
));
18658 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18659 PyObject
*resultobj
;
18660 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18662 PyObject
* obj0
= 0 ;
18663 char *kwnames
[] = {
18664 (char *) "self", NULL
18667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
18668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18669 if (SWIG_arg_fail(1)) SWIG_fail
;
18671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18672 result
= (bool)(arg1
)->IsEnabled();
18674 wxPyEndAllowThreads(__tstate
);
18675 if (PyErr_Occurred()) SWIG_fail
;
18678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18686 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18687 PyObject
*resultobj
;
18688 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18690 PyObject
* obj0
= 0 ;
18691 char *kwnames
[] = {
18692 (char *) "self", NULL
18695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
18696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18697 if (SWIG_arg_fail(1)) SWIG_fail
;
18699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18700 result
= (bool)(arg1
)->IsToggled();
18702 wxPyEndAllowThreads(__tstate
);
18703 if (PyErr_Occurred()) SWIG_fail
;
18706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18714 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18715 PyObject
*resultobj
;
18716 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18718 PyObject
* obj0
= 0 ;
18719 char *kwnames
[] = {
18720 (char *) "self", NULL
18723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
18724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18725 if (SWIG_arg_fail(1)) SWIG_fail
;
18727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18728 result
= (bool)(arg1
)->CanBeToggled();
18730 wxPyEndAllowThreads(__tstate
);
18731 if (PyErr_Occurred()) SWIG_fail
;
18734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18742 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18743 PyObject
*resultobj
;
18744 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18746 PyObject
* obj0
= 0 ;
18747 char *kwnames
[] = {
18748 (char *) "self", NULL
18751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
18752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18753 if (SWIG_arg_fail(1)) SWIG_fail
;
18755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18757 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
18758 result
= (wxBitmap
*) &_result_ref
;
18761 wxPyEndAllowThreads(__tstate
);
18762 if (PyErr_Occurred()) SWIG_fail
;
18765 wxBitmap
* resultptr
= new wxBitmap(*result
);
18766 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18774 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18775 PyObject
*resultobj
;
18776 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18778 PyObject
* obj0
= 0 ;
18779 char *kwnames
[] = {
18780 (char *) "self", NULL
18783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
18784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18785 if (SWIG_arg_fail(1)) SWIG_fail
;
18787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18789 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
18790 result
= (wxBitmap
*) &_result_ref
;
18793 wxPyEndAllowThreads(__tstate
);
18794 if (PyErr_Occurred()) SWIG_fail
;
18797 wxBitmap
* resultptr
= new wxBitmap(*result
);
18798 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18806 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18807 PyObject
*resultobj
;
18808 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18810 PyObject
* obj0
= 0 ;
18811 char *kwnames
[] = {
18812 (char *) "self", NULL
18815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
18816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18817 if (SWIG_arg_fail(1)) SWIG_fail
;
18819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18820 result
= (arg1
)->GetBitmap();
18822 wxPyEndAllowThreads(__tstate
);
18823 if (PyErr_Occurred()) SWIG_fail
;
18826 wxBitmap
* resultptr
;
18827 resultptr
= new wxBitmap((wxBitmap
&)(result
));
18828 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18836 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18837 PyObject
*resultobj
;
18838 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18840 PyObject
* obj0
= 0 ;
18841 char *kwnames
[] = {
18842 (char *) "self", NULL
18845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
18846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18847 if (SWIG_arg_fail(1)) SWIG_fail
;
18849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18850 result
= (arg1
)->GetLabel();
18852 wxPyEndAllowThreads(__tstate
);
18853 if (PyErr_Occurred()) SWIG_fail
;
18857 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18859 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18868 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18869 PyObject
*resultobj
;
18870 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18872 PyObject
* obj0
= 0 ;
18873 char *kwnames
[] = {
18874 (char *) "self", NULL
18877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
18878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18879 if (SWIG_arg_fail(1)) SWIG_fail
;
18881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18882 result
= (arg1
)->GetShortHelp();
18884 wxPyEndAllowThreads(__tstate
);
18885 if (PyErr_Occurred()) SWIG_fail
;
18889 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18891 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18900 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18901 PyObject
*resultobj
;
18902 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18904 PyObject
* obj0
= 0 ;
18905 char *kwnames
[] = {
18906 (char *) "self", NULL
18909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
18910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18911 if (SWIG_arg_fail(1)) SWIG_fail
;
18913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18914 result
= (arg1
)->GetLongHelp();
18916 wxPyEndAllowThreads(__tstate
);
18917 if (PyErr_Occurred()) SWIG_fail
;
18921 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18923 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18932 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18933 PyObject
*resultobj
;
18934 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18937 PyObject
* obj0
= 0 ;
18938 PyObject
* obj1
= 0 ;
18939 char *kwnames
[] = {
18940 (char *) "self",(char *) "enable", NULL
18943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18945 if (SWIG_arg_fail(1)) SWIG_fail
;
18947 arg2
= (bool)(SWIG_As_bool(obj1
));
18948 if (SWIG_arg_fail(2)) SWIG_fail
;
18951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18952 result
= (bool)(arg1
)->Enable(arg2
);
18954 wxPyEndAllowThreads(__tstate
);
18955 if (PyErr_Occurred()) SWIG_fail
;
18958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18966 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18967 PyObject
*resultobj
;
18968 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18969 PyObject
* obj0
= 0 ;
18970 char *kwnames
[] = {
18971 (char *) "self", NULL
18974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
18975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18976 if (SWIG_arg_fail(1)) SWIG_fail
;
18978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18981 wxPyEndAllowThreads(__tstate
);
18982 if (PyErr_Occurred()) SWIG_fail
;
18984 Py_INCREF(Py_None
); resultobj
= Py_None
;
18991 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18992 PyObject
*resultobj
;
18993 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18996 PyObject
* obj0
= 0 ;
18997 PyObject
* obj1
= 0 ;
18998 char *kwnames
[] = {
18999 (char *) "self",(char *) "toggle", NULL
19002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
19003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19004 if (SWIG_arg_fail(1)) SWIG_fail
;
19006 arg2
= (bool)(SWIG_As_bool(obj1
));
19007 if (SWIG_arg_fail(2)) SWIG_fail
;
19010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19011 result
= (bool)(arg1
)->SetToggle(arg2
);
19013 wxPyEndAllowThreads(__tstate
);
19014 if (PyErr_Occurred()) SWIG_fail
;
19017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19025 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19026 PyObject
*resultobj
;
19027 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19028 wxString
*arg2
= 0 ;
19030 bool temp2
= false ;
19031 PyObject
* obj0
= 0 ;
19032 PyObject
* obj1
= 0 ;
19033 char *kwnames
[] = {
19034 (char *) "self",(char *) "help", NULL
19037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19039 if (SWIG_arg_fail(1)) SWIG_fail
;
19041 arg2
= wxString_in_helper(obj1
);
19042 if (arg2
== NULL
) SWIG_fail
;
19046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19047 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
19049 wxPyEndAllowThreads(__tstate
);
19050 if (PyErr_Occurred()) SWIG_fail
;
19053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19069 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19070 PyObject
*resultobj
;
19071 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19072 wxString
*arg2
= 0 ;
19074 bool temp2
= false ;
19075 PyObject
* obj0
= 0 ;
19076 PyObject
* obj1
= 0 ;
19077 char *kwnames
[] = {
19078 (char *) "self",(char *) "help", NULL
19081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19083 if (SWIG_arg_fail(1)) SWIG_fail
;
19085 arg2
= wxString_in_helper(obj1
);
19086 if (arg2
== NULL
) SWIG_fail
;
19090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19091 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
19093 wxPyEndAllowThreads(__tstate
);
19094 if (PyErr_Occurred()) SWIG_fail
;
19097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19113 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19114 PyObject
*resultobj
;
19115 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19116 wxBitmap
*arg2
= 0 ;
19117 PyObject
* obj0
= 0 ;
19118 PyObject
* obj1
= 0 ;
19119 char *kwnames
[] = {
19120 (char *) "self",(char *) "bmp", NULL
19123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19125 if (SWIG_arg_fail(1)) SWIG_fail
;
19127 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19128 if (SWIG_arg_fail(2)) SWIG_fail
;
19129 if (arg2
== NULL
) {
19130 SWIG_null_ref("wxBitmap");
19132 if (SWIG_arg_fail(2)) SWIG_fail
;
19135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19136 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
19138 wxPyEndAllowThreads(__tstate
);
19139 if (PyErr_Occurred()) SWIG_fail
;
19141 Py_INCREF(Py_None
); resultobj
= Py_None
;
19148 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19149 PyObject
*resultobj
;
19150 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19151 wxBitmap
*arg2
= 0 ;
19152 PyObject
* obj0
= 0 ;
19153 PyObject
* obj1
= 0 ;
19154 char *kwnames
[] = {
19155 (char *) "self",(char *) "bmp", NULL
19158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19160 if (SWIG_arg_fail(1)) SWIG_fail
;
19162 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19163 if (SWIG_arg_fail(2)) SWIG_fail
;
19164 if (arg2
== NULL
) {
19165 SWIG_null_ref("wxBitmap");
19167 if (SWIG_arg_fail(2)) SWIG_fail
;
19170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19171 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
19173 wxPyEndAllowThreads(__tstate
);
19174 if (PyErr_Occurred()) SWIG_fail
;
19176 Py_INCREF(Py_None
); resultobj
= Py_None
;
19183 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19184 PyObject
*resultobj
;
19185 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19186 wxString
*arg2
= 0 ;
19187 bool temp2
= false ;
19188 PyObject
* obj0
= 0 ;
19189 PyObject
* obj1
= 0 ;
19190 char *kwnames
[] = {
19191 (char *) "self",(char *) "label", NULL
19194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19196 if (SWIG_arg_fail(1)) SWIG_fail
;
19198 arg2
= wxString_in_helper(obj1
);
19199 if (arg2
== NULL
) SWIG_fail
;
19203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19204 (arg1
)->SetLabel((wxString
const &)*arg2
);
19206 wxPyEndAllowThreads(__tstate
);
19207 if (PyErr_Occurred()) SWIG_fail
;
19209 Py_INCREF(Py_None
); resultobj
= Py_None
;
19224 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19225 PyObject
*resultobj
;
19226 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19227 PyObject
* obj0
= 0 ;
19228 char *kwnames
[] = {
19229 (char *) "self", NULL
19232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
19233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19234 if (SWIG_arg_fail(1)) SWIG_fail
;
19236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19239 wxPyEndAllowThreads(__tstate
);
19240 if (PyErr_Occurred()) SWIG_fail
;
19242 Py_INCREF(Py_None
); resultobj
= Py_None
;
19249 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19250 PyObject
*resultobj
;
19251 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19252 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
19253 PyObject
* obj0
= 0 ;
19254 PyObject
* obj1
= 0 ;
19255 char *kwnames
[] = {
19256 (char *) "self",(char *) "tbar", NULL
19259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
19260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19261 if (SWIG_arg_fail(1)) SWIG_fail
;
19262 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19263 if (SWIG_arg_fail(2)) SWIG_fail
;
19265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19266 (arg1
)->Attach(arg2
);
19268 wxPyEndAllowThreads(__tstate
);
19269 if (PyErr_Occurred()) SWIG_fail
;
19271 Py_INCREF(Py_None
); resultobj
= Py_None
;
19278 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19279 PyObject
*resultobj
;
19280 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19282 PyObject
* obj0
= 0 ;
19283 char *kwnames
[] = {
19284 (char *) "self", NULL
19287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
19288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19289 if (SWIG_arg_fail(1)) SWIG_fail
;
19291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19292 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
19294 wxPyEndAllowThreads(__tstate
);
19295 if (PyErr_Occurred()) SWIG_fail
;
19297 resultobj
= result
;
19304 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19305 PyObject
*resultobj
;
19306 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19307 PyObject
*arg2
= (PyObject
*) 0 ;
19308 PyObject
* obj0
= 0 ;
19309 PyObject
* obj1
= 0 ;
19310 char *kwnames
[] = {
19311 (char *) "self",(char *) "clientData", NULL
19314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19316 if (SWIG_arg_fail(1)) SWIG_fail
;
19319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19320 wxToolBarToolBase_SetClientData(arg1
,arg2
);
19322 wxPyEndAllowThreads(__tstate
);
19323 if (PyErr_Occurred()) SWIG_fail
;
19325 Py_INCREF(Py_None
); resultobj
= Py_None
;
19332 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
19334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19335 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
19337 return Py_BuildValue((char *)"");
19339 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19340 PyObject
*resultobj
;
19341 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19343 wxString
*arg3
= 0 ;
19344 wxBitmap
*arg4
= 0 ;
19345 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
19346 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
19347 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
19348 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19349 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19350 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19351 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19352 PyObject
*arg9
= (PyObject
*) NULL
;
19353 wxToolBarToolBase
*result
;
19354 bool temp3
= false ;
19355 bool temp7
= false ;
19356 bool temp8
= false ;
19357 PyObject
* obj0
= 0 ;
19358 PyObject
* obj1
= 0 ;
19359 PyObject
* obj2
= 0 ;
19360 PyObject
* obj3
= 0 ;
19361 PyObject
* obj4
= 0 ;
19362 PyObject
* obj5
= 0 ;
19363 PyObject
* obj6
= 0 ;
19364 PyObject
* obj7
= 0 ;
19365 PyObject
* obj8
= 0 ;
19366 char *kwnames
[] = {
19367 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
19371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19372 if (SWIG_arg_fail(1)) SWIG_fail
;
19374 arg2
= (int)(SWIG_As_int(obj1
));
19375 if (SWIG_arg_fail(2)) SWIG_fail
;
19378 arg3
= wxString_in_helper(obj2
);
19379 if (arg3
== NULL
) SWIG_fail
;
19383 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19384 if (SWIG_arg_fail(4)) SWIG_fail
;
19385 if (arg4
== NULL
) {
19386 SWIG_null_ref("wxBitmap");
19388 if (SWIG_arg_fail(4)) SWIG_fail
;
19392 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19393 if (SWIG_arg_fail(5)) SWIG_fail
;
19394 if (arg5
== NULL
) {
19395 SWIG_null_ref("wxBitmap");
19397 if (SWIG_arg_fail(5)) SWIG_fail
;
19402 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
19403 if (SWIG_arg_fail(6)) SWIG_fail
;
19408 arg7
= wxString_in_helper(obj6
);
19409 if (arg7
== NULL
) SWIG_fail
;
19415 arg8
= wxString_in_helper(obj7
);
19416 if (arg8
== NULL
) SWIG_fail
;
19424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19425 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
19427 wxPyEndAllowThreads(__tstate
);
19428 if (PyErr_Occurred()) SWIG_fail
;
19431 resultobj
= wxPyMake_wxObject(result
, 0);
19463 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19464 PyObject
*resultobj
;
19465 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19468 wxString
*arg4
= 0 ;
19469 wxBitmap
*arg5
= 0 ;
19470 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
19471 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
19472 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
19473 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19474 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19475 wxString
const &arg9_defvalue
= wxPyEmptyString
;
19476 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19477 PyObject
*arg10
= (PyObject
*) NULL
;
19478 wxToolBarToolBase
*result
;
19479 bool temp4
= false ;
19480 bool temp8
= false ;
19481 bool temp9
= false ;
19482 PyObject
* obj0
= 0 ;
19483 PyObject
* obj1
= 0 ;
19484 PyObject
* obj2
= 0 ;
19485 PyObject
* obj3
= 0 ;
19486 PyObject
* obj4
= 0 ;
19487 PyObject
* obj5
= 0 ;
19488 PyObject
* obj6
= 0 ;
19489 PyObject
* obj7
= 0 ;
19490 PyObject
* obj8
= 0 ;
19491 PyObject
* obj9
= 0 ;
19492 char *kwnames
[] = {
19493 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
19497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19498 if (SWIG_arg_fail(1)) SWIG_fail
;
19500 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19501 if (SWIG_arg_fail(2)) SWIG_fail
;
19504 arg3
= (int)(SWIG_As_int(obj2
));
19505 if (SWIG_arg_fail(3)) SWIG_fail
;
19508 arg4
= wxString_in_helper(obj3
);
19509 if (arg4
== NULL
) SWIG_fail
;
19513 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19514 if (SWIG_arg_fail(5)) SWIG_fail
;
19515 if (arg5
== NULL
) {
19516 SWIG_null_ref("wxBitmap");
19518 if (SWIG_arg_fail(5)) SWIG_fail
;
19522 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19523 if (SWIG_arg_fail(6)) SWIG_fail
;
19524 if (arg6
== NULL
) {
19525 SWIG_null_ref("wxBitmap");
19527 if (SWIG_arg_fail(6)) SWIG_fail
;
19532 arg7
= (wxItemKind
)(SWIG_As_int(obj6
));
19533 if (SWIG_arg_fail(7)) SWIG_fail
;
19538 arg8
= wxString_in_helper(obj7
);
19539 if (arg8
== NULL
) SWIG_fail
;
19545 arg9
= wxString_in_helper(obj8
);
19546 if (arg9
== NULL
) SWIG_fail
;
19554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19555 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
);
19557 wxPyEndAllowThreads(__tstate
);
19558 if (PyErr_Occurred()) SWIG_fail
;
19561 resultobj
= wxPyMake_wxObject(result
, 0);
19593 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19594 PyObject
*resultobj
;
19595 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19596 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
19597 wxToolBarToolBase
*result
;
19598 PyObject
* obj0
= 0 ;
19599 PyObject
* obj1
= 0 ;
19600 char *kwnames
[] = {
19601 (char *) "self",(char *) "tool", NULL
19604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19606 if (SWIG_arg_fail(1)) SWIG_fail
;
19607 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19608 if (SWIG_arg_fail(2)) SWIG_fail
;
19610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19611 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
19613 wxPyEndAllowThreads(__tstate
);
19614 if (PyErr_Occurred()) SWIG_fail
;
19617 resultobj
= wxPyMake_wxObject(result
, 0);
19625 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19626 PyObject
*resultobj
;
19627 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19629 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
19630 wxToolBarToolBase
*result
;
19631 PyObject
* obj0
= 0 ;
19632 PyObject
* obj1
= 0 ;
19633 PyObject
* obj2
= 0 ;
19634 char *kwnames
[] = {
19635 (char *) "self",(char *) "pos",(char *) "tool", NULL
19638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19640 if (SWIG_arg_fail(1)) SWIG_fail
;
19642 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19643 if (SWIG_arg_fail(2)) SWIG_fail
;
19645 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19646 if (SWIG_arg_fail(3)) SWIG_fail
;
19648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19649 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
19651 wxPyEndAllowThreads(__tstate
);
19652 if (PyErr_Occurred()) SWIG_fail
;
19655 resultobj
= wxPyMake_wxObject(result
, 0);
19663 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19664 PyObject
*resultobj
;
19665 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19666 wxControl
*arg2
= (wxControl
*) 0 ;
19667 wxToolBarToolBase
*result
;
19668 PyObject
* obj0
= 0 ;
19669 PyObject
* obj1
= 0 ;
19670 char *kwnames
[] = {
19671 (char *) "self",(char *) "control", NULL
19674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19676 if (SWIG_arg_fail(1)) SWIG_fail
;
19677 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19678 if (SWIG_arg_fail(2)) SWIG_fail
;
19680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19681 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
19683 wxPyEndAllowThreads(__tstate
);
19684 if (PyErr_Occurred()) SWIG_fail
;
19687 resultobj
= wxPyMake_wxObject(result
, 0);
19695 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19696 PyObject
*resultobj
;
19697 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19699 wxControl
*arg3
= (wxControl
*) 0 ;
19700 wxToolBarToolBase
*result
;
19701 PyObject
* obj0
= 0 ;
19702 PyObject
* obj1
= 0 ;
19703 PyObject
* obj2
= 0 ;
19704 char *kwnames
[] = {
19705 (char *) "self",(char *) "pos",(char *) "control", NULL
19708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19710 if (SWIG_arg_fail(1)) SWIG_fail
;
19712 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19713 if (SWIG_arg_fail(2)) SWIG_fail
;
19715 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19716 if (SWIG_arg_fail(3)) SWIG_fail
;
19718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19719 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
19721 wxPyEndAllowThreads(__tstate
);
19722 if (PyErr_Occurred()) SWIG_fail
;
19725 resultobj
= wxPyMake_wxObject(result
, 0);
19733 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19734 PyObject
*resultobj
;
19735 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19738 PyObject
* obj0
= 0 ;
19739 PyObject
* obj1
= 0 ;
19740 char *kwnames
[] = {
19741 (char *) "self",(char *) "id", NULL
19744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19746 if (SWIG_arg_fail(1)) SWIG_fail
;
19748 arg2
= (int)(SWIG_As_int(obj1
));
19749 if (SWIG_arg_fail(2)) SWIG_fail
;
19752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19753 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
19755 wxPyEndAllowThreads(__tstate
);
19756 if (PyErr_Occurred()) SWIG_fail
;
19759 resultobj
= wxPyMake_wxObject(result
, 0);
19767 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19768 PyObject
*resultobj
;
19769 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19770 wxToolBarToolBase
*result
;
19771 PyObject
* obj0
= 0 ;
19772 char *kwnames
[] = {
19773 (char *) "self", NULL
19776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
19777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19778 if (SWIG_arg_fail(1)) SWIG_fail
;
19780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19781 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
19783 wxPyEndAllowThreads(__tstate
);
19784 if (PyErr_Occurred()) SWIG_fail
;
19787 resultobj
= wxPyMake_wxObject(result
, 0);
19795 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19796 PyObject
*resultobj
;
19797 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19799 wxToolBarToolBase
*result
;
19800 PyObject
* obj0
= 0 ;
19801 PyObject
* obj1
= 0 ;
19802 char *kwnames
[] = {
19803 (char *) "self",(char *) "pos", NULL
19806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
19807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19808 if (SWIG_arg_fail(1)) SWIG_fail
;
19810 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19811 if (SWIG_arg_fail(2)) SWIG_fail
;
19814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19815 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
19817 wxPyEndAllowThreads(__tstate
);
19818 if (PyErr_Occurred()) SWIG_fail
;
19821 resultobj
= wxPyMake_wxObject(result
, 0);
19829 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19830 PyObject
*resultobj
;
19831 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19833 wxToolBarToolBase
*result
;
19834 PyObject
* obj0
= 0 ;
19835 PyObject
* obj1
= 0 ;
19836 char *kwnames
[] = {
19837 (char *) "self",(char *) "id", NULL
19840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19842 if (SWIG_arg_fail(1)) SWIG_fail
;
19844 arg2
= (int)(SWIG_As_int(obj1
));
19845 if (SWIG_arg_fail(2)) SWIG_fail
;
19848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19849 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
19851 wxPyEndAllowThreads(__tstate
);
19852 if (PyErr_Occurred()) SWIG_fail
;
19855 resultobj
= wxPyMake_wxObject(result
, 0);
19863 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19864 PyObject
*resultobj
;
19865 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19868 PyObject
* obj0
= 0 ;
19869 PyObject
* obj1
= 0 ;
19870 char *kwnames
[] = {
19871 (char *) "self",(char *) "pos", NULL
19874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
19875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19876 if (SWIG_arg_fail(1)) SWIG_fail
;
19878 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19879 if (SWIG_arg_fail(2)) SWIG_fail
;
19882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19883 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
19885 wxPyEndAllowThreads(__tstate
);
19886 if (PyErr_Occurred()) SWIG_fail
;
19889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19897 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19898 PyObject
*resultobj
;
19899 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19902 PyObject
* obj0
= 0 ;
19903 PyObject
* obj1
= 0 ;
19904 char *kwnames
[] = {
19905 (char *) "self",(char *) "id", NULL
19908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19910 if (SWIG_arg_fail(1)) SWIG_fail
;
19912 arg2
= (int)(SWIG_As_int(obj1
));
19913 if (SWIG_arg_fail(2)) SWIG_fail
;
19916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19917 result
= (bool)(arg1
)->DeleteTool(arg2
);
19919 wxPyEndAllowThreads(__tstate
);
19920 if (PyErr_Occurred()) SWIG_fail
;
19923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19931 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19932 PyObject
*resultobj
;
19933 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19934 PyObject
* obj0
= 0 ;
19935 char *kwnames
[] = {
19936 (char *) "self", NULL
19939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
19940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19941 if (SWIG_arg_fail(1)) SWIG_fail
;
19943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19944 (arg1
)->ClearTools();
19946 wxPyEndAllowThreads(__tstate
);
19947 if (PyErr_Occurred()) SWIG_fail
;
19949 Py_INCREF(Py_None
); resultobj
= Py_None
;
19956 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19957 PyObject
*resultobj
;
19958 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19960 PyObject
* obj0
= 0 ;
19961 char *kwnames
[] = {
19962 (char *) "self", NULL
19965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
19966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19967 if (SWIG_arg_fail(1)) SWIG_fail
;
19969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19970 result
= (bool)(arg1
)->Realize();
19972 wxPyEndAllowThreads(__tstate
);
19973 if (PyErr_Occurred()) SWIG_fail
;
19976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19984 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19985 PyObject
*resultobj
;
19986 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19989 PyObject
* obj0
= 0 ;
19990 PyObject
* obj1
= 0 ;
19991 PyObject
* obj2
= 0 ;
19992 char *kwnames
[] = {
19993 (char *) "self",(char *) "id",(char *) "enable", NULL
19996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19998 if (SWIG_arg_fail(1)) SWIG_fail
;
20000 arg2
= (int)(SWIG_As_int(obj1
));
20001 if (SWIG_arg_fail(2)) SWIG_fail
;
20004 arg3
= (bool)(SWIG_As_bool(obj2
));
20005 if (SWIG_arg_fail(3)) SWIG_fail
;
20008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20009 (arg1
)->EnableTool(arg2
,arg3
);
20011 wxPyEndAllowThreads(__tstate
);
20012 if (PyErr_Occurred()) SWIG_fail
;
20014 Py_INCREF(Py_None
); resultobj
= Py_None
;
20021 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20022 PyObject
*resultobj
;
20023 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20026 PyObject
* obj0
= 0 ;
20027 PyObject
* obj1
= 0 ;
20028 PyObject
* obj2
= 0 ;
20029 char *kwnames
[] = {
20030 (char *) "self",(char *) "id",(char *) "toggle", NULL
20033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20035 if (SWIG_arg_fail(1)) SWIG_fail
;
20037 arg2
= (int)(SWIG_As_int(obj1
));
20038 if (SWIG_arg_fail(2)) SWIG_fail
;
20041 arg3
= (bool)(SWIG_As_bool(obj2
));
20042 if (SWIG_arg_fail(3)) SWIG_fail
;
20045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20046 (arg1
)->ToggleTool(arg2
,arg3
);
20048 wxPyEndAllowThreads(__tstate
);
20049 if (PyErr_Occurred()) SWIG_fail
;
20051 Py_INCREF(Py_None
); resultobj
= Py_None
;
20058 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20059 PyObject
*resultobj
;
20060 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20063 PyObject
* obj0
= 0 ;
20064 PyObject
* obj1
= 0 ;
20065 PyObject
* obj2
= 0 ;
20066 char *kwnames
[] = {
20067 (char *) "self",(char *) "id",(char *) "toggle", NULL
20070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20072 if (SWIG_arg_fail(1)) SWIG_fail
;
20074 arg2
= (int)(SWIG_As_int(obj1
));
20075 if (SWIG_arg_fail(2)) SWIG_fail
;
20078 arg3
= (bool)(SWIG_As_bool(obj2
));
20079 if (SWIG_arg_fail(3)) SWIG_fail
;
20082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20083 (arg1
)->SetToggle(arg2
,arg3
);
20085 wxPyEndAllowThreads(__tstate
);
20086 if (PyErr_Occurred()) SWIG_fail
;
20088 Py_INCREF(Py_None
); resultobj
= Py_None
;
20095 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20096 PyObject
*resultobj
;
20097 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20100 PyObject
* obj0
= 0 ;
20101 PyObject
* obj1
= 0 ;
20102 char *kwnames
[] = {
20103 (char *) "self",(char *) "id", NULL
20106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
20107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20108 if (SWIG_arg_fail(1)) SWIG_fail
;
20110 arg2
= (int)(SWIG_As_int(obj1
));
20111 if (SWIG_arg_fail(2)) SWIG_fail
;
20114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20115 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
20117 wxPyEndAllowThreads(__tstate
);
20118 if (PyErr_Occurred()) SWIG_fail
;
20120 resultobj
= result
;
20127 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20128 PyObject
*resultobj
;
20129 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20131 PyObject
*arg3
= (PyObject
*) 0 ;
20132 PyObject
* obj0
= 0 ;
20133 PyObject
* obj1
= 0 ;
20134 PyObject
* obj2
= 0 ;
20135 char *kwnames
[] = {
20136 (char *) "self",(char *) "id",(char *) "clientData", NULL
20139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20141 if (SWIG_arg_fail(1)) SWIG_fail
;
20143 arg2
= (int)(SWIG_As_int(obj1
));
20144 if (SWIG_arg_fail(2)) SWIG_fail
;
20148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20149 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
20151 wxPyEndAllowThreads(__tstate
);
20152 if (PyErr_Occurred()) SWIG_fail
;
20154 Py_INCREF(Py_None
); resultobj
= Py_None
;
20161 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20162 PyObject
*resultobj
;
20163 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20166 PyObject
* obj0
= 0 ;
20167 PyObject
* obj1
= 0 ;
20168 char *kwnames
[] = {
20169 (char *) "self",(char *) "id", NULL
20172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
20173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20174 if (SWIG_arg_fail(1)) SWIG_fail
;
20176 arg2
= (int)(SWIG_As_int(obj1
));
20177 if (SWIG_arg_fail(2)) SWIG_fail
;
20180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20181 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
20183 wxPyEndAllowThreads(__tstate
);
20184 if (PyErr_Occurred()) SWIG_fail
;
20187 resultobj
= SWIG_From_int((int)(result
));
20195 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20196 PyObject
*resultobj
;
20197 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20200 PyObject
* obj0
= 0 ;
20201 PyObject
* obj1
= 0 ;
20202 char *kwnames
[] = {
20203 (char *) "self",(char *) "id", NULL
20206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
20207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20208 if (SWIG_arg_fail(1)) SWIG_fail
;
20210 arg2
= (int)(SWIG_As_int(obj1
));
20211 if (SWIG_arg_fail(2)) SWIG_fail
;
20214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20215 result
= (bool)(arg1
)->GetToolState(arg2
);
20217 wxPyEndAllowThreads(__tstate
);
20218 if (PyErr_Occurred()) SWIG_fail
;
20221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20229 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20230 PyObject
*resultobj
;
20231 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20234 PyObject
* obj0
= 0 ;
20235 PyObject
* obj1
= 0 ;
20236 char *kwnames
[] = {
20237 (char *) "self",(char *) "id", NULL
20240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
20241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20242 if (SWIG_arg_fail(1)) SWIG_fail
;
20244 arg2
= (int)(SWIG_As_int(obj1
));
20245 if (SWIG_arg_fail(2)) SWIG_fail
;
20248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20249 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
20251 wxPyEndAllowThreads(__tstate
);
20252 if (PyErr_Occurred()) SWIG_fail
;
20255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20263 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20264 PyObject
*resultobj
;
20265 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20267 wxString
*arg3
= 0 ;
20268 bool temp3
= false ;
20269 PyObject
* obj0
= 0 ;
20270 PyObject
* obj1
= 0 ;
20271 PyObject
* obj2
= 0 ;
20272 char *kwnames
[] = {
20273 (char *) "self",(char *) "id",(char *) "helpString", NULL
20276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20278 if (SWIG_arg_fail(1)) SWIG_fail
;
20280 arg2
= (int)(SWIG_As_int(obj1
));
20281 if (SWIG_arg_fail(2)) SWIG_fail
;
20284 arg3
= wxString_in_helper(obj2
);
20285 if (arg3
== NULL
) SWIG_fail
;
20289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20290 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
20292 wxPyEndAllowThreads(__tstate
);
20293 if (PyErr_Occurred()) SWIG_fail
;
20295 Py_INCREF(Py_None
); resultobj
= Py_None
;
20310 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20311 PyObject
*resultobj
;
20312 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20315 PyObject
* obj0
= 0 ;
20316 PyObject
* obj1
= 0 ;
20317 char *kwnames
[] = {
20318 (char *) "self",(char *) "id", NULL
20321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20323 if (SWIG_arg_fail(1)) SWIG_fail
;
20325 arg2
= (int)(SWIG_As_int(obj1
));
20326 if (SWIG_arg_fail(2)) SWIG_fail
;
20329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20330 result
= (arg1
)->GetToolShortHelp(arg2
);
20332 wxPyEndAllowThreads(__tstate
);
20333 if (PyErr_Occurred()) SWIG_fail
;
20337 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20339 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20348 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20349 PyObject
*resultobj
;
20350 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20352 wxString
*arg3
= 0 ;
20353 bool temp3
= false ;
20354 PyObject
* obj0
= 0 ;
20355 PyObject
* obj1
= 0 ;
20356 PyObject
* obj2
= 0 ;
20357 char *kwnames
[] = {
20358 (char *) "self",(char *) "id",(char *) "helpString", NULL
20361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20363 if (SWIG_arg_fail(1)) SWIG_fail
;
20365 arg2
= (int)(SWIG_As_int(obj1
));
20366 if (SWIG_arg_fail(2)) SWIG_fail
;
20369 arg3
= wxString_in_helper(obj2
);
20370 if (arg3
== NULL
) SWIG_fail
;
20374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20375 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
20377 wxPyEndAllowThreads(__tstate
);
20378 if (PyErr_Occurred()) SWIG_fail
;
20380 Py_INCREF(Py_None
); resultobj
= Py_None
;
20395 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20396 PyObject
*resultobj
;
20397 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20400 PyObject
* obj0
= 0 ;
20401 PyObject
* obj1
= 0 ;
20402 char *kwnames
[] = {
20403 (char *) "self",(char *) "id", NULL
20406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20408 if (SWIG_arg_fail(1)) SWIG_fail
;
20410 arg2
= (int)(SWIG_As_int(obj1
));
20411 if (SWIG_arg_fail(2)) SWIG_fail
;
20414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20415 result
= (arg1
)->GetToolLongHelp(arg2
);
20417 wxPyEndAllowThreads(__tstate
);
20418 if (PyErr_Occurred()) SWIG_fail
;
20422 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20424 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20433 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20434 PyObject
*resultobj
;
20435 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20438 PyObject
* obj0
= 0 ;
20439 PyObject
* obj1
= 0 ;
20440 PyObject
* obj2
= 0 ;
20441 char *kwnames
[] = {
20442 (char *) "self",(char *) "x",(char *) "y", NULL
20445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20447 if (SWIG_arg_fail(1)) SWIG_fail
;
20449 arg2
= (int)(SWIG_As_int(obj1
));
20450 if (SWIG_arg_fail(2)) SWIG_fail
;
20453 arg3
= (int)(SWIG_As_int(obj2
));
20454 if (SWIG_arg_fail(3)) SWIG_fail
;
20457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20458 (arg1
)->SetMargins(arg2
,arg3
);
20460 wxPyEndAllowThreads(__tstate
);
20461 if (PyErr_Occurred()) SWIG_fail
;
20463 Py_INCREF(Py_None
); resultobj
= Py_None
;
20470 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20471 PyObject
*resultobj
;
20472 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20475 PyObject
* obj0
= 0 ;
20476 PyObject
* obj1
= 0 ;
20477 char *kwnames
[] = {
20478 (char *) "self",(char *) "size", NULL
20481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20483 if (SWIG_arg_fail(1)) SWIG_fail
;
20486 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20490 (arg1
)->SetMargins((wxSize
const &)*arg2
);
20492 wxPyEndAllowThreads(__tstate
);
20493 if (PyErr_Occurred()) SWIG_fail
;
20495 Py_INCREF(Py_None
); resultobj
= Py_None
;
20502 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20503 PyObject
*resultobj
;
20504 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20506 PyObject
* obj0
= 0 ;
20507 PyObject
* obj1
= 0 ;
20508 char *kwnames
[] = {
20509 (char *) "self",(char *) "packing", NULL
20512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
20513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20514 if (SWIG_arg_fail(1)) SWIG_fail
;
20516 arg2
= (int)(SWIG_As_int(obj1
));
20517 if (SWIG_arg_fail(2)) SWIG_fail
;
20520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20521 (arg1
)->SetToolPacking(arg2
);
20523 wxPyEndAllowThreads(__tstate
);
20524 if (PyErr_Occurred()) SWIG_fail
;
20526 Py_INCREF(Py_None
); resultobj
= Py_None
;
20533 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20534 PyObject
*resultobj
;
20535 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20537 PyObject
* obj0
= 0 ;
20538 PyObject
* obj1
= 0 ;
20539 char *kwnames
[] = {
20540 (char *) "self",(char *) "separation", NULL
20543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
20544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20545 if (SWIG_arg_fail(1)) SWIG_fail
;
20547 arg2
= (int)(SWIG_As_int(obj1
));
20548 if (SWIG_arg_fail(2)) SWIG_fail
;
20551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20552 (arg1
)->SetToolSeparation(arg2
);
20554 wxPyEndAllowThreads(__tstate
);
20555 if (PyErr_Occurred()) SWIG_fail
;
20557 Py_INCREF(Py_None
); resultobj
= Py_None
;
20564 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20565 PyObject
*resultobj
;
20566 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20568 PyObject
* obj0
= 0 ;
20569 char *kwnames
[] = {
20570 (char *) "self", NULL
20573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
20574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20575 if (SWIG_arg_fail(1)) SWIG_fail
;
20577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20578 result
= (arg1
)->GetToolMargins();
20580 wxPyEndAllowThreads(__tstate
);
20581 if (PyErr_Occurred()) SWIG_fail
;
20584 wxSize
* resultptr
;
20585 resultptr
= new wxSize((wxSize
&)(result
));
20586 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20594 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20595 PyObject
*resultobj
;
20596 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20598 PyObject
* obj0
= 0 ;
20599 char *kwnames
[] = {
20600 (char *) "self", NULL
20603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
20604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20605 if (SWIG_arg_fail(1)) SWIG_fail
;
20607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20608 result
= (arg1
)->GetMargins();
20610 wxPyEndAllowThreads(__tstate
);
20611 if (PyErr_Occurred()) SWIG_fail
;
20614 wxSize
* resultptr
;
20615 resultptr
= new wxSize((wxSize
&)(result
));
20616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20624 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20625 PyObject
*resultobj
;
20626 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20628 PyObject
* obj0
= 0 ;
20629 char *kwnames
[] = {
20630 (char *) "self", NULL
20633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
20634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20635 if (SWIG_arg_fail(1)) SWIG_fail
;
20637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20638 result
= (int)(arg1
)->GetToolPacking();
20640 wxPyEndAllowThreads(__tstate
);
20641 if (PyErr_Occurred()) SWIG_fail
;
20644 resultobj
= SWIG_From_int((int)(result
));
20652 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20653 PyObject
*resultobj
;
20654 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20656 PyObject
* obj0
= 0 ;
20657 char *kwnames
[] = {
20658 (char *) "self", NULL
20661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
20662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20663 if (SWIG_arg_fail(1)) SWIG_fail
;
20665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20666 result
= (int)(arg1
)->GetToolSeparation();
20668 wxPyEndAllowThreads(__tstate
);
20669 if (PyErr_Occurred()) SWIG_fail
;
20672 resultobj
= SWIG_From_int((int)(result
));
20680 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20681 PyObject
*resultobj
;
20682 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20684 PyObject
* obj0
= 0 ;
20685 PyObject
* obj1
= 0 ;
20686 char *kwnames
[] = {
20687 (char *) "self",(char *) "nRows", NULL
20690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
20691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20692 if (SWIG_arg_fail(1)) SWIG_fail
;
20694 arg2
= (int)(SWIG_As_int(obj1
));
20695 if (SWIG_arg_fail(2)) SWIG_fail
;
20698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20699 (arg1
)->SetRows(arg2
);
20701 wxPyEndAllowThreads(__tstate
);
20702 if (PyErr_Occurred()) SWIG_fail
;
20704 Py_INCREF(Py_None
); resultobj
= Py_None
;
20711 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20712 PyObject
*resultobj
;
20713 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20716 PyObject
* obj0
= 0 ;
20717 PyObject
* obj1
= 0 ;
20718 PyObject
* obj2
= 0 ;
20719 char *kwnames
[] = {
20720 (char *) "self",(char *) "rows",(char *) "cols", NULL
20723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20725 if (SWIG_arg_fail(1)) SWIG_fail
;
20727 arg2
= (int)(SWIG_As_int(obj1
));
20728 if (SWIG_arg_fail(2)) SWIG_fail
;
20731 arg3
= (int)(SWIG_As_int(obj2
));
20732 if (SWIG_arg_fail(3)) SWIG_fail
;
20735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20736 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
20738 wxPyEndAllowThreads(__tstate
);
20739 if (PyErr_Occurred()) SWIG_fail
;
20741 Py_INCREF(Py_None
); resultobj
= Py_None
;
20748 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20749 PyObject
*resultobj
;
20750 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20752 PyObject
* obj0
= 0 ;
20753 char *kwnames
[] = {
20754 (char *) "self", NULL
20757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
20758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20759 if (SWIG_arg_fail(1)) SWIG_fail
;
20761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20762 result
= (int)(arg1
)->GetMaxRows();
20764 wxPyEndAllowThreads(__tstate
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20768 resultobj
= SWIG_From_int((int)(result
));
20776 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20777 PyObject
*resultobj
;
20778 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20780 PyObject
* obj0
= 0 ;
20781 char *kwnames
[] = {
20782 (char *) "self", NULL
20785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
20786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20787 if (SWIG_arg_fail(1)) SWIG_fail
;
20789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20790 result
= (int)(arg1
)->GetMaxCols();
20792 wxPyEndAllowThreads(__tstate
);
20793 if (PyErr_Occurred()) SWIG_fail
;
20796 resultobj
= SWIG_From_int((int)(result
));
20804 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20805 PyObject
*resultobj
;
20806 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20809 PyObject
* obj0
= 0 ;
20810 PyObject
* obj1
= 0 ;
20811 char *kwnames
[] = {
20812 (char *) "self",(char *) "size", NULL
20815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20817 if (SWIG_arg_fail(1)) SWIG_fail
;
20820 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20824 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
20826 wxPyEndAllowThreads(__tstate
);
20827 if (PyErr_Occurred()) SWIG_fail
;
20829 Py_INCREF(Py_None
); resultobj
= Py_None
;
20836 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20837 PyObject
*resultobj
;
20838 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20840 PyObject
* obj0
= 0 ;
20841 char *kwnames
[] = {
20842 (char *) "self", NULL
20845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
20846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20847 if (SWIG_arg_fail(1)) SWIG_fail
;
20849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20850 result
= (arg1
)->GetToolBitmapSize();
20852 wxPyEndAllowThreads(__tstate
);
20853 if (PyErr_Occurred()) SWIG_fail
;
20856 wxSize
* resultptr
;
20857 resultptr
= new wxSize((wxSize
&)(result
));
20858 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20866 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20867 PyObject
*resultobj
;
20868 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20870 PyObject
* obj0
= 0 ;
20871 char *kwnames
[] = {
20872 (char *) "self", NULL
20875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
20876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20877 if (SWIG_arg_fail(1)) SWIG_fail
;
20879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20880 result
= (arg1
)->GetToolSize();
20882 wxPyEndAllowThreads(__tstate
);
20883 if (PyErr_Occurred()) SWIG_fail
;
20886 wxSize
* resultptr
;
20887 resultptr
= new wxSize((wxSize
&)(result
));
20888 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20896 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20897 PyObject
*resultobj
;
20898 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20901 wxToolBarToolBase
*result
;
20902 PyObject
* obj0
= 0 ;
20903 PyObject
* obj1
= 0 ;
20904 PyObject
* obj2
= 0 ;
20905 char *kwnames
[] = {
20906 (char *) "self",(char *) "x",(char *) "y", NULL
20909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20911 if (SWIG_arg_fail(1)) SWIG_fail
;
20913 arg2
= (int)(SWIG_As_int(obj1
));
20914 if (SWIG_arg_fail(2)) SWIG_fail
;
20917 arg3
= (int)(SWIG_As_int(obj2
));
20918 if (SWIG_arg_fail(3)) SWIG_fail
;
20921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20922 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
20924 wxPyEndAllowThreads(__tstate
);
20925 if (PyErr_Occurred()) SWIG_fail
;
20928 resultobj
= wxPyMake_wxObject(result
, 0);
20936 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20937 PyObject
*resultobj
;
20938 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20940 wxToolBarToolBase
*result
;
20941 PyObject
* obj0
= 0 ;
20942 PyObject
* obj1
= 0 ;
20943 char *kwnames
[] = {
20944 (char *) "self",(char *) "toolid", NULL
20947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
20948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20949 if (SWIG_arg_fail(1)) SWIG_fail
;
20951 arg2
= (int)(SWIG_As_int(obj1
));
20952 if (SWIG_arg_fail(2)) SWIG_fail
;
20955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20956 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
20958 wxPyEndAllowThreads(__tstate
);
20959 if (PyErr_Occurred()) SWIG_fail
;
20962 resultobj
= wxPyMake_wxObject(result
, 0);
20970 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20971 PyObject
*resultobj
;
20972 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20974 PyObject
* obj0
= 0 ;
20975 char *kwnames
[] = {
20976 (char *) "self", NULL
20979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
20980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20981 if (SWIG_arg_fail(1)) SWIG_fail
;
20983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20984 result
= (bool)(arg1
)->IsVertical();
20986 wxPyEndAllowThreads(__tstate
);
20987 if (PyErr_Occurred()) SWIG_fail
;
20990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20998 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
21000 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21001 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
21003 return Py_BuildValue((char *)"");
21005 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21006 PyObject
*resultobj
;
21007 wxWindow
*arg1
= (wxWindow
*) 0 ;
21008 int arg2
= (int) -1 ;
21009 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21010 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21011 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21012 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21013 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21014 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
21015 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21019 bool temp6
= false ;
21020 PyObject
* obj0
= 0 ;
21021 PyObject
* obj1
= 0 ;
21022 PyObject
* obj2
= 0 ;
21023 PyObject
* obj3
= 0 ;
21024 PyObject
* obj4
= 0 ;
21025 PyObject
* obj5
= 0 ;
21026 char *kwnames
[] = {
21027 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21032 if (SWIG_arg_fail(1)) SWIG_fail
;
21035 arg2
= (int)(SWIG_As_int(obj1
));
21036 if (SWIG_arg_fail(2)) SWIG_fail
;
21042 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21048 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21053 arg5
= (long)(SWIG_As_long(obj4
));
21054 if (SWIG_arg_fail(5)) SWIG_fail
;
21059 arg6
= wxString_in_helper(obj5
);
21060 if (arg6
== NULL
) SWIG_fail
;
21065 if (!wxPyCheckForApp()) SWIG_fail
;
21066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21067 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21069 wxPyEndAllowThreads(__tstate
);
21070 if (PyErr_Occurred()) SWIG_fail
;
21072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21087 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21088 PyObject
*resultobj
;
21090 char *kwnames
[] = {
21094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
21096 if (!wxPyCheckForApp()) SWIG_fail
;
21097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21098 result
= (wxToolBar
*)new wxToolBar();
21100 wxPyEndAllowThreads(__tstate
);
21101 if (PyErr_Occurred()) SWIG_fail
;
21103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21110 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21111 PyObject
*resultobj
;
21112 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21113 wxWindow
*arg2
= (wxWindow
*) 0 ;
21114 int arg3
= (int) -1 ;
21115 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21116 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21117 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21118 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21119 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21120 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
21121 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21125 bool temp7
= false ;
21126 PyObject
* obj0
= 0 ;
21127 PyObject
* obj1
= 0 ;
21128 PyObject
* obj2
= 0 ;
21129 PyObject
* obj3
= 0 ;
21130 PyObject
* obj4
= 0 ;
21131 PyObject
* obj5
= 0 ;
21132 PyObject
* obj6
= 0 ;
21133 char *kwnames
[] = {
21134 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21139 if (SWIG_arg_fail(1)) SWIG_fail
;
21140 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21141 if (SWIG_arg_fail(2)) SWIG_fail
;
21144 arg3
= (int)(SWIG_As_int(obj2
));
21145 if (SWIG_arg_fail(3)) SWIG_fail
;
21151 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21157 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21162 arg6
= (long)(SWIG_As_long(obj5
));
21163 if (SWIG_arg_fail(6)) SWIG_fail
;
21168 arg7
= wxString_in_helper(obj6
);
21169 if (arg7
== NULL
) SWIG_fail
;
21174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21175 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21177 wxPyEndAllowThreads(__tstate
);
21178 if (PyErr_Occurred()) SWIG_fail
;
21181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21197 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21198 PyObject
*resultobj
;
21199 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21202 wxToolBarToolBase
*result
;
21203 PyObject
* obj0
= 0 ;
21204 PyObject
* obj1
= 0 ;
21205 PyObject
* obj2
= 0 ;
21206 char *kwnames
[] = {
21207 (char *) "self",(char *) "x",(char *) "y", NULL
21210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21212 if (SWIG_arg_fail(1)) SWIG_fail
;
21214 arg2
= (int)(SWIG_As_int(obj1
));
21215 if (SWIG_arg_fail(2)) SWIG_fail
;
21218 arg3
= (int)(SWIG_As_int(obj2
));
21219 if (SWIG_arg_fail(3)) SWIG_fail
;
21222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21223 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
21225 wxPyEndAllowThreads(__tstate
);
21226 if (PyErr_Occurred()) SWIG_fail
;
21229 resultobj
= wxPyMake_wxObject(result
, 0);
21237 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21238 PyObject
*resultobj
;
21239 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21240 wxVisualAttributes result
;
21241 PyObject
* obj0
= 0 ;
21242 char *kwnames
[] = {
21243 (char *) "variant", NULL
21246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
21249 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
21250 if (SWIG_arg_fail(1)) SWIG_fail
;
21254 if (!wxPyCheckForApp()) SWIG_fail
;
21255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21256 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
21258 wxPyEndAllowThreads(__tstate
);
21259 if (PyErr_Occurred()) SWIG_fail
;
21262 wxVisualAttributes
* resultptr
;
21263 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
21264 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
21272 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
21274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21275 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
21277 return Py_BuildValue((char *)"");
21279 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
21280 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
21285 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
21290 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21292 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21299 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21300 PyObject
*resultobj
;
21301 wxColour
const &arg1_defvalue
= wxNullColour
;
21302 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
21303 wxColour
const &arg2_defvalue
= wxNullColour
;
21304 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
21305 wxFont
const &arg3_defvalue
= wxNullFont
;
21306 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
21307 wxListItemAttr
*result
;
21310 PyObject
* obj0
= 0 ;
21311 PyObject
* obj1
= 0 ;
21312 PyObject
* obj2
= 0 ;
21313 char *kwnames
[] = {
21314 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21321 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
21327 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21332 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21333 if (SWIG_arg_fail(3)) SWIG_fail
;
21334 if (arg3
== NULL
) {
21335 SWIG_null_ref("wxFont");
21337 if (SWIG_arg_fail(3)) SWIG_fail
;
21341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21342 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
21344 wxPyEndAllowThreads(__tstate
);
21345 if (PyErr_Occurred()) SWIG_fail
;
21347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
21354 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21355 PyObject
*resultobj
;
21356 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21357 wxColour
*arg2
= 0 ;
21359 PyObject
* obj0
= 0 ;
21360 PyObject
* obj1
= 0 ;
21361 char *kwnames
[] = {
21362 (char *) "self",(char *) "colText", NULL
21365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21367 if (SWIG_arg_fail(1)) SWIG_fail
;
21370 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21374 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21376 wxPyEndAllowThreads(__tstate
);
21377 if (PyErr_Occurred()) SWIG_fail
;
21379 Py_INCREF(Py_None
); resultobj
= Py_None
;
21386 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21387 PyObject
*resultobj
;
21388 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21389 wxColour
*arg2
= 0 ;
21391 PyObject
* obj0
= 0 ;
21392 PyObject
* obj1
= 0 ;
21393 char *kwnames
[] = {
21394 (char *) "self",(char *) "colBack", NULL
21397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21399 if (SWIG_arg_fail(1)) SWIG_fail
;
21402 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21406 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21408 wxPyEndAllowThreads(__tstate
);
21409 if (PyErr_Occurred()) SWIG_fail
;
21411 Py_INCREF(Py_None
); resultobj
= Py_None
;
21418 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21419 PyObject
*resultobj
;
21420 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21422 PyObject
* obj0
= 0 ;
21423 PyObject
* obj1
= 0 ;
21424 char *kwnames
[] = {
21425 (char *) "self",(char *) "font", NULL
21428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21430 if (SWIG_arg_fail(1)) SWIG_fail
;
21432 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21433 if (SWIG_arg_fail(2)) SWIG_fail
;
21434 if (arg2
== NULL
) {
21435 SWIG_null_ref("wxFont");
21437 if (SWIG_arg_fail(2)) SWIG_fail
;
21440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21441 (arg1
)->SetFont((wxFont
const &)*arg2
);
21443 wxPyEndAllowThreads(__tstate
);
21444 if (PyErr_Occurred()) SWIG_fail
;
21446 Py_INCREF(Py_None
); resultobj
= Py_None
;
21453 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21454 PyObject
*resultobj
;
21455 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21457 PyObject
* obj0
= 0 ;
21458 char *kwnames
[] = {
21459 (char *) "self", NULL
21462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
21463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21464 if (SWIG_arg_fail(1)) SWIG_fail
;
21466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21467 result
= (bool)(arg1
)->HasTextColour();
21469 wxPyEndAllowThreads(__tstate
);
21470 if (PyErr_Occurred()) SWIG_fail
;
21473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21481 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21482 PyObject
*resultobj
;
21483 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21485 PyObject
* obj0
= 0 ;
21486 char *kwnames
[] = {
21487 (char *) "self", NULL
21490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
21491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21492 if (SWIG_arg_fail(1)) SWIG_fail
;
21494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21495 result
= (bool)(arg1
)->HasBackgroundColour();
21497 wxPyEndAllowThreads(__tstate
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21509 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21510 PyObject
*resultobj
;
21511 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21513 PyObject
* obj0
= 0 ;
21514 char *kwnames
[] = {
21515 (char *) "self", NULL
21518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
21519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21520 if (SWIG_arg_fail(1)) SWIG_fail
;
21522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21523 result
= (bool)(arg1
)->HasFont();
21525 wxPyEndAllowThreads(__tstate
);
21526 if (PyErr_Occurred()) SWIG_fail
;
21529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21537 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21538 PyObject
*resultobj
;
21539 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21541 PyObject
* obj0
= 0 ;
21542 char *kwnames
[] = {
21543 (char *) "self", NULL
21546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
21547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21548 if (SWIG_arg_fail(1)) SWIG_fail
;
21550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21551 result
= (arg1
)->GetTextColour();
21553 wxPyEndAllowThreads(__tstate
);
21554 if (PyErr_Occurred()) SWIG_fail
;
21557 wxColour
* resultptr
;
21558 resultptr
= new wxColour((wxColour
&)(result
));
21559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21567 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21568 PyObject
*resultobj
;
21569 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21571 PyObject
* obj0
= 0 ;
21572 char *kwnames
[] = {
21573 (char *) "self", NULL
21576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
21577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21578 if (SWIG_arg_fail(1)) SWIG_fail
;
21580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21581 result
= (arg1
)->GetBackgroundColour();
21583 wxPyEndAllowThreads(__tstate
);
21584 if (PyErr_Occurred()) SWIG_fail
;
21587 wxColour
* resultptr
;
21588 resultptr
= new wxColour((wxColour
&)(result
));
21589 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21597 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21598 PyObject
*resultobj
;
21599 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21601 PyObject
* obj0
= 0 ;
21602 char *kwnames
[] = {
21603 (char *) "self", NULL
21606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
21607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21608 if (SWIG_arg_fail(1)) SWIG_fail
;
21610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21611 result
= (arg1
)->GetFont();
21613 wxPyEndAllowThreads(__tstate
);
21614 if (PyErr_Occurred()) SWIG_fail
;
21617 wxFont
* resultptr
;
21618 resultptr
= new wxFont((wxFont
&)(result
));
21619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21627 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21628 PyObject
*resultobj
;
21629 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21630 PyObject
* obj0
= 0 ;
21631 char *kwnames
[] = {
21632 (char *) "self", NULL
21635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
21636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21637 if (SWIG_arg_fail(1)) SWIG_fail
;
21639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21640 wxListItemAttr_Destroy(arg1
);
21642 wxPyEndAllowThreads(__tstate
);
21643 if (PyErr_Occurred()) SWIG_fail
;
21645 Py_INCREF(Py_None
); resultobj
= Py_None
;
21652 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
21654 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21655 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
21657 return Py_BuildValue((char *)"");
21659 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21660 PyObject
*resultobj
;
21661 wxListItem
*result
;
21662 char *kwnames
[] = {
21666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
21668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21669 result
= (wxListItem
*)new wxListItem();
21671 wxPyEndAllowThreads(__tstate
);
21672 if (PyErr_Occurred()) SWIG_fail
;
21675 resultobj
= wxPyMake_wxObject(result
, 1);
21683 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21684 PyObject
*resultobj
;
21685 wxListItem
*arg1
= (wxListItem
*) 0 ;
21686 PyObject
* obj0
= 0 ;
21687 char *kwnames
[] = {
21688 (char *) "self", NULL
21691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
21692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21693 if (SWIG_arg_fail(1)) SWIG_fail
;
21695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21698 wxPyEndAllowThreads(__tstate
);
21699 if (PyErr_Occurred()) SWIG_fail
;
21701 Py_INCREF(Py_None
); resultobj
= Py_None
;
21708 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21709 PyObject
*resultobj
;
21710 wxListItem
*arg1
= (wxListItem
*) 0 ;
21711 PyObject
* obj0
= 0 ;
21712 char *kwnames
[] = {
21713 (char *) "self", NULL
21716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
21717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21718 if (SWIG_arg_fail(1)) SWIG_fail
;
21720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21723 wxPyEndAllowThreads(__tstate
);
21724 if (PyErr_Occurred()) SWIG_fail
;
21726 Py_INCREF(Py_None
); resultobj
= Py_None
;
21733 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21734 PyObject
*resultobj
;
21735 wxListItem
*arg1
= (wxListItem
*) 0 ;
21736 PyObject
* obj0
= 0 ;
21737 char *kwnames
[] = {
21738 (char *) "self", NULL
21741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
21742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21743 if (SWIG_arg_fail(1)) SWIG_fail
;
21745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21746 (arg1
)->ClearAttributes();
21748 wxPyEndAllowThreads(__tstate
);
21749 if (PyErr_Occurred()) SWIG_fail
;
21751 Py_INCREF(Py_None
); resultobj
= Py_None
;
21758 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21759 PyObject
*resultobj
;
21760 wxListItem
*arg1
= (wxListItem
*) 0 ;
21762 PyObject
* obj0
= 0 ;
21763 PyObject
* obj1
= 0 ;
21764 char *kwnames
[] = {
21765 (char *) "self",(char *) "mask", NULL
21768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21770 if (SWIG_arg_fail(1)) SWIG_fail
;
21772 arg2
= (long)(SWIG_As_long(obj1
));
21773 if (SWIG_arg_fail(2)) SWIG_fail
;
21776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21777 (arg1
)->SetMask(arg2
);
21779 wxPyEndAllowThreads(__tstate
);
21780 if (PyErr_Occurred()) SWIG_fail
;
21782 Py_INCREF(Py_None
); resultobj
= Py_None
;
21789 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21790 PyObject
*resultobj
;
21791 wxListItem
*arg1
= (wxListItem
*) 0 ;
21793 PyObject
* obj0
= 0 ;
21794 PyObject
* obj1
= 0 ;
21795 char *kwnames
[] = {
21796 (char *) "self",(char *) "id", NULL
21799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21801 if (SWIG_arg_fail(1)) SWIG_fail
;
21803 arg2
= (long)(SWIG_As_long(obj1
));
21804 if (SWIG_arg_fail(2)) SWIG_fail
;
21807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21808 (arg1
)->SetId(arg2
);
21810 wxPyEndAllowThreads(__tstate
);
21811 if (PyErr_Occurred()) SWIG_fail
;
21813 Py_INCREF(Py_None
); resultobj
= Py_None
;
21820 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21821 PyObject
*resultobj
;
21822 wxListItem
*arg1
= (wxListItem
*) 0 ;
21824 PyObject
* obj0
= 0 ;
21825 PyObject
* obj1
= 0 ;
21826 char *kwnames
[] = {
21827 (char *) "self",(char *) "col", NULL
21830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21832 if (SWIG_arg_fail(1)) SWIG_fail
;
21834 arg2
= (int)(SWIG_As_int(obj1
));
21835 if (SWIG_arg_fail(2)) SWIG_fail
;
21838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21839 (arg1
)->SetColumn(arg2
);
21841 wxPyEndAllowThreads(__tstate
);
21842 if (PyErr_Occurred()) SWIG_fail
;
21844 Py_INCREF(Py_None
); resultobj
= Py_None
;
21851 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21852 PyObject
*resultobj
;
21853 wxListItem
*arg1
= (wxListItem
*) 0 ;
21855 PyObject
* obj0
= 0 ;
21856 PyObject
* obj1
= 0 ;
21857 char *kwnames
[] = {
21858 (char *) "self",(char *) "state", NULL
21861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
21862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21863 if (SWIG_arg_fail(1)) SWIG_fail
;
21865 arg2
= (long)(SWIG_As_long(obj1
));
21866 if (SWIG_arg_fail(2)) SWIG_fail
;
21869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21870 (arg1
)->SetState(arg2
);
21872 wxPyEndAllowThreads(__tstate
);
21873 if (PyErr_Occurred()) SWIG_fail
;
21875 Py_INCREF(Py_None
); resultobj
= Py_None
;
21882 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21883 PyObject
*resultobj
;
21884 wxListItem
*arg1
= (wxListItem
*) 0 ;
21886 PyObject
* obj0
= 0 ;
21887 PyObject
* obj1
= 0 ;
21888 char *kwnames
[] = {
21889 (char *) "self",(char *) "stateMask", NULL
21892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21894 if (SWIG_arg_fail(1)) SWIG_fail
;
21896 arg2
= (long)(SWIG_As_long(obj1
));
21897 if (SWIG_arg_fail(2)) SWIG_fail
;
21900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21901 (arg1
)->SetStateMask(arg2
);
21903 wxPyEndAllowThreads(__tstate
);
21904 if (PyErr_Occurred()) SWIG_fail
;
21906 Py_INCREF(Py_None
); resultobj
= Py_None
;
21913 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21914 PyObject
*resultobj
;
21915 wxListItem
*arg1
= (wxListItem
*) 0 ;
21916 wxString
*arg2
= 0 ;
21917 bool temp2
= false ;
21918 PyObject
* obj0
= 0 ;
21919 PyObject
* obj1
= 0 ;
21920 char *kwnames
[] = {
21921 (char *) "self",(char *) "text", NULL
21924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21926 if (SWIG_arg_fail(1)) SWIG_fail
;
21928 arg2
= wxString_in_helper(obj1
);
21929 if (arg2
== NULL
) SWIG_fail
;
21933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21934 (arg1
)->SetText((wxString
const &)*arg2
);
21936 wxPyEndAllowThreads(__tstate
);
21937 if (PyErr_Occurred()) SWIG_fail
;
21939 Py_INCREF(Py_None
); resultobj
= Py_None
;
21954 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21955 PyObject
*resultobj
;
21956 wxListItem
*arg1
= (wxListItem
*) 0 ;
21958 PyObject
* obj0
= 0 ;
21959 PyObject
* obj1
= 0 ;
21960 char *kwnames
[] = {
21961 (char *) "self",(char *) "image", NULL
21964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
21965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21966 if (SWIG_arg_fail(1)) SWIG_fail
;
21968 arg2
= (int)(SWIG_As_int(obj1
));
21969 if (SWIG_arg_fail(2)) SWIG_fail
;
21972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21973 (arg1
)->SetImage(arg2
);
21975 wxPyEndAllowThreads(__tstate
);
21976 if (PyErr_Occurred()) SWIG_fail
;
21978 Py_INCREF(Py_None
); resultobj
= Py_None
;
21985 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21986 PyObject
*resultobj
;
21987 wxListItem
*arg1
= (wxListItem
*) 0 ;
21989 PyObject
* obj0
= 0 ;
21990 PyObject
* obj1
= 0 ;
21991 char *kwnames
[] = {
21992 (char *) "self",(char *) "data", NULL
21995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
21996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21997 if (SWIG_arg_fail(1)) SWIG_fail
;
21999 arg2
= (long)(SWIG_As_long(obj1
));
22000 if (SWIG_arg_fail(2)) SWIG_fail
;
22003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22004 (arg1
)->SetData(arg2
);
22006 wxPyEndAllowThreads(__tstate
);
22007 if (PyErr_Occurred()) SWIG_fail
;
22009 Py_INCREF(Py_None
); resultobj
= Py_None
;
22016 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22017 PyObject
*resultobj
;
22018 wxListItem
*arg1
= (wxListItem
*) 0 ;
22020 PyObject
* obj0
= 0 ;
22021 PyObject
* obj1
= 0 ;
22022 char *kwnames
[] = {
22023 (char *) "self",(char *) "width", NULL
22026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
22027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22028 if (SWIG_arg_fail(1)) SWIG_fail
;
22030 arg2
= (int)(SWIG_As_int(obj1
));
22031 if (SWIG_arg_fail(2)) SWIG_fail
;
22034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22035 (arg1
)->SetWidth(arg2
);
22037 wxPyEndAllowThreads(__tstate
);
22038 if (PyErr_Occurred()) SWIG_fail
;
22040 Py_INCREF(Py_None
); resultobj
= Py_None
;
22047 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22048 PyObject
*resultobj
;
22049 wxListItem
*arg1
= (wxListItem
*) 0 ;
22050 wxListColumnFormat arg2
;
22051 PyObject
* obj0
= 0 ;
22052 PyObject
* obj1
= 0 ;
22053 char *kwnames
[] = {
22054 (char *) "self",(char *) "align", NULL
22057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
22058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22059 if (SWIG_arg_fail(1)) SWIG_fail
;
22061 arg2
= (wxListColumnFormat
)(SWIG_As_int(obj1
));
22062 if (SWIG_arg_fail(2)) SWIG_fail
;
22065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22066 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
22068 wxPyEndAllowThreads(__tstate
);
22069 if (PyErr_Occurred()) SWIG_fail
;
22071 Py_INCREF(Py_None
); resultobj
= Py_None
;
22078 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22079 PyObject
*resultobj
;
22080 wxListItem
*arg1
= (wxListItem
*) 0 ;
22081 wxColour
*arg2
= 0 ;
22083 PyObject
* obj0
= 0 ;
22084 PyObject
* obj1
= 0 ;
22085 char *kwnames
[] = {
22086 (char *) "self",(char *) "colText", NULL
22089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22091 if (SWIG_arg_fail(1)) SWIG_fail
;
22094 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22098 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22100 wxPyEndAllowThreads(__tstate
);
22101 if (PyErr_Occurred()) SWIG_fail
;
22103 Py_INCREF(Py_None
); resultobj
= Py_None
;
22110 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22111 PyObject
*resultobj
;
22112 wxListItem
*arg1
= (wxListItem
*) 0 ;
22113 wxColour
*arg2
= 0 ;
22115 PyObject
* obj0
= 0 ;
22116 PyObject
* obj1
= 0 ;
22117 char *kwnames
[] = {
22118 (char *) "self",(char *) "colBack", NULL
22121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22123 if (SWIG_arg_fail(1)) SWIG_fail
;
22126 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22130 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22132 wxPyEndAllowThreads(__tstate
);
22133 if (PyErr_Occurred()) SWIG_fail
;
22135 Py_INCREF(Py_None
); resultobj
= Py_None
;
22142 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22143 PyObject
*resultobj
;
22144 wxListItem
*arg1
= (wxListItem
*) 0 ;
22146 PyObject
* obj0
= 0 ;
22147 PyObject
* obj1
= 0 ;
22148 char *kwnames
[] = {
22149 (char *) "self",(char *) "font", NULL
22152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22154 if (SWIG_arg_fail(1)) SWIG_fail
;
22156 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22157 if (SWIG_arg_fail(2)) SWIG_fail
;
22158 if (arg2
== NULL
) {
22159 SWIG_null_ref("wxFont");
22161 if (SWIG_arg_fail(2)) SWIG_fail
;
22164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22165 (arg1
)->SetFont((wxFont
const &)*arg2
);
22167 wxPyEndAllowThreads(__tstate
);
22168 if (PyErr_Occurred()) SWIG_fail
;
22170 Py_INCREF(Py_None
); resultobj
= Py_None
;
22177 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22178 PyObject
*resultobj
;
22179 wxListItem
*arg1
= (wxListItem
*) 0 ;
22181 PyObject
* obj0
= 0 ;
22182 char *kwnames
[] = {
22183 (char *) "self", NULL
22186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
22187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22188 if (SWIG_arg_fail(1)) SWIG_fail
;
22190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22191 result
= (long)(arg1
)->GetMask();
22193 wxPyEndAllowThreads(__tstate
);
22194 if (PyErr_Occurred()) SWIG_fail
;
22197 resultobj
= SWIG_From_long((long)(result
));
22205 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22206 PyObject
*resultobj
;
22207 wxListItem
*arg1
= (wxListItem
*) 0 ;
22209 PyObject
* obj0
= 0 ;
22210 char *kwnames
[] = {
22211 (char *) "self", NULL
22214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
22215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22216 if (SWIG_arg_fail(1)) SWIG_fail
;
22218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22219 result
= (long)(arg1
)->GetId();
22221 wxPyEndAllowThreads(__tstate
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22225 resultobj
= SWIG_From_long((long)(result
));
22233 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22234 PyObject
*resultobj
;
22235 wxListItem
*arg1
= (wxListItem
*) 0 ;
22237 PyObject
* obj0
= 0 ;
22238 char *kwnames
[] = {
22239 (char *) "self", NULL
22242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
22243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22244 if (SWIG_arg_fail(1)) SWIG_fail
;
22246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22247 result
= (int)(arg1
)->GetColumn();
22249 wxPyEndAllowThreads(__tstate
);
22250 if (PyErr_Occurred()) SWIG_fail
;
22253 resultobj
= SWIG_From_int((int)(result
));
22261 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22262 PyObject
*resultobj
;
22263 wxListItem
*arg1
= (wxListItem
*) 0 ;
22265 PyObject
* obj0
= 0 ;
22266 char *kwnames
[] = {
22267 (char *) "self", NULL
22270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
22271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22272 if (SWIG_arg_fail(1)) SWIG_fail
;
22274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22275 result
= (long)(arg1
)->GetState();
22277 wxPyEndAllowThreads(__tstate
);
22278 if (PyErr_Occurred()) SWIG_fail
;
22281 resultobj
= SWIG_From_long((long)(result
));
22289 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22290 PyObject
*resultobj
;
22291 wxListItem
*arg1
= (wxListItem
*) 0 ;
22293 PyObject
* obj0
= 0 ;
22294 char *kwnames
[] = {
22295 (char *) "self", NULL
22298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
22299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22300 if (SWIG_arg_fail(1)) SWIG_fail
;
22302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22304 wxString
const &_result_ref
= (arg1
)->GetText();
22305 result
= (wxString
*) &_result_ref
;
22308 wxPyEndAllowThreads(__tstate
);
22309 if (PyErr_Occurred()) SWIG_fail
;
22313 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22315 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22324 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22325 PyObject
*resultobj
;
22326 wxListItem
*arg1
= (wxListItem
*) 0 ;
22328 PyObject
* obj0
= 0 ;
22329 char *kwnames
[] = {
22330 (char *) "self", NULL
22333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
22334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22335 if (SWIG_arg_fail(1)) SWIG_fail
;
22337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22338 result
= (int)(arg1
)->GetImage();
22340 wxPyEndAllowThreads(__tstate
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22344 resultobj
= SWIG_From_int((int)(result
));
22352 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22353 PyObject
*resultobj
;
22354 wxListItem
*arg1
= (wxListItem
*) 0 ;
22356 PyObject
* obj0
= 0 ;
22357 char *kwnames
[] = {
22358 (char *) "self", NULL
22361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
22362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22363 if (SWIG_arg_fail(1)) SWIG_fail
;
22365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22366 result
= (long)(arg1
)->GetData();
22368 wxPyEndAllowThreads(__tstate
);
22369 if (PyErr_Occurred()) SWIG_fail
;
22372 resultobj
= SWIG_From_long((long)(result
));
22380 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22381 PyObject
*resultobj
;
22382 wxListItem
*arg1
= (wxListItem
*) 0 ;
22384 PyObject
* obj0
= 0 ;
22385 char *kwnames
[] = {
22386 (char *) "self", NULL
22389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
22390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22391 if (SWIG_arg_fail(1)) SWIG_fail
;
22393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22394 result
= (int)(arg1
)->GetWidth();
22396 wxPyEndAllowThreads(__tstate
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22400 resultobj
= SWIG_From_int((int)(result
));
22408 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22409 PyObject
*resultobj
;
22410 wxListItem
*arg1
= (wxListItem
*) 0 ;
22411 wxListColumnFormat result
;
22412 PyObject
* obj0
= 0 ;
22413 char *kwnames
[] = {
22414 (char *) "self", NULL
22417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
22418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22419 if (SWIG_arg_fail(1)) SWIG_fail
;
22421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22422 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
22424 wxPyEndAllowThreads(__tstate
);
22425 if (PyErr_Occurred()) SWIG_fail
;
22427 resultobj
= SWIG_From_int((result
));
22434 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22435 PyObject
*resultobj
;
22436 wxListItem
*arg1
= (wxListItem
*) 0 ;
22437 wxListItemAttr
*result
;
22438 PyObject
* obj0
= 0 ;
22439 char *kwnames
[] = {
22440 (char *) "self", NULL
22443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
22444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22445 if (SWIG_arg_fail(1)) SWIG_fail
;
22447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22448 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
22450 wxPyEndAllowThreads(__tstate
);
22451 if (PyErr_Occurred()) SWIG_fail
;
22453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
22460 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22461 PyObject
*resultobj
;
22462 wxListItem
*arg1
= (wxListItem
*) 0 ;
22464 PyObject
* obj0
= 0 ;
22465 char *kwnames
[] = {
22466 (char *) "self", NULL
22469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
22470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22471 if (SWIG_arg_fail(1)) SWIG_fail
;
22473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22474 result
= (bool)(arg1
)->HasAttributes();
22476 wxPyEndAllowThreads(__tstate
);
22477 if (PyErr_Occurred()) SWIG_fail
;
22480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22488 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22489 PyObject
*resultobj
;
22490 wxListItem
*arg1
= (wxListItem
*) 0 ;
22492 PyObject
* obj0
= 0 ;
22493 char *kwnames
[] = {
22494 (char *) "self", NULL
22497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
22498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22499 if (SWIG_arg_fail(1)) SWIG_fail
;
22501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22502 result
= ((wxListItem
const *)arg1
)->GetTextColour();
22504 wxPyEndAllowThreads(__tstate
);
22505 if (PyErr_Occurred()) SWIG_fail
;
22508 wxColour
* resultptr
;
22509 resultptr
= new wxColour((wxColour
&)(result
));
22510 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22518 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22519 PyObject
*resultobj
;
22520 wxListItem
*arg1
= (wxListItem
*) 0 ;
22522 PyObject
* obj0
= 0 ;
22523 char *kwnames
[] = {
22524 (char *) "self", NULL
22527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22529 if (SWIG_arg_fail(1)) SWIG_fail
;
22531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22532 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
22534 wxPyEndAllowThreads(__tstate
);
22535 if (PyErr_Occurred()) SWIG_fail
;
22538 wxColour
* resultptr
;
22539 resultptr
= new wxColour((wxColour
&)(result
));
22540 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22548 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22549 PyObject
*resultobj
;
22550 wxListItem
*arg1
= (wxListItem
*) 0 ;
22552 PyObject
* obj0
= 0 ;
22553 char *kwnames
[] = {
22554 (char *) "self", NULL
22557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
22558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22559 if (SWIG_arg_fail(1)) SWIG_fail
;
22561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22562 result
= ((wxListItem
const *)arg1
)->GetFont();
22564 wxPyEndAllowThreads(__tstate
);
22565 if (PyErr_Occurred()) SWIG_fail
;
22568 wxFont
* resultptr
;
22569 resultptr
= new wxFont((wxFont
&)(result
));
22570 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22578 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22579 PyObject
*resultobj
;
22580 wxListItem
*arg1
= (wxListItem
*) 0 ;
22582 PyObject
* obj0
= 0 ;
22583 PyObject
* obj1
= 0 ;
22584 char *kwnames
[] = {
22585 (char *) "self",(char *) "m_mask", NULL
22588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22590 if (SWIG_arg_fail(1)) SWIG_fail
;
22592 arg2
= (long)(SWIG_As_long(obj1
));
22593 if (SWIG_arg_fail(2)) SWIG_fail
;
22595 if (arg1
) (arg1
)->m_mask
= arg2
;
22597 Py_INCREF(Py_None
); resultobj
= Py_None
;
22604 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22605 PyObject
*resultobj
;
22606 wxListItem
*arg1
= (wxListItem
*) 0 ;
22608 PyObject
* obj0
= 0 ;
22609 char *kwnames
[] = {
22610 (char *) "self", NULL
22613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
22614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22615 if (SWIG_arg_fail(1)) SWIG_fail
;
22616 result
= (long) ((arg1
)->m_mask
);
22619 resultobj
= SWIG_From_long((long)(result
));
22627 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22628 PyObject
*resultobj
;
22629 wxListItem
*arg1
= (wxListItem
*) 0 ;
22631 PyObject
* obj0
= 0 ;
22632 PyObject
* obj1
= 0 ;
22633 char *kwnames
[] = {
22634 (char *) "self",(char *) "m_itemId", NULL
22637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22639 if (SWIG_arg_fail(1)) SWIG_fail
;
22641 arg2
= (long)(SWIG_As_long(obj1
));
22642 if (SWIG_arg_fail(2)) SWIG_fail
;
22644 if (arg1
) (arg1
)->m_itemId
= arg2
;
22646 Py_INCREF(Py_None
); resultobj
= Py_None
;
22653 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22654 PyObject
*resultobj
;
22655 wxListItem
*arg1
= (wxListItem
*) 0 ;
22657 PyObject
* obj0
= 0 ;
22658 char *kwnames
[] = {
22659 (char *) "self", NULL
22662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
22663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22664 if (SWIG_arg_fail(1)) SWIG_fail
;
22665 result
= (long) ((arg1
)->m_itemId
);
22668 resultobj
= SWIG_From_long((long)(result
));
22676 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22677 PyObject
*resultobj
;
22678 wxListItem
*arg1
= (wxListItem
*) 0 ;
22680 PyObject
* obj0
= 0 ;
22681 PyObject
* obj1
= 0 ;
22682 char *kwnames
[] = {
22683 (char *) "self",(char *) "m_col", NULL
22686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22688 if (SWIG_arg_fail(1)) SWIG_fail
;
22690 arg2
= (int)(SWIG_As_int(obj1
));
22691 if (SWIG_arg_fail(2)) SWIG_fail
;
22693 if (arg1
) (arg1
)->m_col
= arg2
;
22695 Py_INCREF(Py_None
); resultobj
= Py_None
;
22702 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22703 PyObject
*resultobj
;
22704 wxListItem
*arg1
= (wxListItem
*) 0 ;
22706 PyObject
* obj0
= 0 ;
22707 char *kwnames
[] = {
22708 (char *) "self", NULL
22711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
22712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22713 if (SWIG_arg_fail(1)) SWIG_fail
;
22714 result
= (int) ((arg1
)->m_col
);
22717 resultobj
= SWIG_From_int((int)(result
));
22725 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22726 PyObject
*resultobj
;
22727 wxListItem
*arg1
= (wxListItem
*) 0 ;
22729 PyObject
* obj0
= 0 ;
22730 PyObject
* obj1
= 0 ;
22731 char *kwnames
[] = {
22732 (char *) "self",(char *) "m_state", NULL
22735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22737 if (SWIG_arg_fail(1)) SWIG_fail
;
22739 arg2
= (long)(SWIG_As_long(obj1
));
22740 if (SWIG_arg_fail(2)) SWIG_fail
;
22742 if (arg1
) (arg1
)->m_state
= arg2
;
22744 Py_INCREF(Py_None
); resultobj
= Py_None
;
22751 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22752 PyObject
*resultobj
;
22753 wxListItem
*arg1
= (wxListItem
*) 0 ;
22755 PyObject
* obj0
= 0 ;
22756 char *kwnames
[] = {
22757 (char *) "self", NULL
22760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
22761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22762 if (SWIG_arg_fail(1)) SWIG_fail
;
22763 result
= (long) ((arg1
)->m_state
);
22766 resultobj
= SWIG_From_long((long)(result
));
22774 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22775 PyObject
*resultobj
;
22776 wxListItem
*arg1
= (wxListItem
*) 0 ;
22778 PyObject
* obj0
= 0 ;
22779 PyObject
* obj1
= 0 ;
22780 char *kwnames
[] = {
22781 (char *) "self",(char *) "m_stateMask", NULL
22784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22786 if (SWIG_arg_fail(1)) SWIG_fail
;
22788 arg2
= (long)(SWIG_As_long(obj1
));
22789 if (SWIG_arg_fail(2)) SWIG_fail
;
22791 if (arg1
) (arg1
)->m_stateMask
= arg2
;
22793 Py_INCREF(Py_None
); resultobj
= Py_None
;
22800 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22801 PyObject
*resultobj
;
22802 wxListItem
*arg1
= (wxListItem
*) 0 ;
22804 PyObject
* obj0
= 0 ;
22805 char *kwnames
[] = {
22806 (char *) "self", NULL
22809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
22810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22811 if (SWIG_arg_fail(1)) SWIG_fail
;
22812 result
= (long) ((arg1
)->m_stateMask
);
22815 resultobj
= SWIG_From_long((long)(result
));
22823 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22824 PyObject
*resultobj
;
22825 wxListItem
*arg1
= (wxListItem
*) 0 ;
22826 wxString
*arg2
= (wxString
*) 0 ;
22827 bool temp2
= false ;
22828 PyObject
* obj0
= 0 ;
22829 PyObject
* obj1
= 0 ;
22830 char *kwnames
[] = {
22831 (char *) "self",(char *) "m_text", NULL
22834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22836 if (SWIG_arg_fail(1)) SWIG_fail
;
22838 arg2
= wxString_in_helper(obj1
);
22839 if (arg2
== NULL
) SWIG_fail
;
22842 if (arg1
) (arg1
)->m_text
= *arg2
;
22844 Py_INCREF(Py_None
); resultobj
= Py_None
;
22859 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22860 PyObject
*resultobj
;
22861 wxListItem
*arg1
= (wxListItem
*) 0 ;
22863 PyObject
* obj0
= 0 ;
22864 char *kwnames
[] = {
22865 (char *) "self", NULL
22868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
22869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22870 if (SWIG_arg_fail(1)) SWIG_fail
;
22871 result
= (wxString
*)& ((arg1
)->m_text
);
22875 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22877 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22886 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22887 PyObject
*resultobj
;
22888 wxListItem
*arg1
= (wxListItem
*) 0 ;
22890 PyObject
* obj0
= 0 ;
22891 PyObject
* obj1
= 0 ;
22892 char *kwnames
[] = {
22893 (char *) "self",(char *) "m_image", NULL
22896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22898 if (SWIG_arg_fail(1)) SWIG_fail
;
22900 arg2
= (int)(SWIG_As_int(obj1
));
22901 if (SWIG_arg_fail(2)) SWIG_fail
;
22903 if (arg1
) (arg1
)->m_image
= arg2
;
22905 Py_INCREF(Py_None
); resultobj
= Py_None
;
22912 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22913 PyObject
*resultobj
;
22914 wxListItem
*arg1
= (wxListItem
*) 0 ;
22916 PyObject
* obj0
= 0 ;
22917 char *kwnames
[] = {
22918 (char *) "self", NULL
22921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
22922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22923 if (SWIG_arg_fail(1)) SWIG_fail
;
22924 result
= (int) ((arg1
)->m_image
);
22927 resultobj
= SWIG_From_int((int)(result
));
22935 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22936 PyObject
*resultobj
;
22937 wxListItem
*arg1
= (wxListItem
*) 0 ;
22939 PyObject
* obj0
= 0 ;
22940 PyObject
* obj1
= 0 ;
22941 char *kwnames
[] = {
22942 (char *) "self",(char *) "m_data", NULL
22945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22947 if (SWIG_arg_fail(1)) SWIG_fail
;
22949 arg2
= (long)(SWIG_As_long(obj1
));
22950 if (SWIG_arg_fail(2)) SWIG_fail
;
22952 if (arg1
) (arg1
)->m_data
= arg2
;
22954 Py_INCREF(Py_None
); resultobj
= Py_None
;
22961 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22962 PyObject
*resultobj
;
22963 wxListItem
*arg1
= (wxListItem
*) 0 ;
22965 PyObject
* obj0
= 0 ;
22966 char *kwnames
[] = {
22967 (char *) "self", NULL
22970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
22971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22972 if (SWIG_arg_fail(1)) SWIG_fail
;
22973 result
= (long) ((arg1
)->m_data
);
22976 resultobj
= SWIG_From_long((long)(result
));
22984 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22985 PyObject
*resultobj
;
22986 wxListItem
*arg1
= (wxListItem
*) 0 ;
22988 PyObject
* obj0
= 0 ;
22989 PyObject
* obj1
= 0 ;
22990 char *kwnames
[] = {
22991 (char *) "self",(char *) "m_format", NULL
22994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22996 if (SWIG_arg_fail(1)) SWIG_fail
;
22998 arg2
= (int)(SWIG_As_int(obj1
));
22999 if (SWIG_arg_fail(2)) SWIG_fail
;
23001 if (arg1
) (arg1
)->m_format
= arg2
;
23003 Py_INCREF(Py_None
); resultobj
= Py_None
;
23010 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23011 PyObject
*resultobj
;
23012 wxListItem
*arg1
= (wxListItem
*) 0 ;
23014 PyObject
* obj0
= 0 ;
23015 char *kwnames
[] = {
23016 (char *) "self", NULL
23019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
23020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23021 if (SWIG_arg_fail(1)) SWIG_fail
;
23022 result
= (int) ((arg1
)->m_format
);
23025 resultobj
= SWIG_From_int((int)(result
));
23033 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23034 PyObject
*resultobj
;
23035 wxListItem
*arg1
= (wxListItem
*) 0 ;
23037 PyObject
* obj0
= 0 ;
23038 PyObject
* obj1
= 0 ;
23039 char *kwnames
[] = {
23040 (char *) "self",(char *) "m_width", NULL
23043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23045 if (SWIG_arg_fail(1)) SWIG_fail
;
23047 arg2
= (int)(SWIG_As_int(obj1
));
23048 if (SWIG_arg_fail(2)) SWIG_fail
;
23050 if (arg1
) (arg1
)->m_width
= arg2
;
23052 Py_INCREF(Py_None
); resultobj
= Py_None
;
23059 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23060 PyObject
*resultobj
;
23061 wxListItem
*arg1
= (wxListItem
*) 0 ;
23063 PyObject
* obj0
= 0 ;
23064 char *kwnames
[] = {
23065 (char *) "self", NULL
23068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
23069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23070 if (SWIG_arg_fail(1)) SWIG_fail
;
23071 result
= (int) ((arg1
)->m_width
);
23074 resultobj
= SWIG_From_int((int)(result
));
23082 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
23084 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23085 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
23087 return Py_BuildValue((char *)"");
23089 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23090 PyObject
*resultobj
;
23091 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23092 int arg2
= (int) 0 ;
23093 wxListEvent
*result
;
23094 PyObject
* obj0
= 0 ;
23095 PyObject
* obj1
= 0 ;
23096 char *kwnames
[] = {
23097 (char *) "commandType",(char *) "id", NULL
23100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23103 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
23104 if (SWIG_arg_fail(1)) SWIG_fail
;
23109 arg2
= (int)(SWIG_As_int(obj1
));
23110 if (SWIG_arg_fail(2)) SWIG_fail
;
23114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23115 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
23117 wxPyEndAllowThreads(__tstate
);
23118 if (PyErr_Occurred()) SWIG_fail
;
23120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
23127 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23128 PyObject
*resultobj
;
23129 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23131 PyObject
* obj0
= 0 ;
23132 PyObject
* obj1
= 0 ;
23133 char *kwnames
[] = {
23134 (char *) "self",(char *) "m_code", NULL
23137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23139 if (SWIG_arg_fail(1)) SWIG_fail
;
23141 arg2
= (int)(SWIG_As_int(obj1
));
23142 if (SWIG_arg_fail(2)) SWIG_fail
;
23144 if (arg1
) (arg1
)->m_code
= arg2
;
23146 Py_INCREF(Py_None
); resultobj
= Py_None
;
23153 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23154 PyObject
*resultobj
;
23155 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23157 PyObject
* obj0
= 0 ;
23158 char *kwnames
[] = {
23159 (char *) "self", NULL
23162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
23163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23164 if (SWIG_arg_fail(1)) SWIG_fail
;
23165 result
= (int) ((arg1
)->m_code
);
23168 resultobj
= SWIG_From_int((int)(result
));
23176 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23177 PyObject
*resultobj
;
23178 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23180 PyObject
* obj0
= 0 ;
23181 PyObject
* obj1
= 0 ;
23182 char *kwnames
[] = {
23183 (char *) "self",(char *) "m_oldItemIndex", NULL
23186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23188 if (SWIG_arg_fail(1)) SWIG_fail
;
23190 arg2
= (long)(SWIG_As_long(obj1
));
23191 if (SWIG_arg_fail(2)) SWIG_fail
;
23193 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
23195 Py_INCREF(Py_None
); resultobj
= Py_None
;
23202 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23203 PyObject
*resultobj
;
23204 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23206 PyObject
* obj0
= 0 ;
23207 char *kwnames
[] = {
23208 (char *) "self", NULL
23211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
23212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23213 if (SWIG_arg_fail(1)) SWIG_fail
;
23214 result
= (long) ((arg1
)->m_oldItemIndex
);
23217 resultobj
= SWIG_From_long((long)(result
));
23225 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23226 PyObject
*resultobj
;
23227 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23229 PyObject
* obj0
= 0 ;
23230 PyObject
* obj1
= 0 ;
23231 char *kwnames
[] = {
23232 (char *) "self",(char *) "m_itemIndex", NULL
23235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23237 if (SWIG_arg_fail(1)) SWIG_fail
;
23239 arg2
= (long)(SWIG_As_long(obj1
));
23240 if (SWIG_arg_fail(2)) SWIG_fail
;
23242 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
23244 Py_INCREF(Py_None
); resultobj
= Py_None
;
23251 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23252 PyObject
*resultobj
;
23253 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23255 PyObject
* obj0
= 0 ;
23256 char *kwnames
[] = {
23257 (char *) "self", NULL
23260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
23261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23262 if (SWIG_arg_fail(1)) SWIG_fail
;
23263 result
= (long) ((arg1
)->m_itemIndex
);
23266 resultobj
= SWIG_From_long((long)(result
));
23274 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23275 PyObject
*resultobj
;
23276 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23278 PyObject
* obj0
= 0 ;
23279 PyObject
* obj1
= 0 ;
23280 char *kwnames
[] = {
23281 (char *) "self",(char *) "m_col", NULL
23284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23286 if (SWIG_arg_fail(1)) SWIG_fail
;
23288 arg2
= (int)(SWIG_As_int(obj1
));
23289 if (SWIG_arg_fail(2)) SWIG_fail
;
23291 if (arg1
) (arg1
)->m_col
= arg2
;
23293 Py_INCREF(Py_None
); resultobj
= Py_None
;
23300 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23301 PyObject
*resultobj
;
23302 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23304 PyObject
* obj0
= 0 ;
23305 char *kwnames
[] = {
23306 (char *) "self", NULL
23309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
23310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23311 if (SWIG_arg_fail(1)) SWIG_fail
;
23312 result
= (int) ((arg1
)->m_col
);
23315 resultobj
= SWIG_From_int((int)(result
));
23323 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23324 PyObject
*resultobj
;
23325 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23326 wxPoint
*arg2
= (wxPoint
*) 0 ;
23327 PyObject
* obj0
= 0 ;
23328 PyObject
* obj1
= 0 ;
23329 char *kwnames
[] = {
23330 (char *) "self",(char *) "m_pointDrag", NULL
23333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23335 if (SWIG_arg_fail(1)) SWIG_fail
;
23336 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
23337 if (SWIG_arg_fail(2)) SWIG_fail
;
23338 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
23340 Py_INCREF(Py_None
); resultobj
= Py_None
;
23347 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23348 PyObject
*resultobj
;
23349 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23351 PyObject
* obj0
= 0 ;
23352 char *kwnames
[] = {
23353 (char *) "self", NULL
23356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
23357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23358 if (SWIG_arg_fail(1)) SWIG_fail
;
23359 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
23361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
23368 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23369 PyObject
*resultobj
;
23370 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23371 wxListItem
*result
;
23372 PyObject
* obj0
= 0 ;
23373 char *kwnames
[] = {
23374 (char *) "self", NULL
23377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
23378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23379 if (SWIG_arg_fail(1)) SWIG_fail
;
23380 result
= (wxListItem
*)& ((arg1
)->m_item
);
23383 resultobj
= wxPyMake_wxObject(result
, 0);
23391 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23392 PyObject
*resultobj
;
23393 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23395 PyObject
* obj0
= 0 ;
23396 char *kwnames
[] = {
23397 (char *) "self", NULL
23400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23402 if (SWIG_arg_fail(1)) SWIG_fail
;
23404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23405 result
= (int)(arg1
)->GetKeyCode();
23407 wxPyEndAllowThreads(__tstate
);
23408 if (PyErr_Occurred()) SWIG_fail
;
23411 resultobj
= SWIG_From_int((int)(result
));
23419 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23420 PyObject
*resultobj
;
23421 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23423 PyObject
* obj0
= 0 ;
23424 char *kwnames
[] = {
23425 (char *) "self", NULL
23428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
23429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23430 if (SWIG_arg_fail(1)) SWIG_fail
;
23432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23433 result
= (long)(arg1
)->GetIndex();
23435 wxPyEndAllowThreads(__tstate
);
23436 if (PyErr_Occurred()) SWIG_fail
;
23439 resultobj
= SWIG_From_long((long)(result
));
23447 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23448 PyObject
*resultobj
;
23449 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23451 PyObject
* obj0
= 0 ;
23452 char *kwnames
[] = {
23453 (char *) "self", NULL
23456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
23457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23458 if (SWIG_arg_fail(1)) SWIG_fail
;
23460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23461 result
= (int)(arg1
)->GetColumn();
23463 wxPyEndAllowThreads(__tstate
);
23464 if (PyErr_Occurred()) SWIG_fail
;
23467 resultobj
= SWIG_From_int((int)(result
));
23475 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23476 PyObject
*resultobj
;
23477 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23479 PyObject
* obj0
= 0 ;
23480 char *kwnames
[] = {
23481 (char *) "self", NULL
23484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23486 if (SWIG_arg_fail(1)) SWIG_fail
;
23488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23489 result
= (arg1
)->GetPoint();
23491 wxPyEndAllowThreads(__tstate
);
23492 if (PyErr_Occurred()) SWIG_fail
;
23495 wxPoint
* resultptr
;
23496 resultptr
= new wxPoint((wxPoint
&)(result
));
23497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23505 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23506 PyObject
*resultobj
;
23507 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23509 PyObject
* obj0
= 0 ;
23510 char *kwnames
[] = {
23511 (char *) "self", NULL
23514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23516 if (SWIG_arg_fail(1)) SWIG_fail
;
23518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23520 wxString
const &_result_ref
= (arg1
)->GetLabel();
23521 result
= (wxString
*) &_result_ref
;
23524 wxPyEndAllowThreads(__tstate
);
23525 if (PyErr_Occurred()) SWIG_fail
;
23529 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23531 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23540 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23541 PyObject
*resultobj
;
23542 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23544 PyObject
* obj0
= 0 ;
23545 char *kwnames
[] = {
23546 (char *) "self", NULL
23549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
23550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23551 if (SWIG_arg_fail(1)) SWIG_fail
;
23553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23555 wxString
const &_result_ref
= (arg1
)->GetText();
23556 result
= (wxString
*) &_result_ref
;
23559 wxPyEndAllowThreads(__tstate
);
23560 if (PyErr_Occurred()) SWIG_fail
;
23564 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23566 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23575 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23576 PyObject
*resultobj
;
23577 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23579 PyObject
* obj0
= 0 ;
23580 char *kwnames
[] = {
23581 (char *) "self", NULL
23584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
23585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23586 if (SWIG_arg_fail(1)) SWIG_fail
;
23588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23589 result
= (int)(arg1
)->GetImage();
23591 wxPyEndAllowThreads(__tstate
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23595 resultobj
= SWIG_From_int((int)(result
));
23603 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23604 PyObject
*resultobj
;
23605 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23607 PyObject
* obj0
= 0 ;
23608 char *kwnames
[] = {
23609 (char *) "self", NULL
23612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
23613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23614 if (SWIG_arg_fail(1)) SWIG_fail
;
23616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23617 result
= (long)(arg1
)->GetData();
23619 wxPyEndAllowThreads(__tstate
);
23620 if (PyErr_Occurred()) SWIG_fail
;
23623 resultobj
= SWIG_From_long((long)(result
));
23631 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23632 PyObject
*resultobj
;
23633 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23635 PyObject
* obj0
= 0 ;
23636 char *kwnames
[] = {
23637 (char *) "self", NULL
23640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
23641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23642 if (SWIG_arg_fail(1)) SWIG_fail
;
23644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23645 result
= (long)(arg1
)->GetMask();
23647 wxPyEndAllowThreads(__tstate
);
23648 if (PyErr_Occurred()) SWIG_fail
;
23651 resultobj
= SWIG_From_long((long)(result
));
23659 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23660 PyObject
*resultobj
;
23661 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23662 wxListItem
*result
;
23663 PyObject
* obj0
= 0 ;
23664 char *kwnames
[] = {
23665 (char *) "self", NULL
23668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23670 if (SWIG_arg_fail(1)) SWIG_fail
;
23672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23674 wxListItem
const &_result_ref
= (arg1
)->GetItem();
23675 result
= (wxListItem
*) &_result_ref
;
23678 wxPyEndAllowThreads(__tstate
);
23679 if (PyErr_Occurred()) SWIG_fail
;
23681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
23688 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23689 PyObject
*resultobj
;
23690 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23692 PyObject
* obj0
= 0 ;
23693 char *kwnames
[] = {
23694 (char *) "self", NULL
23697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
23698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23699 if (SWIG_arg_fail(1)) SWIG_fail
;
23701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23702 result
= (long)(arg1
)->GetCacheFrom();
23704 wxPyEndAllowThreads(__tstate
);
23705 if (PyErr_Occurred()) SWIG_fail
;
23708 resultobj
= SWIG_From_long((long)(result
));
23716 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23717 PyObject
*resultobj
;
23718 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23720 PyObject
* obj0
= 0 ;
23721 char *kwnames
[] = {
23722 (char *) "self", NULL
23725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
23726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23727 if (SWIG_arg_fail(1)) SWIG_fail
;
23729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23730 result
= (long)(arg1
)->GetCacheTo();
23732 wxPyEndAllowThreads(__tstate
);
23733 if (PyErr_Occurred()) SWIG_fail
;
23736 resultobj
= SWIG_From_long((long)(result
));
23744 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23745 PyObject
*resultobj
;
23746 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23748 PyObject
* obj0
= 0 ;
23749 char *kwnames
[] = {
23750 (char *) "self", NULL
23753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23755 if (SWIG_arg_fail(1)) SWIG_fail
;
23757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23758 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
23760 wxPyEndAllowThreads(__tstate
);
23761 if (PyErr_Occurred()) SWIG_fail
;
23764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23772 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23773 PyObject
*resultobj
;
23774 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23776 PyObject
* obj0
= 0 ;
23777 PyObject
* obj1
= 0 ;
23778 char *kwnames
[] = {
23779 (char *) "self",(char *) "editCancelled", NULL
23782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23784 if (SWIG_arg_fail(1)) SWIG_fail
;
23786 arg2
= (bool)(SWIG_As_bool(obj1
));
23787 if (SWIG_arg_fail(2)) SWIG_fail
;
23790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23791 (arg1
)->SetEditCanceled(arg2
);
23793 wxPyEndAllowThreads(__tstate
);
23794 if (PyErr_Occurred()) SWIG_fail
;
23796 Py_INCREF(Py_None
); resultobj
= Py_None
;
23803 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
23805 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23806 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
23808 return Py_BuildValue((char *)"");
23810 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23811 PyObject
*resultobj
;
23812 wxWindow
*arg1
= (wxWindow
*) 0 ;
23813 int arg2
= (int) -1 ;
23814 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23815 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23816 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23817 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23818 long arg5
= (long) wxLC_ICON
;
23819 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23820 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23821 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23822 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23823 wxPyListCtrl
*result
;
23826 bool temp7
= false ;
23827 PyObject
* obj0
= 0 ;
23828 PyObject
* obj1
= 0 ;
23829 PyObject
* obj2
= 0 ;
23830 PyObject
* obj3
= 0 ;
23831 PyObject
* obj4
= 0 ;
23832 PyObject
* obj5
= 0 ;
23833 PyObject
* obj6
= 0 ;
23834 char *kwnames
[] = {
23835 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23840 if (SWIG_arg_fail(1)) SWIG_fail
;
23843 arg2
= (int)(SWIG_As_int(obj1
));
23844 if (SWIG_arg_fail(2)) SWIG_fail
;
23850 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23856 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23861 arg5
= (long)(SWIG_As_long(obj4
));
23862 if (SWIG_arg_fail(5)) SWIG_fail
;
23867 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23868 if (SWIG_arg_fail(6)) SWIG_fail
;
23869 if (arg6
== NULL
) {
23870 SWIG_null_ref("wxValidator");
23872 if (SWIG_arg_fail(6)) SWIG_fail
;
23877 arg7
= wxString_in_helper(obj6
);
23878 if (arg7
== NULL
) SWIG_fail
;
23883 if (!wxPyCheckForApp()) SWIG_fail
;
23884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23885 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23887 wxPyEndAllowThreads(__tstate
);
23888 if (PyErr_Occurred()) SWIG_fail
;
23890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23905 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23906 PyObject
*resultobj
;
23907 wxPyListCtrl
*result
;
23908 char *kwnames
[] = {
23912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
23914 if (!wxPyCheckForApp()) SWIG_fail
;
23915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23916 result
= (wxPyListCtrl
*)new wxPyListCtrl();
23918 wxPyEndAllowThreads(__tstate
);
23919 if (PyErr_Occurred()) SWIG_fail
;
23921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23928 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23929 PyObject
*resultobj
;
23930 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23931 wxWindow
*arg2
= (wxWindow
*) 0 ;
23932 int arg3
= (int) -1 ;
23933 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23934 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23935 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23936 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23937 long arg6
= (long) wxLC_ICON
;
23938 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23939 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23940 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23941 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23945 bool temp8
= false ;
23946 PyObject
* obj0
= 0 ;
23947 PyObject
* obj1
= 0 ;
23948 PyObject
* obj2
= 0 ;
23949 PyObject
* obj3
= 0 ;
23950 PyObject
* obj4
= 0 ;
23951 PyObject
* obj5
= 0 ;
23952 PyObject
* obj6
= 0 ;
23953 PyObject
* obj7
= 0 ;
23954 char *kwnames
[] = {
23955 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23960 if (SWIG_arg_fail(1)) SWIG_fail
;
23961 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23962 if (SWIG_arg_fail(2)) SWIG_fail
;
23965 arg3
= (int)(SWIG_As_int(obj2
));
23966 if (SWIG_arg_fail(3)) SWIG_fail
;
23972 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23978 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23983 arg6
= (long)(SWIG_As_long(obj5
));
23984 if (SWIG_arg_fail(6)) SWIG_fail
;
23989 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23990 if (SWIG_arg_fail(7)) SWIG_fail
;
23991 if (arg7
== NULL
) {
23992 SWIG_null_ref("wxValidator");
23994 if (SWIG_arg_fail(7)) SWIG_fail
;
23999 arg8
= wxString_in_helper(obj7
);
24000 if (arg8
== NULL
) SWIG_fail
;
24005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24006 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24008 wxPyEndAllowThreads(__tstate
);
24009 if (PyErr_Occurred()) SWIG_fail
;
24012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24028 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24029 PyObject
*resultobj
;
24030 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24031 PyObject
*arg2
= (PyObject
*) 0 ;
24032 PyObject
*arg3
= (PyObject
*) 0 ;
24033 PyObject
* obj0
= 0 ;
24034 PyObject
* obj1
= 0 ;
24035 PyObject
* obj2
= 0 ;
24036 char *kwnames
[] = {
24037 (char *) "self",(char *) "self",(char *) "_class", NULL
24040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24042 if (SWIG_arg_fail(1)) SWIG_fail
;
24046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24047 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24049 wxPyEndAllowThreads(__tstate
);
24050 if (PyErr_Occurred()) SWIG_fail
;
24052 Py_INCREF(Py_None
); resultobj
= Py_None
;
24059 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24060 PyObject
*resultobj
;
24061 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24062 wxColour
*arg2
= 0 ;
24065 PyObject
* obj0
= 0 ;
24066 PyObject
* obj1
= 0 ;
24067 char *kwnames
[] = {
24068 (char *) "self",(char *) "col", NULL
24071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24073 if (SWIG_arg_fail(1)) SWIG_fail
;
24076 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24080 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
24082 wxPyEndAllowThreads(__tstate
);
24083 if (PyErr_Occurred()) SWIG_fail
;
24086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24094 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24095 PyObject
*resultobj
;
24096 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24097 wxColour
*arg2
= 0 ;
24100 PyObject
* obj0
= 0 ;
24101 PyObject
* obj1
= 0 ;
24102 char *kwnames
[] = {
24103 (char *) "self",(char *) "col", NULL
24106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24108 if (SWIG_arg_fail(1)) SWIG_fail
;
24111 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24115 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24117 wxPyEndAllowThreads(__tstate
);
24118 if (PyErr_Occurred()) SWIG_fail
;
24121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24129 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24130 PyObject
*resultobj
;
24131 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24133 wxListItem
*result
;
24134 PyObject
* obj0
= 0 ;
24135 PyObject
* obj1
= 0 ;
24136 char *kwnames
[] = {
24137 (char *) "self",(char *) "col", NULL
24140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
24141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24142 if (SWIG_arg_fail(1)) SWIG_fail
;
24144 arg2
= (int)(SWIG_As_int(obj1
));
24145 if (SWIG_arg_fail(2)) SWIG_fail
;
24148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24149 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
24151 wxPyEndAllowThreads(__tstate
);
24152 if (PyErr_Occurred()) SWIG_fail
;
24155 resultobj
= wxPyMake_wxObject(result
, 0);
24163 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24164 PyObject
*resultobj
;
24165 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24167 wxListItem
*arg3
= 0 ;
24169 PyObject
* obj0
= 0 ;
24170 PyObject
* obj1
= 0 ;
24171 PyObject
* obj2
= 0 ;
24172 char *kwnames
[] = {
24173 (char *) "self",(char *) "col",(char *) "item", NULL
24176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24178 if (SWIG_arg_fail(1)) SWIG_fail
;
24180 arg2
= (int)(SWIG_As_int(obj1
));
24181 if (SWIG_arg_fail(2)) SWIG_fail
;
24184 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24185 if (SWIG_arg_fail(3)) SWIG_fail
;
24186 if (arg3
== NULL
) {
24187 SWIG_null_ref("wxListItem");
24189 if (SWIG_arg_fail(3)) SWIG_fail
;
24192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24193 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
24195 wxPyEndAllowThreads(__tstate
);
24196 if (PyErr_Occurred()) SWIG_fail
;
24199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24207 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24208 PyObject
*resultobj
;
24209 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24212 PyObject
* obj0
= 0 ;
24213 PyObject
* obj1
= 0 ;
24214 char *kwnames
[] = {
24215 (char *) "self",(char *) "col", NULL
24218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
24219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24220 if (SWIG_arg_fail(1)) SWIG_fail
;
24222 arg2
= (int)(SWIG_As_int(obj1
));
24223 if (SWIG_arg_fail(2)) SWIG_fail
;
24226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24227 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
24229 wxPyEndAllowThreads(__tstate
);
24230 if (PyErr_Occurred()) SWIG_fail
;
24233 resultobj
= SWIG_From_int((int)(result
));
24241 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24242 PyObject
*resultobj
;
24243 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24247 PyObject
* obj0
= 0 ;
24248 PyObject
* obj1
= 0 ;
24249 PyObject
* obj2
= 0 ;
24250 char *kwnames
[] = {
24251 (char *) "self",(char *) "col",(char *) "width", NULL
24254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24256 if (SWIG_arg_fail(1)) SWIG_fail
;
24258 arg2
= (int)(SWIG_As_int(obj1
));
24259 if (SWIG_arg_fail(2)) SWIG_fail
;
24262 arg3
= (int)(SWIG_As_int(obj2
));
24263 if (SWIG_arg_fail(3)) SWIG_fail
;
24266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24267 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
24269 wxPyEndAllowThreads(__tstate
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24281 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24282 PyObject
*resultobj
;
24283 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24285 PyObject
* obj0
= 0 ;
24286 char *kwnames
[] = {
24287 (char *) "self", NULL
24290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
24291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24292 if (SWIG_arg_fail(1)) SWIG_fail
;
24294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24295 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
24297 wxPyEndAllowThreads(__tstate
);
24298 if (PyErr_Occurred()) SWIG_fail
;
24301 resultobj
= SWIG_From_int((int)(result
));
24309 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24310 PyObject
*resultobj
;
24311 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24313 PyObject
* obj0
= 0 ;
24314 char *kwnames
[] = {
24315 (char *) "self", NULL
24318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
24319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24320 if (SWIG_arg_fail(1)) SWIG_fail
;
24322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24323 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
24325 wxPyEndAllowThreads(__tstate
);
24326 if (PyErr_Occurred()) SWIG_fail
;
24329 wxRect
* resultptr
;
24330 resultptr
= new wxRect((wxRect
&)(result
));
24331 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24339 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24340 PyObject
*resultobj
;
24341 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24343 int arg3
= (int) 0 ;
24344 wxListItem
*result
;
24345 PyObject
* obj0
= 0 ;
24346 PyObject
* obj1
= 0 ;
24347 PyObject
* obj2
= 0 ;
24348 char *kwnames
[] = {
24349 (char *) "self",(char *) "itemId",(char *) "col", NULL
24352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24354 if (SWIG_arg_fail(1)) SWIG_fail
;
24356 arg2
= (long)(SWIG_As_long(obj1
));
24357 if (SWIG_arg_fail(2)) SWIG_fail
;
24361 arg3
= (int)(SWIG_As_int(obj2
));
24362 if (SWIG_arg_fail(3)) SWIG_fail
;
24366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24367 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
24369 wxPyEndAllowThreads(__tstate
);
24370 if (PyErr_Occurred()) SWIG_fail
;
24373 resultobj
= wxPyMake_wxObject(result
, 0);
24381 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24382 PyObject
*resultobj
;
24383 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24384 wxListItem
*arg2
= 0 ;
24386 PyObject
* obj0
= 0 ;
24387 PyObject
* obj1
= 0 ;
24388 char *kwnames
[] = {
24389 (char *) "self",(char *) "info", NULL
24392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24394 if (SWIG_arg_fail(1)) SWIG_fail
;
24396 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24397 if (SWIG_arg_fail(2)) SWIG_fail
;
24398 if (arg2
== NULL
) {
24399 SWIG_null_ref("wxListItem");
24401 if (SWIG_arg_fail(2)) SWIG_fail
;
24404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24405 result
= (bool)(arg1
)->SetItem(*arg2
);
24407 wxPyEndAllowThreads(__tstate
);
24408 if (PyErr_Occurred()) SWIG_fail
;
24411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24419 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24420 PyObject
*resultobj
;
24421 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24424 wxString
*arg4
= 0 ;
24425 int arg5
= (int) -1 ;
24427 bool temp4
= false ;
24428 PyObject
* obj0
= 0 ;
24429 PyObject
* obj1
= 0 ;
24430 PyObject
* obj2
= 0 ;
24431 PyObject
* obj3
= 0 ;
24432 PyObject
* obj4
= 0 ;
24433 char *kwnames
[] = {
24434 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24439 if (SWIG_arg_fail(1)) SWIG_fail
;
24441 arg2
= (long)(SWIG_As_long(obj1
));
24442 if (SWIG_arg_fail(2)) SWIG_fail
;
24445 arg3
= (int)(SWIG_As_int(obj2
));
24446 if (SWIG_arg_fail(3)) SWIG_fail
;
24449 arg4
= wxString_in_helper(obj3
);
24450 if (arg4
== NULL
) SWIG_fail
;
24455 arg5
= (int)(SWIG_As_int(obj4
));
24456 if (SWIG_arg_fail(5)) SWIG_fail
;
24460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24461 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
24463 wxPyEndAllowThreads(__tstate
);
24464 if (PyErr_Occurred()) SWIG_fail
;
24467 resultobj
= SWIG_From_long((long)(result
));
24483 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24484 PyObject
*resultobj
;
24485 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24489 PyObject
* obj0
= 0 ;
24490 PyObject
* obj1
= 0 ;
24491 PyObject
* obj2
= 0 ;
24492 char *kwnames
[] = {
24493 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24498 if (SWIG_arg_fail(1)) SWIG_fail
;
24500 arg2
= (long)(SWIG_As_long(obj1
));
24501 if (SWIG_arg_fail(2)) SWIG_fail
;
24504 arg3
= (long)(SWIG_As_long(obj2
));
24505 if (SWIG_arg_fail(3)) SWIG_fail
;
24508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24509 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
24511 wxPyEndAllowThreads(__tstate
);
24512 if (PyErr_Occurred()) SWIG_fail
;
24515 resultobj
= SWIG_From_int((int)(result
));
24523 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24524 PyObject
*resultobj
;
24525 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24530 PyObject
* obj0
= 0 ;
24531 PyObject
* obj1
= 0 ;
24532 PyObject
* obj2
= 0 ;
24533 PyObject
* obj3
= 0 ;
24534 char *kwnames
[] = {
24535 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24540 if (SWIG_arg_fail(1)) SWIG_fail
;
24542 arg2
= (long)(SWIG_As_long(obj1
));
24543 if (SWIG_arg_fail(2)) SWIG_fail
;
24546 arg3
= (long)(SWIG_As_long(obj2
));
24547 if (SWIG_arg_fail(3)) SWIG_fail
;
24550 arg4
= (long)(SWIG_As_long(obj3
));
24551 if (SWIG_arg_fail(4)) SWIG_fail
;
24554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24555 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
24557 wxPyEndAllowThreads(__tstate
);
24558 if (PyErr_Occurred()) SWIG_fail
;
24561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24569 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24570 PyObject
*resultobj
;
24571 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24574 int arg4
= (int) -1 ;
24576 PyObject
* obj0
= 0 ;
24577 PyObject
* obj1
= 0 ;
24578 PyObject
* obj2
= 0 ;
24579 PyObject
* obj3
= 0 ;
24580 char *kwnames
[] = {
24581 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24586 if (SWIG_arg_fail(1)) SWIG_fail
;
24588 arg2
= (long)(SWIG_As_long(obj1
));
24589 if (SWIG_arg_fail(2)) SWIG_fail
;
24592 arg3
= (int)(SWIG_As_int(obj2
));
24593 if (SWIG_arg_fail(3)) SWIG_fail
;
24597 arg4
= (int)(SWIG_As_int(obj3
));
24598 if (SWIG_arg_fail(4)) SWIG_fail
;
24602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24603 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
24605 wxPyEndAllowThreads(__tstate
);
24606 if (PyErr_Occurred()) SWIG_fail
;
24609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24617 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24618 PyObject
*resultobj
;
24619 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24622 PyObject
* obj0
= 0 ;
24623 PyObject
* obj1
= 0 ;
24624 char *kwnames
[] = {
24625 (char *) "self",(char *) "item", NULL
24628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24630 if (SWIG_arg_fail(1)) SWIG_fail
;
24632 arg2
= (long)(SWIG_As_long(obj1
));
24633 if (SWIG_arg_fail(2)) SWIG_fail
;
24636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24637 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
24639 wxPyEndAllowThreads(__tstate
);
24640 if (PyErr_Occurred()) SWIG_fail
;
24644 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24646 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24655 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24656 PyObject
*resultobj
;
24657 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24659 wxString
*arg3
= 0 ;
24660 bool temp3
= false ;
24661 PyObject
* obj0
= 0 ;
24662 PyObject
* obj1
= 0 ;
24663 PyObject
* obj2
= 0 ;
24664 char *kwnames
[] = {
24665 (char *) "self",(char *) "item",(char *) "str", NULL
24668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24670 if (SWIG_arg_fail(1)) SWIG_fail
;
24672 arg2
= (long)(SWIG_As_long(obj1
));
24673 if (SWIG_arg_fail(2)) SWIG_fail
;
24676 arg3
= wxString_in_helper(obj2
);
24677 if (arg3
== NULL
) SWIG_fail
;
24681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24682 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
24684 wxPyEndAllowThreads(__tstate
);
24685 if (PyErr_Occurred()) SWIG_fail
;
24687 Py_INCREF(Py_None
); resultobj
= Py_None
;
24702 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24703 PyObject
*resultobj
;
24704 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24707 PyObject
* obj0
= 0 ;
24708 PyObject
* obj1
= 0 ;
24709 char *kwnames
[] = {
24710 (char *) "self",(char *) "item", NULL
24713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24715 if (SWIG_arg_fail(1)) SWIG_fail
;
24717 arg2
= (long)(SWIG_As_long(obj1
));
24718 if (SWIG_arg_fail(2)) SWIG_fail
;
24721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24722 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
24724 wxPyEndAllowThreads(__tstate
);
24725 if (PyErr_Occurred()) SWIG_fail
;
24728 resultobj
= SWIG_From_long((long)(result
));
24736 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24737 PyObject
*resultobj
;
24738 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24742 PyObject
* obj0
= 0 ;
24743 PyObject
* obj1
= 0 ;
24744 PyObject
* obj2
= 0 ;
24745 char *kwnames
[] = {
24746 (char *) "self",(char *) "item",(char *) "data", NULL
24749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24751 if (SWIG_arg_fail(1)) SWIG_fail
;
24753 arg2
= (long)(SWIG_As_long(obj1
));
24754 if (SWIG_arg_fail(2)) SWIG_fail
;
24757 arg3
= (long)(SWIG_As_long(obj2
));
24758 if (SWIG_arg_fail(3)) SWIG_fail
;
24761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24762 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
24764 wxPyEndAllowThreads(__tstate
);
24765 if (PyErr_Occurred()) SWIG_fail
;
24768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24776 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24777 PyObject
*resultobj
;
24778 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24781 PyObject
* obj0
= 0 ;
24782 PyObject
* obj1
= 0 ;
24783 char *kwnames
[] = {
24784 (char *) "self",(char *) "item", NULL
24787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24789 if (SWIG_arg_fail(1)) SWIG_fail
;
24791 arg2
= (long)(SWIG_As_long(obj1
));
24792 if (SWIG_arg_fail(2)) SWIG_fail
;
24795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24796 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
24798 wxPyEndAllowThreads(__tstate
);
24799 if (PyErr_Occurred()) SWIG_fail
;
24802 wxPoint
* resultptr
;
24803 resultptr
= new wxPoint((wxPoint
&)(result
));
24804 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24812 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24813 PyObject
*resultobj
;
24814 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24816 int arg3
= (int) wxLIST_RECT_BOUNDS
;
24818 PyObject
* obj0
= 0 ;
24819 PyObject
* obj1
= 0 ;
24820 PyObject
* obj2
= 0 ;
24821 char *kwnames
[] = {
24822 (char *) "self",(char *) "item",(char *) "code", NULL
24825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24827 if (SWIG_arg_fail(1)) SWIG_fail
;
24829 arg2
= (long)(SWIG_As_long(obj1
));
24830 if (SWIG_arg_fail(2)) SWIG_fail
;
24834 arg3
= (int)(SWIG_As_int(obj2
));
24835 if (SWIG_arg_fail(3)) SWIG_fail
;
24839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24840 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
24842 wxPyEndAllowThreads(__tstate
);
24843 if (PyErr_Occurred()) SWIG_fail
;
24846 wxRect
* resultptr
;
24847 resultptr
= new wxRect((wxRect
&)(result
));
24848 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24856 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24857 PyObject
*resultobj
;
24858 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24860 wxPoint
*arg3
= 0 ;
24863 PyObject
* obj0
= 0 ;
24864 PyObject
* obj1
= 0 ;
24865 PyObject
* obj2
= 0 ;
24866 char *kwnames
[] = {
24867 (char *) "self",(char *) "item",(char *) "pos", NULL
24870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24872 if (SWIG_arg_fail(1)) SWIG_fail
;
24874 arg2
= (long)(SWIG_As_long(obj1
));
24875 if (SWIG_arg_fail(2)) SWIG_fail
;
24879 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24883 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
24885 wxPyEndAllowThreads(__tstate
);
24886 if (PyErr_Occurred()) SWIG_fail
;
24889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24897 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24898 PyObject
*resultobj
;
24899 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24901 PyObject
* obj0
= 0 ;
24902 char *kwnames
[] = {
24903 (char *) "self", NULL
24906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
24907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24908 if (SWIG_arg_fail(1)) SWIG_fail
;
24910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24911 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
24913 wxPyEndAllowThreads(__tstate
);
24914 if (PyErr_Occurred()) SWIG_fail
;
24917 resultobj
= SWIG_From_int((int)(result
));
24925 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24926 PyObject
*resultobj
;
24927 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24929 PyObject
* obj0
= 0 ;
24930 char *kwnames
[] = {
24931 (char *) "self", NULL
24934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
24935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24936 if (SWIG_arg_fail(1)) SWIG_fail
;
24938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24939 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
24941 wxPyEndAllowThreads(__tstate
);
24942 if (PyErr_Occurred()) SWIG_fail
;
24945 resultobj
= SWIG_From_int((int)(result
));
24953 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24954 PyObject
*resultobj
;
24955 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24957 PyObject
* obj0
= 0 ;
24958 char *kwnames
[] = {
24959 (char *) "self", NULL
24962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
24963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24964 if (SWIG_arg_fail(1)) SWIG_fail
;
24966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24967 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
24969 wxPyEndAllowThreads(__tstate
);
24970 if (PyErr_Occurred()) SWIG_fail
;
24973 wxSize
* resultptr
;
24974 resultptr
= new wxSize((wxSize
&)(result
));
24975 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24983 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24984 PyObject
*resultobj
;
24985 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24987 bool arg3
= (bool) false ;
24988 PyObject
* obj0
= 0 ;
24989 PyObject
* obj1
= 0 ;
24990 PyObject
* obj2
= 0 ;
24991 char *kwnames
[] = {
24992 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
24995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24997 if (SWIG_arg_fail(1)) SWIG_fail
;
24999 arg2
= (int)(SWIG_As_int(obj1
));
25000 if (SWIG_arg_fail(2)) SWIG_fail
;
25004 arg3
= (bool)(SWIG_As_bool(obj2
));
25005 if (SWIG_arg_fail(3)) SWIG_fail
;
25009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25010 (arg1
)->SetItemSpacing(arg2
,arg3
);
25012 wxPyEndAllowThreads(__tstate
);
25013 if (PyErr_Occurred()) SWIG_fail
;
25015 Py_INCREF(Py_None
); resultobj
= Py_None
;
25022 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25023 PyObject
*resultobj
;
25024 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25026 PyObject
* obj0
= 0 ;
25027 char *kwnames
[] = {
25028 (char *) "self", NULL
25031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
25032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25033 if (SWIG_arg_fail(1)) SWIG_fail
;
25035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25036 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
25038 wxPyEndAllowThreads(__tstate
);
25039 if (PyErr_Occurred()) SWIG_fail
;
25042 resultobj
= SWIG_From_int((int)(result
));
25050 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25051 PyObject
*resultobj
;
25052 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25054 PyObject
* obj0
= 0 ;
25055 char *kwnames
[] = {
25056 (char *) "self", NULL
25059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
25060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25061 if (SWIG_arg_fail(1)) SWIG_fail
;
25063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25064 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
25066 wxPyEndAllowThreads(__tstate
);
25067 if (PyErr_Occurred()) SWIG_fail
;
25070 wxColour
* resultptr
;
25071 resultptr
= new wxColour((wxColour
&)(result
));
25072 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25080 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25081 PyObject
*resultobj
;
25082 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25083 wxColour
*arg2
= 0 ;
25085 PyObject
* obj0
= 0 ;
25086 PyObject
* obj1
= 0 ;
25087 char *kwnames
[] = {
25088 (char *) "self",(char *) "col", NULL
25091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25093 if (SWIG_arg_fail(1)) SWIG_fail
;
25096 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25100 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25102 wxPyEndAllowThreads(__tstate
);
25103 if (PyErr_Occurred()) SWIG_fail
;
25105 Py_INCREF(Py_None
); resultobj
= Py_None
;
25112 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25113 PyObject
*resultobj
;
25114 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25116 PyObject
* obj0
= 0 ;
25117 char *kwnames
[] = {
25118 (char *) "self", NULL
25121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
25122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25123 if (SWIG_arg_fail(1)) SWIG_fail
;
25125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25126 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
25128 wxPyEndAllowThreads(__tstate
);
25129 if (PyErr_Occurred()) SWIG_fail
;
25132 resultobj
= SWIG_From_long((long)(result
));
25140 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25141 PyObject
*resultobj
;
25142 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25144 bool arg3
= (bool) true ;
25145 PyObject
* obj0
= 0 ;
25146 PyObject
* obj1
= 0 ;
25147 PyObject
* obj2
= 0 ;
25148 char *kwnames
[] = {
25149 (char *) "self",(char *) "style",(char *) "add", NULL
25152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25154 if (SWIG_arg_fail(1)) SWIG_fail
;
25156 arg2
= (long)(SWIG_As_long(obj1
));
25157 if (SWIG_arg_fail(2)) SWIG_fail
;
25161 arg3
= (bool)(SWIG_As_bool(obj2
));
25162 if (SWIG_arg_fail(3)) SWIG_fail
;
25166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25167 (arg1
)->SetSingleStyle(arg2
,arg3
);
25169 wxPyEndAllowThreads(__tstate
);
25170 if (PyErr_Occurred()) SWIG_fail
;
25172 Py_INCREF(Py_None
); resultobj
= Py_None
;
25179 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25180 PyObject
*resultobj
;
25181 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25183 PyObject
* obj0
= 0 ;
25184 PyObject
* obj1
= 0 ;
25185 char *kwnames
[] = {
25186 (char *) "self",(char *) "style", NULL
25189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
25190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25191 if (SWIG_arg_fail(1)) SWIG_fail
;
25193 arg2
= (long)(SWIG_As_long(obj1
));
25194 if (SWIG_arg_fail(2)) SWIG_fail
;
25197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25198 (arg1
)->SetWindowStyleFlag(arg2
);
25200 wxPyEndAllowThreads(__tstate
);
25201 if (PyErr_Occurred()) SWIG_fail
;
25203 Py_INCREF(Py_None
); resultobj
= Py_None
;
25210 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25211 PyObject
*resultobj
;
25212 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25214 int arg3
= (int) wxLIST_NEXT_ALL
;
25215 int arg4
= (int) wxLIST_STATE_DONTCARE
;
25217 PyObject
* obj0
= 0 ;
25218 PyObject
* obj1
= 0 ;
25219 PyObject
* obj2
= 0 ;
25220 PyObject
* obj3
= 0 ;
25221 char *kwnames
[] = {
25222 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25227 if (SWIG_arg_fail(1)) SWIG_fail
;
25229 arg2
= (long)(SWIG_As_long(obj1
));
25230 if (SWIG_arg_fail(2)) SWIG_fail
;
25234 arg3
= (int)(SWIG_As_int(obj2
));
25235 if (SWIG_arg_fail(3)) SWIG_fail
;
25240 arg4
= (int)(SWIG_As_int(obj3
));
25241 if (SWIG_arg_fail(4)) SWIG_fail
;
25245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25246 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
25248 wxPyEndAllowThreads(__tstate
);
25249 if (PyErr_Occurred()) SWIG_fail
;
25252 resultobj
= SWIG_From_long((long)(result
));
25260 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25261 PyObject
*resultobj
;
25262 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25264 wxImageList
*result
;
25265 PyObject
* obj0
= 0 ;
25266 PyObject
* obj1
= 0 ;
25267 char *kwnames
[] = {
25268 (char *) "self",(char *) "which", NULL
25271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25273 if (SWIG_arg_fail(1)) SWIG_fail
;
25275 arg2
= (int)(SWIG_As_int(obj1
));
25276 if (SWIG_arg_fail(2)) SWIG_fail
;
25279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25280 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
25282 wxPyEndAllowThreads(__tstate
);
25283 if (PyErr_Occurred()) SWIG_fail
;
25286 resultobj
= wxPyMake_wxObject(result
, 0);
25294 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25295 PyObject
*resultobj
;
25296 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25297 wxImageList
*arg2
= (wxImageList
*) 0 ;
25299 PyObject
* obj0
= 0 ;
25300 PyObject
* obj1
= 0 ;
25301 PyObject
* obj2
= 0 ;
25302 char *kwnames
[] = {
25303 (char *) "self",(char *) "imageList",(char *) "which", NULL
25306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25308 if (SWIG_arg_fail(1)) SWIG_fail
;
25309 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
25310 if (SWIG_arg_fail(2)) SWIG_fail
;
25312 arg3
= (int)(SWIG_As_int(obj2
));
25313 if (SWIG_arg_fail(3)) SWIG_fail
;
25316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25317 (arg1
)->SetImageList(arg2
,arg3
);
25319 wxPyEndAllowThreads(__tstate
);
25320 if (PyErr_Occurred()) SWIG_fail
;
25322 Py_INCREF(Py_None
); resultobj
= Py_None
;
25329 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25330 PyObject
*resultobj
;
25331 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25332 wxImageList
*arg2
= (wxImageList
*) 0 ;
25334 PyObject
* obj0
= 0 ;
25335 PyObject
* obj1
= 0 ;
25336 PyObject
* obj2
= 0 ;
25337 char *kwnames
[] = {
25338 (char *) "self",(char *) "imageList",(char *) "which", NULL
25341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25343 if (SWIG_arg_fail(1)) SWIG_fail
;
25344 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25345 if (SWIG_arg_fail(2)) SWIG_fail
;
25347 arg3
= (int)(SWIG_As_int(obj2
));
25348 if (SWIG_arg_fail(3)) SWIG_fail
;
25351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25352 (arg1
)->AssignImageList(arg2
,arg3
);
25354 wxPyEndAllowThreads(__tstate
);
25355 if (PyErr_Occurred()) SWIG_fail
;
25357 Py_INCREF(Py_None
); resultobj
= Py_None
;
25364 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25365 PyObject
*resultobj
;
25366 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25368 PyObject
* obj0
= 0 ;
25369 char *kwnames
[] = {
25370 (char *) "self", NULL
25373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
25374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25375 if (SWIG_arg_fail(1)) SWIG_fail
;
25377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25378 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
25380 wxPyEndAllowThreads(__tstate
);
25381 if (PyErr_Occurred()) SWIG_fail
;
25384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25392 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25393 PyObject
*resultobj
;
25394 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25396 PyObject
* obj0
= 0 ;
25397 char *kwnames
[] = {
25398 (char *) "self", NULL
25401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
25402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25403 if (SWIG_arg_fail(1)) SWIG_fail
;
25405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25406 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
25408 wxPyEndAllowThreads(__tstate
);
25409 if (PyErr_Occurred()) SWIG_fail
;
25412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25420 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25421 PyObject
*resultobj
;
25422 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25424 PyObject
* obj0
= 0 ;
25425 PyObject
* obj1
= 0 ;
25426 char *kwnames
[] = {
25427 (char *) "self",(char *) "item", NULL
25430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25432 if (SWIG_arg_fail(1)) SWIG_fail
;
25434 arg2
= (long)(SWIG_As_long(obj1
));
25435 if (SWIG_arg_fail(2)) SWIG_fail
;
25438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25439 (arg1
)->RefreshItem(arg2
);
25441 wxPyEndAllowThreads(__tstate
);
25442 if (PyErr_Occurred()) SWIG_fail
;
25444 Py_INCREF(Py_None
); resultobj
= Py_None
;
25451 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25452 PyObject
*resultobj
;
25453 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25456 PyObject
* obj0
= 0 ;
25457 PyObject
* obj1
= 0 ;
25458 PyObject
* obj2
= 0 ;
25459 char *kwnames
[] = {
25460 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25465 if (SWIG_arg_fail(1)) SWIG_fail
;
25467 arg2
= (long)(SWIG_As_long(obj1
));
25468 if (SWIG_arg_fail(2)) SWIG_fail
;
25471 arg3
= (long)(SWIG_As_long(obj2
));
25472 if (SWIG_arg_fail(3)) SWIG_fail
;
25475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25476 (arg1
)->RefreshItems(arg2
,arg3
);
25478 wxPyEndAllowThreads(__tstate
);
25479 if (PyErr_Occurred()) SWIG_fail
;
25481 Py_INCREF(Py_None
); resultobj
= Py_None
;
25488 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25489 PyObject
*resultobj
;
25490 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25491 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
25493 PyObject
* obj0
= 0 ;
25494 PyObject
* obj1
= 0 ;
25495 char *kwnames
[] = {
25496 (char *) "self",(char *) "flag", NULL
25499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
25500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25501 if (SWIG_arg_fail(1)) SWIG_fail
;
25504 arg2
= (int)(SWIG_As_int(obj1
));
25505 if (SWIG_arg_fail(2)) SWIG_fail
;
25509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25510 result
= (bool)(arg1
)->Arrange(arg2
);
25512 wxPyEndAllowThreads(__tstate
);
25513 if (PyErr_Occurred()) SWIG_fail
;
25516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25524 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25525 PyObject
*resultobj
;
25526 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25529 PyObject
* obj0
= 0 ;
25530 PyObject
* obj1
= 0 ;
25531 char *kwnames
[] = {
25532 (char *) "self",(char *) "item", NULL
25535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25537 if (SWIG_arg_fail(1)) SWIG_fail
;
25539 arg2
= (long)(SWIG_As_long(obj1
));
25540 if (SWIG_arg_fail(2)) SWIG_fail
;
25543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25544 result
= (bool)(arg1
)->DeleteItem(arg2
);
25546 wxPyEndAllowThreads(__tstate
);
25547 if (PyErr_Occurred()) SWIG_fail
;
25550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25558 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25559 PyObject
*resultobj
;
25560 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25562 PyObject
* obj0
= 0 ;
25563 char *kwnames
[] = {
25564 (char *) "self", NULL
25567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25569 if (SWIG_arg_fail(1)) SWIG_fail
;
25571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25572 result
= (bool)(arg1
)->DeleteAllItems();
25574 wxPyEndAllowThreads(__tstate
);
25575 if (PyErr_Occurred()) SWIG_fail
;
25578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25586 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25587 PyObject
*resultobj
;
25588 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25591 PyObject
* obj0
= 0 ;
25592 PyObject
* obj1
= 0 ;
25593 char *kwnames
[] = {
25594 (char *) "self",(char *) "col", NULL
25597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25599 if (SWIG_arg_fail(1)) SWIG_fail
;
25601 arg2
= (int)(SWIG_As_int(obj1
));
25602 if (SWIG_arg_fail(2)) SWIG_fail
;
25605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25606 result
= (bool)(arg1
)->DeleteColumn(arg2
);
25608 wxPyEndAllowThreads(__tstate
);
25609 if (PyErr_Occurred()) SWIG_fail
;
25612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25620 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25621 PyObject
*resultobj
;
25622 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25624 PyObject
* obj0
= 0 ;
25625 char *kwnames
[] = {
25626 (char *) "self", NULL
25629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
25630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25631 if (SWIG_arg_fail(1)) SWIG_fail
;
25633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25634 result
= (bool)(arg1
)->DeleteAllColumns();
25636 wxPyEndAllowThreads(__tstate
);
25637 if (PyErr_Occurred()) SWIG_fail
;
25640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25648 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25649 PyObject
*resultobj
;
25650 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25651 PyObject
* obj0
= 0 ;
25652 char *kwnames
[] = {
25653 (char *) "self", NULL
25656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
25657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25658 if (SWIG_arg_fail(1)) SWIG_fail
;
25660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25661 (arg1
)->ClearAll();
25663 wxPyEndAllowThreads(__tstate
);
25664 if (PyErr_Occurred()) SWIG_fail
;
25666 Py_INCREF(Py_None
); resultobj
= Py_None
;
25673 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25674 PyObject
*resultobj
;
25675 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25677 PyObject
* obj0
= 0 ;
25678 PyObject
* obj1
= 0 ;
25679 char *kwnames
[] = {
25680 (char *) "self",(char *) "item", NULL
25683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25685 if (SWIG_arg_fail(1)) SWIG_fail
;
25687 arg2
= (long)(SWIG_As_long(obj1
));
25688 if (SWIG_arg_fail(2)) SWIG_fail
;
25691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25692 (arg1
)->EditLabel(arg2
);
25694 wxPyEndAllowThreads(__tstate
);
25695 if (PyErr_Occurred()) SWIG_fail
;
25697 Py_INCREF(Py_None
); resultobj
= Py_None
;
25704 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25705 PyObject
*resultobj
;
25706 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25709 PyObject
* obj0
= 0 ;
25710 PyObject
* obj1
= 0 ;
25711 char *kwnames
[] = {
25712 (char *) "self",(char *) "item", NULL
25715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25717 if (SWIG_arg_fail(1)) SWIG_fail
;
25719 arg2
= (long)(SWIG_As_long(obj1
));
25720 if (SWIG_arg_fail(2)) SWIG_fail
;
25723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25724 result
= (bool)(arg1
)->EnsureVisible(arg2
);
25726 wxPyEndAllowThreads(__tstate
);
25727 if (PyErr_Occurred()) SWIG_fail
;
25730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25738 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25739 PyObject
*resultobj
;
25740 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25742 wxString
*arg3
= 0 ;
25743 bool arg4
= (bool) false ;
25745 bool temp3
= false ;
25746 PyObject
* obj0
= 0 ;
25747 PyObject
* obj1
= 0 ;
25748 PyObject
* obj2
= 0 ;
25749 PyObject
* obj3
= 0 ;
25750 char *kwnames
[] = {
25751 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25756 if (SWIG_arg_fail(1)) SWIG_fail
;
25758 arg2
= (long)(SWIG_As_long(obj1
));
25759 if (SWIG_arg_fail(2)) SWIG_fail
;
25762 arg3
= wxString_in_helper(obj2
);
25763 if (arg3
== NULL
) SWIG_fail
;
25768 arg4
= (bool)(SWIG_As_bool(obj3
));
25769 if (SWIG_arg_fail(4)) SWIG_fail
;
25773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25774 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
25776 wxPyEndAllowThreads(__tstate
);
25777 if (PyErr_Occurred()) SWIG_fail
;
25780 resultobj
= SWIG_From_long((long)(result
));
25796 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25797 PyObject
*resultobj
;
25798 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25802 PyObject
* obj0
= 0 ;
25803 PyObject
* obj1
= 0 ;
25804 PyObject
* obj2
= 0 ;
25805 char *kwnames
[] = {
25806 (char *) "self",(char *) "start",(char *) "data", NULL
25809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25811 if (SWIG_arg_fail(1)) SWIG_fail
;
25813 arg2
= (long)(SWIG_As_long(obj1
));
25814 if (SWIG_arg_fail(2)) SWIG_fail
;
25817 arg3
= (long)(SWIG_As_long(obj2
));
25818 if (SWIG_arg_fail(3)) SWIG_fail
;
25821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25822 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
25824 wxPyEndAllowThreads(__tstate
);
25825 if (PyErr_Occurred()) SWIG_fail
;
25828 resultobj
= SWIG_From_long((long)(result
));
25836 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25837 PyObject
*resultobj
;
25838 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25840 wxPoint
*arg3
= 0 ;
25844 PyObject
* obj0
= 0 ;
25845 PyObject
* obj1
= 0 ;
25846 PyObject
* obj2
= 0 ;
25847 PyObject
* obj3
= 0 ;
25848 char *kwnames
[] = {
25849 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25854 if (SWIG_arg_fail(1)) SWIG_fail
;
25856 arg2
= (long)(SWIG_As_long(obj1
));
25857 if (SWIG_arg_fail(2)) SWIG_fail
;
25861 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25864 arg4
= (int)(SWIG_As_int(obj3
));
25865 if (SWIG_arg_fail(4)) SWIG_fail
;
25868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25869 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
25871 wxPyEndAllowThreads(__tstate
);
25872 if (PyErr_Occurred()) SWIG_fail
;
25875 resultobj
= SWIG_From_long((long)(result
));
25883 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25884 PyObject
*resultobj
;
25885 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25886 wxPoint
*arg2
= 0 ;
25892 PyObject
* obj0
= 0 ;
25893 PyObject
* obj1
= 0 ;
25894 char *kwnames
[] = {
25895 (char *) "self",(char *) "point", NULL
25898 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25901 if (SWIG_arg_fail(1)) SWIG_fail
;
25904 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25908 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
25910 wxPyEndAllowThreads(__tstate
);
25911 if (PyErr_Occurred()) SWIG_fail
;
25914 resultobj
= SWIG_From_long((long)(result
));
25916 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25917 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25924 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25925 PyObject
*resultobj
;
25926 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25927 wxListItem
*arg2
= 0 ;
25929 PyObject
* obj0
= 0 ;
25930 PyObject
* obj1
= 0 ;
25931 char *kwnames
[] = {
25932 (char *) "self",(char *) "info", NULL
25935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25937 if (SWIG_arg_fail(1)) SWIG_fail
;
25939 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25940 if (SWIG_arg_fail(2)) SWIG_fail
;
25941 if (arg2
== NULL
) {
25942 SWIG_null_ref("wxListItem");
25944 if (SWIG_arg_fail(2)) SWIG_fail
;
25947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25948 result
= (long)(arg1
)->InsertItem(*arg2
);
25950 wxPyEndAllowThreads(__tstate
);
25951 if (PyErr_Occurred()) SWIG_fail
;
25954 resultobj
= SWIG_From_long((long)(result
));
25962 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25963 PyObject
*resultobj
;
25964 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25966 wxString
*arg3
= 0 ;
25968 bool temp3
= false ;
25969 PyObject
* obj0
= 0 ;
25970 PyObject
* obj1
= 0 ;
25971 PyObject
* obj2
= 0 ;
25972 char *kwnames
[] = {
25973 (char *) "self",(char *) "index",(char *) "label", NULL
25976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25978 if (SWIG_arg_fail(1)) SWIG_fail
;
25980 arg2
= (long)(SWIG_As_long(obj1
));
25981 if (SWIG_arg_fail(2)) SWIG_fail
;
25984 arg3
= wxString_in_helper(obj2
);
25985 if (arg3
== NULL
) SWIG_fail
;
25989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25990 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
25992 wxPyEndAllowThreads(__tstate
);
25993 if (PyErr_Occurred()) SWIG_fail
;
25996 resultobj
= SWIG_From_long((long)(result
));
26012 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26013 PyObject
*resultobj
;
26014 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26018 PyObject
* obj0
= 0 ;
26019 PyObject
* obj1
= 0 ;
26020 PyObject
* obj2
= 0 ;
26021 char *kwnames
[] = {
26022 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
26025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26027 if (SWIG_arg_fail(1)) SWIG_fail
;
26029 arg2
= (long)(SWIG_As_long(obj1
));
26030 if (SWIG_arg_fail(2)) SWIG_fail
;
26033 arg3
= (int)(SWIG_As_int(obj2
));
26034 if (SWIG_arg_fail(3)) SWIG_fail
;
26037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26038 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
26040 wxPyEndAllowThreads(__tstate
);
26041 if (PyErr_Occurred()) SWIG_fail
;
26044 resultobj
= SWIG_From_long((long)(result
));
26052 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26053 PyObject
*resultobj
;
26054 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26056 wxString
*arg3
= 0 ;
26059 bool temp3
= false ;
26060 PyObject
* obj0
= 0 ;
26061 PyObject
* obj1
= 0 ;
26062 PyObject
* obj2
= 0 ;
26063 PyObject
* obj3
= 0 ;
26064 char *kwnames
[] = {
26065 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26070 if (SWIG_arg_fail(1)) SWIG_fail
;
26072 arg2
= (long)(SWIG_As_long(obj1
));
26073 if (SWIG_arg_fail(2)) SWIG_fail
;
26076 arg3
= wxString_in_helper(obj2
);
26077 if (arg3
== NULL
) SWIG_fail
;
26081 arg4
= (int)(SWIG_As_int(obj3
));
26082 if (SWIG_arg_fail(4)) SWIG_fail
;
26085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26086 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
26088 wxPyEndAllowThreads(__tstate
);
26089 if (PyErr_Occurred()) SWIG_fail
;
26092 resultobj
= SWIG_From_long((long)(result
));
26108 static PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26109 PyObject
*resultobj
;
26110 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26112 wxListItem
*arg3
= 0 ;
26114 PyObject
* obj0
= 0 ;
26115 PyObject
* obj1
= 0 ;
26116 PyObject
* obj2
= 0 ;
26117 char *kwnames
[] = {
26118 (char *) "self",(char *) "col",(char *) "info", NULL
26121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26123 if (SWIG_arg_fail(1)) SWIG_fail
;
26125 arg2
= (long)(SWIG_As_long(obj1
));
26126 if (SWIG_arg_fail(2)) SWIG_fail
;
26129 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26130 if (SWIG_arg_fail(3)) SWIG_fail
;
26131 if (arg3
== NULL
) {
26132 SWIG_null_ref("wxListItem");
26134 if (SWIG_arg_fail(3)) SWIG_fail
;
26137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26138 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
26140 wxPyEndAllowThreads(__tstate
);
26141 if (PyErr_Occurred()) SWIG_fail
;
26144 resultobj
= SWIG_From_long((long)(result
));
26152 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26153 PyObject
*resultobj
;
26154 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26156 wxString
*arg3
= 0 ;
26157 int arg4
= (int) wxLIST_FORMAT_LEFT
;
26158 int arg5
= (int) -1 ;
26160 bool temp3
= false ;
26161 PyObject
* obj0
= 0 ;
26162 PyObject
* obj1
= 0 ;
26163 PyObject
* obj2
= 0 ;
26164 PyObject
* obj3
= 0 ;
26165 PyObject
* obj4
= 0 ;
26166 char *kwnames
[] = {
26167 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26172 if (SWIG_arg_fail(1)) SWIG_fail
;
26174 arg2
= (long)(SWIG_As_long(obj1
));
26175 if (SWIG_arg_fail(2)) SWIG_fail
;
26178 arg3
= wxString_in_helper(obj2
);
26179 if (arg3
== NULL
) SWIG_fail
;
26184 arg4
= (int)(SWIG_As_int(obj3
));
26185 if (SWIG_arg_fail(4)) SWIG_fail
;
26190 arg5
= (int)(SWIG_As_int(obj4
));
26191 if (SWIG_arg_fail(5)) SWIG_fail
;
26195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26196 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
26198 wxPyEndAllowThreads(__tstate
);
26199 if (PyErr_Occurred()) SWIG_fail
;
26202 resultobj
= SWIG_From_long((long)(result
));
26218 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26219 PyObject
*resultobj
;
26220 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26222 PyObject
* obj0
= 0 ;
26223 PyObject
* obj1
= 0 ;
26224 char *kwnames
[] = {
26225 (char *) "self",(char *) "count", NULL
26228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26230 if (SWIG_arg_fail(1)) SWIG_fail
;
26232 arg2
= (long)(SWIG_As_long(obj1
));
26233 if (SWIG_arg_fail(2)) SWIG_fail
;
26236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26237 (arg1
)->SetItemCount(arg2
);
26239 wxPyEndAllowThreads(__tstate
);
26240 if (PyErr_Occurred()) SWIG_fail
;
26242 Py_INCREF(Py_None
); resultobj
= Py_None
;
26249 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26250 PyObject
*resultobj
;
26251 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26255 PyObject
* obj0
= 0 ;
26256 PyObject
* obj1
= 0 ;
26257 PyObject
* obj2
= 0 ;
26258 char *kwnames
[] = {
26259 (char *) "self",(char *) "dx",(char *) "dy", NULL
26262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26264 if (SWIG_arg_fail(1)) SWIG_fail
;
26266 arg2
= (int)(SWIG_As_int(obj1
));
26267 if (SWIG_arg_fail(2)) SWIG_fail
;
26270 arg3
= (int)(SWIG_As_int(obj2
));
26271 if (SWIG_arg_fail(3)) SWIG_fail
;
26274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26275 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
26277 wxPyEndAllowThreads(__tstate
);
26278 if (PyErr_Occurred()) SWIG_fail
;
26281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26289 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26290 PyObject
*resultobj
;
26291 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26293 wxColour
*arg3
= 0 ;
26295 PyObject
* obj0
= 0 ;
26296 PyObject
* obj1
= 0 ;
26297 PyObject
* obj2
= 0 ;
26298 char *kwnames
[] = {
26299 (char *) "self",(char *) "item",(char *) "col", NULL
26302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26304 if (SWIG_arg_fail(1)) SWIG_fail
;
26306 arg2
= (long)(SWIG_As_long(obj1
));
26307 if (SWIG_arg_fail(2)) SWIG_fail
;
26311 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26315 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
26317 wxPyEndAllowThreads(__tstate
);
26318 if (PyErr_Occurred()) SWIG_fail
;
26320 Py_INCREF(Py_None
); resultobj
= Py_None
;
26327 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26328 PyObject
*resultobj
;
26329 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26332 PyObject
* obj0
= 0 ;
26333 PyObject
* obj1
= 0 ;
26334 char *kwnames
[] = {
26335 (char *) "self",(char *) "item", NULL
26338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26340 if (SWIG_arg_fail(1)) SWIG_fail
;
26342 arg2
= (long)(SWIG_As_long(obj1
));
26343 if (SWIG_arg_fail(2)) SWIG_fail
;
26346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26347 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
26349 wxPyEndAllowThreads(__tstate
);
26350 if (PyErr_Occurred()) SWIG_fail
;
26353 wxColour
* resultptr
;
26354 resultptr
= new wxColour((wxColour
&)(result
));
26355 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26363 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26364 PyObject
*resultobj
;
26365 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26367 wxColour
*arg3
= 0 ;
26369 PyObject
* obj0
= 0 ;
26370 PyObject
* obj1
= 0 ;
26371 PyObject
* obj2
= 0 ;
26372 char *kwnames
[] = {
26373 (char *) "self",(char *) "item",(char *) "col", NULL
26376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26378 if (SWIG_arg_fail(1)) SWIG_fail
;
26380 arg2
= (long)(SWIG_As_long(obj1
));
26381 if (SWIG_arg_fail(2)) SWIG_fail
;
26385 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26389 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
26391 wxPyEndAllowThreads(__tstate
);
26392 if (PyErr_Occurred()) SWIG_fail
;
26394 Py_INCREF(Py_None
); resultobj
= Py_None
;
26401 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26402 PyObject
*resultobj
;
26403 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26406 PyObject
* obj0
= 0 ;
26407 PyObject
* obj1
= 0 ;
26408 char *kwnames
[] = {
26409 (char *) "self",(char *) "item", NULL
26412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26414 if (SWIG_arg_fail(1)) SWIG_fail
;
26416 arg2
= (long)(SWIG_As_long(obj1
));
26417 if (SWIG_arg_fail(2)) SWIG_fail
;
26420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26421 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
26423 wxPyEndAllowThreads(__tstate
);
26424 if (PyErr_Occurred()) SWIG_fail
;
26427 wxColour
* resultptr
;
26428 resultptr
= new wxColour((wxColour
&)(result
));
26429 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26437 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26438 PyObject
*resultobj
;
26439 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26440 PyObject
*arg2
= (PyObject
*) 0 ;
26442 PyObject
* obj0
= 0 ;
26443 PyObject
* obj1
= 0 ;
26444 char *kwnames
[] = {
26445 (char *) "self",(char *) "func", NULL
26448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
26449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26450 if (SWIG_arg_fail(1)) SWIG_fail
;
26453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26454 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
26456 wxPyEndAllowThreads(__tstate
);
26457 if (PyErr_Occurred()) SWIG_fail
;
26460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26468 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26469 PyObject
*resultobj
;
26470 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26472 PyObject
* obj0
= 0 ;
26473 char *kwnames
[] = {
26474 (char *) "self", NULL
26477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
26478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26479 if (SWIG_arg_fail(1)) SWIG_fail
;
26481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26482 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
26484 wxPyEndAllowThreads(__tstate
);
26485 if (PyErr_Occurred()) SWIG_fail
;
26488 resultobj
= wxPyMake_wxObject(result
, 0);
26496 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26497 PyObject
*resultobj
;
26498 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26499 wxVisualAttributes result
;
26500 PyObject
* obj0
= 0 ;
26501 char *kwnames
[] = {
26502 (char *) "variant", NULL
26505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26508 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
26509 if (SWIG_arg_fail(1)) SWIG_fail
;
26513 if (!wxPyCheckForApp()) SWIG_fail
;
26514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26515 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26517 wxPyEndAllowThreads(__tstate
);
26518 if (PyErr_Occurred()) SWIG_fail
;
26521 wxVisualAttributes
* resultptr
;
26522 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
26523 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26531 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
26533 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26534 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
26536 return Py_BuildValue((char *)"");
26538 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26539 PyObject
*resultobj
;
26540 wxWindow
*arg1
= (wxWindow
*) 0 ;
26541 int arg2
= (int) -1 ;
26542 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26543 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26544 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26545 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26546 long arg5
= (long) wxLC_REPORT
;
26547 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
26548 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
26549 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
26550 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26551 wxListView
*result
;
26554 bool temp7
= false ;
26555 PyObject
* obj0
= 0 ;
26556 PyObject
* obj1
= 0 ;
26557 PyObject
* obj2
= 0 ;
26558 PyObject
* obj3
= 0 ;
26559 PyObject
* obj4
= 0 ;
26560 PyObject
* obj5
= 0 ;
26561 PyObject
* obj6
= 0 ;
26562 char *kwnames
[] = {
26563 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26568 if (SWIG_arg_fail(1)) SWIG_fail
;
26571 arg2
= (int)(SWIG_As_int(obj1
));
26572 if (SWIG_arg_fail(2)) SWIG_fail
;
26578 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26584 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26589 arg5
= (long)(SWIG_As_long(obj4
));
26590 if (SWIG_arg_fail(5)) SWIG_fail
;
26595 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26596 if (SWIG_arg_fail(6)) SWIG_fail
;
26597 if (arg6
== NULL
) {
26598 SWIG_null_ref("wxValidator");
26600 if (SWIG_arg_fail(6)) SWIG_fail
;
26605 arg7
= wxString_in_helper(obj6
);
26606 if (arg7
== NULL
) SWIG_fail
;
26611 if (!wxPyCheckForApp()) SWIG_fail
;
26612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26613 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
26615 wxPyEndAllowThreads(__tstate
);
26616 if (PyErr_Occurred()) SWIG_fail
;
26618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26633 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26634 PyObject
*resultobj
;
26635 wxListView
*result
;
26636 char *kwnames
[] = {
26640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
26642 if (!wxPyCheckForApp()) SWIG_fail
;
26643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26644 result
= (wxListView
*)new wxListView();
26646 wxPyEndAllowThreads(__tstate
);
26647 if (PyErr_Occurred()) SWIG_fail
;
26649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26656 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26657 PyObject
*resultobj
;
26658 wxListView
*arg1
= (wxListView
*) 0 ;
26659 wxWindow
*arg2
= (wxWindow
*) 0 ;
26660 int arg3
= (int) -1 ;
26661 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26662 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26663 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26664 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26665 long arg6
= (long) wxLC_REPORT
;
26666 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
26667 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
26668 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
26669 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26673 bool temp8
= false ;
26674 PyObject
* obj0
= 0 ;
26675 PyObject
* obj1
= 0 ;
26676 PyObject
* obj2
= 0 ;
26677 PyObject
* obj3
= 0 ;
26678 PyObject
* obj4
= 0 ;
26679 PyObject
* obj5
= 0 ;
26680 PyObject
* obj6
= 0 ;
26681 PyObject
* obj7
= 0 ;
26682 char *kwnames
[] = {
26683 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
26687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26688 if (SWIG_arg_fail(1)) SWIG_fail
;
26689 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26690 if (SWIG_arg_fail(2)) SWIG_fail
;
26693 arg3
= (int)(SWIG_As_int(obj2
));
26694 if (SWIG_arg_fail(3)) SWIG_fail
;
26700 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26706 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26711 arg6
= (long)(SWIG_As_long(obj5
));
26712 if (SWIG_arg_fail(6)) SWIG_fail
;
26717 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26718 if (SWIG_arg_fail(7)) SWIG_fail
;
26719 if (arg7
== NULL
) {
26720 SWIG_null_ref("wxValidator");
26722 if (SWIG_arg_fail(7)) SWIG_fail
;
26727 arg8
= wxString_in_helper(obj7
);
26728 if (arg8
== NULL
) SWIG_fail
;
26733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26734 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
26736 wxPyEndAllowThreads(__tstate
);
26737 if (PyErr_Occurred()) SWIG_fail
;
26740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26756 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26757 PyObject
*resultobj
;
26758 wxListView
*arg1
= (wxListView
*) 0 ;
26760 bool arg3
= (bool) true ;
26761 PyObject
* obj0
= 0 ;
26762 PyObject
* obj1
= 0 ;
26763 PyObject
* obj2
= 0 ;
26764 char *kwnames
[] = {
26765 (char *) "self",(char *) "n",(char *) "on", NULL
26768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26770 if (SWIG_arg_fail(1)) SWIG_fail
;
26772 arg2
= (long)(SWIG_As_long(obj1
));
26773 if (SWIG_arg_fail(2)) SWIG_fail
;
26777 arg3
= (bool)(SWIG_As_bool(obj2
));
26778 if (SWIG_arg_fail(3)) SWIG_fail
;
26782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26783 (arg1
)->Select(arg2
,arg3
);
26785 wxPyEndAllowThreads(__tstate
);
26786 if (PyErr_Occurred()) SWIG_fail
;
26788 Py_INCREF(Py_None
); resultobj
= Py_None
;
26795 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26796 PyObject
*resultobj
;
26797 wxListView
*arg1
= (wxListView
*) 0 ;
26799 PyObject
* obj0
= 0 ;
26800 PyObject
* obj1
= 0 ;
26801 char *kwnames
[] = {
26802 (char *) "self",(char *) "index", NULL
26805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
26806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26807 if (SWIG_arg_fail(1)) SWIG_fail
;
26809 arg2
= (long)(SWIG_As_long(obj1
));
26810 if (SWIG_arg_fail(2)) SWIG_fail
;
26813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26814 (arg1
)->Focus(arg2
);
26816 wxPyEndAllowThreads(__tstate
);
26817 if (PyErr_Occurred()) SWIG_fail
;
26819 Py_INCREF(Py_None
); resultobj
= Py_None
;
26826 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26827 PyObject
*resultobj
;
26828 wxListView
*arg1
= (wxListView
*) 0 ;
26830 PyObject
* obj0
= 0 ;
26831 char *kwnames
[] = {
26832 (char *) "self", NULL
26835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
26836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26837 if (SWIG_arg_fail(1)) SWIG_fail
;
26839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26840 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
26842 wxPyEndAllowThreads(__tstate
);
26843 if (PyErr_Occurred()) SWIG_fail
;
26846 resultobj
= SWIG_From_long((long)(result
));
26854 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26855 PyObject
*resultobj
;
26856 wxListView
*arg1
= (wxListView
*) 0 ;
26859 PyObject
* obj0
= 0 ;
26860 PyObject
* obj1
= 0 ;
26861 char *kwnames
[] = {
26862 (char *) "self",(char *) "item", NULL
26865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26867 if (SWIG_arg_fail(1)) SWIG_fail
;
26869 arg2
= (long)(SWIG_As_long(obj1
));
26870 if (SWIG_arg_fail(2)) SWIG_fail
;
26873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26874 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
26876 wxPyEndAllowThreads(__tstate
);
26877 if (PyErr_Occurred()) SWIG_fail
;
26880 resultobj
= SWIG_From_long((long)(result
));
26888 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26889 PyObject
*resultobj
;
26890 wxListView
*arg1
= (wxListView
*) 0 ;
26892 PyObject
* obj0
= 0 ;
26893 char *kwnames
[] = {
26894 (char *) "self", NULL
26897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
26898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26899 if (SWIG_arg_fail(1)) SWIG_fail
;
26901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26902 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
26904 wxPyEndAllowThreads(__tstate
);
26905 if (PyErr_Occurred()) SWIG_fail
;
26908 resultobj
= SWIG_From_long((long)(result
));
26916 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26917 PyObject
*resultobj
;
26918 wxListView
*arg1
= (wxListView
*) 0 ;
26921 PyObject
* obj0
= 0 ;
26922 PyObject
* obj1
= 0 ;
26923 char *kwnames
[] = {
26924 (char *) "self",(char *) "index", NULL
26927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26929 if (SWIG_arg_fail(1)) SWIG_fail
;
26931 arg2
= (long)(SWIG_As_long(obj1
));
26932 if (SWIG_arg_fail(2)) SWIG_fail
;
26935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26936 result
= (bool)(arg1
)->IsSelected(arg2
);
26938 wxPyEndAllowThreads(__tstate
);
26939 if (PyErr_Occurred()) SWIG_fail
;
26942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26950 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26951 PyObject
*resultobj
;
26952 wxListView
*arg1
= (wxListView
*) 0 ;
26955 PyObject
* obj0
= 0 ;
26956 PyObject
* obj1
= 0 ;
26957 PyObject
* obj2
= 0 ;
26958 char *kwnames
[] = {
26959 (char *) "self",(char *) "col",(char *) "image", NULL
26962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26964 if (SWIG_arg_fail(1)) SWIG_fail
;
26966 arg2
= (int)(SWIG_As_int(obj1
));
26967 if (SWIG_arg_fail(2)) SWIG_fail
;
26970 arg3
= (int)(SWIG_As_int(obj2
));
26971 if (SWIG_arg_fail(3)) SWIG_fail
;
26974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26975 (arg1
)->SetColumnImage(arg2
,arg3
);
26977 wxPyEndAllowThreads(__tstate
);
26978 if (PyErr_Occurred()) SWIG_fail
;
26980 Py_INCREF(Py_None
); resultobj
= Py_None
;
26987 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26988 PyObject
*resultobj
;
26989 wxListView
*arg1
= (wxListView
*) 0 ;
26991 PyObject
* obj0
= 0 ;
26992 PyObject
* obj1
= 0 ;
26993 char *kwnames
[] = {
26994 (char *) "self",(char *) "col", NULL
26997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
26998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26999 if (SWIG_arg_fail(1)) SWIG_fail
;
27001 arg2
= (int)(SWIG_As_int(obj1
));
27002 if (SWIG_arg_fail(2)) SWIG_fail
;
27005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27006 (arg1
)->ClearColumnImage(arg2
);
27008 wxPyEndAllowThreads(__tstate
);
27009 if (PyErr_Occurred()) SWIG_fail
;
27011 Py_INCREF(Py_None
); resultobj
= Py_None
;
27018 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
27020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27021 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
27023 return Py_BuildValue((char *)"");
27025 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
27026 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
27031 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
27036 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27038 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27045 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27046 PyObject
*resultobj
;
27047 wxTreeItemId
*result
;
27048 char *kwnames
[] = {
27052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
27054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27055 result
= (wxTreeItemId
*)new wxTreeItemId();
27057 wxPyEndAllowThreads(__tstate
);
27058 if (PyErr_Occurred()) SWIG_fail
;
27060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
27067 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27068 PyObject
*resultobj
;
27069 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27070 PyObject
* obj0
= 0 ;
27071 char *kwnames
[] = {
27072 (char *) "self", NULL
27075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
27076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27077 if (SWIG_arg_fail(1)) SWIG_fail
;
27079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27082 wxPyEndAllowThreads(__tstate
);
27083 if (PyErr_Occurred()) SWIG_fail
;
27085 Py_INCREF(Py_None
); resultobj
= Py_None
;
27092 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27093 PyObject
*resultobj
;
27094 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27096 PyObject
* obj0
= 0 ;
27097 char *kwnames
[] = {
27098 (char *) "self", NULL
27101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
27102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27103 if (SWIG_arg_fail(1)) SWIG_fail
;
27105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27106 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
27108 wxPyEndAllowThreads(__tstate
);
27109 if (PyErr_Occurred()) SWIG_fail
;
27112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27120 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27121 PyObject
*resultobj
;
27122 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27123 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27125 PyObject
* obj0
= 0 ;
27126 PyObject
* obj1
= 0 ;
27127 char *kwnames
[] = {
27128 (char *) "self",(char *) "other", NULL
27131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27133 if (SWIG_arg_fail(1)) SWIG_fail
;
27134 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27135 if (SWIG_arg_fail(2)) SWIG_fail
;
27137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27138 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
27140 wxPyEndAllowThreads(__tstate
);
27141 if (PyErr_Occurred()) SWIG_fail
;
27144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27152 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27153 PyObject
*resultobj
;
27154 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27155 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27157 PyObject
* obj0
= 0 ;
27158 PyObject
* obj1
= 0 ;
27159 char *kwnames
[] = {
27160 (char *) "self",(char *) "other", NULL
27163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27165 if (SWIG_arg_fail(1)) SWIG_fail
;
27166 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27167 if (SWIG_arg_fail(2)) SWIG_fail
;
27169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27170 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
27172 wxPyEndAllowThreads(__tstate
);
27173 if (PyErr_Occurred()) SWIG_fail
;
27176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27184 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27185 PyObject
*resultobj
;
27186 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27187 void *arg2
= (void *) 0 ;
27188 PyObject
* obj0
= 0 ;
27189 PyObject
* obj1
= 0 ;
27190 char *kwnames
[] = {
27191 (char *) "self",(char *) "m_pItem", NULL
27194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27196 if (SWIG_arg_fail(1)) SWIG_fail
;
27198 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
27199 SWIG_arg_fail(2);SWIG_fail
;
27202 if (arg1
) (arg1
)->m_pItem
= arg2
;
27204 Py_INCREF(Py_None
); resultobj
= Py_None
;
27211 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27212 PyObject
*resultobj
;
27213 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27215 PyObject
* obj0
= 0 ;
27216 char *kwnames
[] = {
27217 (char *) "self", NULL
27220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
27221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27222 if (SWIG_arg_fail(1)) SWIG_fail
;
27223 result
= (void *) ((arg1
)->m_pItem
);
27225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
27232 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
27234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27235 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
27237 return Py_BuildValue((char *)"");
27239 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27240 PyObject
*resultobj
;
27241 PyObject
*arg1
= (PyObject
*) NULL
;
27242 wxPyTreeItemData
*result
;
27243 PyObject
* obj0
= 0 ;
27244 char *kwnames
[] = {
27245 (char *) "obj", NULL
27248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
27253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27254 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
27256 wxPyEndAllowThreads(__tstate
);
27257 if (PyErr_Occurred()) SWIG_fail
;
27259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
27266 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27267 PyObject
*resultobj
;
27268 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27270 PyObject
* obj0
= 0 ;
27271 char *kwnames
[] = {
27272 (char *) "self", NULL
27275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
27276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27277 if (SWIG_arg_fail(1)) SWIG_fail
;
27279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27280 result
= (PyObject
*)(arg1
)->GetData();
27282 wxPyEndAllowThreads(__tstate
);
27283 if (PyErr_Occurred()) SWIG_fail
;
27285 resultobj
= result
;
27292 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27293 PyObject
*resultobj
;
27294 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27295 PyObject
*arg2
= (PyObject
*) 0 ;
27296 PyObject
* obj0
= 0 ;
27297 PyObject
* obj1
= 0 ;
27298 char *kwnames
[] = {
27299 (char *) "self",(char *) "obj", NULL
27302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27304 if (SWIG_arg_fail(1)) SWIG_fail
;
27307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27308 (arg1
)->SetData(arg2
);
27310 wxPyEndAllowThreads(__tstate
);
27311 if (PyErr_Occurred()) SWIG_fail
;
27313 Py_INCREF(Py_None
); resultobj
= Py_None
;
27320 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27321 PyObject
*resultobj
;
27322 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27323 wxTreeItemId
*result
;
27324 PyObject
* obj0
= 0 ;
27325 char *kwnames
[] = {
27326 (char *) "self", NULL
27329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
27330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27331 if (SWIG_arg_fail(1)) SWIG_fail
;
27333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27335 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
27336 result
= (wxTreeItemId
*) &_result_ref
;
27339 wxPyEndAllowThreads(__tstate
);
27340 if (PyErr_Occurred()) SWIG_fail
;
27342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
27349 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27350 PyObject
*resultobj
;
27351 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27352 wxTreeItemId
*arg2
= 0 ;
27353 PyObject
* obj0
= 0 ;
27354 PyObject
* obj1
= 0 ;
27355 char *kwnames
[] = {
27356 (char *) "self",(char *) "id", NULL
27359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27361 if (SWIG_arg_fail(1)) SWIG_fail
;
27363 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27364 if (SWIG_arg_fail(2)) SWIG_fail
;
27365 if (arg2
== NULL
) {
27366 SWIG_null_ref("wxTreeItemId");
27368 if (SWIG_arg_fail(2)) SWIG_fail
;
27371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27372 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
27374 wxPyEndAllowThreads(__tstate
);
27375 if (PyErr_Occurred()) SWIG_fail
;
27377 Py_INCREF(Py_None
); resultobj
= Py_None
;
27384 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27385 PyObject
*resultobj
;
27386 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27387 PyObject
* obj0
= 0 ;
27388 char *kwnames
[] = {
27389 (char *) "self", NULL
27392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
27393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27394 if (SWIG_arg_fail(1)) SWIG_fail
;
27396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27397 wxPyTreeItemData_Destroy(arg1
);
27399 wxPyEndAllowThreads(__tstate
);
27400 if (PyErr_Occurred()) SWIG_fail
;
27402 Py_INCREF(Py_None
); resultobj
= Py_None
;
27409 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
27411 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27412 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
27414 return Py_BuildValue((char *)"");
27416 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27417 PyObject
*resultobj
;
27418 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27419 int arg2
= (int) 0 ;
27420 wxTreeEvent
*result
;
27421 PyObject
* obj0
= 0 ;
27422 PyObject
* obj1
= 0 ;
27423 char *kwnames
[] = {
27424 (char *) "commandType",(char *) "id", NULL
27427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27430 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
27431 if (SWIG_arg_fail(1)) SWIG_fail
;
27436 arg2
= (int)(SWIG_As_int(obj1
));
27437 if (SWIG_arg_fail(2)) SWIG_fail
;
27441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27442 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
27444 wxPyEndAllowThreads(__tstate
);
27445 if (PyErr_Occurred()) SWIG_fail
;
27447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
27454 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27455 PyObject
*resultobj
;
27456 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27457 wxTreeItemId result
;
27458 PyObject
* obj0
= 0 ;
27459 char *kwnames
[] = {
27460 (char *) "self", NULL
27463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
27464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27465 if (SWIG_arg_fail(1)) SWIG_fail
;
27467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27468 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
27470 wxPyEndAllowThreads(__tstate
);
27471 if (PyErr_Occurred()) SWIG_fail
;
27474 wxTreeItemId
* resultptr
;
27475 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27476 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27484 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27485 PyObject
*resultobj
;
27486 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27487 wxTreeItemId
*arg2
= 0 ;
27488 PyObject
* obj0
= 0 ;
27489 PyObject
* obj1
= 0 ;
27490 char *kwnames
[] = {
27491 (char *) "self",(char *) "item", NULL
27494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27496 if (SWIG_arg_fail(1)) SWIG_fail
;
27498 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27499 if (SWIG_arg_fail(2)) SWIG_fail
;
27500 if (arg2
== NULL
) {
27501 SWIG_null_ref("wxTreeItemId");
27503 if (SWIG_arg_fail(2)) SWIG_fail
;
27506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27507 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
27509 wxPyEndAllowThreads(__tstate
);
27510 if (PyErr_Occurred()) SWIG_fail
;
27512 Py_INCREF(Py_None
); resultobj
= Py_None
;
27519 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27520 PyObject
*resultobj
;
27521 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27522 wxTreeItemId result
;
27523 PyObject
* obj0
= 0 ;
27524 char *kwnames
[] = {
27525 (char *) "self", NULL
27528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
27529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27530 if (SWIG_arg_fail(1)) SWIG_fail
;
27532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27533 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
27535 wxPyEndAllowThreads(__tstate
);
27536 if (PyErr_Occurred()) SWIG_fail
;
27539 wxTreeItemId
* resultptr
;
27540 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27541 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27549 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27550 PyObject
*resultobj
;
27551 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27552 wxTreeItemId
*arg2
= 0 ;
27553 PyObject
* obj0
= 0 ;
27554 PyObject
* obj1
= 0 ;
27555 char *kwnames
[] = {
27556 (char *) "self",(char *) "item", NULL
27559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27561 if (SWIG_arg_fail(1)) SWIG_fail
;
27563 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27564 if (SWIG_arg_fail(2)) SWIG_fail
;
27565 if (arg2
== NULL
) {
27566 SWIG_null_ref("wxTreeItemId");
27568 if (SWIG_arg_fail(2)) SWIG_fail
;
27571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27572 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
27574 wxPyEndAllowThreads(__tstate
);
27575 if (PyErr_Occurred()) SWIG_fail
;
27577 Py_INCREF(Py_None
); resultobj
= Py_None
;
27584 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27585 PyObject
*resultobj
;
27586 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27588 PyObject
* obj0
= 0 ;
27589 char *kwnames
[] = {
27590 (char *) "self", NULL
27593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
27594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27595 if (SWIG_arg_fail(1)) SWIG_fail
;
27597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27598 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
27600 wxPyEndAllowThreads(__tstate
);
27601 if (PyErr_Occurred()) SWIG_fail
;
27604 wxPoint
* resultptr
;
27605 resultptr
= new wxPoint((wxPoint
&)(result
));
27606 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27614 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27615 PyObject
*resultobj
;
27616 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27617 wxPoint
*arg2
= 0 ;
27619 PyObject
* obj0
= 0 ;
27620 PyObject
* obj1
= 0 ;
27621 char *kwnames
[] = {
27622 (char *) "self",(char *) "pt", NULL
27625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
27626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27627 if (SWIG_arg_fail(1)) SWIG_fail
;
27630 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27634 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
27636 wxPyEndAllowThreads(__tstate
);
27637 if (PyErr_Occurred()) SWIG_fail
;
27639 Py_INCREF(Py_None
); resultobj
= Py_None
;
27646 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27647 PyObject
*resultobj
;
27648 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27649 wxKeyEvent
*result
;
27650 PyObject
* obj0
= 0 ;
27651 char *kwnames
[] = {
27652 (char *) "self", NULL
27655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
27656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27657 if (SWIG_arg_fail(1)) SWIG_fail
;
27659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27661 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
27662 result
= (wxKeyEvent
*) &_result_ref
;
27665 wxPyEndAllowThreads(__tstate
);
27666 if (PyErr_Occurred()) SWIG_fail
;
27668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
27675 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27676 PyObject
*resultobj
;
27677 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27679 PyObject
* obj0
= 0 ;
27680 char *kwnames
[] = {
27681 (char *) "self", NULL
27684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
27685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27686 if (SWIG_arg_fail(1)) SWIG_fail
;
27688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27689 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
27691 wxPyEndAllowThreads(__tstate
);
27692 if (PyErr_Occurred()) SWIG_fail
;
27695 resultobj
= SWIG_From_int((int)(result
));
27703 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27704 PyObject
*resultobj
;
27705 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27706 wxKeyEvent
*arg2
= 0 ;
27707 PyObject
* obj0
= 0 ;
27708 PyObject
* obj1
= 0 ;
27709 char *kwnames
[] = {
27710 (char *) "self",(char *) "evt", NULL
27713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27715 if (SWIG_arg_fail(1)) SWIG_fail
;
27717 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
27718 if (SWIG_arg_fail(2)) SWIG_fail
;
27719 if (arg2
== NULL
) {
27720 SWIG_null_ref("wxKeyEvent");
27722 if (SWIG_arg_fail(2)) SWIG_fail
;
27725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27726 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
27728 wxPyEndAllowThreads(__tstate
);
27729 if (PyErr_Occurred()) SWIG_fail
;
27731 Py_INCREF(Py_None
); resultobj
= Py_None
;
27738 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27739 PyObject
*resultobj
;
27740 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27742 PyObject
* obj0
= 0 ;
27743 char *kwnames
[] = {
27744 (char *) "self", NULL
27747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
27748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27749 if (SWIG_arg_fail(1)) SWIG_fail
;
27751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27753 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
27754 result
= (wxString
*) &_result_ref
;
27757 wxPyEndAllowThreads(__tstate
);
27758 if (PyErr_Occurred()) SWIG_fail
;
27762 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27764 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27773 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27774 PyObject
*resultobj
;
27775 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27776 wxString
*arg2
= 0 ;
27777 bool temp2
= false ;
27778 PyObject
* obj0
= 0 ;
27779 PyObject
* obj1
= 0 ;
27780 char *kwnames
[] = {
27781 (char *) "self",(char *) "label", NULL
27784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27786 if (SWIG_arg_fail(1)) SWIG_fail
;
27788 arg2
= wxString_in_helper(obj1
);
27789 if (arg2
== NULL
) SWIG_fail
;
27793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27794 (arg1
)->SetLabel((wxString
const &)*arg2
);
27796 wxPyEndAllowThreads(__tstate
);
27797 if (PyErr_Occurred()) SWIG_fail
;
27799 Py_INCREF(Py_None
); resultobj
= Py_None
;
27814 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27815 PyObject
*resultobj
;
27816 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27818 PyObject
* obj0
= 0 ;
27819 char *kwnames
[] = {
27820 (char *) "self", NULL
27823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
27824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27825 if (SWIG_arg_fail(1)) SWIG_fail
;
27827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27828 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
27830 wxPyEndAllowThreads(__tstate
);
27831 if (PyErr_Occurred()) SWIG_fail
;
27834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27842 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27843 PyObject
*resultobj
;
27844 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27846 PyObject
* obj0
= 0 ;
27847 PyObject
* obj1
= 0 ;
27848 char *kwnames
[] = {
27849 (char *) "self",(char *) "editCancelled", NULL
27852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
27853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27854 if (SWIG_arg_fail(1)) SWIG_fail
;
27856 arg2
= (bool)(SWIG_As_bool(obj1
));
27857 if (SWIG_arg_fail(2)) SWIG_fail
;
27860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27861 (arg1
)->SetEditCanceled(arg2
);
27863 wxPyEndAllowThreads(__tstate
);
27864 if (PyErr_Occurred()) SWIG_fail
;
27866 Py_INCREF(Py_None
); resultobj
= Py_None
;
27873 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27874 PyObject
*resultobj
;
27875 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27876 wxString
*arg2
= 0 ;
27877 bool temp2
= false ;
27878 PyObject
* obj0
= 0 ;
27879 PyObject
* obj1
= 0 ;
27880 char *kwnames
[] = {
27881 (char *) "self",(char *) "toolTip", NULL
27884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27886 if (SWIG_arg_fail(1)) SWIG_fail
;
27888 arg2
= wxString_in_helper(obj1
);
27889 if (arg2
== NULL
) SWIG_fail
;
27893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27894 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27896 wxPyEndAllowThreads(__tstate
);
27897 if (PyErr_Occurred()) SWIG_fail
;
27899 Py_INCREF(Py_None
); resultobj
= Py_None
;
27914 static PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27915 PyObject
*resultobj
;
27916 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27918 PyObject
* obj0
= 0 ;
27919 char *kwnames
[] = {
27920 (char *) "self", NULL
27923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetToolTip",kwnames
,&obj0
)) goto fail
;
27924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27925 if (SWIG_arg_fail(1)) SWIG_fail
;
27927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27928 result
= (arg1
)->GetToolTip();
27930 wxPyEndAllowThreads(__tstate
);
27931 if (PyErr_Occurred()) SWIG_fail
;
27935 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27937 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27946 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
27948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27949 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
27951 return Py_BuildValue((char *)"");
27953 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27954 PyObject
*resultobj
;
27955 wxWindow
*arg1
= (wxWindow
*) 0 ;
27956 int arg2
= (int) -1 ;
27957 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27958 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27959 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27960 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27961 long arg5
= (long) wxTR_DEFAULT_STYLE
;
27962 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27963 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27964 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
27965 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27966 wxPyTreeCtrl
*result
;
27969 bool temp7
= false ;
27970 PyObject
* obj0
= 0 ;
27971 PyObject
* obj1
= 0 ;
27972 PyObject
* obj2
= 0 ;
27973 PyObject
* obj3
= 0 ;
27974 PyObject
* obj4
= 0 ;
27975 PyObject
* obj5
= 0 ;
27976 PyObject
* obj6
= 0 ;
27977 char *kwnames
[] = {
27978 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27983 if (SWIG_arg_fail(1)) SWIG_fail
;
27986 arg2
= (int)(SWIG_As_int(obj1
));
27987 if (SWIG_arg_fail(2)) SWIG_fail
;
27993 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27999 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28004 arg5
= (long)(SWIG_As_long(obj4
));
28005 if (SWIG_arg_fail(5)) SWIG_fail
;
28010 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28011 if (SWIG_arg_fail(6)) SWIG_fail
;
28012 if (arg6
== NULL
) {
28013 SWIG_null_ref("wxValidator");
28015 if (SWIG_arg_fail(6)) SWIG_fail
;
28020 arg7
= wxString_in_helper(obj6
);
28021 if (arg7
== NULL
) SWIG_fail
;
28026 if (!wxPyCheckForApp()) SWIG_fail
;
28027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28028 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28030 wxPyEndAllowThreads(__tstate
);
28031 if (PyErr_Occurred()) SWIG_fail
;
28033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28048 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28049 PyObject
*resultobj
;
28050 wxPyTreeCtrl
*result
;
28051 char *kwnames
[] = {
28055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
28057 if (!wxPyCheckForApp()) SWIG_fail
;
28058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28059 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
28061 wxPyEndAllowThreads(__tstate
);
28062 if (PyErr_Occurred()) SWIG_fail
;
28064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28071 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28072 PyObject
*resultobj
;
28073 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28074 wxWindow
*arg2
= (wxWindow
*) 0 ;
28075 int arg3
= (int) -1 ;
28076 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28077 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28078 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28079 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28080 long arg6
= (long) wxTR_DEFAULT_STYLE
;
28081 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28082 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28083 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
28084 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28088 bool temp8
= false ;
28089 PyObject
* obj0
= 0 ;
28090 PyObject
* obj1
= 0 ;
28091 PyObject
* obj2
= 0 ;
28092 PyObject
* obj3
= 0 ;
28093 PyObject
* obj4
= 0 ;
28094 PyObject
* obj5
= 0 ;
28095 PyObject
* obj6
= 0 ;
28096 PyObject
* obj7
= 0 ;
28097 char *kwnames
[] = {
28098 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
28102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28103 if (SWIG_arg_fail(1)) SWIG_fail
;
28104 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28105 if (SWIG_arg_fail(2)) SWIG_fail
;
28108 arg3
= (int)(SWIG_As_int(obj2
));
28109 if (SWIG_arg_fail(3)) SWIG_fail
;
28115 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28121 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28126 arg6
= (long)(SWIG_As_long(obj5
));
28127 if (SWIG_arg_fail(6)) SWIG_fail
;
28132 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28133 if (SWIG_arg_fail(7)) SWIG_fail
;
28134 if (arg7
== NULL
) {
28135 SWIG_null_ref("wxValidator");
28137 if (SWIG_arg_fail(7)) SWIG_fail
;
28142 arg8
= wxString_in_helper(obj7
);
28143 if (arg8
== NULL
) SWIG_fail
;
28148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28149 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28151 wxPyEndAllowThreads(__tstate
);
28152 if (PyErr_Occurred()) SWIG_fail
;
28155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28171 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28172 PyObject
*resultobj
;
28173 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28174 PyObject
*arg2
= (PyObject
*) 0 ;
28175 PyObject
*arg3
= (PyObject
*) 0 ;
28176 PyObject
* obj0
= 0 ;
28177 PyObject
* obj1
= 0 ;
28178 PyObject
* obj2
= 0 ;
28179 char *kwnames
[] = {
28180 (char *) "self",(char *) "self",(char *) "_class", NULL
28183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28185 if (SWIG_arg_fail(1)) SWIG_fail
;
28189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28190 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28192 wxPyEndAllowThreads(__tstate
);
28193 if (PyErr_Occurred()) SWIG_fail
;
28195 Py_INCREF(Py_None
); resultobj
= Py_None
;
28202 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28203 PyObject
*resultobj
;
28204 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28206 PyObject
* obj0
= 0 ;
28207 char *kwnames
[] = {
28208 (char *) "self", NULL
28211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
28212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28213 if (SWIG_arg_fail(1)) SWIG_fail
;
28215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28216 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
28218 wxPyEndAllowThreads(__tstate
);
28219 if (PyErr_Occurred()) SWIG_fail
;
28222 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28230 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28231 PyObject
*resultobj
;
28232 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28233 unsigned int result
;
28234 PyObject
* obj0
= 0 ;
28235 char *kwnames
[] = {
28236 (char *) "self", NULL
28239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
28240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28241 if (SWIG_arg_fail(1)) SWIG_fail
;
28243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28244 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
28246 wxPyEndAllowThreads(__tstate
);
28247 if (PyErr_Occurred()) SWIG_fail
;
28250 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28258 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28259 PyObject
*resultobj
;
28260 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28261 unsigned int arg2
;
28262 PyObject
* obj0
= 0 ;
28263 PyObject
* obj1
= 0 ;
28264 char *kwnames
[] = {
28265 (char *) "self",(char *) "indent", NULL
28268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
28269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28270 if (SWIG_arg_fail(1)) SWIG_fail
;
28272 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28273 if (SWIG_arg_fail(2)) SWIG_fail
;
28276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28277 (arg1
)->SetIndent(arg2
);
28279 wxPyEndAllowThreads(__tstate
);
28280 if (PyErr_Occurred()) SWIG_fail
;
28282 Py_INCREF(Py_None
); resultobj
= Py_None
;
28289 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28290 PyObject
*resultobj
;
28291 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28292 unsigned int result
;
28293 PyObject
* obj0
= 0 ;
28294 char *kwnames
[] = {
28295 (char *) "self", NULL
28298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
28299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28300 if (SWIG_arg_fail(1)) SWIG_fail
;
28302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28303 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
28305 wxPyEndAllowThreads(__tstate
);
28306 if (PyErr_Occurred()) SWIG_fail
;
28309 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28317 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28318 PyObject
*resultobj
;
28319 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28320 unsigned int arg2
;
28321 PyObject
* obj0
= 0 ;
28322 PyObject
* obj1
= 0 ;
28323 char *kwnames
[] = {
28324 (char *) "self",(char *) "spacing", NULL
28327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
28328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28329 if (SWIG_arg_fail(1)) SWIG_fail
;
28331 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28332 if (SWIG_arg_fail(2)) SWIG_fail
;
28335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28336 (arg1
)->SetSpacing(arg2
);
28338 wxPyEndAllowThreads(__tstate
);
28339 if (PyErr_Occurred()) SWIG_fail
;
28341 Py_INCREF(Py_None
); resultobj
= Py_None
;
28348 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28349 PyObject
*resultobj
;
28350 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28351 wxImageList
*result
;
28352 PyObject
* obj0
= 0 ;
28353 char *kwnames
[] = {
28354 (char *) "self", NULL
28357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
28358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28359 if (SWIG_arg_fail(1)) SWIG_fail
;
28361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28362 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
28364 wxPyEndAllowThreads(__tstate
);
28365 if (PyErr_Occurred()) SWIG_fail
;
28368 resultobj
= wxPyMake_wxObject(result
, 0);
28376 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28377 PyObject
*resultobj
;
28378 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28379 wxImageList
*result
;
28380 PyObject
* obj0
= 0 ;
28381 char *kwnames
[] = {
28382 (char *) "self", NULL
28385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
28386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28387 if (SWIG_arg_fail(1)) SWIG_fail
;
28389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28390 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
28392 wxPyEndAllowThreads(__tstate
);
28393 if (PyErr_Occurred()) SWIG_fail
;
28396 resultobj
= wxPyMake_wxObject(result
, 0);
28404 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28405 PyObject
*resultobj
;
28406 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28407 wxImageList
*arg2
= (wxImageList
*) 0 ;
28408 PyObject
* obj0
= 0 ;
28409 PyObject
* obj1
= 0 ;
28410 char *kwnames
[] = {
28411 (char *) "self",(char *) "imageList", NULL
28414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28416 if (SWIG_arg_fail(1)) SWIG_fail
;
28417 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28418 if (SWIG_arg_fail(2)) SWIG_fail
;
28420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28421 (arg1
)->SetImageList(arg2
);
28423 wxPyEndAllowThreads(__tstate
);
28424 if (PyErr_Occurred()) SWIG_fail
;
28426 Py_INCREF(Py_None
); resultobj
= Py_None
;
28433 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28434 PyObject
*resultobj
;
28435 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28436 wxImageList
*arg2
= (wxImageList
*) 0 ;
28437 PyObject
* obj0
= 0 ;
28438 PyObject
* obj1
= 0 ;
28439 char *kwnames
[] = {
28440 (char *) "self",(char *) "imageList", NULL
28443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28445 if (SWIG_arg_fail(1)) SWIG_fail
;
28446 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28447 if (SWIG_arg_fail(2)) SWIG_fail
;
28449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28450 (arg1
)->SetStateImageList(arg2
);
28452 wxPyEndAllowThreads(__tstate
);
28453 if (PyErr_Occurred()) SWIG_fail
;
28455 Py_INCREF(Py_None
); resultobj
= Py_None
;
28462 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28463 PyObject
*resultobj
;
28464 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28465 wxImageList
*arg2
= (wxImageList
*) 0 ;
28466 PyObject
* obj0
= 0 ;
28467 PyObject
* obj1
= 0 ;
28468 char *kwnames
[] = {
28469 (char *) "self",(char *) "imageList", NULL
28472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28474 if (SWIG_arg_fail(1)) SWIG_fail
;
28475 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28476 if (SWIG_arg_fail(2)) SWIG_fail
;
28478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28479 (arg1
)->AssignImageList(arg2
);
28481 wxPyEndAllowThreads(__tstate
);
28482 if (PyErr_Occurred()) SWIG_fail
;
28484 Py_INCREF(Py_None
); resultobj
= Py_None
;
28491 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28492 PyObject
*resultobj
;
28493 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28494 wxImageList
*arg2
= (wxImageList
*) 0 ;
28495 PyObject
* obj0
= 0 ;
28496 PyObject
* obj1
= 0 ;
28497 char *kwnames
[] = {
28498 (char *) "self",(char *) "imageList", NULL
28501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28503 if (SWIG_arg_fail(1)) SWIG_fail
;
28504 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28505 if (SWIG_arg_fail(2)) SWIG_fail
;
28507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28508 (arg1
)->AssignStateImageList(arg2
);
28510 wxPyEndAllowThreads(__tstate
);
28511 if (PyErr_Occurred()) SWIG_fail
;
28513 Py_INCREF(Py_None
); resultobj
= Py_None
;
28520 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28521 PyObject
*resultobj
;
28522 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28523 wxTreeItemId
*arg2
= 0 ;
28525 PyObject
* obj0
= 0 ;
28526 PyObject
* obj1
= 0 ;
28527 char *kwnames
[] = {
28528 (char *) "self",(char *) "item", NULL
28531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
28532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28533 if (SWIG_arg_fail(1)) SWIG_fail
;
28535 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28536 if (SWIG_arg_fail(2)) SWIG_fail
;
28537 if (arg2
== NULL
) {
28538 SWIG_null_ref("wxTreeItemId");
28540 if (SWIG_arg_fail(2)) SWIG_fail
;
28543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28544 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
28546 wxPyEndAllowThreads(__tstate
);
28547 if (PyErr_Occurred()) SWIG_fail
;
28551 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28553 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28562 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28563 PyObject
*resultobj
;
28564 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28565 wxTreeItemId
*arg2
= 0 ;
28566 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28568 PyObject
* obj0
= 0 ;
28569 PyObject
* obj1
= 0 ;
28570 PyObject
* obj2
= 0 ;
28571 char *kwnames
[] = {
28572 (char *) "self",(char *) "item",(char *) "which", NULL
28575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28577 if (SWIG_arg_fail(1)) SWIG_fail
;
28579 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28580 if (SWIG_arg_fail(2)) SWIG_fail
;
28581 if (arg2
== NULL
) {
28582 SWIG_null_ref("wxTreeItemId");
28584 if (SWIG_arg_fail(2)) SWIG_fail
;
28588 arg3
= (wxTreeItemIcon
)(SWIG_As_int(obj2
));
28589 if (SWIG_arg_fail(3)) SWIG_fail
;
28593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28594 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
28596 wxPyEndAllowThreads(__tstate
);
28597 if (PyErr_Occurred()) SWIG_fail
;
28600 resultobj
= SWIG_From_int((int)(result
));
28608 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28609 PyObject
*resultobj
;
28610 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28611 wxTreeItemId
*arg2
= 0 ;
28612 wxPyTreeItemData
*result
;
28613 PyObject
* obj0
= 0 ;
28614 PyObject
* obj1
= 0 ;
28615 char *kwnames
[] = {
28616 (char *) "self",(char *) "item", NULL
28619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
28620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28621 if (SWIG_arg_fail(1)) SWIG_fail
;
28623 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28624 if (SWIG_arg_fail(2)) SWIG_fail
;
28625 if (arg2
== NULL
) {
28626 SWIG_null_ref("wxTreeItemId");
28628 if (SWIG_arg_fail(2)) SWIG_fail
;
28631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28632 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
28634 wxPyEndAllowThreads(__tstate
);
28635 if (PyErr_Occurred()) SWIG_fail
;
28637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
28644 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28645 PyObject
*resultobj
;
28646 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28647 wxTreeItemId
*arg2
= 0 ;
28649 PyObject
* obj0
= 0 ;
28650 PyObject
* obj1
= 0 ;
28651 char *kwnames
[] = {
28652 (char *) "self",(char *) "item", NULL
28655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
28656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28657 if (SWIG_arg_fail(1)) SWIG_fail
;
28659 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28660 if (SWIG_arg_fail(2)) SWIG_fail
;
28661 if (arg2
== NULL
) {
28662 SWIG_null_ref("wxTreeItemId");
28664 if (SWIG_arg_fail(2)) SWIG_fail
;
28667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28668 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
28670 wxPyEndAllowThreads(__tstate
);
28671 if (PyErr_Occurred()) SWIG_fail
;
28673 resultobj
= result
;
28680 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28681 PyObject
*resultobj
;
28682 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28683 wxTreeItemId
*arg2
= 0 ;
28685 PyObject
* obj0
= 0 ;
28686 PyObject
* obj1
= 0 ;
28687 char *kwnames
[] = {
28688 (char *) "self",(char *) "item", NULL
28691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28693 if (SWIG_arg_fail(1)) SWIG_fail
;
28695 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28696 if (SWIG_arg_fail(2)) SWIG_fail
;
28697 if (arg2
== NULL
) {
28698 SWIG_null_ref("wxTreeItemId");
28700 if (SWIG_arg_fail(2)) SWIG_fail
;
28703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28704 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
28706 wxPyEndAllowThreads(__tstate
);
28707 if (PyErr_Occurred()) SWIG_fail
;
28710 wxColour
* resultptr
;
28711 resultptr
= new wxColour((wxColour
&)(result
));
28712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28720 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28721 PyObject
*resultobj
;
28722 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28723 wxTreeItemId
*arg2
= 0 ;
28725 PyObject
* obj0
= 0 ;
28726 PyObject
* obj1
= 0 ;
28727 char *kwnames
[] = {
28728 (char *) "self",(char *) "item", NULL
28731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28733 if (SWIG_arg_fail(1)) SWIG_fail
;
28735 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28736 if (SWIG_arg_fail(2)) SWIG_fail
;
28737 if (arg2
== NULL
) {
28738 SWIG_null_ref("wxTreeItemId");
28740 if (SWIG_arg_fail(2)) SWIG_fail
;
28743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28744 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
28746 wxPyEndAllowThreads(__tstate
);
28747 if (PyErr_Occurred()) SWIG_fail
;
28750 wxColour
* resultptr
;
28751 resultptr
= new wxColour((wxColour
&)(result
));
28752 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28760 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28761 PyObject
*resultobj
;
28762 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28763 wxTreeItemId
*arg2
= 0 ;
28765 PyObject
* obj0
= 0 ;
28766 PyObject
* obj1
= 0 ;
28767 char *kwnames
[] = {
28768 (char *) "self",(char *) "item", NULL
28771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
28772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28773 if (SWIG_arg_fail(1)) SWIG_fail
;
28775 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28776 if (SWIG_arg_fail(2)) SWIG_fail
;
28777 if (arg2
== NULL
) {
28778 SWIG_null_ref("wxTreeItemId");
28780 if (SWIG_arg_fail(2)) SWIG_fail
;
28783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28784 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
28786 wxPyEndAllowThreads(__tstate
);
28787 if (PyErr_Occurred()) SWIG_fail
;
28790 wxFont
* resultptr
;
28791 resultptr
= new wxFont((wxFont
&)(result
));
28792 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
28800 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28801 PyObject
*resultobj
;
28802 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28803 wxTreeItemId
*arg2
= 0 ;
28804 wxString
*arg3
= 0 ;
28805 bool temp3
= false ;
28806 PyObject
* obj0
= 0 ;
28807 PyObject
* obj1
= 0 ;
28808 PyObject
* obj2
= 0 ;
28809 char *kwnames
[] = {
28810 (char *) "self",(char *) "item",(char *) "text", NULL
28813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28815 if (SWIG_arg_fail(1)) SWIG_fail
;
28817 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28818 if (SWIG_arg_fail(2)) SWIG_fail
;
28819 if (arg2
== NULL
) {
28820 SWIG_null_ref("wxTreeItemId");
28822 if (SWIG_arg_fail(2)) SWIG_fail
;
28825 arg3
= wxString_in_helper(obj2
);
28826 if (arg3
== NULL
) SWIG_fail
;
28830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28831 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
28833 wxPyEndAllowThreads(__tstate
);
28834 if (PyErr_Occurred()) SWIG_fail
;
28836 Py_INCREF(Py_None
); resultobj
= Py_None
;
28851 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28852 PyObject
*resultobj
;
28853 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28854 wxTreeItemId
*arg2
= 0 ;
28856 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28857 PyObject
* obj0
= 0 ;
28858 PyObject
* obj1
= 0 ;
28859 PyObject
* obj2
= 0 ;
28860 PyObject
* obj3
= 0 ;
28861 char *kwnames
[] = {
28862 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28867 if (SWIG_arg_fail(1)) SWIG_fail
;
28869 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28870 if (SWIG_arg_fail(2)) SWIG_fail
;
28871 if (arg2
== NULL
) {
28872 SWIG_null_ref("wxTreeItemId");
28874 if (SWIG_arg_fail(2)) SWIG_fail
;
28877 arg3
= (int)(SWIG_As_int(obj2
));
28878 if (SWIG_arg_fail(3)) SWIG_fail
;
28882 arg4
= (wxTreeItemIcon
)(SWIG_As_int(obj3
));
28883 if (SWIG_arg_fail(4)) SWIG_fail
;
28887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28888 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
28890 wxPyEndAllowThreads(__tstate
);
28891 if (PyErr_Occurred()) SWIG_fail
;
28893 Py_INCREF(Py_None
); resultobj
= Py_None
;
28900 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28901 PyObject
*resultobj
;
28902 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28903 wxTreeItemId
*arg2
= 0 ;
28904 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
28905 PyObject
* obj0
= 0 ;
28906 PyObject
* obj1
= 0 ;
28907 PyObject
* obj2
= 0 ;
28908 char *kwnames
[] = {
28909 (char *) "self",(char *) "item",(char *) "data", NULL
28912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28914 if (SWIG_arg_fail(1)) SWIG_fail
;
28916 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28917 if (SWIG_arg_fail(2)) SWIG_fail
;
28918 if (arg2
== NULL
) {
28919 SWIG_null_ref("wxTreeItemId");
28921 if (SWIG_arg_fail(2)) SWIG_fail
;
28923 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28924 if (SWIG_arg_fail(3)) SWIG_fail
;
28926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28927 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28929 wxPyEndAllowThreads(__tstate
);
28930 if (PyErr_Occurred()) SWIG_fail
;
28932 Py_INCREF(Py_None
); resultobj
= Py_None
;
28939 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28940 PyObject
*resultobj
;
28941 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28942 wxTreeItemId
*arg2
= 0 ;
28943 PyObject
*arg3
= (PyObject
*) 0 ;
28944 PyObject
* obj0
= 0 ;
28945 PyObject
* obj1
= 0 ;
28946 PyObject
* obj2
= 0 ;
28947 char *kwnames
[] = {
28948 (char *) "self",(char *) "item",(char *) "obj", NULL
28951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28953 if (SWIG_arg_fail(1)) SWIG_fail
;
28955 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28956 if (SWIG_arg_fail(2)) SWIG_fail
;
28957 if (arg2
== NULL
) {
28958 SWIG_null_ref("wxTreeItemId");
28960 if (SWIG_arg_fail(2)) SWIG_fail
;
28964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28965 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28967 wxPyEndAllowThreads(__tstate
);
28968 if (PyErr_Occurred()) SWIG_fail
;
28970 Py_INCREF(Py_None
); resultobj
= Py_None
;
28977 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28978 PyObject
*resultobj
;
28979 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28980 wxTreeItemId
*arg2
= 0 ;
28981 bool arg3
= (bool) true ;
28982 PyObject
* obj0
= 0 ;
28983 PyObject
* obj1
= 0 ;
28984 PyObject
* obj2
= 0 ;
28985 char *kwnames
[] = {
28986 (char *) "self",(char *) "item",(char *) "has", NULL
28989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28991 if (SWIG_arg_fail(1)) SWIG_fail
;
28993 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28994 if (SWIG_arg_fail(2)) SWIG_fail
;
28995 if (arg2
== NULL
) {
28996 SWIG_null_ref("wxTreeItemId");
28998 if (SWIG_arg_fail(2)) SWIG_fail
;
29002 arg3
= (bool)(SWIG_As_bool(obj2
));
29003 if (SWIG_arg_fail(3)) SWIG_fail
;
29007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29008 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
29010 wxPyEndAllowThreads(__tstate
);
29011 if (PyErr_Occurred()) SWIG_fail
;
29013 Py_INCREF(Py_None
); resultobj
= Py_None
;
29020 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29021 PyObject
*resultobj
;
29022 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29023 wxTreeItemId
*arg2
= 0 ;
29024 bool arg3
= (bool) true ;
29025 PyObject
* obj0
= 0 ;
29026 PyObject
* obj1
= 0 ;
29027 PyObject
* obj2
= 0 ;
29028 char *kwnames
[] = {
29029 (char *) "self",(char *) "item",(char *) "bold", NULL
29032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29034 if (SWIG_arg_fail(1)) SWIG_fail
;
29036 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29037 if (SWIG_arg_fail(2)) SWIG_fail
;
29038 if (arg2
== NULL
) {
29039 SWIG_null_ref("wxTreeItemId");
29041 if (SWIG_arg_fail(2)) SWIG_fail
;
29045 arg3
= (bool)(SWIG_As_bool(obj2
));
29046 if (SWIG_arg_fail(3)) SWIG_fail
;
29050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29051 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
29053 wxPyEndAllowThreads(__tstate
);
29054 if (PyErr_Occurred()) SWIG_fail
;
29056 Py_INCREF(Py_None
); resultobj
= Py_None
;
29063 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29064 PyObject
*resultobj
;
29065 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29066 wxTreeItemId
*arg2
= 0 ;
29067 bool arg3
= (bool) true ;
29068 PyObject
* obj0
= 0 ;
29069 PyObject
* obj1
= 0 ;
29070 PyObject
* obj2
= 0 ;
29071 char *kwnames
[] = {
29072 (char *) "self",(char *) "item",(char *) "highlight", NULL
29075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29077 if (SWIG_arg_fail(1)) SWIG_fail
;
29079 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29080 if (SWIG_arg_fail(2)) SWIG_fail
;
29081 if (arg2
== NULL
) {
29082 SWIG_null_ref("wxTreeItemId");
29084 if (SWIG_arg_fail(2)) SWIG_fail
;
29088 arg3
= (bool)(SWIG_As_bool(obj2
));
29089 if (SWIG_arg_fail(3)) SWIG_fail
;
29093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29094 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
29096 wxPyEndAllowThreads(__tstate
);
29097 if (PyErr_Occurred()) SWIG_fail
;
29099 Py_INCREF(Py_None
); resultobj
= Py_None
;
29106 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29107 PyObject
*resultobj
;
29108 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29109 wxTreeItemId
*arg2
= 0 ;
29110 wxColour
*arg3
= 0 ;
29112 PyObject
* obj0
= 0 ;
29113 PyObject
* obj1
= 0 ;
29114 PyObject
* obj2
= 0 ;
29115 char *kwnames
[] = {
29116 (char *) "self",(char *) "item",(char *) "col", NULL
29119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29121 if (SWIG_arg_fail(1)) SWIG_fail
;
29123 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29124 if (SWIG_arg_fail(2)) SWIG_fail
;
29125 if (arg2
== NULL
) {
29126 SWIG_null_ref("wxTreeItemId");
29128 if (SWIG_arg_fail(2)) SWIG_fail
;
29132 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29136 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29138 wxPyEndAllowThreads(__tstate
);
29139 if (PyErr_Occurred()) SWIG_fail
;
29141 Py_INCREF(Py_None
); resultobj
= Py_None
;
29148 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29149 PyObject
*resultobj
;
29150 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29151 wxTreeItemId
*arg2
= 0 ;
29152 wxColour
*arg3
= 0 ;
29154 PyObject
* obj0
= 0 ;
29155 PyObject
* obj1
= 0 ;
29156 PyObject
* obj2
= 0 ;
29157 char *kwnames
[] = {
29158 (char *) "self",(char *) "item",(char *) "col", NULL
29161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29163 if (SWIG_arg_fail(1)) SWIG_fail
;
29165 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29166 if (SWIG_arg_fail(2)) SWIG_fail
;
29167 if (arg2
== NULL
) {
29168 SWIG_null_ref("wxTreeItemId");
29170 if (SWIG_arg_fail(2)) SWIG_fail
;
29174 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29178 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29180 wxPyEndAllowThreads(__tstate
);
29181 if (PyErr_Occurred()) SWIG_fail
;
29183 Py_INCREF(Py_None
); resultobj
= Py_None
;
29190 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29191 PyObject
*resultobj
;
29192 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29193 wxTreeItemId
*arg2
= 0 ;
29195 PyObject
* obj0
= 0 ;
29196 PyObject
* obj1
= 0 ;
29197 PyObject
* obj2
= 0 ;
29198 char *kwnames
[] = {
29199 (char *) "self",(char *) "item",(char *) "font", NULL
29202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29204 if (SWIG_arg_fail(1)) SWIG_fail
;
29206 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29207 if (SWIG_arg_fail(2)) SWIG_fail
;
29208 if (arg2
== NULL
) {
29209 SWIG_null_ref("wxTreeItemId");
29211 if (SWIG_arg_fail(2)) SWIG_fail
;
29214 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29215 if (SWIG_arg_fail(3)) SWIG_fail
;
29216 if (arg3
== NULL
) {
29217 SWIG_null_ref("wxFont");
29219 if (SWIG_arg_fail(3)) SWIG_fail
;
29222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29223 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
29225 wxPyEndAllowThreads(__tstate
);
29226 if (PyErr_Occurred()) SWIG_fail
;
29228 Py_INCREF(Py_None
); resultobj
= Py_None
;
29235 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29236 PyObject
*resultobj
;
29237 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29238 wxTreeItemId
*arg2
= 0 ;
29240 PyObject
* obj0
= 0 ;
29241 PyObject
* obj1
= 0 ;
29242 char *kwnames
[] = {
29243 (char *) "self",(char *) "item", NULL
29246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29248 if (SWIG_arg_fail(1)) SWIG_fail
;
29250 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29251 if (SWIG_arg_fail(2)) SWIG_fail
;
29252 if (arg2
== NULL
) {
29253 SWIG_null_ref("wxTreeItemId");
29255 if (SWIG_arg_fail(2)) SWIG_fail
;
29258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29259 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
29261 wxPyEndAllowThreads(__tstate
);
29262 if (PyErr_Occurred()) SWIG_fail
;
29265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29273 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29274 PyObject
*resultobj
;
29275 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29276 wxTreeItemId
*arg2
= 0 ;
29278 PyObject
* obj0
= 0 ;
29279 PyObject
* obj1
= 0 ;
29280 char *kwnames
[] = {
29281 (char *) "self",(char *) "item", NULL
29284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
29285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29286 if (SWIG_arg_fail(1)) SWIG_fail
;
29288 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29289 if (SWIG_arg_fail(2)) SWIG_fail
;
29290 if (arg2
== NULL
) {
29291 SWIG_null_ref("wxTreeItemId");
29293 if (SWIG_arg_fail(2)) SWIG_fail
;
29296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29297 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
29299 wxPyEndAllowThreads(__tstate
);
29300 if (PyErr_Occurred()) SWIG_fail
;
29303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29311 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29312 PyObject
*resultobj
;
29313 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29314 wxTreeItemId
*arg2
= 0 ;
29316 PyObject
* obj0
= 0 ;
29317 PyObject
* obj1
= 0 ;
29318 char *kwnames
[] = {
29319 (char *) "self",(char *) "item", NULL
29322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
29323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29324 if (SWIG_arg_fail(1)) SWIG_fail
;
29326 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29327 if (SWIG_arg_fail(2)) SWIG_fail
;
29328 if (arg2
== NULL
) {
29329 SWIG_null_ref("wxTreeItemId");
29331 if (SWIG_arg_fail(2)) SWIG_fail
;
29334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29335 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
29337 wxPyEndAllowThreads(__tstate
);
29338 if (PyErr_Occurred()) SWIG_fail
;
29341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29349 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29350 PyObject
*resultobj
;
29351 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29352 wxTreeItemId
*arg2
= 0 ;
29354 PyObject
* obj0
= 0 ;
29355 PyObject
* obj1
= 0 ;
29356 char *kwnames
[] = {
29357 (char *) "self",(char *) "item", NULL
29360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
29361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29362 if (SWIG_arg_fail(1)) SWIG_fail
;
29364 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29365 if (SWIG_arg_fail(2)) SWIG_fail
;
29366 if (arg2
== NULL
) {
29367 SWIG_null_ref("wxTreeItemId");
29369 if (SWIG_arg_fail(2)) SWIG_fail
;
29372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29373 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
29375 wxPyEndAllowThreads(__tstate
);
29376 if (PyErr_Occurred()) SWIG_fail
;
29379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29387 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29388 PyObject
*resultobj
;
29389 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29390 wxTreeItemId
*arg2
= 0 ;
29392 PyObject
* obj0
= 0 ;
29393 PyObject
* obj1
= 0 ;
29394 char *kwnames
[] = {
29395 (char *) "self",(char *) "item", NULL
29398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
29399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29400 if (SWIG_arg_fail(1)) SWIG_fail
;
29402 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29403 if (SWIG_arg_fail(2)) SWIG_fail
;
29404 if (arg2
== NULL
) {
29405 SWIG_null_ref("wxTreeItemId");
29407 if (SWIG_arg_fail(2)) SWIG_fail
;
29410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29411 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
29413 wxPyEndAllowThreads(__tstate
);
29414 if (PyErr_Occurred()) SWIG_fail
;
29417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29425 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29426 PyObject
*resultobj
;
29427 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29428 wxTreeItemId
*arg2
= 0 ;
29429 bool arg3
= (bool) true ;
29431 PyObject
* obj0
= 0 ;
29432 PyObject
* obj1
= 0 ;
29433 PyObject
* obj2
= 0 ;
29434 char *kwnames
[] = {
29435 (char *) "self",(char *) "item",(char *) "recursively", NULL
29438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29440 if (SWIG_arg_fail(1)) SWIG_fail
;
29442 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29443 if (SWIG_arg_fail(2)) SWIG_fail
;
29444 if (arg2
== NULL
) {
29445 SWIG_null_ref("wxTreeItemId");
29447 if (SWIG_arg_fail(2)) SWIG_fail
;
29451 arg3
= (bool)(SWIG_As_bool(obj2
));
29452 if (SWIG_arg_fail(3)) SWIG_fail
;
29456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29457 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
29459 wxPyEndAllowThreads(__tstate
);
29460 if (PyErr_Occurred()) SWIG_fail
;
29463 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
29471 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29472 PyObject
*resultobj
;
29473 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29474 wxTreeItemId result
;
29475 PyObject
* obj0
= 0 ;
29476 char *kwnames
[] = {
29477 (char *) "self", NULL
29480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
29481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29482 if (SWIG_arg_fail(1)) SWIG_fail
;
29484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29485 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
29487 wxPyEndAllowThreads(__tstate
);
29488 if (PyErr_Occurred()) SWIG_fail
;
29491 wxTreeItemId
* resultptr
;
29492 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29493 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29501 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29502 PyObject
*resultobj
;
29503 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29504 wxTreeItemId result
;
29505 PyObject
* obj0
= 0 ;
29506 char *kwnames
[] = {
29507 (char *) "self", NULL
29510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
29511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29512 if (SWIG_arg_fail(1)) SWIG_fail
;
29514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29515 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
29517 wxPyEndAllowThreads(__tstate
);
29518 if (PyErr_Occurred()) SWIG_fail
;
29521 wxTreeItemId
* resultptr
;
29522 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29523 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29531 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29532 PyObject
*resultobj
;
29533 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29535 PyObject
* obj0
= 0 ;
29536 char *kwnames
[] = {
29537 (char *) "self", NULL
29540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
29541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29542 if (SWIG_arg_fail(1)) SWIG_fail
;
29544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29545 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
29547 wxPyEndAllowThreads(__tstate
);
29548 if (PyErr_Occurred()) SWIG_fail
;
29550 resultobj
= result
;
29557 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29558 PyObject
*resultobj
;
29559 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29560 wxTreeItemId
*arg2
= 0 ;
29561 wxTreeItemId result
;
29562 PyObject
* obj0
= 0 ;
29563 PyObject
* obj1
= 0 ;
29564 char *kwnames
[] = {
29565 (char *) "self",(char *) "item", NULL
29568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29570 if (SWIG_arg_fail(1)) SWIG_fail
;
29572 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29573 if (SWIG_arg_fail(2)) SWIG_fail
;
29574 if (arg2
== NULL
) {
29575 SWIG_null_ref("wxTreeItemId");
29577 if (SWIG_arg_fail(2)) SWIG_fail
;
29580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29581 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
29583 wxPyEndAllowThreads(__tstate
);
29584 if (PyErr_Occurred()) SWIG_fail
;
29587 wxTreeItemId
* resultptr
;
29588 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29589 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29597 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29598 PyObject
*resultobj
;
29599 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29600 wxTreeItemId
*arg2
= 0 ;
29602 PyObject
* obj0
= 0 ;
29603 PyObject
* obj1
= 0 ;
29604 char *kwnames
[] = {
29605 (char *) "self",(char *) "item", NULL
29608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29610 if (SWIG_arg_fail(1)) SWIG_fail
;
29612 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29613 if (SWIG_arg_fail(2)) SWIG_fail
;
29614 if (arg2
== NULL
) {
29615 SWIG_null_ref("wxTreeItemId");
29617 if (SWIG_arg_fail(2)) SWIG_fail
;
29620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29621 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
29623 wxPyEndAllowThreads(__tstate
);
29624 if (PyErr_Occurred()) SWIG_fail
;
29626 resultobj
= result
;
29633 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29634 PyObject
*resultobj
;
29635 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29636 wxTreeItemId
*arg2
= 0 ;
29637 void *arg3
= (void *) 0 ;
29639 PyObject
* obj0
= 0 ;
29640 PyObject
* obj1
= 0 ;
29641 PyObject
* obj2
= 0 ;
29642 char *kwnames
[] = {
29643 (char *) "self",(char *) "item",(char *) "cookie", NULL
29646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29648 if (SWIG_arg_fail(1)) SWIG_fail
;
29650 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29651 if (SWIG_arg_fail(2)) SWIG_fail
;
29652 if (arg2
== NULL
) {
29653 SWIG_null_ref("wxTreeItemId");
29655 if (SWIG_arg_fail(2)) SWIG_fail
;
29658 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
29659 SWIG_arg_fail(3);SWIG_fail
;
29663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29664 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29666 wxPyEndAllowThreads(__tstate
);
29667 if (PyErr_Occurred()) SWIG_fail
;
29669 resultobj
= result
;
29676 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29677 PyObject
*resultobj
;
29678 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29679 wxTreeItemId
*arg2
= 0 ;
29680 wxTreeItemId result
;
29681 PyObject
* obj0
= 0 ;
29682 PyObject
* obj1
= 0 ;
29683 char *kwnames
[] = {
29684 (char *) "self",(char *) "item", NULL
29687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29689 if (SWIG_arg_fail(1)) SWIG_fail
;
29691 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29692 if (SWIG_arg_fail(2)) SWIG_fail
;
29693 if (arg2
== NULL
) {
29694 SWIG_null_ref("wxTreeItemId");
29696 if (SWIG_arg_fail(2)) SWIG_fail
;
29699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29700 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
29702 wxPyEndAllowThreads(__tstate
);
29703 if (PyErr_Occurred()) SWIG_fail
;
29706 wxTreeItemId
* resultptr
;
29707 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29708 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29716 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29717 PyObject
*resultobj
;
29718 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29719 wxTreeItemId
*arg2
= 0 ;
29720 wxTreeItemId result
;
29721 PyObject
* obj0
= 0 ;
29722 PyObject
* obj1
= 0 ;
29723 char *kwnames
[] = {
29724 (char *) "self",(char *) "item", NULL
29727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29729 if (SWIG_arg_fail(1)) SWIG_fail
;
29731 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29732 if (SWIG_arg_fail(2)) SWIG_fail
;
29733 if (arg2
== NULL
) {
29734 SWIG_null_ref("wxTreeItemId");
29736 if (SWIG_arg_fail(2)) SWIG_fail
;
29739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29740 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
29742 wxPyEndAllowThreads(__tstate
);
29743 if (PyErr_Occurred()) SWIG_fail
;
29746 wxTreeItemId
* resultptr
;
29747 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29748 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29756 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29757 PyObject
*resultobj
;
29758 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29759 wxTreeItemId
*arg2
= 0 ;
29760 wxTreeItemId result
;
29761 PyObject
* obj0
= 0 ;
29762 PyObject
* obj1
= 0 ;
29763 char *kwnames
[] = {
29764 (char *) "self",(char *) "item", NULL
29767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29769 if (SWIG_arg_fail(1)) SWIG_fail
;
29771 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29772 if (SWIG_arg_fail(2)) SWIG_fail
;
29773 if (arg2
== NULL
) {
29774 SWIG_null_ref("wxTreeItemId");
29776 if (SWIG_arg_fail(2)) SWIG_fail
;
29779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29780 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
29782 wxPyEndAllowThreads(__tstate
);
29783 if (PyErr_Occurred()) SWIG_fail
;
29786 wxTreeItemId
* resultptr
;
29787 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29788 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29796 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29797 PyObject
*resultobj
;
29798 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29799 wxTreeItemId result
;
29800 PyObject
* obj0
= 0 ;
29801 char *kwnames
[] = {
29802 (char *) "self", NULL
29805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
29806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29807 if (SWIG_arg_fail(1)) SWIG_fail
;
29809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29810 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
29812 wxPyEndAllowThreads(__tstate
);
29813 if (PyErr_Occurred()) SWIG_fail
;
29816 wxTreeItemId
* resultptr
;
29817 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29818 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29826 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29827 PyObject
*resultobj
;
29828 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29829 wxTreeItemId
*arg2
= 0 ;
29830 wxTreeItemId result
;
29831 PyObject
* obj0
= 0 ;
29832 PyObject
* obj1
= 0 ;
29833 char *kwnames
[] = {
29834 (char *) "self",(char *) "item", NULL
29837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29839 if (SWIG_arg_fail(1)) SWIG_fail
;
29841 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29842 if (SWIG_arg_fail(2)) SWIG_fail
;
29843 if (arg2
== NULL
) {
29844 SWIG_null_ref("wxTreeItemId");
29846 if (SWIG_arg_fail(2)) SWIG_fail
;
29849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29850 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
29852 wxPyEndAllowThreads(__tstate
);
29853 if (PyErr_Occurred()) SWIG_fail
;
29856 wxTreeItemId
* resultptr
;
29857 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29858 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29866 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29867 PyObject
*resultobj
;
29868 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29869 wxTreeItemId
*arg2
= 0 ;
29870 wxTreeItemId result
;
29871 PyObject
* obj0
= 0 ;
29872 PyObject
* obj1
= 0 ;
29873 char *kwnames
[] = {
29874 (char *) "self",(char *) "item", NULL
29877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29879 if (SWIG_arg_fail(1)) SWIG_fail
;
29881 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29882 if (SWIG_arg_fail(2)) SWIG_fail
;
29883 if (arg2
== NULL
) {
29884 SWIG_null_ref("wxTreeItemId");
29886 if (SWIG_arg_fail(2)) SWIG_fail
;
29889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29890 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
29892 wxPyEndAllowThreads(__tstate
);
29893 if (PyErr_Occurred()) SWIG_fail
;
29896 wxTreeItemId
* resultptr
;
29897 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29898 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29906 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29907 PyObject
*resultobj
;
29908 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29909 wxString
*arg2
= 0 ;
29910 int arg3
= (int) -1 ;
29911 int arg4
= (int) -1 ;
29912 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
29913 wxTreeItemId result
;
29914 bool temp2
= false ;
29915 PyObject
* obj0
= 0 ;
29916 PyObject
* obj1
= 0 ;
29917 PyObject
* obj2
= 0 ;
29918 PyObject
* obj3
= 0 ;
29919 PyObject
* obj4
= 0 ;
29920 char *kwnames
[] = {
29921 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29926 if (SWIG_arg_fail(1)) SWIG_fail
;
29928 arg2
= wxString_in_helper(obj1
);
29929 if (arg2
== NULL
) SWIG_fail
;
29934 arg3
= (int)(SWIG_As_int(obj2
));
29935 if (SWIG_arg_fail(3)) SWIG_fail
;
29940 arg4
= (int)(SWIG_As_int(obj3
));
29941 if (SWIG_arg_fail(4)) SWIG_fail
;
29945 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29946 if (SWIG_arg_fail(5)) SWIG_fail
;
29949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29950 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29952 wxPyEndAllowThreads(__tstate
);
29953 if (PyErr_Occurred()) SWIG_fail
;
29956 wxTreeItemId
* resultptr
;
29957 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29958 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29974 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29975 PyObject
*resultobj
;
29976 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29977 wxTreeItemId
*arg2
= 0 ;
29978 wxString
*arg3
= 0 ;
29979 int arg4
= (int) -1 ;
29980 int arg5
= (int) -1 ;
29981 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
29982 wxTreeItemId result
;
29983 bool temp3
= false ;
29984 PyObject
* obj0
= 0 ;
29985 PyObject
* obj1
= 0 ;
29986 PyObject
* obj2
= 0 ;
29987 PyObject
* obj3
= 0 ;
29988 PyObject
* obj4
= 0 ;
29989 PyObject
* obj5
= 0 ;
29990 char *kwnames
[] = {
29991 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29996 if (SWIG_arg_fail(1)) SWIG_fail
;
29998 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29999 if (SWIG_arg_fail(2)) SWIG_fail
;
30000 if (arg2
== NULL
) {
30001 SWIG_null_ref("wxTreeItemId");
30003 if (SWIG_arg_fail(2)) SWIG_fail
;
30006 arg3
= wxString_in_helper(obj2
);
30007 if (arg3
== NULL
) SWIG_fail
;
30012 arg4
= (int)(SWIG_As_int(obj3
));
30013 if (SWIG_arg_fail(4)) SWIG_fail
;
30018 arg5
= (int)(SWIG_As_int(obj4
));
30019 if (SWIG_arg_fail(5)) SWIG_fail
;
30023 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30024 if (SWIG_arg_fail(6)) SWIG_fail
;
30027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30028 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30030 wxPyEndAllowThreads(__tstate
);
30031 if (PyErr_Occurred()) SWIG_fail
;
30034 wxTreeItemId
* resultptr
;
30035 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30036 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30052 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30053 PyObject
*resultobj
;
30054 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30055 wxTreeItemId
*arg2
= 0 ;
30056 wxTreeItemId
*arg3
= 0 ;
30057 wxString
*arg4
= 0 ;
30058 int arg5
= (int) -1 ;
30059 int arg6
= (int) -1 ;
30060 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30061 wxTreeItemId result
;
30062 bool temp4
= false ;
30063 PyObject
* obj0
= 0 ;
30064 PyObject
* obj1
= 0 ;
30065 PyObject
* obj2
= 0 ;
30066 PyObject
* obj3
= 0 ;
30067 PyObject
* obj4
= 0 ;
30068 PyObject
* obj5
= 0 ;
30069 PyObject
* obj6
= 0 ;
30070 char *kwnames
[] = {
30071 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30076 if (SWIG_arg_fail(1)) SWIG_fail
;
30078 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30079 if (SWIG_arg_fail(2)) SWIG_fail
;
30080 if (arg2
== NULL
) {
30081 SWIG_null_ref("wxTreeItemId");
30083 if (SWIG_arg_fail(2)) SWIG_fail
;
30086 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30087 if (SWIG_arg_fail(3)) SWIG_fail
;
30088 if (arg3
== NULL
) {
30089 SWIG_null_ref("wxTreeItemId");
30091 if (SWIG_arg_fail(3)) SWIG_fail
;
30094 arg4
= wxString_in_helper(obj3
);
30095 if (arg4
== NULL
) SWIG_fail
;
30100 arg5
= (int)(SWIG_As_int(obj4
));
30101 if (SWIG_arg_fail(5)) SWIG_fail
;
30106 arg6
= (int)(SWIG_As_int(obj5
));
30107 if (SWIG_arg_fail(6)) SWIG_fail
;
30111 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30112 if (SWIG_arg_fail(7)) SWIG_fail
;
30115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30116 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30118 wxPyEndAllowThreads(__tstate
);
30119 if (PyErr_Occurred()) SWIG_fail
;
30122 wxTreeItemId
* resultptr
;
30123 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30124 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30140 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30141 PyObject
*resultobj
;
30142 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30143 wxTreeItemId
*arg2
= 0 ;
30145 wxString
*arg4
= 0 ;
30146 int arg5
= (int) -1 ;
30147 int arg6
= (int) -1 ;
30148 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30149 wxTreeItemId result
;
30150 bool temp4
= false ;
30151 PyObject
* obj0
= 0 ;
30152 PyObject
* obj1
= 0 ;
30153 PyObject
* obj2
= 0 ;
30154 PyObject
* obj3
= 0 ;
30155 PyObject
* obj4
= 0 ;
30156 PyObject
* obj5
= 0 ;
30157 PyObject
* obj6
= 0 ;
30158 char *kwnames
[] = {
30159 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30164 if (SWIG_arg_fail(1)) SWIG_fail
;
30166 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30167 if (SWIG_arg_fail(2)) SWIG_fail
;
30168 if (arg2
== NULL
) {
30169 SWIG_null_ref("wxTreeItemId");
30171 if (SWIG_arg_fail(2)) SWIG_fail
;
30174 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
30175 if (SWIG_arg_fail(3)) SWIG_fail
;
30178 arg4
= wxString_in_helper(obj3
);
30179 if (arg4
== NULL
) SWIG_fail
;
30184 arg5
= (int)(SWIG_As_int(obj4
));
30185 if (SWIG_arg_fail(5)) SWIG_fail
;
30190 arg6
= (int)(SWIG_As_int(obj5
));
30191 if (SWIG_arg_fail(6)) SWIG_fail
;
30195 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30196 if (SWIG_arg_fail(7)) SWIG_fail
;
30199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30200 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30202 wxPyEndAllowThreads(__tstate
);
30203 if (PyErr_Occurred()) SWIG_fail
;
30206 wxTreeItemId
* resultptr
;
30207 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30208 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30224 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30225 PyObject
*resultobj
;
30226 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30227 wxTreeItemId
*arg2
= 0 ;
30228 wxString
*arg3
= 0 ;
30229 int arg4
= (int) -1 ;
30230 int arg5
= (int) -1 ;
30231 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30232 wxTreeItemId result
;
30233 bool temp3
= false ;
30234 PyObject
* obj0
= 0 ;
30235 PyObject
* obj1
= 0 ;
30236 PyObject
* obj2
= 0 ;
30237 PyObject
* obj3
= 0 ;
30238 PyObject
* obj4
= 0 ;
30239 PyObject
* obj5
= 0 ;
30240 char *kwnames
[] = {
30241 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30246 if (SWIG_arg_fail(1)) SWIG_fail
;
30248 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30249 if (SWIG_arg_fail(2)) SWIG_fail
;
30250 if (arg2
== NULL
) {
30251 SWIG_null_ref("wxTreeItemId");
30253 if (SWIG_arg_fail(2)) SWIG_fail
;
30256 arg3
= wxString_in_helper(obj2
);
30257 if (arg3
== NULL
) SWIG_fail
;
30262 arg4
= (int)(SWIG_As_int(obj3
));
30263 if (SWIG_arg_fail(4)) SWIG_fail
;
30268 arg5
= (int)(SWIG_As_int(obj4
));
30269 if (SWIG_arg_fail(5)) SWIG_fail
;
30273 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30274 if (SWIG_arg_fail(6)) SWIG_fail
;
30277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30278 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30280 wxPyEndAllowThreads(__tstate
);
30281 if (PyErr_Occurred()) SWIG_fail
;
30284 wxTreeItemId
* resultptr
;
30285 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30286 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30302 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30303 PyObject
*resultobj
;
30304 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30305 wxTreeItemId
*arg2
= 0 ;
30306 PyObject
* obj0
= 0 ;
30307 PyObject
* obj1
= 0 ;
30308 char *kwnames
[] = {
30309 (char *) "self",(char *) "item", NULL
30312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30314 if (SWIG_arg_fail(1)) SWIG_fail
;
30316 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30317 if (SWIG_arg_fail(2)) SWIG_fail
;
30318 if (arg2
== NULL
) {
30319 SWIG_null_ref("wxTreeItemId");
30321 if (SWIG_arg_fail(2)) SWIG_fail
;
30324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30325 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
30327 wxPyEndAllowThreads(__tstate
);
30328 if (PyErr_Occurred()) SWIG_fail
;
30330 Py_INCREF(Py_None
); resultobj
= Py_None
;
30337 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30338 PyObject
*resultobj
;
30339 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30340 wxTreeItemId
*arg2
= 0 ;
30341 PyObject
* obj0
= 0 ;
30342 PyObject
* obj1
= 0 ;
30343 char *kwnames
[] = {
30344 (char *) "self",(char *) "item", NULL
30347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30349 if (SWIG_arg_fail(1)) SWIG_fail
;
30351 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30352 if (SWIG_arg_fail(2)) SWIG_fail
;
30353 if (arg2
== NULL
) {
30354 SWIG_null_ref("wxTreeItemId");
30356 if (SWIG_arg_fail(2)) SWIG_fail
;
30359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30360 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
30362 wxPyEndAllowThreads(__tstate
);
30363 if (PyErr_Occurred()) SWIG_fail
;
30365 Py_INCREF(Py_None
); resultobj
= Py_None
;
30372 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30373 PyObject
*resultobj
;
30374 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30375 PyObject
* obj0
= 0 ;
30376 char *kwnames
[] = {
30377 (char *) "self", NULL
30380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
30381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30382 if (SWIG_arg_fail(1)) SWIG_fail
;
30384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30385 (arg1
)->DeleteAllItems();
30387 wxPyEndAllowThreads(__tstate
);
30388 if (PyErr_Occurred()) SWIG_fail
;
30390 Py_INCREF(Py_None
); resultobj
= Py_None
;
30397 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30398 PyObject
*resultobj
;
30399 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30400 wxTreeItemId
*arg2
= 0 ;
30401 PyObject
* obj0
= 0 ;
30402 PyObject
* obj1
= 0 ;
30403 char *kwnames
[] = {
30404 (char *) "self",(char *) "item", NULL
30407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
30408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30409 if (SWIG_arg_fail(1)) SWIG_fail
;
30411 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30412 if (SWIG_arg_fail(2)) SWIG_fail
;
30413 if (arg2
== NULL
) {
30414 SWIG_null_ref("wxTreeItemId");
30416 if (SWIG_arg_fail(2)) SWIG_fail
;
30419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30420 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
30422 wxPyEndAllowThreads(__tstate
);
30423 if (PyErr_Occurred()) SWIG_fail
;
30425 Py_INCREF(Py_None
); resultobj
= Py_None
;
30432 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30433 PyObject
*resultobj
;
30434 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30435 wxTreeItemId
*arg2
= 0 ;
30436 PyObject
* obj0
= 0 ;
30437 PyObject
* obj1
= 0 ;
30438 char *kwnames
[] = {
30439 (char *) "self",(char *) "item", NULL
30442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
30443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30444 if (SWIG_arg_fail(1)) SWIG_fail
;
30446 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30447 if (SWIG_arg_fail(2)) SWIG_fail
;
30448 if (arg2
== NULL
) {
30449 SWIG_null_ref("wxTreeItemId");
30451 if (SWIG_arg_fail(2)) SWIG_fail
;
30454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30455 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
30457 wxPyEndAllowThreads(__tstate
);
30458 if (PyErr_Occurred()) SWIG_fail
;
30460 Py_INCREF(Py_None
); resultobj
= Py_None
;
30467 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30468 PyObject
*resultobj
;
30469 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30470 wxTreeItemId
*arg2
= 0 ;
30471 PyObject
* obj0
= 0 ;
30472 PyObject
* obj1
= 0 ;
30473 char *kwnames
[] = {
30474 (char *) "self",(char *) "item", NULL
30477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
30478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30479 if (SWIG_arg_fail(1)) SWIG_fail
;
30481 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30482 if (SWIG_arg_fail(2)) SWIG_fail
;
30483 if (arg2
== NULL
) {
30484 SWIG_null_ref("wxTreeItemId");
30486 if (SWIG_arg_fail(2)) SWIG_fail
;
30489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30490 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
30492 wxPyEndAllowThreads(__tstate
);
30493 if (PyErr_Occurred()) SWIG_fail
;
30495 Py_INCREF(Py_None
); resultobj
= Py_None
;
30502 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30503 PyObject
*resultobj
;
30504 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30505 wxTreeItemId
*arg2
= 0 ;
30506 PyObject
* obj0
= 0 ;
30507 PyObject
* obj1
= 0 ;
30508 char *kwnames
[] = {
30509 (char *) "self",(char *) "item", NULL
30512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
30513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30514 if (SWIG_arg_fail(1)) SWIG_fail
;
30516 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30517 if (SWIG_arg_fail(2)) SWIG_fail
;
30518 if (arg2
== NULL
) {
30519 SWIG_null_ref("wxTreeItemId");
30521 if (SWIG_arg_fail(2)) SWIG_fail
;
30524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30525 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
30527 wxPyEndAllowThreads(__tstate
);
30528 if (PyErr_Occurred()) SWIG_fail
;
30530 Py_INCREF(Py_None
); resultobj
= Py_None
;
30537 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30538 PyObject
*resultobj
;
30539 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30540 PyObject
* obj0
= 0 ;
30541 char *kwnames
[] = {
30542 (char *) "self", NULL
30545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
30546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30547 if (SWIG_arg_fail(1)) SWIG_fail
;
30549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30550 (arg1
)->Unselect();
30552 wxPyEndAllowThreads(__tstate
);
30553 if (PyErr_Occurred()) SWIG_fail
;
30555 Py_INCREF(Py_None
); resultobj
= Py_None
;
30562 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30563 PyObject
*resultobj
;
30564 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30565 wxTreeItemId
*arg2
= 0 ;
30566 PyObject
* obj0
= 0 ;
30567 PyObject
* obj1
= 0 ;
30568 char *kwnames
[] = {
30569 (char *) "self",(char *) "item", NULL
30572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30574 if (SWIG_arg_fail(1)) SWIG_fail
;
30576 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30577 if (SWIG_arg_fail(2)) SWIG_fail
;
30578 if (arg2
== NULL
) {
30579 SWIG_null_ref("wxTreeItemId");
30581 if (SWIG_arg_fail(2)) SWIG_fail
;
30584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30585 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
30587 wxPyEndAllowThreads(__tstate
);
30588 if (PyErr_Occurred()) SWIG_fail
;
30590 Py_INCREF(Py_None
); resultobj
= Py_None
;
30597 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30598 PyObject
*resultobj
;
30599 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30600 PyObject
* obj0
= 0 ;
30601 char *kwnames
[] = {
30602 (char *) "self", NULL
30605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
30606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30607 if (SWIG_arg_fail(1)) SWIG_fail
;
30609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30610 (arg1
)->UnselectAll();
30612 wxPyEndAllowThreads(__tstate
);
30613 if (PyErr_Occurred()) SWIG_fail
;
30615 Py_INCREF(Py_None
); resultobj
= Py_None
;
30622 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30623 PyObject
*resultobj
;
30624 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30625 wxTreeItemId
*arg2
= 0 ;
30626 bool arg3
= (bool) true ;
30627 PyObject
* obj0
= 0 ;
30628 PyObject
* obj1
= 0 ;
30629 PyObject
* obj2
= 0 ;
30630 char *kwnames
[] = {
30631 (char *) "self",(char *) "item",(char *) "select", NULL
30634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30636 if (SWIG_arg_fail(1)) SWIG_fail
;
30638 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30639 if (SWIG_arg_fail(2)) SWIG_fail
;
30640 if (arg2
== NULL
) {
30641 SWIG_null_ref("wxTreeItemId");
30643 if (SWIG_arg_fail(2)) SWIG_fail
;
30647 arg3
= (bool)(SWIG_As_bool(obj2
));
30648 if (SWIG_arg_fail(3)) SWIG_fail
;
30652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30653 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
30655 wxPyEndAllowThreads(__tstate
);
30656 if (PyErr_Occurred()) SWIG_fail
;
30658 Py_INCREF(Py_None
); resultobj
= Py_None
;
30665 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30666 PyObject
*resultobj
;
30667 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30668 wxTreeItemId
*arg2
= 0 ;
30669 PyObject
* obj0
= 0 ;
30670 PyObject
* obj1
= 0 ;
30671 char *kwnames
[] = {
30672 (char *) "self",(char *) "item", NULL
30675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30677 if (SWIG_arg_fail(1)) SWIG_fail
;
30679 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30680 if (SWIG_arg_fail(2)) SWIG_fail
;
30681 if (arg2
== NULL
) {
30682 SWIG_null_ref("wxTreeItemId");
30684 if (SWIG_arg_fail(2)) SWIG_fail
;
30687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30688 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
30690 wxPyEndAllowThreads(__tstate
);
30691 if (PyErr_Occurred()) SWIG_fail
;
30693 Py_INCREF(Py_None
); resultobj
= Py_None
;
30700 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30701 PyObject
*resultobj
;
30702 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30703 wxTreeItemId
*arg2
= 0 ;
30704 PyObject
* obj0
= 0 ;
30705 PyObject
* obj1
= 0 ;
30706 char *kwnames
[] = {
30707 (char *) "self",(char *) "item", NULL
30710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30712 if (SWIG_arg_fail(1)) SWIG_fail
;
30714 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30715 if (SWIG_arg_fail(2)) SWIG_fail
;
30716 if (arg2
== NULL
) {
30717 SWIG_null_ref("wxTreeItemId");
30719 if (SWIG_arg_fail(2)) SWIG_fail
;
30722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30723 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
30725 wxPyEndAllowThreads(__tstate
);
30726 if (PyErr_Occurred()) SWIG_fail
;
30728 Py_INCREF(Py_None
); resultobj
= Py_None
;
30735 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30736 PyObject
*resultobj
;
30737 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30738 wxTreeItemId
*arg2
= 0 ;
30739 PyObject
* obj0
= 0 ;
30740 PyObject
* obj1
= 0 ;
30741 char *kwnames
[] = {
30742 (char *) "self",(char *) "item", NULL
30745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
30746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30747 if (SWIG_arg_fail(1)) SWIG_fail
;
30749 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30750 if (SWIG_arg_fail(2)) SWIG_fail
;
30751 if (arg2
== NULL
) {
30752 SWIG_null_ref("wxTreeItemId");
30754 if (SWIG_arg_fail(2)) SWIG_fail
;
30757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30758 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
30760 wxPyEndAllowThreads(__tstate
);
30761 if (PyErr_Occurred()) SWIG_fail
;
30763 Py_INCREF(Py_None
); resultobj
= Py_None
;
30770 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30771 PyObject
*resultobj
;
30772 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30773 wxTreeItemId
*arg2
= 0 ;
30774 PyObject
* obj0
= 0 ;
30775 PyObject
* obj1
= 0 ;
30776 char *kwnames
[] = {
30777 (char *) "self",(char *) "item", NULL
30780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30782 if (SWIG_arg_fail(1)) SWIG_fail
;
30784 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30785 if (SWIG_arg_fail(2)) SWIG_fail
;
30786 if (arg2
== NULL
) {
30787 SWIG_null_ref("wxTreeItemId");
30789 if (SWIG_arg_fail(2)) SWIG_fail
;
30792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30793 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
30795 wxPyEndAllowThreads(__tstate
);
30796 if (PyErr_Occurred()) SWIG_fail
;
30798 Py_INCREF(Py_None
); resultobj
= Py_None
;
30805 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30806 PyObject
*resultobj
;
30807 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30808 wxTextCtrl
*result
;
30809 PyObject
* obj0
= 0 ;
30810 char *kwnames
[] = {
30811 (char *) "self", NULL
30814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
30815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30816 if (SWIG_arg_fail(1)) SWIG_fail
;
30818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30819 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
30821 wxPyEndAllowThreads(__tstate
);
30822 if (PyErr_Occurred()) SWIG_fail
;
30825 resultobj
= wxPyMake_wxObject(result
, 0);
30833 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30834 PyObject
*resultobj
;
30835 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30836 wxTreeItemId
*arg2
= 0 ;
30837 PyObject
* obj0
= 0 ;
30838 PyObject
* obj1
= 0 ;
30839 char *kwnames
[] = {
30840 (char *) "self",(char *) "item", NULL
30843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30845 if (SWIG_arg_fail(1)) SWIG_fail
;
30847 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30848 if (SWIG_arg_fail(2)) SWIG_fail
;
30849 if (arg2
== NULL
) {
30850 SWIG_null_ref("wxTreeItemId");
30852 if (SWIG_arg_fail(2)) SWIG_fail
;
30855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30856 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
30858 wxPyEndAllowThreads(__tstate
);
30859 if (PyErr_Occurred()) SWIG_fail
;
30861 Py_INCREF(Py_None
); resultobj
= Py_None
;
30868 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30869 PyObject
*resultobj
;
30870 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30871 wxPoint
*arg2
= 0 ;
30873 wxTreeItemId result
;
30877 PyObject
* obj0
= 0 ;
30878 PyObject
* obj1
= 0 ;
30879 char *kwnames
[] = {
30880 (char *) "self",(char *) "point", NULL
30883 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30886 if (SWIG_arg_fail(1)) SWIG_fail
;
30889 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30893 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30895 wxPyEndAllowThreads(__tstate
);
30896 if (PyErr_Occurred()) SWIG_fail
;
30899 wxTreeItemId
* resultptr
;
30900 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30901 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30903 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30904 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30911 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30912 PyObject
*resultobj
;
30913 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30914 wxTreeItemId
*arg2
= 0 ;
30915 bool arg3
= (bool) false ;
30917 PyObject
* obj0
= 0 ;
30918 PyObject
* obj1
= 0 ;
30919 PyObject
* obj2
= 0 ;
30920 char *kwnames
[] = {
30921 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30926 if (SWIG_arg_fail(1)) SWIG_fail
;
30928 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30929 if (SWIG_arg_fail(2)) SWIG_fail
;
30930 if (arg2
== NULL
) {
30931 SWIG_null_ref("wxTreeItemId");
30933 if (SWIG_arg_fail(2)) SWIG_fail
;
30937 arg3
= (bool)(SWIG_As_bool(obj2
));
30938 if (SWIG_arg_fail(3)) SWIG_fail
;
30942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30943 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30945 wxPyEndAllowThreads(__tstate
);
30946 if (PyErr_Occurred()) SWIG_fail
;
30948 resultobj
= result
;
30955 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30956 PyObject
*resultobj
;
30957 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
30958 wxVisualAttributes result
;
30959 PyObject
* obj0
= 0 ;
30960 char *kwnames
[] = {
30961 (char *) "variant", NULL
30964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30967 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
30968 if (SWIG_arg_fail(1)) SWIG_fail
;
30972 if (!wxPyCheckForApp()) SWIG_fail
;
30973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30974 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
30976 wxPyEndAllowThreads(__tstate
);
30977 if (PyErr_Occurred()) SWIG_fail
;
30980 wxVisualAttributes
* resultptr
;
30981 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
30982 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30990 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
30992 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30993 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
30995 return Py_BuildValue((char *)"");
30997 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
30998 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
31003 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
31008 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
31010 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
31017 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31018 PyObject
*resultobj
;
31019 wxWindow
*arg1
= (wxWindow
*) 0 ;
31020 int arg2
= (int) (int)-1 ;
31021 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
31022 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31023 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31024 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31025 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31026 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31027 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31028 wxString
const &arg7_defvalue
= wxPyEmptyString
;
31029 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31030 int arg8
= (int) 0 ;
31031 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
31032 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
31033 wxGenericDirCtrl
*result
;
31034 bool temp3
= false ;
31037 bool temp7
= false ;
31038 bool temp9
= false ;
31039 PyObject
* obj0
= 0 ;
31040 PyObject
* obj1
= 0 ;
31041 PyObject
* obj2
= 0 ;
31042 PyObject
* obj3
= 0 ;
31043 PyObject
* obj4
= 0 ;
31044 PyObject
* obj5
= 0 ;
31045 PyObject
* obj6
= 0 ;
31046 PyObject
* obj7
= 0 ;
31047 PyObject
* obj8
= 0 ;
31048 char *kwnames
[] = {
31049 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
31053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31054 if (SWIG_arg_fail(1)) SWIG_fail
;
31057 arg2
= (int const)(SWIG_As_int(obj1
));
31058 if (SWIG_arg_fail(2)) SWIG_fail
;
31063 arg3
= wxString_in_helper(obj2
);
31064 if (arg3
== NULL
) SWIG_fail
;
31071 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31077 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31082 arg6
= (long)(SWIG_As_long(obj5
));
31083 if (SWIG_arg_fail(6)) SWIG_fail
;
31088 arg7
= wxString_in_helper(obj6
);
31089 if (arg7
== NULL
) SWIG_fail
;
31095 arg8
= (int)(SWIG_As_int(obj7
));
31096 if (SWIG_arg_fail(8)) SWIG_fail
;
31101 arg9
= wxString_in_helper(obj8
);
31102 if (arg9
== NULL
) SWIG_fail
;
31107 if (!wxPyCheckForApp()) SWIG_fail
;
31108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31109 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
31111 wxPyEndAllowThreads(__tstate
);
31112 if (PyErr_Occurred()) SWIG_fail
;
31114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31145 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31146 PyObject
*resultobj
;
31147 wxGenericDirCtrl
*result
;
31148 char *kwnames
[] = {
31152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
31154 if (!wxPyCheckForApp()) SWIG_fail
;
31155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31156 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
31158 wxPyEndAllowThreads(__tstate
);
31159 if (PyErr_Occurred()) SWIG_fail
;
31161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31168 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31169 PyObject
*resultobj
;
31170 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31171 wxWindow
*arg2
= (wxWindow
*) 0 ;
31172 int arg3
= (int) (int)-1 ;
31173 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
31174 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31175 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
31176 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
31177 wxSize
const &arg6_defvalue
= wxDefaultSize
;
31178 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
31179 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31180 wxString
const &arg8_defvalue
= wxPyEmptyString
;
31181 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31182 int arg9
= (int) 0 ;
31183 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
31184 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
31186 bool temp4
= false ;
31189 bool temp8
= false ;
31190 bool temp10
= false ;
31191 PyObject
* obj0
= 0 ;
31192 PyObject
* obj1
= 0 ;
31193 PyObject
* obj2
= 0 ;
31194 PyObject
* obj3
= 0 ;
31195 PyObject
* obj4
= 0 ;
31196 PyObject
* obj5
= 0 ;
31197 PyObject
* obj6
= 0 ;
31198 PyObject
* obj7
= 0 ;
31199 PyObject
* obj8
= 0 ;
31200 PyObject
* obj9
= 0 ;
31201 char *kwnames
[] = {
31202 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
31206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31207 if (SWIG_arg_fail(1)) SWIG_fail
;
31208 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31209 if (SWIG_arg_fail(2)) SWIG_fail
;
31212 arg3
= (int const)(SWIG_As_int(obj2
));
31213 if (SWIG_arg_fail(3)) SWIG_fail
;
31218 arg4
= wxString_in_helper(obj3
);
31219 if (arg4
== NULL
) SWIG_fail
;
31226 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
31232 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
31237 arg7
= (long)(SWIG_As_long(obj6
));
31238 if (SWIG_arg_fail(7)) SWIG_fail
;
31243 arg8
= wxString_in_helper(obj7
);
31244 if (arg8
== NULL
) SWIG_fail
;
31250 arg9
= (int)(SWIG_As_int(obj8
));
31251 if (SWIG_arg_fail(9)) SWIG_fail
;
31256 arg10
= wxString_in_helper(obj9
);
31257 if (arg10
== NULL
) SWIG_fail
;
31262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31263 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
31265 wxPyEndAllowThreads(__tstate
);
31266 if (PyErr_Occurred()) SWIG_fail
;
31269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31301 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31302 PyObject
*resultobj
;
31303 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31304 wxString
*arg2
= 0 ;
31306 bool temp2
= false ;
31307 PyObject
* obj0
= 0 ;
31308 PyObject
* obj1
= 0 ;
31309 char *kwnames
[] = {
31310 (char *) "self",(char *) "path", NULL
31313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31315 if (SWIG_arg_fail(1)) SWIG_fail
;
31317 arg2
= wxString_in_helper(obj1
);
31318 if (arg2
== NULL
) SWIG_fail
;
31322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31323 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
31325 wxPyEndAllowThreads(__tstate
);
31326 if (PyErr_Occurred()) SWIG_fail
;
31329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31345 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31346 PyObject
*resultobj
;
31347 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31349 PyObject
* obj0
= 0 ;
31350 char *kwnames
[] = {
31351 (char *) "self", NULL
31354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
31355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31356 if (SWIG_arg_fail(1)) SWIG_fail
;
31358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31359 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
31361 wxPyEndAllowThreads(__tstate
);
31362 if (PyErr_Occurred()) SWIG_fail
;
31366 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31368 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31377 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31378 PyObject
*resultobj
;
31379 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31380 wxString
*arg2
= 0 ;
31381 bool temp2
= false ;
31382 PyObject
* obj0
= 0 ;
31383 PyObject
* obj1
= 0 ;
31384 char *kwnames
[] = {
31385 (char *) "self",(char *) "path", NULL
31388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31390 if (SWIG_arg_fail(1)) SWIG_fail
;
31392 arg2
= wxString_in_helper(obj1
);
31393 if (arg2
== NULL
) SWIG_fail
;
31397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31398 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
31400 wxPyEndAllowThreads(__tstate
);
31401 if (PyErr_Occurred()) SWIG_fail
;
31403 Py_INCREF(Py_None
); resultobj
= Py_None
;
31418 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31419 PyObject
*resultobj
;
31420 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31422 PyObject
* obj0
= 0 ;
31423 char *kwnames
[] = {
31424 (char *) "self", NULL
31427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
31428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31429 if (SWIG_arg_fail(1)) SWIG_fail
;
31431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31432 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
31434 wxPyEndAllowThreads(__tstate
);
31435 if (PyErr_Occurred()) SWIG_fail
;
31439 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31441 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31450 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31451 PyObject
*resultobj
;
31452 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31454 PyObject
* obj0
= 0 ;
31455 char *kwnames
[] = {
31456 (char *) "self", NULL
31459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
31460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31461 if (SWIG_arg_fail(1)) SWIG_fail
;
31463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31464 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
31466 wxPyEndAllowThreads(__tstate
);
31467 if (PyErr_Occurred()) SWIG_fail
;
31471 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31473 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31482 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31483 PyObject
*resultobj
;
31484 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31485 wxString
*arg2
= 0 ;
31486 bool temp2
= false ;
31487 PyObject
* obj0
= 0 ;
31488 PyObject
* obj1
= 0 ;
31489 char *kwnames
[] = {
31490 (char *) "self",(char *) "path", NULL
31493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31495 if (SWIG_arg_fail(1)) SWIG_fail
;
31497 arg2
= wxString_in_helper(obj1
);
31498 if (arg2
== NULL
) SWIG_fail
;
31502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31503 (arg1
)->SetPath((wxString
const &)*arg2
);
31505 wxPyEndAllowThreads(__tstate
);
31506 if (PyErr_Occurred()) SWIG_fail
;
31508 Py_INCREF(Py_None
); resultobj
= Py_None
;
31523 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31524 PyObject
*resultobj
;
31525 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31527 PyObject
* obj0
= 0 ;
31528 PyObject
* obj1
= 0 ;
31529 char *kwnames
[] = {
31530 (char *) "self",(char *) "show", NULL
31533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
31534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31535 if (SWIG_arg_fail(1)) SWIG_fail
;
31537 arg2
= (bool)(SWIG_As_bool(obj1
));
31538 if (SWIG_arg_fail(2)) SWIG_fail
;
31541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31542 (arg1
)->ShowHidden(arg2
);
31544 wxPyEndAllowThreads(__tstate
);
31545 if (PyErr_Occurred()) SWIG_fail
;
31547 Py_INCREF(Py_None
); resultobj
= Py_None
;
31554 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31555 PyObject
*resultobj
;
31556 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31558 PyObject
* obj0
= 0 ;
31559 char *kwnames
[] = {
31560 (char *) "self", NULL
31563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
31564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31565 if (SWIG_arg_fail(1)) SWIG_fail
;
31567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31568 result
= (bool)(arg1
)->GetShowHidden();
31570 wxPyEndAllowThreads(__tstate
);
31571 if (PyErr_Occurred()) SWIG_fail
;
31574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31582 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31583 PyObject
*resultobj
;
31584 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31586 PyObject
* obj0
= 0 ;
31587 char *kwnames
[] = {
31588 (char *) "self", NULL
31591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
31592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31593 if (SWIG_arg_fail(1)) SWIG_fail
;
31595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31596 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
31598 wxPyEndAllowThreads(__tstate
);
31599 if (PyErr_Occurred()) SWIG_fail
;
31603 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31605 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31614 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31615 PyObject
*resultobj
;
31616 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31617 wxString
*arg2
= 0 ;
31618 bool temp2
= false ;
31619 PyObject
* obj0
= 0 ;
31620 PyObject
* obj1
= 0 ;
31621 char *kwnames
[] = {
31622 (char *) "self",(char *) "filter", NULL
31625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
31626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31627 if (SWIG_arg_fail(1)) SWIG_fail
;
31629 arg2
= wxString_in_helper(obj1
);
31630 if (arg2
== NULL
) SWIG_fail
;
31634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31635 (arg1
)->SetFilter((wxString
const &)*arg2
);
31637 wxPyEndAllowThreads(__tstate
);
31638 if (PyErr_Occurred()) SWIG_fail
;
31640 Py_INCREF(Py_None
); resultobj
= Py_None
;
31655 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31656 PyObject
*resultobj
;
31657 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31659 PyObject
* obj0
= 0 ;
31660 char *kwnames
[] = {
31661 (char *) "self", NULL
31664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
31665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31666 if (SWIG_arg_fail(1)) SWIG_fail
;
31668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31669 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
31671 wxPyEndAllowThreads(__tstate
);
31672 if (PyErr_Occurred()) SWIG_fail
;
31675 resultobj
= SWIG_From_int((int)(result
));
31683 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31684 PyObject
*resultobj
;
31685 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31687 PyObject
* obj0
= 0 ;
31688 PyObject
* obj1
= 0 ;
31689 char *kwnames
[] = {
31690 (char *) "self",(char *) "n", NULL
31693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
31694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31695 if (SWIG_arg_fail(1)) SWIG_fail
;
31697 arg2
= (int)(SWIG_As_int(obj1
));
31698 if (SWIG_arg_fail(2)) SWIG_fail
;
31701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31702 (arg1
)->SetFilterIndex(arg2
);
31704 wxPyEndAllowThreads(__tstate
);
31705 if (PyErr_Occurred()) SWIG_fail
;
31707 Py_INCREF(Py_None
); resultobj
= Py_None
;
31714 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31715 PyObject
*resultobj
;
31716 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31717 wxTreeItemId result
;
31718 PyObject
* obj0
= 0 ;
31719 char *kwnames
[] = {
31720 (char *) "self", NULL
31723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
31724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31725 if (SWIG_arg_fail(1)) SWIG_fail
;
31727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31728 result
= (arg1
)->GetRootId();
31730 wxPyEndAllowThreads(__tstate
);
31731 if (PyErr_Occurred()) SWIG_fail
;
31734 wxTreeItemId
* resultptr
;
31735 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31736 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31744 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31745 PyObject
*resultobj
;
31746 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31747 wxPyTreeCtrl
*result
;
31748 PyObject
* obj0
= 0 ;
31749 char *kwnames
[] = {
31750 (char *) "self", NULL
31753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
31754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31755 if (SWIG_arg_fail(1)) SWIG_fail
;
31757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31758 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
31760 wxPyEndAllowThreads(__tstate
);
31761 if (PyErr_Occurred()) SWIG_fail
;
31764 resultobj
= wxPyMake_wxObject(result
, 0);
31772 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31773 PyObject
*resultobj
;
31774 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31775 wxDirFilterListCtrl
*result
;
31776 PyObject
* obj0
= 0 ;
31777 char *kwnames
[] = {
31778 (char *) "self", NULL
31781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
31782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31783 if (SWIG_arg_fail(1)) SWIG_fail
;
31785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31786 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
31788 wxPyEndAllowThreads(__tstate
);
31789 if (PyErr_Occurred()) SWIG_fail
;
31791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
31798 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31799 PyObject
*resultobj
;
31800 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31801 wxTreeItemId arg2
;
31802 wxString
*arg3
= 0 ;
31804 wxTreeItemId result
;
31805 bool temp3
= false ;
31808 PyObject
* obj0
= 0 ;
31809 PyObject
* obj1
= 0 ;
31810 PyObject
* obj2
= 0 ;
31811 char *kwnames
[] = {
31812 (char *) "self",(char *) "parentId",(char *) "path", NULL
31815 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
31816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31818 if (SWIG_arg_fail(1)) SWIG_fail
;
31820 wxTreeItemId
* argp
;
31821 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
31822 if (SWIG_arg_fail(2)) SWIG_fail
;
31823 if (argp
== NULL
) {
31824 SWIG_null_ref("wxTreeItemId");
31826 if (SWIG_arg_fail(2)) SWIG_fail
;
31830 arg3
= wxString_in_helper(obj2
);
31831 if (arg3
== NULL
) SWIG_fail
;
31835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31836 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
31838 wxPyEndAllowThreads(__tstate
);
31839 if (PyErr_Occurred()) SWIG_fail
;
31842 wxTreeItemId
* resultptr
;
31843 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31844 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31846 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
31847 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
31862 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31863 PyObject
*resultobj
;
31864 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31865 PyObject
* obj0
= 0 ;
31866 char *kwnames
[] = {
31867 (char *) "self", NULL
31870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
31871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31872 if (SWIG_arg_fail(1)) SWIG_fail
;
31874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31875 (arg1
)->DoResize();
31877 wxPyEndAllowThreads(__tstate
);
31878 if (PyErr_Occurred()) SWIG_fail
;
31880 Py_INCREF(Py_None
); resultobj
= Py_None
;
31887 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31888 PyObject
*resultobj
;
31889 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31890 PyObject
* obj0
= 0 ;
31891 char *kwnames
[] = {
31892 (char *) "self", NULL
31895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
31896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31897 if (SWIG_arg_fail(1)) SWIG_fail
;
31899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31900 (arg1
)->ReCreateTree();
31902 wxPyEndAllowThreads(__tstate
);
31903 if (PyErr_Occurred()) SWIG_fail
;
31905 Py_INCREF(Py_None
); resultobj
= Py_None
;
31912 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
31914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31915 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
31917 return Py_BuildValue((char *)"");
31919 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31920 PyObject
*resultobj
;
31921 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31922 int arg2
= (int) (int)-1 ;
31923 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31924 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31925 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31926 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31927 long arg5
= (long) 0 ;
31928 wxDirFilterListCtrl
*result
;
31931 PyObject
* obj0
= 0 ;
31932 PyObject
* obj1
= 0 ;
31933 PyObject
* obj2
= 0 ;
31934 PyObject
* obj3
= 0 ;
31935 PyObject
* obj4
= 0 ;
31936 char *kwnames
[] = {
31937 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31942 if (SWIG_arg_fail(1)) SWIG_fail
;
31945 arg2
= (int const)(SWIG_As_int(obj1
));
31946 if (SWIG_arg_fail(2)) SWIG_fail
;
31952 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31958 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31963 arg5
= (long)(SWIG_As_long(obj4
));
31964 if (SWIG_arg_fail(5)) SWIG_fail
;
31968 if (!wxPyCheckForApp()) SWIG_fail
;
31969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31970 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
31972 wxPyEndAllowThreads(__tstate
);
31973 if (PyErr_Occurred()) SWIG_fail
;
31975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31982 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31983 PyObject
*resultobj
;
31984 wxDirFilterListCtrl
*result
;
31985 char *kwnames
[] = {
31989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
31991 if (!wxPyCheckForApp()) SWIG_fail
;
31992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31993 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
31995 wxPyEndAllowThreads(__tstate
);
31996 if (PyErr_Occurred()) SWIG_fail
;
31998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
32005 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32006 PyObject
*resultobj
;
32007 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32008 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
32009 int arg3
= (int) (int)-1 ;
32010 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32011 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32012 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32013 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32014 long arg6
= (long) 0 ;
32018 PyObject
* obj0
= 0 ;
32019 PyObject
* obj1
= 0 ;
32020 PyObject
* obj2
= 0 ;
32021 PyObject
* obj3
= 0 ;
32022 PyObject
* obj4
= 0 ;
32023 PyObject
* obj5
= 0 ;
32024 char *kwnames
[] = {
32025 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32030 if (SWIG_arg_fail(1)) SWIG_fail
;
32031 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32032 if (SWIG_arg_fail(2)) SWIG_fail
;
32035 arg3
= (int const)(SWIG_As_int(obj2
));
32036 if (SWIG_arg_fail(3)) SWIG_fail
;
32042 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32048 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32053 arg6
= (long)(SWIG_As_long(obj5
));
32054 if (SWIG_arg_fail(6)) SWIG_fail
;
32058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32059 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
32061 wxPyEndAllowThreads(__tstate
);
32062 if (PyErr_Occurred()) SWIG_fail
;
32065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32073 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32074 PyObject
*resultobj
;
32075 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32076 wxString
*arg2
= 0 ;
32078 bool temp2
= false ;
32079 PyObject
* obj0
= 0 ;
32080 PyObject
* obj1
= 0 ;
32081 PyObject
* obj2
= 0 ;
32082 char *kwnames
[] = {
32083 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32088 if (SWIG_arg_fail(1)) SWIG_fail
;
32090 arg2
= wxString_in_helper(obj1
);
32091 if (arg2
== NULL
) SWIG_fail
;
32095 arg3
= (int)(SWIG_As_int(obj2
));
32096 if (SWIG_arg_fail(3)) SWIG_fail
;
32099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32100 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
32102 wxPyEndAllowThreads(__tstate
);
32103 if (PyErr_Occurred()) SWIG_fail
;
32105 Py_INCREF(Py_None
); resultobj
= Py_None
;
32120 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
32122 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32123 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
32125 return Py_BuildValue((char *)"");
32127 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32128 PyObject
*resultobj
;
32129 wxWindow
*arg1
= (wxWindow
*) 0 ;
32130 int arg2
= (int) (int)-1 ;
32131 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32132 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32133 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32134 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32135 long arg5
= (long) 0 ;
32136 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32137 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32138 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32139 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32140 wxPyControl
*result
;
32143 bool temp7
= false ;
32144 PyObject
* obj0
= 0 ;
32145 PyObject
* obj1
= 0 ;
32146 PyObject
* obj2
= 0 ;
32147 PyObject
* obj3
= 0 ;
32148 PyObject
* obj4
= 0 ;
32149 PyObject
* obj5
= 0 ;
32150 PyObject
* obj6
= 0 ;
32151 char *kwnames
[] = {
32152 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32157 if (SWIG_arg_fail(1)) SWIG_fail
;
32160 arg2
= (int const)(SWIG_As_int(obj1
));
32161 if (SWIG_arg_fail(2)) SWIG_fail
;
32167 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32173 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32178 arg5
= (long)(SWIG_As_long(obj4
));
32179 if (SWIG_arg_fail(5)) SWIG_fail
;
32184 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32185 if (SWIG_arg_fail(6)) SWIG_fail
;
32186 if (arg6
== NULL
) {
32187 SWIG_null_ref("wxValidator");
32189 if (SWIG_arg_fail(6)) SWIG_fail
;
32194 arg7
= wxString_in_helper(obj6
);
32195 if (arg7
== NULL
) SWIG_fail
;
32200 if (!wxPyCheckForApp()) SWIG_fail
;
32201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32202 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32204 wxPyEndAllowThreads(__tstate
);
32205 if (PyErr_Occurred()) SWIG_fail
;
32207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32222 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32223 PyObject
*resultobj
;
32224 wxPyControl
*result
;
32225 char *kwnames
[] = {
32229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
32231 if (!wxPyCheckForApp()) SWIG_fail
;
32232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32233 result
= (wxPyControl
*)new wxPyControl();
32235 wxPyEndAllowThreads(__tstate
);
32236 if (PyErr_Occurred()) SWIG_fail
;
32238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32245 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32246 PyObject
*resultobj
;
32247 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32248 PyObject
*arg2
= (PyObject
*) 0 ;
32249 PyObject
*arg3
= (PyObject
*) 0 ;
32250 PyObject
* obj0
= 0 ;
32251 PyObject
* obj1
= 0 ;
32252 PyObject
* obj2
= 0 ;
32253 char *kwnames
[] = {
32254 (char *) "self",(char *) "self",(char *) "_class", NULL
32257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32259 if (SWIG_arg_fail(1)) SWIG_fail
;
32263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32264 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32266 wxPyEndAllowThreads(__tstate
);
32267 if (PyErr_Occurred()) SWIG_fail
;
32269 Py_INCREF(Py_None
); resultobj
= Py_None
;
32276 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32277 PyObject
*resultobj
;
32278 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32281 PyObject
* obj0
= 0 ;
32282 PyObject
* obj1
= 0 ;
32283 char *kwnames
[] = {
32284 (char *) "self",(char *) "size", NULL
32287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32289 if (SWIG_arg_fail(1)) SWIG_fail
;
32292 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32296 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
32298 wxPyEndAllowThreads(__tstate
);
32299 if (PyErr_Occurred()) SWIG_fail
;
32301 Py_INCREF(Py_None
); resultobj
= Py_None
;
32308 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32309 PyObject
*resultobj
;
32310 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32315 PyObject
* obj0
= 0 ;
32316 PyObject
* obj1
= 0 ;
32317 PyObject
* obj2
= 0 ;
32318 PyObject
* obj3
= 0 ;
32319 PyObject
* obj4
= 0 ;
32320 char *kwnames
[] = {
32321 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32326 if (SWIG_arg_fail(1)) SWIG_fail
;
32328 arg2
= (int)(SWIG_As_int(obj1
));
32329 if (SWIG_arg_fail(2)) SWIG_fail
;
32332 arg3
= (int)(SWIG_As_int(obj2
));
32333 if (SWIG_arg_fail(3)) SWIG_fail
;
32336 arg4
= (int)(SWIG_As_int(obj3
));
32337 if (SWIG_arg_fail(4)) SWIG_fail
;
32340 arg5
= (int)(SWIG_As_int(obj4
));
32341 if (SWIG_arg_fail(5)) SWIG_fail
;
32344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32345 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
32347 wxPyEndAllowThreads(__tstate
);
32348 if (PyErr_Occurred()) SWIG_fail
;
32350 Py_INCREF(Py_None
); resultobj
= Py_None
;
32357 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32358 PyObject
*resultobj
;
32359 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32364 int arg6
= (int) wxSIZE_AUTO
;
32365 PyObject
* obj0
= 0 ;
32366 PyObject
* obj1
= 0 ;
32367 PyObject
* obj2
= 0 ;
32368 PyObject
* obj3
= 0 ;
32369 PyObject
* obj4
= 0 ;
32370 PyObject
* obj5
= 0 ;
32371 char *kwnames
[] = {
32372 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32377 if (SWIG_arg_fail(1)) SWIG_fail
;
32379 arg2
= (int)(SWIG_As_int(obj1
));
32380 if (SWIG_arg_fail(2)) SWIG_fail
;
32383 arg3
= (int)(SWIG_As_int(obj2
));
32384 if (SWIG_arg_fail(3)) SWIG_fail
;
32387 arg4
= (int)(SWIG_As_int(obj3
));
32388 if (SWIG_arg_fail(4)) SWIG_fail
;
32391 arg5
= (int)(SWIG_As_int(obj4
));
32392 if (SWIG_arg_fail(5)) SWIG_fail
;
32396 arg6
= (int)(SWIG_As_int(obj5
));
32397 if (SWIG_arg_fail(6)) SWIG_fail
;
32401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32402 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
32404 wxPyEndAllowThreads(__tstate
);
32405 if (PyErr_Occurred()) SWIG_fail
;
32407 Py_INCREF(Py_None
); resultobj
= Py_None
;
32414 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32415 PyObject
*resultobj
;
32416 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32419 PyObject
* obj0
= 0 ;
32420 PyObject
* obj1
= 0 ;
32421 PyObject
* obj2
= 0 ;
32422 char *kwnames
[] = {
32423 (char *) "self",(char *) "width",(char *) "height", NULL
32426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32428 if (SWIG_arg_fail(1)) SWIG_fail
;
32430 arg2
= (int)(SWIG_As_int(obj1
));
32431 if (SWIG_arg_fail(2)) SWIG_fail
;
32434 arg3
= (int)(SWIG_As_int(obj2
));
32435 if (SWIG_arg_fail(3)) SWIG_fail
;
32438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32439 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
32441 wxPyEndAllowThreads(__tstate
);
32442 if (PyErr_Occurred()) SWIG_fail
;
32444 Py_INCREF(Py_None
); resultobj
= Py_None
;
32451 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32452 PyObject
*resultobj
;
32453 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32456 PyObject
* obj0
= 0 ;
32457 PyObject
* obj1
= 0 ;
32458 PyObject
* obj2
= 0 ;
32459 char *kwnames
[] = {
32460 (char *) "self",(char *) "x",(char *) "y", NULL
32463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32465 if (SWIG_arg_fail(1)) SWIG_fail
;
32467 arg2
= (int)(SWIG_As_int(obj1
));
32468 if (SWIG_arg_fail(2)) SWIG_fail
;
32471 arg3
= (int)(SWIG_As_int(obj2
));
32472 if (SWIG_arg_fail(3)) SWIG_fail
;
32475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32476 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
32478 wxPyEndAllowThreads(__tstate
);
32479 if (PyErr_Occurred()) SWIG_fail
;
32481 Py_INCREF(Py_None
); resultobj
= Py_None
;
32488 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32489 PyObject
*resultobj
;
32490 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32491 int *arg2
= (int *) 0 ;
32492 int *arg3
= (int *) 0 ;
32497 PyObject
* obj0
= 0 ;
32498 char *kwnames
[] = {
32499 (char *) "self", NULL
32502 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32503 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
32505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32506 if (SWIG_arg_fail(1)) SWIG_fail
;
32508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32509 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
32511 wxPyEndAllowThreads(__tstate
);
32512 if (PyErr_Occurred()) SWIG_fail
;
32514 Py_INCREF(Py_None
); resultobj
= Py_None
;
32515 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32516 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32517 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32518 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32525 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32526 PyObject
*resultobj
;
32527 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32528 int *arg2
= (int *) 0 ;
32529 int *arg3
= (int *) 0 ;
32534 PyObject
* obj0
= 0 ;
32535 char *kwnames
[] = {
32536 (char *) "self", NULL
32539 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32540 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
32542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32543 if (SWIG_arg_fail(1)) SWIG_fail
;
32545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32546 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
32548 wxPyEndAllowThreads(__tstate
);
32549 if (PyErr_Occurred()) SWIG_fail
;
32551 Py_INCREF(Py_None
); resultobj
= Py_None
;
32552 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32553 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32554 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32555 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32562 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32563 PyObject
*resultobj
;
32564 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32565 int *arg2
= (int *) 0 ;
32566 int *arg3
= (int *) 0 ;
32571 PyObject
* obj0
= 0 ;
32572 char *kwnames
[] = {
32573 (char *) "self", NULL
32576 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32577 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
32579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32580 if (SWIG_arg_fail(1)) SWIG_fail
;
32582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32583 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
32585 wxPyEndAllowThreads(__tstate
);
32586 if (PyErr_Occurred()) SWIG_fail
;
32588 Py_INCREF(Py_None
); resultobj
= Py_None
;
32589 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32590 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32591 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32592 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32599 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32600 PyObject
*resultobj
;
32601 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32603 PyObject
* obj0
= 0 ;
32604 char *kwnames
[] = {
32605 (char *) "self", NULL
32608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
32609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32610 if (SWIG_arg_fail(1)) SWIG_fail
;
32612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32613 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
32615 wxPyEndAllowThreads(__tstate
);
32616 if (PyErr_Occurred()) SWIG_fail
;
32619 wxSize
* resultptr
;
32620 resultptr
= new wxSize((wxSize
&)(result
));
32621 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32629 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32630 PyObject
*resultobj
;
32631 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32633 PyObject
* obj0
= 0 ;
32634 char *kwnames
[] = {
32635 (char *) "self", NULL
32638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
32639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32640 if (SWIG_arg_fail(1)) SWIG_fail
;
32642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32643 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
32645 wxPyEndAllowThreads(__tstate
);
32646 if (PyErr_Occurred()) SWIG_fail
;
32649 wxSize
* resultptr
;
32650 resultptr
= new wxSize((wxSize
&)(result
));
32651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32659 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32660 PyObject
*resultobj
;
32661 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32662 PyObject
* obj0
= 0 ;
32663 char *kwnames
[] = {
32664 (char *) "self", NULL
32667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
32668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32669 if (SWIG_arg_fail(1)) SWIG_fail
;
32671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32672 (arg1
)->base_InitDialog();
32674 wxPyEndAllowThreads(__tstate
);
32675 if (PyErr_Occurred()) SWIG_fail
;
32677 Py_INCREF(Py_None
); resultobj
= Py_None
;
32684 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32685 PyObject
*resultobj
;
32686 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32688 PyObject
* obj0
= 0 ;
32689 char *kwnames
[] = {
32690 (char *) "self", NULL
32693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
32694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32695 if (SWIG_arg_fail(1)) SWIG_fail
;
32697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32698 result
= (bool)(arg1
)->base_TransferDataToWindow();
32700 wxPyEndAllowThreads(__tstate
);
32701 if (PyErr_Occurred()) SWIG_fail
;
32704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32712 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32713 PyObject
*resultobj
;
32714 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32716 PyObject
* obj0
= 0 ;
32717 char *kwnames
[] = {
32718 (char *) "self", NULL
32721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
32722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32723 if (SWIG_arg_fail(1)) SWIG_fail
;
32725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32726 result
= (bool)(arg1
)->base_TransferDataFromWindow();
32728 wxPyEndAllowThreads(__tstate
);
32729 if (PyErr_Occurred()) SWIG_fail
;
32732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32740 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32741 PyObject
*resultobj
;
32742 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32744 PyObject
* obj0
= 0 ;
32745 char *kwnames
[] = {
32746 (char *) "self", NULL
32749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
32750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32751 if (SWIG_arg_fail(1)) SWIG_fail
;
32753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32754 result
= (bool)(arg1
)->base_Validate();
32756 wxPyEndAllowThreads(__tstate
);
32757 if (PyErr_Occurred()) SWIG_fail
;
32760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32768 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32769 PyObject
*resultobj
;
32770 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32772 PyObject
* obj0
= 0 ;
32773 char *kwnames
[] = {
32774 (char *) "self", NULL
32777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
32778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32779 if (SWIG_arg_fail(1)) SWIG_fail
;
32781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32782 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
32784 wxPyEndAllowThreads(__tstate
);
32785 if (PyErr_Occurred()) SWIG_fail
;
32788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32796 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32797 PyObject
*resultobj
;
32798 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32800 PyObject
* obj0
= 0 ;
32801 char *kwnames
[] = {
32802 (char *) "self", NULL
32805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
32806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32807 if (SWIG_arg_fail(1)) SWIG_fail
;
32809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32810 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
32812 wxPyEndAllowThreads(__tstate
);
32813 if (PyErr_Occurred()) SWIG_fail
;
32816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32824 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32825 PyObject
*resultobj
;
32826 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32828 PyObject
* obj0
= 0 ;
32829 char *kwnames
[] = {
32830 (char *) "self", NULL
32833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
32834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32835 if (SWIG_arg_fail(1)) SWIG_fail
;
32837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32838 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
32840 wxPyEndAllowThreads(__tstate
);
32841 if (PyErr_Occurred()) SWIG_fail
;
32844 wxSize
* resultptr
;
32845 resultptr
= new wxSize((wxSize
&)(result
));
32846 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32854 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32855 PyObject
*resultobj
;
32856 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32857 wxWindow
*arg2
= (wxWindow
*) 0 ;
32858 PyObject
* obj0
= 0 ;
32859 PyObject
* obj1
= 0 ;
32860 char *kwnames
[] = {
32861 (char *) "self",(char *) "child", NULL
32864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32866 if (SWIG_arg_fail(1)) SWIG_fail
;
32867 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32868 if (SWIG_arg_fail(2)) SWIG_fail
;
32870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32871 (arg1
)->base_AddChild(arg2
);
32873 wxPyEndAllowThreads(__tstate
);
32874 if (PyErr_Occurred()) SWIG_fail
;
32876 Py_INCREF(Py_None
); resultobj
= Py_None
;
32883 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32884 PyObject
*resultobj
;
32885 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32886 wxWindow
*arg2
= (wxWindow
*) 0 ;
32887 PyObject
* obj0
= 0 ;
32888 PyObject
* obj1
= 0 ;
32889 char *kwnames
[] = {
32890 (char *) "self",(char *) "child", NULL
32893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32895 if (SWIG_arg_fail(1)) SWIG_fail
;
32896 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32897 if (SWIG_arg_fail(2)) SWIG_fail
;
32899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32900 (arg1
)->base_RemoveChild(arg2
);
32902 wxPyEndAllowThreads(__tstate
);
32903 if (PyErr_Occurred()) SWIG_fail
;
32905 Py_INCREF(Py_None
); resultobj
= Py_None
;
32912 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32913 PyObject
*resultobj
;
32914 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32916 PyObject
* obj0
= 0 ;
32917 char *kwnames
[] = {
32918 (char *) "self", NULL
32921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32923 if (SWIG_arg_fail(1)) SWIG_fail
;
32925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32926 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
32928 wxPyEndAllowThreads(__tstate
);
32929 if (PyErr_Occurred()) SWIG_fail
;
32932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32940 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32941 PyObject
*resultobj
;
32942 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32943 wxVisualAttributes result
;
32944 PyObject
* obj0
= 0 ;
32945 char *kwnames
[] = {
32946 (char *) "self", NULL
32949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32951 if (SWIG_arg_fail(1)) SWIG_fail
;
32953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32954 result
= (arg1
)->base_GetDefaultAttributes();
32956 wxPyEndAllowThreads(__tstate
);
32957 if (PyErr_Occurred()) SWIG_fail
;
32960 wxVisualAttributes
* resultptr
;
32961 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
32962 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
32970 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
32972 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32973 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
32975 return Py_BuildValue((char *)"");
32977 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32978 PyObject
*resultobj
;
32979 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32980 int arg2
= (int) 0 ;
32981 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32982 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32983 wxHelpEvent
*result
;
32985 PyObject
* obj0
= 0 ;
32986 PyObject
* obj1
= 0 ;
32987 PyObject
* obj2
= 0 ;
32988 char *kwnames
[] = {
32989 (char *) "type",(char *) "winid",(char *) "pt", NULL
32992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32995 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
32996 if (SWIG_arg_fail(1)) SWIG_fail
;
33001 arg2
= (int)(SWIG_As_int(obj1
));
33002 if (SWIG_arg_fail(2)) SWIG_fail
;
33008 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33013 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
33015 wxPyEndAllowThreads(__tstate
);
33016 if (PyErr_Occurred()) SWIG_fail
;
33018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
33025 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33026 PyObject
*resultobj
;
33027 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33029 PyObject
* obj0
= 0 ;
33030 char *kwnames
[] = {
33031 (char *) "self", NULL
33034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
33035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33036 if (SWIG_arg_fail(1)) SWIG_fail
;
33038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33039 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
33041 wxPyEndAllowThreads(__tstate
);
33042 if (PyErr_Occurred()) SWIG_fail
;
33045 wxPoint
* resultptr
;
33046 resultptr
= new wxPoint((wxPoint
const &)(result
));
33047 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
33055 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33056 PyObject
*resultobj
;
33057 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33058 wxPoint
*arg2
= 0 ;
33060 PyObject
* obj0
= 0 ;
33061 PyObject
* obj1
= 0 ;
33062 char *kwnames
[] = {
33063 (char *) "self",(char *) "pos", NULL
33066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33068 if (SWIG_arg_fail(1)) SWIG_fail
;
33071 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33075 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
33077 wxPyEndAllowThreads(__tstate
);
33078 if (PyErr_Occurred()) SWIG_fail
;
33080 Py_INCREF(Py_None
); resultobj
= Py_None
;
33087 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33088 PyObject
*resultobj
;
33089 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33091 PyObject
* obj0
= 0 ;
33092 char *kwnames
[] = {
33093 (char *) "self", NULL
33096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
33097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33098 if (SWIG_arg_fail(1)) SWIG_fail
;
33100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33102 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
33103 result
= (wxString
*) &_result_ref
;
33106 wxPyEndAllowThreads(__tstate
);
33107 if (PyErr_Occurred()) SWIG_fail
;
33111 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33113 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33122 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33123 PyObject
*resultobj
;
33124 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33125 wxString
*arg2
= 0 ;
33126 bool temp2
= false ;
33127 PyObject
* obj0
= 0 ;
33128 PyObject
* obj1
= 0 ;
33129 char *kwnames
[] = {
33130 (char *) "self",(char *) "link", NULL
33133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
33134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33135 if (SWIG_arg_fail(1)) SWIG_fail
;
33137 arg2
= wxString_in_helper(obj1
);
33138 if (arg2
== NULL
) SWIG_fail
;
33142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33143 (arg1
)->SetLink((wxString
const &)*arg2
);
33145 wxPyEndAllowThreads(__tstate
);
33146 if (PyErr_Occurred()) SWIG_fail
;
33148 Py_INCREF(Py_None
); resultobj
= Py_None
;
33163 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33164 PyObject
*resultobj
;
33165 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33167 PyObject
* obj0
= 0 ;
33168 char *kwnames
[] = {
33169 (char *) "self", NULL
33172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
33173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33174 if (SWIG_arg_fail(1)) SWIG_fail
;
33176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33178 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
33179 result
= (wxString
*) &_result_ref
;
33182 wxPyEndAllowThreads(__tstate
);
33183 if (PyErr_Occurred()) SWIG_fail
;
33187 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33189 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33198 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33199 PyObject
*resultobj
;
33200 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33201 wxString
*arg2
= 0 ;
33202 bool temp2
= false ;
33203 PyObject
* obj0
= 0 ;
33204 PyObject
* obj1
= 0 ;
33205 char *kwnames
[] = {
33206 (char *) "self",(char *) "target", NULL
33209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
33210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33211 if (SWIG_arg_fail(1)) SWIG_fail
;
33213 arg2
= wxString_in_helper(obj1
);
33214 if (arg2
== NULL
) SWIG_fail
;
33218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33219 (arg1
)->SetTarget((wxString
const &)*arg2
);
33221 wxPyEndAllowThreads(__tstate
);
33222 if (PyErr_Occurred()) SWIG_fail
;
33224 Py_INCREF(Py_None
); resultobj
= Py_None
;
33239 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
33241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33242 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
33244 return Py_BuildValue((char *)"");
33246 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33247 PyObject
*resultobj
;
33248 wxWindow
*arg1
= (wxWindow
*) NULL
;
33249 bool arg2
= (bool) true ;
33250 wxContextHelp
*result
;
33251 PyObject
* obj0
= 0 ;
33252 PyObject
* obj1
= 0 ;
33253 char *kwnames
[] = {
33254 (char *) "window",(char *) "doNow", NULL
33257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33260 if (SWIG_arg_fail(1)) SWIG_fail
;
33264 arg2
= (bool)(SWIG_As_bool(obj1
));
33265 if (SWIG_arg_fail(2)) SWIG_fail
;
33269 if (!wxPyCheckForApp()) SWIG_fail
;
33270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33271 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
33273 wxPyEndAllowThreads(__tstate
);
33274 if (PyErr_Occurred()) SWIG_fail
;
33276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
33283 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33284 PyObject
*resultobj
;
33285 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33286 PyObject
* obj0
= 0 ;
33287 char *kwnames
[] = {
33288 (char *) "self", NULL
33291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
33292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33293 if (SWIG_arg_fail(1)) SWIG_fail
;
33295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33298 wxPyEndAllowThreads(__tstate
);
33299 if (PyErr_Occurred()) SWIG_fail
;
33301 Py_INCREF(Py_None
); resultobj
= Py_None
;
33308 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33309 PyObject
*resultobj
;
33310 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33311 wxWindow
*arg2
= (wxWindow
*) NULL
;
33313 PyObject
* obj0
= 0 ;
33314 PyObject
* obj1
= 0 ;
33315 char *kwnames
[] = {
33316 (char *) "self",(char *) "window", NULL
33319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33321 if (SWIG_arg_fail(1)) SWIG_fail
;
33323 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33324 if (SWIG_arg_fail(2)) SWIG_fail
;
33327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33328 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
33330 wxPyEndAllowThreads(__tstate
);
33331 if (PyErr_Occurred()) SWIG_fail
;
33334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33342 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33343 PyObject
*resultobj
;
33344 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33346 PyObject
* obj0
= 0 ;
33347 char *kwnames
[] = {
33348 (char *) "self", NULL
33351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
33352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33353 if (SWIG_arg_fail(1)) SWIG_fail
;
33355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33356 result
= (bool)(arg1
)->EndContextHelp();
33358 wxPyEndAllowThreads(__tstate
);
33359 if (PyErr_Occurred()) SWIG_fail
;
33362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33370 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
33372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33373 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
33375 return Py_BuildValue((char *)"");
33377 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33378 PyObject
*resultobj
;
33379 wxWindow
*arg1
= (wxWindow
*) 0 ;
33380 int arg2
= (int) wxID_CONTEXT_HELP
;
33381 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33382 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33383 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33384 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33385 long arg5
= (long) wxBU_AUTODRAW
;
33386 wxContextHelpButton
*result
;
33389 PyObject
* obj0
= 0 ;
33390 PyObject
* obj1
= 0 ;
33391 PyObject
* obj2
= 0 ;
33392 PyObject
* obj3
= 0 ;
33393 PyObject
* obj4
= 0 ;
33394 char *kwnames
[] = {
33395 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33400 if (SWIG_arg_fail(1)) SWIG_fail
;
33403 arg2
= (int)(SWIG_As_int(obj1
));
33404 if (SWIG_arg_fail(2)) SWIG_fail
;
33410 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33416 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33421 arg5
= (long)(SWIG_As_long(obj4
));
33422 if (SWIG_arg_fail(5)) SWIG_fail
;
33426 if (!wxPyCheckForApp()) SWIG_fail
;
33427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33428 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33430 wxPyEndAllowThreads(__tstate
);
33431 if (PyErr_Occurred()) SWIG_fail
;
33433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
33440 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
33442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33443 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
33445 return Py_BuildValue((char *)"");
33447 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33448 PyObject
*resultobj
;
33449 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33450 wxHelpProvider
*result
;
33451 PyObject
* obj0
= 0 ;
33452 char *kwnames
[] = {
33453 (char *) "helpProvider", NULL
33456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
33457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33458 if (SWIG_arg_fail(1)) SWIG_fail
;
33460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33461 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
33463 wxPyEndAllowThreads(__tstate
);
33464 if (PyErr_Occurred()) SWIG_fail
;
33466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33473 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33474 PyObject
*resultobj
;
33475 wxHelpProvider
*result
;
33476 char *kwnames
[] = {
33480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
33482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33483 result
= (wxHelpProvider
*)wxHelpProvider::Get();
33485 wxPyEndAllowThreads(__tstate
);
33486 if (PyErr_Occurred()) SWIG_fail
;
33488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33495 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33496 PyObject
*resultobj
;
33497 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33498 wxWindow
*arg2
= (wxWindow
*) 0 ;
33500 PyObject
* obj0
= 0 ;
33501 PyObject
* obj1
= 0 ;
33502 char *kwnames
[] = {
33503 (char *) "self",(char *) "window", NULL
33506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33508 if (SWIG_arg_fail(1)) SWIG_fail
;
33509 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33510 if (SWIG_arg_fail(2)) SWIG_fail
;
33512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33513 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
33515 wxPyEndAllowThreads(__tstate
);
33516 if (PyErr_Occurred()) SWIG_fail
;
33520 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33522 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33531 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33532 PyObject
*resultobj
;
33533 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33534 wxWindow
*arg2
= (wxWindow
*) 0 ;
33536 PyObject
* obj0
= 0 ;
33537 PyObject
* obj1
= 0 ;
33538 char *kwnames
[] = {
33539 (char *) "self",(char *) "window", NULL
33542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33544 if (SWIG_arg_fail(1)) SWIG_fail
;
33545 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33546 if (SWIG_arg_fail(2)) SWIG_fail
;
33548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33549 result
= (bool)(arg1
)->ShowHelp(arg2
);
33551 wxPyEndAllowThreads(__tstate
);
33552 if (PyErr_Occurred()) SWIG_fail
;
33555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33563 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33564 PyObject
*resultobj
;
33565 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33566 wxWindow
*arg2
= (wxWindow
*) 0 ;
33567 wxString
*arg3
= 0 ;
33568 bool temp3
= false ;
33569 PyObject
* obj0
= 0 ;
33570 PyObject
* obj1
= 0 ;
33571 PyObject
* obj2
= 0 ;
33572 char *kwnames
[] = {
33573 (char *) "self",(char *) "window",(char *) "text", NULL
33576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33578 if (SWIG_arg_fail(1)) SWIG_fail
;
33579 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33580 if (SWIG_arg_fail(2)) SWIG_fail
;
33582 arg3
= wxString_in_helper(obj2
);
33583 if (arg3
== NULL
) SWIG_fail
;
33587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33588 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33590 wxPyEndAllowThreads(__tstate
);
33591 if (PyErr_Occurred()) SWIG_fail
;
33593 Py_INCREF(Py_None
); resultobj
= Py_None
;
33608 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33609 PyObject
*resultobj
;
33610 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33612 wxString
*arg3
= 0 ;
33613 bool temp3
= false ;
33614 PyObject
* obj0
= 0 ;
33615 PyObject
* obj1
= 0 ;
33616 PyObject
* obj2
= 0 ;
33617 char *kwnames
[] = {
33618 (char *) "self",(char *) "id",(char *) "text", NULL
33621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33623 if (SWIG_arg_fail(1)) SWIG_fail
;
33625 arg2
= (int)(SWIG_As_int(obj1
));
33626 if (SWIG_arg_fail(2)) SWIG_fail
;
33629 arg3
= wxString_in_helper(obj2
);
33630 if (arg3
== NULL
) SWIG_fail
;
33634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33635 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33637 wxPyEndAllowThreads(__tstate
);
33638 if (PyErr_Occurred()) SWIG_fail
;
33640 Py_INCREF(Py_None
); resultobj
= Py_None
;
33655 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33656 PyObject
*resultobj
;
33657 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33658 wxWindow
*arg2
= (wxWindow
*) 0 ;
33659 PyObject
* obj0
= 0 ;
33660 PyObject
* obj1
= 0 ;
33661 char *kwnames
[] = {
33662 (char *) "self",(char *) "window", NULL
33665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33667 if (SWIG_arg_fail(1)) SWIG_fail
;
33668 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33669 if (SWIG_arg_fail(2)) SWIG_fail
;
33671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33672 (arg1
)->RemoveHelp(arg2
);
33674 wxPyEndAllowThreads(__tstate
);
33675 if (PyErr_Occurred()) SWIG_fail
;
33677 Py_INCREF(Py_None
); resultobj
= Py_None
;
33684 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33685 PyObject
*resultobj
;
33686 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33687 PyObject
* obj0
= 0 ;
33688 char *kwnames
[] = {
33689 (char *) "self", NULL
33692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
33693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33694 if (SWIG_arg_fail(1)) SWIG_fail
;
33696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33697 wxHelpProvider_Destroy(arg1
);
33699 wxPyEndAllowThreads(__tstate
);
33700 if (PyErr_Occurred()) SWIG_fail
;
33702 Py_INCREF(Py_None
); resultobj
= Py_None
;
33709 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33712 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
33714 return Py_BuildValue((char *)"");
33716 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33717 PyObject
*resultobj
;
33718 wxSimpleHelpProvider
*result
;
33719 char *kwnames
[] = {
33723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
33725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33726 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
33728 wxPyEndAllowThreads(__tstate
);
33729 if (PyErr_Occurred()) SWIG_fail
;
33731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
33738 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33741 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
33743 return Py_BuildValue((char *)"");
33745 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33746 PyObject
*resultobj
;
33747 wxBitmap
*arg1
= 0 ;
33748 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33749 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33750 wxGenericDragImage
*result
;
33751 PyObject
* obj0
= 0 ;
33752 PyObject
* obj1
= 0 ;
33753 char *kwnames
[] = {
33754 (char *) "image",(char *) "cursor", NULL
33757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
33759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33760 if (SWIG_arg_fail(1)) SWIG_fail
;
33761 if (arg1
== NULL
) {
33762 SWIG_null_ref("wxBitmap");
33764 if (SWIG_arg_fail(1)) SWIG_fail
;
33768 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33769 if (SWIG_arg_fail(2)) SWIG_fail
;
33770 if (arg2
== NULL
) {
33771 SWIG_null_ref("wxCursor");
33773 if (SWIG_arg_fail(2)) SWIG_fail
;
33777 if (!wxPyCheckForApp()) SWIG_fail
;
33778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33779 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
33781 wxPyEndAllowThreads(__tstate
);
33782 if (PyErr_Occurred()) SWIG_fail
;
33784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33791 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33792 PyObject
*resultobj
;
33794 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33795 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33796 wxGenericDragImage
*result
;
33797 PyObject
* obj0
= 0 ;
33798 PyObject
* obj1
= 0 ;
33799 char *kwnames
[] = {
33800 (char *) "image",(char *) "cursor", NULL
33803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
33805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
33806 if (SWIG_arg_fail(1)) SWIG_fail
;
33807 if (arg1
== NULL
) {
33808 SWIG_null_ref("wxIcon");
33810 if (SWIG_arg_fail(1)) SWIG_fail
;
33814 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33815 if (SWIG_arg_fail(2)) SWIG_fail
;
33816 if (arg2
== NULL
) {
33817 SWIG_null_ref("wxCursor");
33819 if (SWIG_arg_fail(2)) SWIG_fail
;
33823 if (!wxPyCheckForApp()) SWIG_fail
;
33824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33825 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
33827 wxPyEndAllowThreads(__tstate
);
33828 if (PyErr_Occurred()) SWIG_fail
;
33830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33837 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33838 PyObject
*resultobj
;
33839 wxString
*arg1
= 0 ;
33840 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33841 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33842 wxGenericDragImage
*result
;
33843 bool temp1
= false ;
33844 PyObject
* obj0
= 0 ;
33845 PyObject
* obj1
= 0 ;
33846 char *kwnames
[] = {
33847 (char *) "str",(char *) "cursor", NULL
33850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
33852 arg1
= wxString_in_helper(obj0
);
33853 if (arg1
== NULL
) SWIG_fail
;
33858 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33859 if (SWIG_arg_fail(2)) SWIG_fail
;
33860 if (arg2
== NULL
) {
33861 SWIG_null_ref("wxCursor");
33863 if (SWIG_arg_fail(2)) SWIG_fail
;
33867 if (!wxPyCheckForApp()) SWIG_fail
;
33868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33869 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
33871 wxPyEndAllowThreads(__tstate
);
33872 if (PyErr_Occurred()) SWIG_fail
;
33874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33889 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33890 PyObject
*resultobj
;
33891 wxPyTreeCtrl
*arg1
= 0 ;
33892 wxTreeItemId
*arg2
= 0 ;
33893 wxGenericDragImage
*result
;
33894 PyObject
* obj0
= 0 ;
33895 PyObject
* obj1
= 0 ;
33896 char *kwnames
[] = {
33897 (char *) "treeCtrl",(char *) "id", NULL
33900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33903 if (SWIG_arg_fail(1)) SWIG_fail
;
33904 if (arg1
== NULL
) {
33905 SWIG_null_ref("wxPyTreeCtrl");
33907 if (SWIG_arg_fail(1)) SWIG_fail
;
33910 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
33911 if (SWIG_arg_fail(2)) SWIG_fail
;
33912 if (arg2
== NULL
) {
33913 SWIG_null_ref("wxTreeItemId");
33915 if (SWIG_arg_fail(2)) SWIG_fail
;
33918 if (!wxPyCheckForApp()) SWIG_fail
;
33919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33920 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
33922 wxPyEndAllowThreads(__tstate
);
33923 if (PyErr_Occurred()) SWIG_fail
;
33925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33932 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33933 PyObject
*resultobj
;
33934 wxPyListCtrl
*arg1
= 0 ;
33936 wxGenericDragImage
*result
;
33937 PyObject
* obj0
= 0 ;
33938 PyObject
* obj1
= 0 ;
33939 char *kwnames
[] = {
33940 (char *) "listCtrl",(char *) "id", NULL
33943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33946 if (SWIG_arg_fail(1)) SWIG_fail
;
33947 if (arg1
== NULL
) {
33948 SWIG_null_ref("wxPyListCtrl");
33950 if (SWIG_arg_fail(1)) SWIG_fail
;
33953 arg2
= (long)(SWIG_As_long(obj1
));
33954 if (SWIG_arg_fail(2)) SWIG_fail
;
33957 if (!wxPyCheckForApp()) SWIG_fail
;
33958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33959 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
33961 wxPyEndAllowThreads(__tstate
);
33962 if (PyErr_Occurred()) SWIG_fail
;
33964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33971 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33972 PyObject
*resultobj
;
33973 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33974 PyObject
* obj0
= 0 ;
33975 char *kwnames
[] = {
33976 (char *) "self", NULL
33979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
33980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33981 if (SWIG_arg_fail(1)) SWIG_fail
;
33983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33986 wxPyEndAllowThreads(__tstate
);
33987 if (PyErr_Occurred()) SWIG_fail
;
33989 Py_INCREF(Py_None
); resultobj
= Py_None
;
33996 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33997 PyObject
*resultobj
;
33998 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33999 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34000 PyObject
* obj0
= 0 ;
34001 PyObject
* obj1
= 0 ;
34002 char *kwnames
[] = {
34003 (char *) "self",(char *) "bitmap", NULL
34006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
34007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34008 if (SWIG_arg_fail(1)) SWIG_fail
;
34009 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
34010 if (SWIG_arg_fail(2)) SWIG_fail
;
34012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34013 (arg1
)->SetBackingBitmap(arg2
);
34015 wxPyEndAllowThreads(__tstate
);
34016 if (PyErr_Occurred()) SWIG_fail
;
34018 Py_INCREF(Py_None
); resultobj
= Py_None
;
34025 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34026 PyObject
*resultobj
;
34027 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34028 wxPoint
*arg2
= 0 ;
34029 wxWindow
*arg3
= (wxWindow
*) 0 ;
34030 bool arg4
= (bool) false ;
34031 wxRect
*arg5
= (wxRect
*) NULL
;
34034 PyObject
* obj0
= 0 ;
34035 PyObject
* obj1
= 0 ;
34036 PyObject
* obj2
= 0 ;
34037 PyObject
* obj3
= 0 ;
34038 PyObject
* obj4
= 0 ;
34039 char *kwnames
[] = {
34040 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34045 if (SWIG_arg_fail(1)) SWIG_fail
;
34048 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34050 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34051 if (SWIG_arg_fail(3)) SWIG_fail
;
34054 arg4
= (bool)(SWIG_As_bool(obj3
));
34055 if (SWIG_arg_fail(4)) SWIG_fail
;
34059 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
34060 if (SWIG_arg_fail(5)) SWIG_fail
;
34063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34064 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
34066 wxPyEndAllowThreads(__tstate
);
34067 if (PyErr_Occurred()) SWIG_fail
;
34070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34078 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34079 PyObject
*resultobj
;
34080 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34081 wxPoint
*arg2
= 0 ;
34082 wxWindow
*arg3
= (wxWindow
*) 0 ;
34083 wxWindow
*arg4
= (wxWindow
*) 0 ;
34086 PyObject
* obj0
= 0 ;
34087 PyObject
* obj1
= 0 ;
34088 PyObject
* obj2
= 0 ;
34089 PyObject
* obj3
= 0 ;
34090 char *kwnames
[] = {
34091 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34096 if (SWIG_arg_fail(1)) SWIG_fail
;
34099 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34101 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34102 if (SWIG_arg_fail(3)) SWIG_fail
;
34103 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34104 if (SWIG_arg_fail(4)) SWIG_fail
;
34106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34107 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
34109 wxPyEndAllowThreads(__tstate
);
34110 if (PyErr_Occurred()) SWIG_fail
;
34113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34121 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34122 PyObject
*resultobj
;
34123 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34125 PyObject
* obj0
= 0 ;
34126 char *kwnames
[] = {
34127 (char *) "self", NULL
34130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
34131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34132 if (SWIG_arg_fail(1)) SWIG_fail
;
34134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34135 result
= (bool)(arg1
)->EndDrag();
34137 wxPyEndAllowThreads(__tstate
);
34138 if (PyErr_Occurred()) SWIG_fail
;
34141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34149 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34150 PyObject
*resultobj
;
34151 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34152 wxPoint
*arg2
= 0 ;
34155 PyObject
* obj0
= 0 ;
34156 PyObject
* obj1
= 0 ;
34157 char *kwnames
[] = {
34158 (char *) "self",(char *) "pt", NULL
34161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
34162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34163 if (SWIG_arg_fail(1)) SWIG_fail
;
34166 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34170 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
34172 wxPyEndAllowThreads(__tstate
);
34173 if (PyErr_Occurred()) SWIG_fail
;
34176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34184 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34185 PyObject
*resultobj
;
34186 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34188 PyObject
* obj0
= 0 ;
34189 char *kwnames
[] = {
34190 (char *) "self", NULL
34193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
34194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34195 if (SWIG_arg_fail(1)) SWIG_fail
;
34197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34198 result
= (bool)(arg1
)->Show();
34200 wxPyEndAllowThreads(__tstate
);
34201 if (PyErr_Occurred()) SWIG_fail
;
34204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34212 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34213 PyObject
*resultobj
;
34214 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34216 PyObject
* obj0
= 0 ;
34217 char *kwnames
[] = {
34218 (char *) "self", NULL
34221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
34222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34223 if (SWIG_arg_fail(1)) SWIG_fail
;
34225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34226 result
= (bool)(arg1
)->Hide();
34228 wxPyEndAllowThreads(__tstate
);
34229 if (PyErr_Occurred()) SWIG_fail
;
34232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34240 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34241 PyObject
*resultobj
;
34242 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34243 wxPoint
*arg2
= 0 ;
34246 PyObject
* obj0
= 0 ;
34247 PyObject
* obj1
= 0 ;
34248 char *kwnames
[] = {
34249 (char *) "self",(char *) "pos", NULL
34252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
34253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34254 if (SWIG_arg_fail(1)) SWIG_fail
;
34257 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34261 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
34263 wxPyEndAllowThreads(__tstate
);
34264 if (PyErr_Occurred()) SWIG_fail
;
34267 wxRect
* resultptr
;
34268 resultptr
= new wxRect((wxRect
&)(result
));
34269 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
34277 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34278 PyObject
*resultobj
;
34279 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34281 wxPoint
*arg3
= 0 ;
34284 PyObject
* obj0
= 0 ;
34285 PyObject
* obj1
= 0 ;
34286 PyObject
* obj2
= 0 ;
34287 char *kwnames
[] = {
34288 (char *) "self",(char *) "dc",(char *) "pos", NULL
34291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34293 if (SWIG_arg_fail(1)) SWIG_fail
;
34295 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34296 if (SWIG_arg_fail(2)) SWIG_fail
;
34297 if (arg2
== NULL
) {
34298 SWIG_null_ref("wxDC");
34300 if (SWIG_arg_fail(2)) SWIG_fail
;
34304 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34308 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
34310 wxPyEndAllowThreads(__tstate
);
34311 if (PyErr_Occurred()) SWIG_fail
;
34314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34322 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34323 PyObject
*resultobj
;
34324 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34326 wxMemoryDC
*arg3
= 0 ;
34332 PyObject
* obj0
= 0 ;
34333 PyObject
* obj1
= 0 ;
34334 PyObject
* obj2
= 0 ;
34335 PyObject
* obj3
= 0 ;
34336 PyObject
* obj4
= 0 ;
34337 char *kwnames
[] = {
34338 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34343 if (SWIG_arg_fail(1)) SWIG_fail
;
34345 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34346 if (SWIG_arg_fail(2)) SWIG_fail
;
34347 if (arg2
== NULL
) {
34348 SWIG_null_ref("wxDC");
34350 if (SWIG_arg_fail(2)) SWIG_fail
;
34353 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
34354 if (SWIG_arg_fail(3)) SWIG_fail
;
34355 if (arg3
== NULL
) {
34356 SWIG_null_ref("wxMemoryDC");
34358 if (SWIG_arg_fail(3)) SWIG_fail
;
34362 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34366 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
34369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34370 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
34372 wxPyEndAllowThreads(__tstate
);
34373 if (PyErr_Occurred()) SWIG_fail
;
34376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34384 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34385 PyObject
*resultobj
;
34386 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34387 wxPoint
*arg2
= 0 ;
34388 wxPoint
*arg3
= 0 ;
34394 PyObject
* obj0
= 0 ;
34395 PyObject
* obj1
= 0 ;
34396 PyObject
* obj2
= 0 ;
34397 PyObject
* obj3
= 0 ;
34398 PyObject
* obj4
= 0 ;
34399 char *kwnames
[] = {
34400 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34405 if (SWIG_arg_fail(1)) SWIG_fail
;
34408 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34412 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34415 arg4
= (bool)(SWIG_As_bool(obj3
));
34416 if (SWIG_arg_fail(4)) SWIG_fail
;
34419 arg5
= (bool)(SWIG_As_bool(obj4
));
34420 if (SWIG_arg_fail(5)) SWIG_fail
;
34423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34424 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
34426 wxPyEndAllowThreads(__tstate
);
34427 if (PyErr_Occurred()) SWIG_fail
;
34430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34438 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
34440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34441 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
34443 return Py_BuildValue((char *)"");
34445 static int _wrap_DatePickerCtrlNameStr_set(PyObject
*) {
34446 PyErr_SetString(PyExc_TypeError
,"Variable DatePickerCtrlNameStr is read-only.");
34451 static PyObject
*_wrap_DatePickerCtrlNameStr_get(void) {
34456 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34458 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34465 static PyObject
*_wrap_new_DatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34466 PyObject
*resultobj
;
34467 wxWindow
*arg1
= (wxWindow
*) 0 ;
34468 int arg2
= (int) -1 ;
34469 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
34470 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
34471 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34472 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34473 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34474 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34475 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34476 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34477 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34478 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
34479 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34480 wxDatePickerCtrl
*result
;
34483 bool temp8
= false ;
34484 PyObject
* obj0
= 0 ;
34485 PyObject
* obj1
= 0 ;
34486 PyObject
* obj2
= 0 ;
34487 PyObject
* obj3
= 0 ;
34488 PyObject
* obj4
= 0 ;
34489 PyObject
* obj5
= 0 ;
34490 PyObject
* obj6
= 0 ;
34491 PyObject
* obj7
= 0 ;
34492 char *kwnames
[] = {
34493 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
34497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34498 if (SWIG_arg_fail(1)) SWIG_fail
;
34501 arg2
= (int)(SWIG_As_int(obj1
));
34502 if (SWIG_arg_fail(2)) SWIG_fail
;
34507 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34508 if (SWIG_arg_fail(3)) SWIG_fail
;
34509 if (arg3
== NULL
) {
34510 SWIG_null_ref("wxDateTime");
34512 if (SWIG_arg_fail(3)) SWIG_fail
;
34518 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34524 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34529 arg6
= (long)(SWIG_As_long(obj5
));
34530 if (SWIG_arg_fail(6)) SWIG_fail
;
34535 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34536 if (SWIG_arg_fail(7)) SWIG_fail
;
34537 if (arg7
== NULL
) {
34538 SWIG_null_ref("wxValidator");
34540 if (SWIG_arg_fail(7)) SWIG_fail
;
34545 arg8
= wxString_in_helper(obj7
);
34546 if (arg8
== NULL
) SWIG_fail
;
34551 if (!wxPyCheckForApp()) SWIG_fail
;
34552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34553 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34555 wxPyEndAllowThreads(__tstate
);
34556 if (PyErr_Occurred()) SWIG_fail
;
34558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34573 static PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34574 PyObject
*resultobj
;
34575 wxDatePickerCtrl
*result
;
34576 char *kwnames
[] = {
34580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDatePickerCtrl",kwnames
)) goto fail
;
34582 if (!wxPyCheckForApp()) SWIG_fail
;
34583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34584 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
34586 wxPyEndAllowThreads(__tstate
);
34587 if (PyErr_Occurred()) SWIG_fail
;
34589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34596 static PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34597 PyObject
*resultobj
;
34598 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34599 wxWindow
*arg2
= (wxWindow
*) 0 ;
34600 int arg3
= (int) -1 ;
34601 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
34602 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
34603 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
34604 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
34605 wxSize
const &arg6_defvalue
= wxDefaultSize
;
34606 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
34607 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34608 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
34609 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
34610 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
34611 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
34615 bool temp9
= false ;
34616 PyObject
* obj0
= 0 ;
34617 PyObject
* obj1
= 0 ;
34618 PyObject
* obj2
= 0 ;
34619 PyObject
* obj3
= 0 ;
34620 PyObject
* obj4
= 0 ;
34621 PyObject
* obj5
= 0 ;
34622 PyObject
* obj6
= 0 ;
34623 PyObject
* obj7
= 0 ;
34624 PyObject
* obj8
= 0 ;
34625 char *kwnames
[] = {
34626 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
34630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34631 if (SWIG_arg_fail(1)) SWIG_fail
;
34632 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34633 if (SWIG_arg_fail(2)) SWIG_fail
;
34636 arg3
= (int)(SWIG_As_int(obj2
));
34637 if (SWIG_arg_fail(3)) SWIG_fail
;
34642 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34643 if (SWIG_arg_fail(4)) SWIG_fail
;
34644 if (arg4
== NULL
) {
34645 SWIG_null_ref("wxDateTime");
34647 if (SWIG_arg_fail(4)) SWIG_fail
;
34653 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
34659 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
34664 arg7
= (long)(SWIG_As_long(obj6
));
34665 if (SWIG_arg_fail(7)) SWIG_fail
;
34670 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34671 if (SWIG_arg_fail(8)) SWIG_fail
;
34672 if (arg8
== NULL
) {
34673 SWIG_null_ref("wxValidator");
34675 if (SWIG_arg_fail(8)) SWIG_fail
;
34680 arg9
= wxString_in_helper(obj8
);
34681 if (arg9
== NULL
) SWIG_fail
;
34686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34687 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
34689 wxPyEndAllowThreads(__tstate
);
34690 if (PyErr_Occurred()) SWIG_fail
;
34693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34709 static PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34710 PyObject
*resultobj
;
34711 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34712 wxDateTime
*arg2
= 0 ;
34713 PyObject
* obj0
= 0 ;
34714 PyObject
* obj1
= 0 ;
34715 char *kwnames
[] = {
34716 (char *) "self",(char *) "dt", NULL
34719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
34720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34721 if (SWIG_arg_fail(1)) SWIG_fail
;
34723 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34724 if (SWIG_arg_fail(2)) SWIG_fail
;
34725 if (arg2
== NULL
) {
34726 SWIG_null_ref("wxDateTime");
34728 if (SWIG_arg_fail(2)) SWIG_fail
;
34731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34732 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
34734 wxPyEndAllowThreads(__tstate
);
34735 if (PyErr_Occurred()) SWIG_fail
;
34737 Py_INCREF(Py_None
); resultobj
= Py_None
;
34744 static PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34745 PyObject
*resultobj
;
34746 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34748 PyObject
* obj0
= 0 ;
34749 char *kwnames
[] = {
34750 (char *) "self", NULL
34753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
34754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34755 if (SWIG_arg_fail(1)) SWIG_fail
;
34757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34758 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
34760 wxPyEndAllowThreads(__tstate
);
34761 if (PyErr_Occurred()) SWIG_fail
;
34764 wxDateTime
* resultptr
;
34765 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34766 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34774 static PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34775 PyObject
*resultobj
;
34776 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34777 wxDateTime
*arg2
= 0 ;
34778 wxDateTime
*arg3
= 0 ;
34779 PyObject
* obj0
= 0 ;
34780 PyObject
* obj1
= 0 ;
34781 PyObject
* obj2
= 0 ;
34782 char *kwnames
[] = {
34783 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34788 if (SWIG_arg_fail(1)) SWIG_fail
;
34790 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34791 if (SWIG_arg_fail(2)) SWIG_fail
;
34792 if (arg2
== NULL
) {
34793 SWIG_null_ref("wxDateTime");
34795 if (SWIG_arg_fail(2)) SWIG_fail
;
34798 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34799 if (SWIG_arg_fail(3)) SWIG_fail
;
34800 if (arg3
== NULL
) {
34801 SWIG_null_ref("wxDateTime");
34803 if (SWIG_arg_fail(3)) SWIG_fail
;
34806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34807 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
34809 wxPyEndAllowThreads(__tstate
);
34810 if (PyErr_Occurred()) SWIG_fail
;
34812 Py_INCREF(Py_None
); resultobj
= Py_None
;
34819 static PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34820 PyObject
*resultobj
;
34821 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34823 PyObject
* obj0
= 0 ;
34824 char *kwnames
[] = {
34825 (char *) "self", NULL
34828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames
,&obj0
)) goto fail
;
34829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34830 if (SWIG_arg_fail(1)) SWIG_fail
;
34832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34833 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
34835 wxPyEndAllowThreads(__tstate
);
34836 if (PyErr_Occurred()) SWIG_fail
;
34839 wxDateTime
* resultptr
;
34840 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34841 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34849 static PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34850 PyObject
*resultobj
;
34851 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34853 PyObject
* obj0
= 0 ;
34854 char *kwnames
[] = {
34855 (char *) "self", NULL
34858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames
,&obj0
)) goto fail
;
34859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34860 if (SWIG_arg_fail(1)) SWIG_fail
;
34862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34863 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
34865 wxPyEndAllowThreads(__tstate
);
34866 if (PyErr_Occurred()) SWIG_fail
;
34869 wxDateTime
* resultptr
;
34870 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34871 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34879 static PyObject
* DatePickerCtrl_swigregister(PyObject
*, PyObject
*args
) {
34881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34882 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl
, obj
);
34884 return Py_BuildValue((char *)"");
34886 static PyMethodDef SwigMethods
[] = {
34887 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34888 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34889 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34890 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34891 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34892 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34893 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
34894 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34895 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34896 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34897 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34898 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34899 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34900 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34901 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34902 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34903 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34904 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34905 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34906 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34907 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34908 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
34909 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34910 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34911 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34912 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34913 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34914 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34915 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34916 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34917 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34918 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34919 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34920 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
34921 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34922 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34923 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34924 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34925 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
34926 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34927 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34928 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34929 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34930 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34931 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34932 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34933 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34934 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34935 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34936 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34937 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34938 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34939 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34940 { (char *)"ComboBox_GetMark", (PyCFunction
) _wrap_ComboBox_GetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34941 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34942 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34943 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34944 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34945 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34946 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34947 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34948 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34949 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34950 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34951 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34952 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34953 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34954 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34955 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34956 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
34957 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34958 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34959 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34960 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34961 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34962 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34963 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34964 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34965 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34966 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34967 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34968 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34969 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34970 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
34971 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34972 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34973 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34974 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34975 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
34976 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34977 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34978 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34979 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34980 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34981 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34982 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
34983 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34984 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34985 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34986 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34987 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
34988 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34989 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34990 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34991 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34992 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34993 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34994 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34995 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
34996 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34997 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34998 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34999 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35000 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35001 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35002 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35003 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35004 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35005 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35006 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35007 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35008 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35009 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35010 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35011 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35012 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35013 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35014 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35015 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35016 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35017 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35018 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
35019 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35020 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35021 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35022 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35023 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35024 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35025 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35026 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35027 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
35028 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35029 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35030 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35031 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35032 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35033 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35034 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35035 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35036 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35037 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35038 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35039 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35040 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35041 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35042 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35043 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35044 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35045 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35046 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35047 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35048 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35049 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35050 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35051 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35052 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35053 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35054 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35055 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35056 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35057 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35058 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
35059 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35060 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35061 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35062 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35063 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35064 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35065 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35066 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35067 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35068 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35069 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35070 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35071 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35072 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35073 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35074 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35075 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35076 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35077 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35078 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35079 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35080 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35081 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35082 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35083 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35084 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35085 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35086 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35087 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35088 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35089 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35090 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35091 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35092 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35093 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35094 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35095 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35096 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35097 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35098 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35099 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35100 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35102 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35103 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35104 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35105 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35106 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35107 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35108 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35109 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35110 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35111 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35112 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35113 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35114 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
35115 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35116 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35117 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35118 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35119 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
35120 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35121 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35122 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35123 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35124 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35125 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35126 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35127 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35128 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35129 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35130 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35131 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
35132 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35133 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35134 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35135 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35136 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35137 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35138 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35139 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35140 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35142 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35144 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
35145 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35147 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35150 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35151 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35152 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35155 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35156 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
35157 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35158 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35159 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
35161 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35162 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35163 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35164 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35165 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35169 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35173 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35174 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35175 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35177 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35178 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
35179 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35180 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35181 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
35186 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35187 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35189 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35194 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35200 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35201 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35202 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35203 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35204 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35205 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35206 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35207 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35208 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35210 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
35212 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35213 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35215 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35218 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
35220 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35226 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35229 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35236 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
35242 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35243 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35244 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35245 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35246 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35247 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
35248 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35249 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35250 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35251 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35252 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35253 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35254 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35255 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35256 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
) _wrap_Notebook_GetThemeBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35257 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35258 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
35259 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35260 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
35261 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35262 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35263 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35264 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35265 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35266 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
35267 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35268 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
35269 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35270 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35271 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35272 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35273 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
) _wrap_Choicebook_GetChoiceCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35274 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35275 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
35276 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35277 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
35278 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35279 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35280 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35281 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35282 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
35283 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35284 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35285 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35286 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35287 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
35288 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35289 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35290 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35291 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35292 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35293 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35294 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35295 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35296 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35297 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35298 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35299 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35300 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35301 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35302 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35303 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35304 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35305 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35306 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35307 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35308 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35309 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35310 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35311 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35312 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35313 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35314 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35315 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35316 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35317 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
35318 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35319 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35320 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35321 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35322 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35323 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35324 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35325 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35326 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35327 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35328 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35329 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35330 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35331 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35332 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35333 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35334 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35335 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35336 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35337 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35338 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35339 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35340 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35341 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35342 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35343 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35344 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35345 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35346 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35347 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35348 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35349 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35350 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35351 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35352 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35353 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35354 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35355 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35356 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35357 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35358 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35359 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35360 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35361 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35362 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
35363 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35364 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35365 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35366 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35367 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35368 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
35369 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35370 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35371 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35372 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35373 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35374 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35375 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35376 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35377 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35378 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35379 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35380 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
35381 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35382 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35383 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35384 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35385 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35386 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35387 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35388 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35389 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35390 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35391 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35392 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35393 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35394 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35395 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35396 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35397 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35398 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35399 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35400 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35401 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35402 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35403 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35404 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35405 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35406 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35407 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35408 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35409 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35410 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35411 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35413 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35414 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35415 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35416 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35417 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35418 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35419 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35420 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35421 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35422 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35423 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35424 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35425 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35426 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35427 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35428 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35429 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35430 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35431 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35432 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
35433 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35434 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35435 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35436 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35438 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35439 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35440 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35441 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35442 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35443 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35444 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35445 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35446 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35447 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35448 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35450 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35451 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35452 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35453 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35454 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35455 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35456 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35457 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35458 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35459 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
35460 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35461 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35462 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35463 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35464 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35465 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35466 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35467 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35468 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35469 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35470 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35471 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35472 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35473 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35474 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35475 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35476 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35477 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35478 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35479 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35480 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35481 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35482 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35483 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35484 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35485 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35486 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35487 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35488 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35489 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35490 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35491 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35492 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35493 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35494 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35495 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35496 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35497 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35498 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35499 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35500 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35501 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35502 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35503 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35504 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35505 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35506 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35507 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35508 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35509 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35510 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35511 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35512 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35513 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35514 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35515 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35516 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35517 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35518 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35519 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35520 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35521 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35522 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35523 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35524 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35525 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35526 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35527 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35528 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35529 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35530 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
35531 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35532 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35533 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35534 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35535 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35536 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35537 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35538 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35539 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35540 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35541 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35542 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
35543 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35544 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35545 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35546 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35547 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35548 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35549 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35550 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
35551 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35552 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35553 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35554 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35555 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35556 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35557 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
35558 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35559 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35560 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35561 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35562 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35563 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35564 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35565 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35566 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35567 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35568 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35569 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35570 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35571 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35572 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35573 { (char *)"TreeEvent_GetToolTip", (PyCFunction
) _wrap_TreeEvent_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35574 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
35575 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35576 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35577 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35578 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35579 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35580 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35581 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35582 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35583 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35584 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35585 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35586 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35587 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35588 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35589 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35590 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35591 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35592 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35593 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35594 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35595 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35596 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35597 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35598 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35599 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35600 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35601 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35602 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35603 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35604 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35605 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35606 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35607 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35608 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35609 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35610 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35611 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35612 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35613 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35614 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35615 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35616 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35617 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35618 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35619 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35620 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35621 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35622 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35623 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35624 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35625 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35626 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35627 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35628 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35629 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35630 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35631 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35632 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35633 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35634 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35635 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35636 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35637 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35638 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35639 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35640 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35641 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35642 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35643 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35644 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35645 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35646 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35647 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35648 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35649 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35650 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
35651 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35652 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35653 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35654 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35655 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35656 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35657 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35658 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35659 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35660 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35661 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35662 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35663 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35664 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35665 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35666 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35667 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35668 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35669 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35670 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35671 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35672 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
35673 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35674 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35675 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35676 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35677 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
35678 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35679 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35680 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35681 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35682 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35683 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35684 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35685 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35686 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35687 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35688 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35689 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35690 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35691 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35692 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35693 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35694 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35695 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35696 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35697 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35698 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35699 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35700 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35701 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35702 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
35703 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35704 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35705 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35706 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35707 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35708 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35709 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35710 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
35711 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35712 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35713 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35714 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35715 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
35716 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35717 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
35718 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35719 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35720 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35721 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35722 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35723 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35724 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35725 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35726 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
35727 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35728 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
35729 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35730 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35731 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35732 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35733 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35734 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35735 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35736 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35737 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35738 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35739 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35740 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35741 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35742 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35743 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35744 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35745 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35746 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
35747 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35748 { (char *)"new_PreDatePickerCtrl", (PyCFunction
) _wrap_new_PreDatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35749 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35750 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35751 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
) _wrap_DatePickerCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35752 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35753 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetLowerLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35754 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetUpperLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35755 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
35756 { NULL
, NULL
, 0, NULL
}
35760 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35762 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
35763 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
35765 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
35766 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35768 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
35769 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35771 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
35772 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35774 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
35775 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
35777 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
35778 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35780 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
35781 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
35783 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
35784 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
35786 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
35787 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
35789 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
35790 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35792 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
35793 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
35795 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
35796 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
35798 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
35799 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
35801 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
35802 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
35804 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
35805 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35807 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
35808 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35810 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
35811 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
35813 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
35814 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
35816 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
35817 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
35819 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
35820 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
35822 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
35823 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
35825 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
35826 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35828 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
35829 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
35831 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
35832 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35834 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
35835 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35837 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
35838 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35840 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
35841 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
35843 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
35844 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
35846 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
35847 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35849 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
35850 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35852 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
35853 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
35855 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
35856 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
35858 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
35859 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
35861 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
35862 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
35864 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
35865 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
35867 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
35868 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
35870 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
35871 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
35873 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
35874 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
35876 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
35877 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35879 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
35880 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35882 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
35883 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35885 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
35886 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35888 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
35889 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35891 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
35892 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
35894 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
35895 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
35897 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
35898 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35900 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
35901 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
35903 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
35904 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
35906 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
35907 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35909 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
35910 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35912 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
35913 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35915 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
35916 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
35918 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
35919 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
35921 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
35922 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35924 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
35925 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
35927 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
35928 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35930 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
35931 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35933 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
35934 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
35936 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
35937 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35939 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
35940 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35942 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
35943 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
35945 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
35946 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
35948 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
35949 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
35951 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
35952 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
35954 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
35955 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
35957 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
35958 return (void *)((wxControl
*) ((wxPyControl
*) x
));
35960 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
35961 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
35963 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
35964 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35966 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
35967 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
35969 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
35970 return (void *)((wxControl
*) ((wxComboBox
*) x
));
35972 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
35973 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
35975 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
35976 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
35978 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
35979 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
35981 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
35982 return (void *)((wxControl
*) ((wxGauge
*) x
));
35984 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
35985 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
35987 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
35988 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35990 static void *_p_wxListbookTo_p_wxControl(void *x
) {
35991 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
35993 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
35994 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
35996 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
35997 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
35999 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
36000 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
36002 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
36003 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
36005 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
36006 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
36008 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
36009 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36011 static void *_p_wxListViewTo_p_wxControl(void *x
) {
36012 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
36014 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
36015 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
36017 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
36018 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
36020 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
36021 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
36023 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
36024 return (void *)((wxControl
*) ((wxStaticText
*) x
));
36026 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
36027 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
36029 static void *_p_wxSliderTo_p_wxControl(void *x
) {
36030 return (void *)((wxControl
*) ((wxSlider
*) x
));
36032 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
36033 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36035 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
36036 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
36038 static void *_p_wxButtonTo_p_wxControl(void *x
) {
36039 return (void *)((wxControl
*) ((wxButton
*) x
));
36041 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
36042 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
36044 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
36045 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
36047 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
36048 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
36050 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
36051 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
36053 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
36054 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36056 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
36057 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36059 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
36060 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36062 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
36063 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
36065 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
36066 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36068 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
36069 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36071 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
36072 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36074 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
36075 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36077 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
36078 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36080 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
36081 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
36083 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
36084 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
36086 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
36087 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
36089 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
36090 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36092 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
36093 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
36095 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
36096 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
36098 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
36099 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36101 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
36102 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
36104 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
36105 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36107 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
36108 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36110 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
36111 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
36113 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
36114 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
36116 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
36117 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36119 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
36120 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36122 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
36123 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36125 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
36126 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36128 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
36129 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36131 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
36132 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
36134 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
36135 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36137 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
36138 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36140 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
36141 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36143 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
36144 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36146 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
36147 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36149 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
36150 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36152 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
36153 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36155 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
36156 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36158 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
36159 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36161 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
36162 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36164 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
36165 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36167 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
36168 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36170 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
36171 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36173 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
36174 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36176 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
36177 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36179 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
36180 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36182 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
36183 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36185 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
36186 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36188 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
36189 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36191 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
36192 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36194 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
36195 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36197 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
36198 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36200 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
36201 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36203 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
36204 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36206 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
36207 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36209 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
36210 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36212 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
36213 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
36215 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
36216 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
36218 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
36219 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36221 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
36222 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36224 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
36225 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
36227 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36228 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36230 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36231 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36233 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36234 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36236 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36237 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36239 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36240 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36242 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
36243 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36245 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36246 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36248 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36249 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36251 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36252 return (void *)((wxObject
*) ((wxSizer
*) x
));
36254 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36255 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36257 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
36258 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36260 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
36261 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36263 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36264 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36266 static void *_p_wxEventTo_p_wxObject(void *x
) {
36267 return (void *)((wxObject
*) ((wxEvent
*) x
));
36269 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36270 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36272 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36273 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36275 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36276 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36278 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
36279 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36281 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
36282 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36284 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
36285 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36287 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36288 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36290 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36291 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36293 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36294 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36296 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36297 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36299 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36300 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36302 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36303 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36305 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
36306 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36308 static void *_p_wxControlTo_p_wxObject(void *x
) {
36309 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36311 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
36312 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36314 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
36315 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36317 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
36318 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36320 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
36321 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36323 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
36324 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36326 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36327 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36329 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
36330 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36332 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36333 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36335 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36336 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36338 static void *_p_wxListViewTo_p_wxObject(void *x
) {
36339 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36341 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
36342 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36344 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
36345 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36347 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36348 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36350 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36351 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36353 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
36354 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36356 static void *_p_wxListbookTo_p_wxObject(void *x
) {
36357 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36359 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36360 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36362 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
36363 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36365 static void *_p_wxSliderTo_p_wxObject(void *x
) {
36366 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36368 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36369 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36371 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
36372 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
36374 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36375 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36377 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36378 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36380 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36381 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36383 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36384 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36386 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36387 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36389 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36390 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36392 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36393 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36395 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36396 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36398 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
36399 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36401 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
36402 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
36404 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
36405 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36407 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36408 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36410 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36411 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36413 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36414 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36416 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36417 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36419 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36420 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36422 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36423 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36425 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36426 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36428 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36429 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36431 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36432 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36434 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36435 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36437 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36438 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36440 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36441 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36443 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36444 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36446 static void *_p_wxListEventTo_p_wxObject(void *x
) {
36447 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
36449 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
36450 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36452 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
36453 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36455 static void *_p_wxButtonTo_p_wxObject(void *x
) {
36456 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36458 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
36459 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36461 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
36462 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36464 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
36465 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36467 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36468 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36470 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36471 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36473 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
36474 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36476 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
36477 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36479 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
36480 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36482 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
36483 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
36485 static void *_p_wxListItemTo_p_wxObject(void *x
) {
36486 return (void *)((wxObject
*) ((wxListItem
*) x
));
36488 static void *_p_wxImageTo_p_wxObject(void *x
) {
36489 return (void *)((wxObject
*) ((wxImage
*) x
));
36491 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
36492 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
36494 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36495 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36497 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
36498 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36500 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
36501 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
36503 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
36504 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36506 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
36507 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36509 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
36510 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36512 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
36513 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36515 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36516 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36518 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36519 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36521 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36522 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36524 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36525 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36527 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36528 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36530 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36531 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36533 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36534 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36536 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36537 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36539 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36540 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36542 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36543 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36545 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36546 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36548 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36549 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36551 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36552 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36554 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
36555 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36557 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
36558 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36560 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36561 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36563 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36564 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36566 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
36567 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36569 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36570 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36572 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36573 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36575 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36576 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36578 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
36579 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36581 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36582 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36584 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
36585 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
36587 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
36588 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36590 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36591 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36593 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36594 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36596 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
36597 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
36599 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36600 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36602 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
36603 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
36605 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
36606 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36608 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
36609 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
36611 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
36612 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
36614 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36615 return (void *)((wxWindow
*) ((wxControl
*) x
));
36617 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
36618 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
36620 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
36621 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36623 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
36624 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
36626 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
36627 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
36629 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
36630 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
36632 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
36633 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
36635 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
36636 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
36638 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36639 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36641 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
36642 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
36644 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
36645 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
36647 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
36648 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36650 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
36651 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36653 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
36654 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
36656 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
36657 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
36659 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
36660 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
36662 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
36663 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36665 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
36666 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36668 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
36669 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36671 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
36672 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36674 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
36675 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36677 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
36678 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
36680 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
36681 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
36683 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
36684 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
36686 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
36687 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
36689 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
36690 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
36692 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
36693 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
36695 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
36696 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
36698 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
36699 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36701 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
36702 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36704 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
36705 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
36707 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
36708 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
36710 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36711 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36713 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36714 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36716 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36717 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36719 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
36720 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36722 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
36723 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36725 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
36726 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
36728 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
36729 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36731 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
36732 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36734 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
36735 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36737 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
36738 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36740 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
36741 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36743 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
36744 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36746 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
36747 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
36749 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
36750 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36752 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
36753 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
36755 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
36756 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36758 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
36759 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36761 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
36762 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36764 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
36765 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
36767 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
36768 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36770 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
36771 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36773 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
36774 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36776 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
36777 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
36779 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
36780 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
36782 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
36783 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
36785 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
36786 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
36788 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}};
36789 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}};
36790 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}};
36791 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}};
36792 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}};
36793 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}};
36794 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}};
36795 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}};
36796 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}};
36797 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}};
36798 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}};
36799 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}};
36800 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}};
36801 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}};
36802 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}};
36803 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}};
36804 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}};
36805 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}};
36806 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}};
36807 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}};
36808 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}};
36809 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}};
36810 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}};
36811 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}};
36812 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}};
36813 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}};
36814 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}};
36815 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}};
36816 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}};
36817 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}};
36818 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}};
36819 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}};
36820 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}};
36821 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}};
36822 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}};
36823 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}};
36824 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}};
36825 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}};
36826 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}};
36827 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}};
36828 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}};
36829 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}};
36830 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}};
36831 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}};
36832 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}};
36833 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}};
36834 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}};
36835 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}};
36836 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}};
36837 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}};
36838 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}};
36839 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}};
36840 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}};
36841 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}};
36842 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}};
36843 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}};
36844 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}};
36845 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}};
36846 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}};
36847 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}};
36848 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}};
36849 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}};
36850 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}};
36851 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}};
36852 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}};
36853 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}};
36854 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}};
36855 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}};
36856 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}};
36857 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}};
36858 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}};
36859 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}};
36860 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}};
36861 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}};
36862 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}};
36863 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}};
36864 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}};
36865 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}};
36866 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}};
36867 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}};
36868 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}};
36869 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}};
36870 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}};
36871 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}};
36872 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}};
36873 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}};
36874 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}};
36875 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}};
36876 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}};
36877 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}};
36878 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}};
36879 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}};
36880 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}};
36881 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}};
36882 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}};
36883 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}};
36884 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}};
36885 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}};
36887 static swig_type_info
*swig_types_initial
[] = {
36888 _swigt__p_wxTextUrlEvent
,
36890 _swigt__p_wxCheckBox
,
36891 _swigt__p_wxPyTreeCtrl
,
36893 _swigt__p_wxGenericDirCtrl
,
36895 _swigt__p_wxItemContainer
,
36896 _swigt__p_wxPyListCtrl
,
36897 _swigt__p_wxPyTreeItemData
,
36898 _swigt__p_wxDirFilterListCtrl
,
36899 _swigt__p_wxStaticLine
,
36900 _swigt__p_wxControl
,
36901 _swigt__p_wxPyControl
,
36903 _swigt__p_wxToolBarBase
,
36905 _swigt__p_wxToggleButton
,
36906 _swigt__p_wxRadioButton
,
36907 _swigt__p_wxChoice
,
36908 _swigt__p_wxMemoryDC
,
36910 _swigt__std__ptrdiff_t
,
36911 _swigt__p_wxListItemAttr
,
36916 _swigt__p_wxListView
,
36918 _swigt__p_wxVisualAttributes
,
36919 _swigt__p_wxTextCtrl
,
36920 _swigt__p_wxNotebook
,
36921 _swigt__p_wxChoicebook
,
36922 _swigt__p_wxNotifyEvent
,
36923 _swigt__p_wxArrayString
,
36924 _swigt__p_form_ops_t
,
36925 _swigt__p_wxListbook
,
36926 _swigt__p_wxStaticBitmap
,
36927 _swigt__p_wxSlider
,
36928 _swigt__p_wxStaticBox
,
36929 _swigt__p_wxArrayInt
,
36930 _swigt__p_wxContextHelp
,
36932 _swigt__p_wxDuplexMode
,
36933 _swigt__p_wxBookCtrlBase
,
36934 _swigt__p_wxEvtHandler
,
36935 _swigt__p_wxListEvent
,
36936 _swigt__p_wxCheckListBox
,
36937 _swigt__p_wxListBox
,
36938 _swigt__p_wxSpinButton
,
36939 _swigt__p_wxButton
,
36940 _swigt__p_wxBitmapButton
,
36942 _swigt__p_wxContextHelpButton
,
36943 _swigt__p_wxRadioBox
,
36944 _swigt__p_wxScrollBar
,
36946 _swigt__p_wxComboBox
,
36947 _swigt__p_wxTreeItemId
,
36948 _swigt__p_wxHelpEvent
,
36949 _swigt__p_wxListItem
,
36950 _swigt__p_wxNotebookSizer
,
36951 _swigt__p_wxSpinEvent
,
36952 _swigt__p_wxGenericDragImage
,
36953 _swigt__p_wxSpinCtrl
,
36954 _swigt__p_wxPaperSize
,
36955 _swigt__p_wxImageList
,
36956 _swigt__p_wxHelpProvider
,
36957 _swigt__p_wxTextAttr
,
36958 _swigt__p_wxSimpleHelpProvider
,
36959 _swigt__p_wxChoicebookEvent
,
36960 _swigt__p_wxListbookEvent
,
36961 _swigt__p_wxNotebookEvent
,
36963 _swigt__p_wxObject
,
36964 _swigt__p_wxCursor
,
36965 _swigt__p_wxDateTime
,
36966 _swigt__p_wxKeyEvent
,
36967 _swigt__p_unsigned_long
,
36968 _swigt__p_wxWindow
,
36969 _swigt__p_wxString
,
36970 _swigt__p_wxBitmap
,
36971 _swigt__unsigned_int
,
36972 _swigt__p_unsigned_int
,
36973 _swigt__p_unsigned_char
,
36974 _swigt__p_wxMouseEvent
,
36975 _swigt__p_wxBookCtrlBaseEvent
,
36976 _swigt__p_wxTreeEvent
,
36977 _swigt__p_wxCommandEvent
,
36978 _swigt__p_wxStaticText
,
36979 _swigt__p_wxDatePickerCtrl
,
36980 _swigt__p_wxControlWithItems
,
36981 _swigt__p_wxToolBarToolBase
,
36982 _swigt__p_wxColour
,
36983 _swigt__p_wxToolBar
,
36984 _swigt__p_wxBookCtrlSizer
,
36985 _swigt__p_wxValidator
,
36990 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36992 static swig_const_info swig_const_table
[] = {
36993 {0, 0, 0, 0.0, 0, 0}};
37004 /* Python-specific SWIG API */
37005 #define SWIG_newvarlink() SWIG_Python_newvarlink()
37006 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
37007 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
37009 /* -----------------------------------------------------------------------------
37010 * global variable support code.
37011 * ----------------------------------------------------------------------------- */
37013 typedef struct swig_globalvar
{
37014 char *name
; /* Name of global variable */
37015 PyObject
*(*get_attr
)(); /* Return the current value */
37016 int (*set_attr
)(PyObject
*); /* Set the value */
37017 struct swig_globalvar
*next
;
37020 typedef struct swig_varlinkobject
{
37022 swig_globalvar
*vars
;
37023 } swig_varlinkobject
;
37026 swig_varlink_repr(swig_varlinkobject
*v
) {
37028 return PyString_FromString("<Swig global variables>");
37032 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
37033 swig_globalvar
*var
;
37035 fprintf(fp
,"Swig global variables { ");
37036 for (var
= v
->vars
; var
; var
=var
->next
) {
37037 fprintf(fp
,"%s", var
->name
);
37038 if (var
->next
) fprintf(fp
,", ");
37040 fprintf(fp
," }\n");
37045 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
37046 swig_globalvar
*var
= v
->vars
;
37048 if (strcmp(var
->name
,n
) == 0) {
37049 return (*var
->get_attr
)();
37053 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37058 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
37059 swig_globalvar
*var
= v
->vars
;
37061 if (strcmp(var
->name
,n
) == 0) {
37062 return (*var
->set_attr
)(p
);
37066 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37070 static PyTypeObject varlinktype
= {
37071 PyObject_HEAD_INIT(0)
37072 0, /* Number of items in variable part (ob_size) */
37073 (char *)"swigvarlink", /* Type name (tp_name) */
37074 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
37075 0, /* Itemsize (tp_itemsize) */
37076 0, /* Deallocator (tp_dealloc) */
37077 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
37078 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
37079 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
37080 0, /* tp_compare */
37081 (reprfunc
) swig_varlink_repr
, /* tp_repr */
37082 0, /* tp_as_number */
37083 0, /* tp_as_sequence */
37084 0, /* tp_as_mapping */
37088 0, /* tp_getattro */
37089 0, /* tp_setattro */
37090 0, /* tp_as_buffer */
37093 #if PY_VERSION_HEX >= 0x02000000
37094 0, /* tp_traverse */
37097 #if PY_VERSION_HEX >= 0x02010000
37098 0, /* tp_richcompare */
37099 0, /* tp_weaklistoffset */
37101 #if PY_VERSION_HEX >= 0x02020000
37102 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37104 #if PY_VERSION_HEX >= 0x02030000
37107 #ifdef COUNT_ALLOCS
37108 0,0,0,0 /* tp_alloc -> tp_next */
37112 /* Create a variable linking object for use later */
37114 SWIG_Python_newvarlink(void) {
37115 swig_varlinkobject
*result
= 0;
37116 result
= PyMem_NEW(swig_varlinkobject
,1);
37117 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
37118 result
->ob_type
= &varlinktype
;
37120 result
->ob_refcnt
= 0;
37121 Py_XINCREF((PyObject
*) result
);
37122 return ((PyObject
*) result
);
37126 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
37127 swig_varlinkobject
*v
;
37128 swig_globalvar
*gv
;
37129 v
= (swig_varlinkobject
*) p
;
37130 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
37131 gv
->name
= (char *) malloc(strlen(name
)+1);
37132 strcpy(gv
->name
,name
);
37133 gv
->get_attr
= get_attr
;
37134 gv
->set_attr
= set_attr
;
37135 gv
->next
= v
->vars
;
37139 /* -----------------------------------------------------------------------------
37140 * constants/methods manipulation
37141 * ----------------------------------------------------------------------------- */
37143 /* Install Constants */
37145 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
37148 for (i
= 0; constants
[i
].type
; i
++) {
37149 switch(constants
[i
].type
) {
37151 obj
= PyInt_FromLong(constants
[i
].lvalue
);
37153 case SWIG_PY_FLOAT
:
37154 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
37156 case SWIG_PY_STRING
:
37157 if (constants
[i
].pvalue
) {
37158 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
37160 Py_INCREF(Py_None
);
37164 case SWIG_PY_POINTER
:
37165 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37167 case SWIG_PY_BINARY
:
37168 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37175 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
37181 /* -----------------------------------------------------------------------------*/
37182 /* Fix SwigMethods to carry the callback ptrs when needed */
37183 /* -----------------------------------------------------------------------------*/
37186 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37187 swig_const_info
*const_table
,
37188 swig_type_info
**types
,
37189 swig_type_info
**types_initial
) {
37191 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37192 char *c
= methods
[i
].ml_doc
;
37193 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37195 swig_const_info
*ci
= 0;
37196 char *name
= c
+ 10;
37197 for (j
= 0; const_table
[j
].type
; j
++) {
37198 if (strncmp(const_table
[j
].name
, name
,
37199 strlen(const_table
[j
].name
)) == 0) {
37200 ci
= &(const_table
[j
]);
37205 size_t shift
= (ci
->ptype
) - types
;
37206 swig_type_info
*ty
= types_initial
[shift
];
37207 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37208 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37209 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37211 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
37212 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37214 strncpy(buff
, "swig_ptr: ", 10);
37216 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37217 methods
[i
].ml_doc
= ndoc
;
37223 /* -----------------------------------------------------------------------------*
37224 * Initialize type list
37225 * -----------------------------------------------------------------------------*/
37227 #if PY_MAJOR_VERSION < 2
37228 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37229 is copied out of Python/modsupport.c in python version 2.3.4 */
37231 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
37234 if (!PyModule_Check(m
)) {
37235 PyErr_SetString(PyExc_TypeError
,
37236 "PyModule_AddObject() needs module as first arg");
37240 PyErr_SetString(PyExc_TypeError
,
37241 "PyModule_AddObject() needs non-NULL value");
37245 dict
= PyModule_GetDict(m
);
37246 if (dict
== NULL
) {
37247 /* Internal error -- modules must have a dict! */
37248 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
37249 PyModule_GetName(m
));
37252 if (PyDict_SetItemString(dict
, name
, o
))
37259 static swig_type_info
**
37260 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
37261 static PyMethodDef swig_empty_runtime_method_table
[] = {
37263 NULL
, NULL
, 0, NULL
37267 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
37268 swig_empty_runtime_method_table
);
37269 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
37270 if (pointer
&& module) {
37271 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
37273 return type_list_handle
;
37276 static swig_type_info
**
37277 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
37278 swig_type_info
**type_pointer
;
37280 /* first check if module already created */
37281 type_pointer
= SWIG_Python_GetTypeListHandle();
37282 if (type_pointer
) {
37283 return type_pointer
;
37285 /* create a new module and variable */
37286 return SWIG_Python_SetTypeListHandle(type_list_handle
);
37294 /* -----------------------------------------------------------------------------*
37295 * Partial Init method
37296 * -----------------------------------------------------------------------------*/
37298 #ifdef SWIG_LINK_RUNTIME
37302 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37308 SWIGEXPORT(void) SWIG_init(void) {
37309 static PyObject
*SWIG_globals
= 0;
37310 static int typeinit
= 0;
37313 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
37315 /* Fix SwigMethods to carry the callback ptrs when needed */
37316 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
37318 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37319 d
= PyModule_GetDict(m
);
37322 #ifdef SWIG_LINK_RUNTIME
37323 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
37325 # ifndef SWIG_STATIC_RUNTIME
37326 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
37329 for (i
= 0; swig_types_initial
[i
]; i
++) {
37330 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
37334 SWIG_InstallConstants(d
,swig_const_table
);
37336 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
37337 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
37339 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT
)));
37342 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)(wxBU_TOP
)));
37345 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT
)));
37348 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM
)));
37351 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK
)));
37354 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT
)));
37357 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW
)));
37359 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
37361 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE
)));
37364 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE
)));
37367 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
37370 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED
)));
37373 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED
)));
37376 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED
)));
37378 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
37379 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
37380 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
37382 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL
)));
37385 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL
)));
37388 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH
)));
37391 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR
)));
37393 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
37394 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
37395 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
37396 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
37397 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
37399 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL
)));
37402 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL
)));
37405 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY
)));
37408 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE
)));
37411 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB
)));
37414 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT
)));
37417 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER
)));
37420 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT
)));
37423 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE
)));
37426 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)(wxTE_RICH
)));
37429 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER
)));
37432 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD
)));
37435 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL
)));
37438 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL
)));
37441 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP
)));
37444 PyDict_SetItemString(d
,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP
)));
37447 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP
)));
37450 PyDict_SetItemString(d
,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP
)));
37453 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP
)));
37456 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2
)));
37459 PyDict_SetItemString(d
,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE
)));
37462 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT
)));
37465 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT
)));
37468 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE
)));
37471 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER
)));
37474 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT
)));
37477 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED
)));
37480 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR
)));
37483 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
37486 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE
)));
37489 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE
)));
37492 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT
)));
37495 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC
)));
37498 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE
)));
37501 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT
)));
37504 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT
)));
37507 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT
)));
37510 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT
)));
37513 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS
)));
37516 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN
)));
37519 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE
)));
37522 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT
)));
37525 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW
)));
37528 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND
)));
37531 PyDict_SetItemString(d
,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord
)));
37534 PyDict_SetItemString(d
,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord
)));
37536 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
37537 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
37538 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
37539 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
37540 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
37541 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
37542 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
37544 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL
)));
37547 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL
)));
37550 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS
)));
37553 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP
)));
37555 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
37556 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
37557 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
37558 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
37560 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL
)));
37563 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL
)));
37566 PyDict_SetItemString(d
,"SL_TICKS", SWIG_From_int((int)(wxSL_TICKS
)));
37569 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS
)));
37572 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS
)));
37575 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT
)));
37578 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)(wxSL_TOP
)));
37581 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT
)));
37584 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM
)));
37587 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH
)));
37590 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE
)));
37593 PyDict_SetItemString(d
,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE
)));
37595 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
37596 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
37597 SWIG_addvarlink(SWIG_globals
,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get
, _wrap_NotebookNameStr_set
);
37599 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH
)));
37602 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)(wxNB_TOP
)));
37605 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT
)));
37608 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT
)));
37611 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM
)));
37614 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE
)));
37617 PyDict_SetItemString(d
,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME
)));
37620 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE
)));
37623 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON
)));
37626 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL
)));
37629 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM
)));
37631 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
37632 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
37634 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT
)));
37637 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)(wxLB_TOP
)));
37640 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM
)));
37643 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT
)));
37646 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT
)));
37649 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK
)));
37651 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
37652 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
37654 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT
)));
37657 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP
)));
37660 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM
)));
37663 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT
)));
37666 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT
)));
37669 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK
)));
37671 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
37672 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
37674 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON
)));
37677 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR
)));
37680 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL
)));
37683 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL
)));
37686 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL
)));
37689 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS
)));
37692 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT
)));
37695 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE
)));
37698 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS
)));
37701 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT
)));
37704 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER
)));
37707 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN
)));
37710 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT
)));
37713 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT
)));
37715 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
37717 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES
)));
37720 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES
)));
37723 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)(wxLC_ICON
)));
37726 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON
)));
37729 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)(wxLC_LIST
)));
37732 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT
)));
37735 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP
)));
37738 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT
)));
37741 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE
)));
37744 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL
)));
37747 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS
)));
37750 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER
)));
37753 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER
)));
37756 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL
)));
37759 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING
)));
37762 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING
)));
37765 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE
)));
37768 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN
)));
37771 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT
)));
37774 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE
)));
37777 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT
)));
37780 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE
)));
37783 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA
)));
37786 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM
)));
37789 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH
)));
37792 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT
)));
37795 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE
)));
37798 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED
)));
37801 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED
)));
37804 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED
)));
37807 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT
)));
37810 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED
)));
37813 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED
)));
37816 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE
)));
37819 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED
)));
37822 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE
)));
37825 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE
)));
37828 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW
)));
37831 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE
)));
37834 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON
)));
37837 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL
)));
37840 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT
)));
37843 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON
)));
37846 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT
)));
37849 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT
)));
37852 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM
)));
37855 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE
)));
37858 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL
)));
37861 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW
)));
37864 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT
)));
37867 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT
)));
37870 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT
)));
37873 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT
)));
37876 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP
)));
37879 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID
)));
37882 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT
)));
37885 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT
)));
37888 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE
)));
37891 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER
)));
37894 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE
)));
37897 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER
)));
37900 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS
)));
37903 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON
)));
37906 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL
)));
37909 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP
)));
37912 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN
)));
37915 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT
)));
37918 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT
)));
37920 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
37921 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
37922 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
37923 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
37924 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
37925 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
37926 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
37927 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
37928 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
37929 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
37930 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
37931 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
37932 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
37933 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
37934 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
37935 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
37936 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
37937 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
37938 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
37939 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
37940 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
37941 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
37943 // Map renamed classes back to their common name for OOR
37944 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37946 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
37948 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS
)));
37951 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS
)));
37954 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES
)));
37957 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT
)));
37960 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE
)));
37963 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE
)));
37966 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED
)));
37969 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
37972 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS
)));
37975 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT
)));
37978 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES
)));
37981 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT
)));
37984 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE
)));
37987 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS
)));
37990 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS
)));
37993 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS
)));
37996 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal
)));
37999 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected
)));
38002 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded
)));
38005 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded
)));
38008 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max
)));
38011 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE
)));
38014 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW
)));
38017 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE
)));
38020 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON
)));
38023 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON
)));
38026 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT
)));
38029 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL
)));
38032 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT
)));
38035 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON
)));
38038 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT
)));
38041 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT
)));
38044 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART
)));
38047 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART
)));
38050 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM
)));
38052 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
38053 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
38054 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
38055 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
38056 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
38057 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
38058 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
38059 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
38060 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
38061 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
38062 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
38063 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
38064 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
38065 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
38066 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
38067 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
38068 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
38069 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
38070 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
38071 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
38072 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
38074 // Map renamed classes back to their common name for OOR
38075 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38076 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38078 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
38080 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY
)));
38083 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST
)));
38086 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS
)));
38089 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL
)));
38092 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS
)));
38095 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP
)));
38098 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP
)));
38100 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
38101 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
38103 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38105 SWIG_addvarlink(SWIG_globals
,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get
, _wrap_DatePickerCtrlNameStr_set
);
38107 PyDict_SetItemString(d
,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT
)));
38110 PyDict_SetItemString(d
,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN
)));
38113 PyDict_SetItemString(d
,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN
)));
38116 PyDict_SetItemString(d
,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY
)));
38119 PyDict_SetItemString(d
,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE
)));