1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1343 #define SWIGTYPE_p_wxSizer swig_types[1]
1344 #define SWIGTYPE_p_wxCheckBox swig_types[2]
1345 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
1346 #define SWIGTYPE_p_wxEvent swig_types[4]
1347 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
1348 #define SWIGTYPE_p_bool swig_types[6]
1349 #define SWIGTYPE_p_wxItemContainer swig_types[7]
1350 #define SWIGTYPE_p_wxPyListCtrl swig_types[8]
1351 #define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
1352 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
1353 #define SWIGTYPE_p_wxStaticLine swig_types[11]
1354 #define SWIGTYPE_p_wxControl swig_types[12]
1355 #define SWIGTYPE_p_wxPyControl swig_types[13]
1356 #define SWIGTYPE_p_wxGauge swig_types[14]
1357 #define SWIGTYPE_p_wxToolBarBase swig_types[15]
1358 #define SWIGTYPE_p_wxFont swig_types[16]
1359 #define SWIGTYPE_p_wxToggleButton swig_types[17]
1360 #define SWIGTYPE_p_wxRadioButton swig_types[18]
1361 #define SWIGTYPE_p_wxChoice swig_types[19]
1362 #define SWIGTYPE_p_wxMemoryDC swig_types[20]
1363 #define SWIGTYPE_ptrdiff_t swig_types[21]
1364 #define SWIGTYPE_std__ptrdiff_t swig_types[22]
1365 #define SWIGTYPE_p_wxListItemAttr swig_types[23]
1366 #define SWIGTYPE_p_void swig_types[24]
1367 #define SWIGTYPE_p_int swig_types[25]
1368 #define SWIGTYPE_p_wxSize swig_types[26]
1369 #define SWIGTYPE_p_wxDC swig_types[27]
1370 #define SWIGTYPE_p_wxListView swig_types[28]
1371 #define SWIGTYPE_p_wxIcon swig_types[29]
1372 #define SWIGTYPE_p_wxVisualAttributes swig_types[30]
1373 #define SWIGTYPE_p_wxTextCtrl swig_types[31]
1374 #define SWIGTYPE_p_wxNotebook swig_types[32]
1375 #define SWIGTYPE_p_wxChoicebook swig_types[33]
1376 #define SWIGTYPE_p_wxNotifyEvent swig_types[34]
1377 #define SWIGTYPE_p_wxArrayString swig_types[35]
1378 #define SWIGTYPE_p_form_ops_t swig_types[36]
1379 #define SWIGTYPE_p_wxListbook swig_types[37]
1380 #define SWIGTYPE_p_wxStaticBitmap swig_types[38]
1381 #define SWIGTYPE_p_wxSlider swig_types[39]
1382 #define SWIGTYPE_p_wxStaticBox swig_types[40]
1383 #define SWIGTYPE_p_wxArrayInt swig_types[41]
1384 #define SWIGTYPE_p_wxContextHelp swig_types[42]
1385 #define SWIGTYPE_p_long swig_types[43]
1386 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
1387 #define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
1388 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
1389 #define SWIGTYPE_p_wxListEvent swig_types[47]
1390 #define SWIGTYPE_p_wxCheckListBox swig_types[48]
1391 #define SWIGTYPE_p_wxListBox swig_types[49]
1392 #define SWIGTYPE_p_wxSpinButton swig_types[50]
1393 #define SWIGTYPE_p_wxButton swig_types[51]
1394 #define SWIGTYPE_p_wxBitmapButton swig_types[52]
1395 #define SWIGTYPE_p_wxRect swig_types[53]
1396 #define SWIGTYPE_p_wxContextHelpButton swig_types[54]
1397 #define SWIGTYPE_p_wxRadioBox swig_types[55]
1398 #define SWIGTYPE_p_wxScrollBar swig_types[56]
1399 #define SWIGTYPE_p_char swig_types[57]
1400 #define SWIGTYPE_p_wxComboBox swig_types[58]
1401 #define SWIGTYPE_p_wxTreeItemId swig_types[59]
1402 #define SWIGTYPE_p_wxHelpEvent swig_types[60]
1403 #define SWIGTYPE_p_wxListItem swig_types[61]
1404 #define SWIGTYPE_p_wxNotebookSizer swig_types[62]
1405 #define SWIGTYPE_p_wxSpinEvent swig_types[63]
1406 #define SWIGTYPE_p_wxGenericDragImage swig_types[64]
1407 #define SWIGTYPE_p_wxSpinCtrl swig_types[65]
1408 #define SWIGTYPE_p_wxPaperSize swig_types[66]
1409 #define SWIGTYPE_p_wxImageList swig_types[67]
1410 #define SWIGTYPE_p_wxHelpProvider swig_types[68]
1411 #define SWIGTYPE_p_wxTextAttr swig_types[69]
1412 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
1413 #define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
1414 #define SWIGTYPE_p_wxListbookEvent swig_types[72]
1415 #define SWIGTYPE_p_wxNotebookEvent swig_types[73]
1416 #define SWIGTYPE_p_wxPoint swig_types[74]
1417 #define SWIGTYPE_p_wxObject swig_types[75]
1418 #define SWIGTYPE_p_wxCursor swig_types[76]
1419 #define SWIGTYPE_p_wxDateTime swig_types[77]
1420 #define SWIGTYPE_p_wxKeyEvent swig_types[78]
1421 #define SWIGTYPE_p_unsigned_long swig_types[79]
1422 #define SWIGTYPE_p_wxWindow swig_types[80]
1423 #define SWIGTYPE_p_wxString swig_types[81]
1424 #define SWIGTYPE_p_wxBitmap swig_types[82]
1425 #define SWIGTYPE_unsigned_int swig_types[83]
1426 #define SWIGTYPE_p_unsigned_int swig_types[84]
1427 #define SWIGTYPE_p_unsigned_char swig_types[85]
1428 #define SWIGTYPE_p_wxMouseEvent swig_types[86]
1429 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[87]
1430 #define SWIGTYPE_p_wxTreeEvent swig_types[88]
1431 #define SWIGTYPE_p_wxCommandEvent swig_types[89]
1432 #define SWIGTYPE_p_wxStaticText swig_types[90]
1433 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[91]
1434 #define SWIGTYPE_p_wxControlWithItems swig_types[92]
1435 #define SWIGTYPE_p_wxToolBarToolBase swig_types[93]
1436 #define SWIGTYPE_p_wxColour swig_types[94]
1437 #define SWIGTYPE_p_wxToolBar swig_types[95]
1438 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[96]
1439 #define SWIGTYPE_p_wxValidator swig_types[97]
1440 static swig_type_info
*swig_types
[99];
1442 /* -------- TYPES TABLE (END) -------- */
1445 /*-----------------------------------------------
1446 @(target):= _controls_.so
1447 ------------------------------------------------*/
1448 #define SWIG_init init_controls_
1450 #define SWIG_name "_controls_"
1452 #include "wx/wxPython/wxPython.h"
1453 #include "wx/wxPython/pyclasses.h"
1455 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1456 static const wxString
wxPyEmptyString(wxEmptyString
);
1457 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1459 const wxArrayString wxPyEmptyStringArray
;
1461 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
1463 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1464 #define SWIG_From_int PyInt_FromLong
1472 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1475 if (value
< min_value
) {
1477 PyErr_Format(PyExc_OverflowError
,
1478 "value %ld is less than '%s' minimum %ld",
1479 value
, errmsg
, min_value
);
1482 } else if (value
> max_value
) {
1484 PyErr_Format(PyExc_OverflowError
,
1485 "value %ld is greater than '%s' maximum %ld",
1486 value
, errmsg
, max_value
);
1495 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1497 if (PyNumber_Check(obj
)) {
1498 if (val
) *val
= PyInt_AsLong(obj
);
1502 SWIG_type_error("number", obj
);
1508 #if INT_MAX != LONG_MAX
1510 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1512 const char* errmsg
= val
? "int" : (char*)0;
1514 if (SWIG_AsVal_long(obj
, &v
)) {
1515 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1516 if (val
) *val
= (int)(v
);
1525 SWIG_type_error(errmsg
, obj
);
1531 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1533 return SWIG_AsVal_long(obj
,(long*)val
);
1539 SWIG_As_int(PyObject
* obj
)
1542 if (!SWIG_AsVal_int(obj
, &v
)) {
1544 this is needed to make valgrind/purify happier.
1546 memset((void*)&v
, 0, sizeof(int));
1552 SWIGINTERNSHORT
long
1553 SWIG_As_long(PyObject
* obj
)
1556 if (!SWIG_AsVal_long(obj
, &v
)) {
1558 this is needed to make valgrind/purify happier.
1560 memset((void*)&v
, 0, sizeof(long));
1567 SWIG_Check_int(PyObject
* obj
)
1569 return SWIG_AsVal_int(obj
, (int*)0);
1574 SWIG_Check_long(PyObject
* obj
)
1576 return SWIG_AsVal_long(obj
, (long*)0);
1579 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
1582 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1584 if (obj
== Py_True
) {
1585 if (val
) *val
= true;
1588 if (obj
== Py_False
) {
1589 if (val
) *val
= false;
1593 if (SWIG_AsVal_int(obj
, &res
)) {
1594 if (val
) *val
= res
? true : false;
1600 SWIG_type_error("bool", obj
);
1606 SWIGINTERNSHORT
bool
1607 SWIG_As_bool(PyObject
* obj
)
1610 if (!SWIG_AsVal_bool(obj
, &v
)) {
1612 this is needed to make valgrind/purify happier.
1614 memset((void*)&v
, 0, sizeof(bool));
1621 SWIG_Check_bool(PyObject
* obj
)
1623 return SWIG_AsVal_bool(obj
, (bool*)0);
1626 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
1627 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
1629 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1630 #define SWIG_From_long PyInt_FromLong
1634 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1640 } else if (target
== Py_None
) {
1644 if (!PyTuple_Check(target
)) {
1646 target
= PyTuple_New(1);
1647 PyTuple_SetItem(target
, 0, o2
);
1649 o3
= PyTuple_New(1);
1650 PyTuple_SetItem(o3
, 0, o
);
1653 target
= PySequence_Concat(o2
, o3
);
1661 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
1662 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
1663 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
1664 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
1666 #include <wx/checklst.h>
1669 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
1670 static void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
1672 wxPyClientData
* data
= new wxPyClientData(clientData
);
1673 self
->Insert(item
, pos
, data
);
1675 self
->Insert(item
, pos
);
1677 static PyObject
*wxListBox_GetSelections(wxListBox
*self
){
1679 self
->GetSelections(lst
);
1680 PyObject
*tup
= PyTuple_New(lst
.GetCount());
1681 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
1682 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
1686 static void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1688 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1689 self
->GetItem(item
)->SetTextColour(c
);
1692 static void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1694 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1695 self
->GetItem(item
)->SetBackgroundColour(c
);
1698 static void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
1700 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1701 self
->GetItem(item
)->SetFont(f
);
1704 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
1707 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1710 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1711 SWIG_type_error("unsigned number", obj
);
1714 *val
= (unsigned long)v
;
1719 SWIGINTERNSHORT
unsigned long
1720 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1723 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1725 this is needed to make valgrind/purify happier.
1727 memset((void*)&v
, 0, sizeof(unsigned long));
1734 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1736 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1739 static void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
1740 self
->AppendText(text
);
1742 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
1743 return self
->GetValue().Mid(from
, to
- from
);
1745 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
1746 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
1747 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1748 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
1749 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
1750 static int wxRadioBox_GetColumnCount(wxRadioBox
const *self
){ return -1; }
1751 static int wxRadioBox_GetRowCount(wxRadioBox
const *self
){ return -1; }
1752 static int wxRadioBox_GetNextItem(wxRadioBox
const *self
,int item
,wxDirection dir
,long style
){ return -1; }
1754 #include <wx/slider.h>
1757 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
1758 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
1760 #if !wxUSE_TOGGLEBTN
1761 // implement dummy items for platforms that don't have this class
1763 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1765 class wxToggleButton
: public wxControl
1768 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
1769 const wxPoint
&, const wxSize
&, long,
1770 const wxValidator
&, const wxString
&)
1771 { wxPyRaiseNotImplemented(); }
1774 { wxPyRaiseNotImplemented(); }
1778 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
1780 SWIGINTERNSHORT PyObject
*
1781 SWIG_From_unsigned_SS_long(unsigned long value
)
1783 return (value
> LONG_MAX
) ?
1784 PyLong_FromUnsignedLong(value
)
1785 : PyInt_FromLong((long)(value
));
1788 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1789 static PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
1790 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
1792 Py_INCREF(udata
->m_obj
);
1793 return udata
->m_obj
;
1799 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
1800 self
->SetClientData(new wxPyUserData(clientData
));
1802 static wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
1803 wxPyUserData
* udata
= NULL
;
1804 if (clientData
&& clientData
!= Py_None
)
1805 udata
= new wxPyUserData(clientData
);
1806 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
1807 shortHelp
, longHelp
, udata
);
1809 static wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
1810 wxPyUserData
* udata
= NULL
;
1811 if (clientData
&& clientData
!= Py_None
)
1812 udata
= new wxPyUserData(clientData
);
1813 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
1814 shortHelp
, longHelp
, udata
);
1816 static PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
1817 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
1819 Py_INCREF(udata
->m_obj
);
1820 return udata
->m_obj
;
1826 static void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
1827 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
1830 #include <wx/listctrl.h>
1832 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
1833 static void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
1834 // Python aware sorting function for wxPyListCtrl
1835 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
1837 PyObject
* func
= (PyObject
*)funcPtr
;
1838 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1840 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
1841 PyObject
* result
= PyEval_CallObject(func
, args
);
1844 retval
= PyInt_AsLong(result
);
1848 wxPyEndBlockThreads(blocked
);
1852 // C++ Version of a Python aware class
1853 class wxPyListCtrl
: public wxListCtrl
{
1854 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
1856 wxPyListCtrl() : wxListCtrl() {}
1857 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
1861 const wxValidator
& validator
,
1862 const wxString
& name
) :
1863 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1865 bool Create(wxWindow
* parent
, wxWindowID id
,
1869 const wxValidator
& validator
,
1870 const wxString
& name
) {
1871 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1874 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
1875 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
1877 // use the virtual version to avoid a confusing assert in the base class
1878 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
1883 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
1885 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
1886 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
1887 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
1890 static wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
1892 item
.SetMask( wxLIST_MASK_STATE
|
1900 if (self
->GetColumn(col
, item
))
1901 return new wxListItem(item
);
1905 static wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
1906 wxListItem
* info
= new wxListItem
;
1907 info
->m_itemId
= itemId
;
1909 info
->m_mask
= 0xFFFF;
1910 self
->GetItem(*info
);
1913 static wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
1915 self
->GetItemPosition(item
, pos
);
1918 static wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
1920 self
->GetItemRect(item
, rect
, code
);
1924 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
1925 if (!PyCallable_Check(func
))
1927 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
1929 static wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
1933 return (wxWindow
*)self
->m_mainWin
;
1937 #include <wx/treectrl.h>
1938 #include "wx/wxPython/pytree.h"
1940 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1941 static bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
1942 static bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
1943 static void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
1944 // C++ version of Python aware wxTreeCtrl
1945 class wxPyTreeCtrl
: public wxTreeCtrl
{
1946 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
1948 wxPyTreeCtrl() : wxTreeCtrl() {}
1949 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
1953 const wxValidator
& validator
,
1954 const wxString
& name
) :
1955 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1957 bool Create(wxWindow
*parent
, wxWindowID id
,
1961 const wxValidator
& validator
,
1962 const wxString
& name
) {
1963 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1967 int OnCompareItems(const wxTreeItemId
& item1
,
1968 const wxTreeItemId
& item2
) {
1971 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1972 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
1973 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
1974 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
1975 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
1979 wxPyEndBlockThreads(blocked
);
1981 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
1987 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
1991 #if UINT_MAX < LONG_MAX
1992 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1993 #define SWIG_From_unsigned_SS_int SWIG_From_long
1996 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1997 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2003 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2004 unsigned long max_value
,
2007 if (value
> max_value
) {
2009 PyErr_Format(PyExc_OverflowError
,
2010 "value %lu is greater than '%s' minimum %lu",
2011 value
, errmsg
, max_value
);
2019 #if UINT_MAX != ULONG_MAX
2021 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2023 const char* errmsg
= val
? "unsigned int" : (char*)0;
2025 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2026 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2027 if (val
) *val
= (unsigned int)(v
);
2034 SWIG_type_error(errmsg
, obj
);
2039 SWIGINTERNSHORT
unsigned int
2040 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2042 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2047 SWIGINTERNSHORT
unsigned int
2048 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2051 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2053 this is needed to make valgrind/purify happier.
2055 memset((void*)&v
, 0, sizeof(unsigned int));
2062 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2064 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2067 static wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2068 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2070 data
= new wxPyTreeItemData();
2071 data
->SetId(item
); // set the id
2072 self
->SetItemData(item
, data
);
2076 static PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2077 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2079 data
= new wxPyTreeItemData();
2080 data
->SetId(item
); // set the id
2081 self
->SetItemData(item
, data
);
2083 return data
->GetData();
2085 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
2086 data
->SetId(item
); // set the id
2087 self
->SetItemData(item
, data
);
2089 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
2090 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2092 data
= new wxPyTreeItemData(obj
);
2093 data
->SetId(item
); // set the id
2094 self
->SetItemData(item
, data
);
2098 static PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
2099 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2100 PyObject
* rval
= PyList_New(0);
2101 wxArrayTreeItemIds array
;
2103 num
= self
->GetSelections(array
);
2104 for (x
=0; x
< num
; x
++) {
2105 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
2106 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
2107 PyList_Append(rval
, item
);
2110 wxPyEndBlockThreads(blocked
);
2113 static PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2115 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
2116 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2117 PyObject
* tup
= PyTuple_New(2);
2118 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2119 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2120 wxPyEndBlockThreads(blocked
);
2123 static PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
2124 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
2125 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2126 PyObject
* tup
= PyTuple_New(2);
2127 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2128 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2129 wxPyEndBlockThreads(blocked
);
2132 static PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
2134 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
2135 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2136 wxRect
* r
= new wxRect(rect
);
2137 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
2138 wxPyEndBlockThreads(blocked
);
2144 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
2146 SWIGINTERNSHORT PyObject
*
2147 SWIG_From_bool(bool value
)
2149 PyObject
*obj
= value
? Py_True
: Py_False
;
2155 // C++ version of Python aware wxControl
2156 class wxPyControl
: public wxControl
2158 DECLARE_DYNAMIC_CLASS(wxPyControl
)
2160 wxPyControl() : wxControl() {}
2161 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
2162 const wxPoint
& pos
= wxDefaultPosition
,
2163 const wxSize
& size
= wxDefaultSize
,
2165 const wxValidator
& validator
=wxDefaultValidator
,
2166 const wxString
& name
= wxPyControlNameStr
)
2167 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2169 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
2171 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2172 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2173 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2174 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2176 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2177 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2178 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2180 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2181 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2183 DEC_PYCALLBACK__(InitDialog
);
2184 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2185 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2186 DEC_PYCALLBACK_BOOL_(Validate
);
2188 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2189 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2190 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2192 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2193 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2195 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2196 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2198 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2203 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
2205 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
2206 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
2207 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
2208 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
2210 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
2211 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
2212 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
2214 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
2215 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
2217 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
2218 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
2219 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
2220 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
2222 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
2223 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
2224 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
2226 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
2227 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
2229 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
2230 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
2232 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
2236 static void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
2238 #include <wx/generic/dragimgg.h>
2240 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
2241 static wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
2243 self
->GetRange(&rv
, NULL
);
2246 static wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
2248 self
->GetRange(NULL
, &rv
);
2254 static int _wrap_ButtonNameStr_set(PyObject
*) {
2255 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
2260 static PyObject
*_wrap_ButtonNameStr_get(void) {
2265 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2267 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2274 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2275 PyObject
*resultobj
;
2276 wxWindow
*arg1
= (wxWindow
*) 0 ;
2277 int arg2
= (int) -1 ;
2278 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2279 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2280 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2281 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2282 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2283 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2284 long arg6
= (long) 0 ;
2285 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2286 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2287 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2288 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2290 bool temp3
= false ;
2293 bool temp8
= false ;
2294 PyObject
* obj0
= 0 ;
2295 PyObject
* obj1
= 0 ;
2296 PyObject
* obj2
= 0 ;
2297 PyObject
* obj3
= 0 ;
2298 PyObject
* obj4
= 0 ;
2299 PyObject
* obj5
= 0 ;
2300 PyObject
* obj6
= 0 ;
2301 PyObject
* obj7
= 0 ;
2303 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2308 if (SWIG_arg_fail(1)) SWIG_fail
;
2311 arg2
= (int)(SWIG_As_int(obj1
));
2312 if (SWIG_arg_fail(2)) SWIG_fail
;
2317 arg3
= wxString_in_helper(obj2
);
2318 if (arg3
== NULL
) SWIG_fail
;
2325 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2331 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2336 arg6
= (long)(SWIG_As_long(obj5
));
2337 if (SWIG_arg_fail(6)) SWIG_fail
;
2342 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2343 if (SWIG_arg_fail(7)) SWIG_fail
;
2345 SWIG_null_ref("wxValidator");
2347 if (SWIG_arg_fail(7)) SWIG_fail
;
2352 arg8
= wxString_in_helper(obj7
);
2353 if (arg8
== NULL
) SWIG_fail
;
2358 if (!wxPyCheckForApp()) SWIG_fail
;
2359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2360 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2362 wxPyEndAllowThreads(__tstate
);
2363 if (PyErr_Occurred()) SWIG_fail
;
2365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2388 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2389 PyObject
*resultobj
;
2395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
2397 if (!wxPyCheckForApp()) SWIG_fail
;
2398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2399 result
= (wxButton
*)new wxButton();
2401 wxPyEndAllowThreads(__tstate
);
2402 if (PyErr_Occurred()) SWIG_fail
;
2404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2411 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2412 PyObject
*resultobj
;
2413 wxButton
*arg1
= (wxButton
*) 0 ;
2414 wxWindow
*arg2
= (wxWindow
*) 0 ;
2415 int arg3
= (int) -1 ;
2416 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2417 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2418 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2419 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2420 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2421 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2422 long arg7
= (long) 0 ;
2423 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2424 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2425 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2426 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2428 bool temp4
= false ;
2431 bool temp9
= false ;
2432 PyObject
* obj0
= 0 ;
2433 PyObject
* obj1
= 0 ;
2434 PyObject
* obj2
= 0 ;
2435 PyObject
* obj3
= 0 ;
2436 PyObject
* obj4
= 0 ;
2437 PyObject
* obj5
= 0 ;
2438 PyObject
* obj6
= 0 ;
2439 PyObject
* obj7
= 0 ;
2440 PyObject
* obj8
= 0 ;
2442 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2447 if (SWIG_arg_fail(1)) SWIG_fail
;
2448 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2449 if (SWIG_arg_fail(2)) SWIG_fail
;
2452 arg3
= (int)(SWIG_As_int(obj2
));
2453 if (SWIG_arg_fail(3)) SWIG_fail
;
2458 arg4
= wxString_in_helper(obj3
);
2459 if (arg4
== NULL
) SWIG_fail
;
2466 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2472 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2477 arg7
= (long)(SWIG_As_long(obj6
));
2478 if (SWIG_arg_fail(7)) SWIG_fail
;
2483 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2484 if (SWIG_arg_fail(8)) SWIG_fail
;
2486 SWIG_null_ref("wxValidator");
2488 if (SWIG_arg_fail(8)) SWIG_fail
;
2493 arg9
= wxString_in_helper(obj8
);
2494 if (arg9
== NULL
) SWIG_fail
;
2499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2500 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2502 wxPyEndAllowThreads(__tstate
);
2503 if (PyErr_Occurred()) SWIG_fail
;
2506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2530 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2531 PyObject
*resultobj
;
2532 wxButton
*arg1
= (wxButton
*) 0 ;
2533 PyObject
* obj0
= 0 ;
2535 (char *) "self", NULL
2538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
2539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2540 if (SWIG_arg_fail(1)) SWIG_fail
;
2542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2543 (arg1
)->SetDefault();
2545 wxPyEndAllowThreads(__tstate
);
2546 if (PyErr_Occurred()) SWIG_fail
;
2548 Py_INCREF(Py_None
); resultobj
= Py_None
;
2555 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2556 PyObject
*resultobj
;
2562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
2564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2565 result
= wxButton::GetDefaultSize();
2567 wxPyEndAllowThreads(__tstate
);
2568 if (PyErr_Occurred()) SWIG_fail
;
2572 resultptr
= new wxSize((wxSize
&)(result
));
2573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2581 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2582 PyObject
*resultobj
;
2583 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2584 wxVisualAttributes result
;
2585 PyObject
* obj0
= 0 ;
2587 (char *) "variant", NULL
2590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2593 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2594 if (SWIG_arg_fail(1)) SWIG_fail
;
2598 if (!wxPyCheckForApp()) SWIG_fail
;
2599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2600 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2602 wxPyEndAllowThreads(__tstate
);
2603 if (PyErr_Occurred()) SWIG_fail
;
2606 wxVisualAttributes
* resultptr
;
2607 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2616 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
2618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2619 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
2621 return Py_BuildValue((char *)"");
2623 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2624 PyObject
*resultobj
;
2625 wxWindow
*arg1
= (wxWindow
*) 0 ;
2626 int arg2
= (int) -1 ;
2627 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
2628 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
2629 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2630 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2631 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2632 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2633 long arg6
= (long) wxBU_AUTODRAW
;
2634 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2635 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2636 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2637 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2638 wxBitmapButton
*result
;
2641 bool temp8
= false ;
2642 PyObject
* obj0
= 0 ;
2643 PyObject
* obj1
= 0 ;
2644 PyObject
* obj2
= 0 ;
2645 PyObject
* obj3
= 0 ;
2646 PyObject
* obj4
= 0 ;
2647 PyObject
* obj5
= 0 ;
2648 PyObject
* obj6
= 0 ;
2649 PyObject
* obj7
= 0 ;
2651 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2656 if (SWIG_arg_fail(1)) SWIG_fail
;
2659 arg2
= (int)(SWIG_As_int(obj1
));
2660 if (SWIG_arg_fail(2)) SWIG_fail
;
2665 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2666 if (SWIG_arg_fail(3)) SWIG_fail
;
2668 SWIG_null_ref("wxBitmap");
2670 if (SWIG_arg_fail(3)) SWIG_fail
;
2676 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2682 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2687 arg6
= (long)(SWIG_As_long(obj5
));
2688 if (SWIG_arg_fail(6)) SWIG_fail
;
2693 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2694 if (SWIG_arg_fail(7)) SWIG_fail
;
2696 SWIG_null_ref("wxValidator");
2698 if (SWIG_arg_fail(7)) SWIG_fail
;
2703 arg8
= wxString_in_helper(obj7
);
2704 if (arg8
== NULL
) SWIG_fail
;
2709 if (!wxPyCheckForApp()) SWIG_fail
;
2710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2711 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2713 wxPyEndAllowThreads(__tstate
);
2714 if (PyErr_Occurred()) SWIG_fail
;
2716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2731 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2732 PyObject
*resultobj
;
2733 wxBitmapButton
*result
;
2738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
2740 if (!wxPyCheckForApp()) SWIG_fail
;
2741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2742 result
= (wxBitmapButton
*)new wxBitmapButton();
2744 wxPyEndAllowThreads(__tstate
);
2745 if (PyErr_Occurred()) SWIG_fail
;
2747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2754 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2755 PyObject
*resultobj
;
2756 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2757 wxWindow
*arg2
= (wxWindow
*) 0 ;
2758 int arg3
= (int) -1 ;
2759 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
2760 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
2761 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2762 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2763 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2764 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2765 long arg7
= (long) wxBU_AUTODRAW
;
2766 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2767 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2768 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2769 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2773 bool temp9
= false ;
2774 PyObject
* obj0
= 0 ;
2775 PyObject
* obj1
= 0 ;
2776 PyObject
* obj2
= 0 ;
2777 PyObject
* obj3
= 0 ;
2778 PyObject
* obj4
= 0 ;
2779 PyObject
* obj5
= 0 ;
2780 PyObject
* obj6
= 0 ;
2781 PyObject
* obj7
= 0 ;
2782 PyObject
* obj8
= 0 ;
2784 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2789 if (SWIG_arg_fail(1)) SWIG_fail
;
2790 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2791 if (SWIG_arg_fail(2)) SWIG_fail
;
2794 arg3
= (int)(SWIG_As_int(obj2
));
2795 if (SWIG_arg_fail(3)) SWIG_fail
;
2800 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2801 if (SWIG_arg_fail(4)) SWIG_fail
;
2803 SWIG_null_ref("wxBitmap");
2805 if (SWIG_arg_fail(4)) SWIG_fail
;
2811 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2817 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2822 arg7
= (long)(SWIG_As_long(obj6
));
2823 if (SWIG_arg_fail(7)) SWIG_fail
;
2828 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2829 if (SWIG_arg_fail(8)) SWIG_fail
;
2831 SWIG_null_ref("wxValidator");
2833 if (SWIG_arg_fail(8)) SWIG_fail
;
2838 arg9
= wxString_in_helper(obj8
);
2839 if (arg9
== NULL
) SWIG_fail
;
2844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2845 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2847 wxPyEndAllowThreads(__tstate
);
2848 if (PyErr_Occurred()) SWIG_fail
;
2851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2867 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2868 PyObject
*resultobj
;
2869 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2871 PyObject
* obj0
= 0 ;
2873 (char *) "self", NULL
2876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
2877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2878 if (SWIG_arg_fail(1)) SWIG_fail
;
2880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2881 result
= (arg1
)->GetBitmapLabel();
2883 wxPyEndAllowThreads(__tstate
);
2884 if (PyErr_Occurred()) SWIG_fail
;
2887 wxBitmap
* resultptr
;
2888 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2889 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2897 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2898 PyObject
*resultobj
;
2899 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2901 PyObject
* obj0
= 0 ;
2903 (char *) "self", NULL
2906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
2907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2908 if (SWIG_arg_fail(1)) SWIG_fail
;
2910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2911 result
= (arg1
)->GetBitmapDisabled();
2913 wxPyEndAllowThreads(__tstate
);
2914 if (PyErr_Occurred()) SWIG_fail
;
2917 wxBitmap
* resultptr
;
2918 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2919 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2927 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2928 PyObject
*resultobj
;
2929 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2931 PyObject
* obj0
= 0 ;
2933 (char *) "self", NULL
2936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
2937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2938 if (SWIG_arg_fail(1)) SWIG_fail
;
2940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2941 result
= (arg1
)->GetBitmapFocus();
2943 wxPyEndAllowThreads(__tstate
);
2944 if (PyErr_Occurred()) SWIG_fail
;
2947 wxBitmap
* resultptr
;
2948 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2949 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2957 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2958 PyObject
*resultobj
;
2959 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2961 PyObject
* obj0
= 0 ;
2963 (char *) "self", NULL
2966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
2967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2968 if (SWIG_arg_fail(1)) SWIG_fail
;
2970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2971 result
= (arg1
)->GetBitmapSelected();
2973 wxPyEndAllowThreads(__tstate
);
2974 if (PyErr_Occurred()) SWIG_fail
;
2977 wxBitmap
* resultptr
;
2978 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2979 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2987 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2988 PyObject
*resultobj
;
2989 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2990 wxBitmap
*arg2
= 0 ;
2991 PyObject
* obj0
= 0 ;
2992 PyObject
* obj1
= 0 ;
2994 (char *) "self",(char *) "bitmap", NULL
2997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
2998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2999 if (SWIG_arg_fail(1)) SWIG_fail
;
3001 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3002 if (SWIG_arg_fail(2)) SWIG_fail
;
3004 SWIG_null_ref("wxBitmap");
3006 if (SWIG_arg_fail(2)) SWIG_fail
;
3009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3010 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
3012 wxPyEndAllowThreads(__tstate
);
3013 if (PyErr_Occurred()) SWIG_fail
;
3015 Py_INCREF(Py_None
); resultobj
= Py_None
;
3022 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3023 PyObject
*resultobj
;
3024 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3025 wxBitmap
*arg2
= 0 ;
3026 PyObject
* obj0
= 0 ;
3027 PyObject
* obj1
= 0 ;
3029 (char *) "self",(char *) "bitmap", NULL
3032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
3033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3034 if (SWIG_arg_fail(1)) SWIG_fail
;
3036 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3037 if (SWIG_arg_fail(2)) SWIG_fail
;
3039 SWIG_null_ref("wxBitmap");
3041 if (SWIG_arg_fail(2)) SWIG_fail
;
3044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3045 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
3047 wxPyEndAllowThreads(__tstate
);
3048 if (PyErr_Occurred()) SWIG_fail
;
3050 Py_INCREF(Py_None
); resultobj
= Py_None
;
3057 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3058 PyObject
*resultobj
;
3059 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3060 wxBitmap
*arg2
= 0 ;
3061 PyObject
* obj0
= 0 ;
3062 PyObject
* obj1
= 0 ;
3064 (char *) "self",(char *) "bitmap", NULL
3067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
3068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3069 if (SWIG_arg_fail(1)) SWIG_fail
;
3071 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3072 if (SWIG_arg_fail(2)) SWIG_fail
;
3074 SWIG_null_ref("wxBitmap");
3076 if (SWIG_arg_fail(2)) SWIG_fail
;
3079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3080 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
3082 wxPyEndAllowThreads(__tstate
);
3083 if (PyErr_Occurred()) SWIG_fail
;
3085 Py_INCREF(Py_None
); resultobj
= Py_None
;
3092 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3093 PyObject
*resultobj
;
3094 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3095 wxBitmap
*arg2
= 0 ;
3096 PyObject
* obj0
= 0 ;
3097 PyObject
* obj1
= 0 ;
3099 (char *) "self",(char *) "bitmap", NULL
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3104 if (SWIG_arg_fail(1)) SWIG_fail
;
3106 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3107 if (SWIG_arg_fail(2)) SWIG_fail
;
3109 SWIG_null_ref("wxBitmap");
3111 if (SWIG_arg_fail(2)) SWIG_fail
;
3114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3115 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
3117 wxPyEndAllowThreads(__tstate
);
3118 if (PyErr_Occurred()) SWIG_fail
;
3120 Py_INCREF(Py_None
); resultobj
= Py_None
;
3127 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3128 PyObject
*resultobj
;
3129 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3132 PyObject
* obj0
= 0 ;
3133 PyObject
* obj1
= 0 ;
3134 PyObject
* obj2
= 0 ;
3136 (char *) "self",(char *) "x",(char *) "y", NULL
3139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3141 if (SWIG_arg_fail(1)) SWIG_fail
;
3143 arg2
= (int)(SWIG_As_int(obj1
));
3144 if (SWIG_arg_fail(2)) SWIG_fail
;
3147 arg3
= (int)(SWIG_As_int(obj2
));
3148 if (SWIG_arg_fail(3)) SWIG_fail
;
3151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3152 (arg1
)->SetMargins(arg2
,arg3
);
3154 wxPyEndAllowThreads(__tstate
);
3155 if (PyErr_Occurred()) SWIG_fail
;
3157 Py_INCREF(Py_None
); resultobj
= Py_None
;
3164 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3165 PyObject
*resultobj
;
3166 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3168 PyObject
* obj0
= 0 ;
3170 (char *) "self", NULL
3173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
3174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3175 if (SWIG_arg_fail(1)) SWIG_fail
;
3177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3178 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
3180 wxPyEndAllowThreads(__tstate
);
3181 if (PyErr_Occurred()) SWIG_fail
;
3184 resultobj
= SWIG_From_int((int)(result
));
3192 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3193 PyObject
*resultobj
;
3194 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3196 PyObject
* obj0
= 0 ;
3198 (char *) "self", NULL
3201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
3202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3203 if (SWIG_arg_fail(1)) SWIG_fail
;
3205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3206 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
3208 wxPyEndAllowThreads(__tstate
);
3209 if (PyErr_Occurred()) SWIG_fail
;
3212 resultobj
= SWIG_From_int((int)(result
));
3220 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
3222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3223 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
3225 return Py_BuildValue((char *)"");
3227 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
3228 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
3233 static PyObject
*_wrap_CheckBoxNameStr_get(void) {
3238 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3240 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3247 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3248 PyObject
*resultobj
;
3249 wxWindow
*arg1
= (wxWindow
*) 0 ;
3250 int arg2
= (int) -1 ;
3251 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3252 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3253 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3254 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3255 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3256 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3257 long arg6
= (long) 0 ;
3258 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3259 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3260 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
3261 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3263 bool temp3
= false ;
3266 bool temp8
= false ;
3267 PyObject
* obj0
= 0 ;
3268 PyObject
* obj1
= 0 ;
3269 PyObject
* obj2
= 0 ;
3270 PyObject
* obj3
= 0 ;
3271 PyObject
* obj4
= 0 ;
3272 PyObject
* obj5
= 0 ;
3273 PyObject
* obj6
= 0 ;
3274 PyObject
* obj7
= 0 ;
3276 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3281 if (SWIG_arg_fail(1)) SWIG_fail
;
3284 arg2
= (int)(SWIG_As_int(obj1
));
3285 if (SWIG_arg_fail(2)) SWIG_fail
;
3290 arg3
= wxString_in_helper(obj2
);
3291 if (arg3
== NULL
) SWIG_fail
;
3298 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3304 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3309 arg6
= (long)(SWIG_As_long(obj5
));
3310 if (SWIG_arg_fail(6)) SWIG_fail
;
3315 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3316 if (SWIG_arg_fail(7)) SWIG_fail
;
3318 SWIG_null_ref("wxValidator");
3320 if (SWIG_arg_fail(7)) SWIG_fail
;
3325 arg8
= wxString_in_helper(obj7
);
3326 if (arg8
== NULL
) SWIG_fail
;
3331 if (!wxPyCheckForApp()) SWIG_fail
;
3332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3333 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3335 wxPyEndAllowThreads(__tstate
);
3336 if (PyErr_Occurred()) SWIG_fail
;
3338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3361 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
*resultobj
;
3368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
3370 if (!wxPyCheckForApp()) SWIG_fail
;
3371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3372 result
= (wxCheckBox
*)new wxCheckBox();
3374 wxPyEndAllowThreads(__tstate
);
3375 if (PyErr_Occurred()) SWIG_fail
;
3377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3384 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3385 PyObject
*resultobj
;
3386 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3387 wxWindow
*arg2
= (wxWindow
*) 0 ;
3388 int arg3
= (int) -1 ;
3389 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3390 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3391 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3392 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3393 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3394 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3395 long arg7
= (long) 0 ;
3396 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3397 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3398 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
3399 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3401 bool temp4
= false ;
3404 bool temp9
= false ;
3405 PyObject
* obj0
= 0 ;
3406 PyObject
* obj1
= 0 ;
3407 PyObject
* obj2
= 0 ;
3408 PyObject
* obj3
= 0 ;
3409 PyObject
* obj4
= 0 ;
3410 PyObject
* obj5
= 0 ;
3411 PyObject
* obj6
= 0 ;
3412 PyObject
* obj7
= 0 ;
3413 PyObject
* obj8
= 0 ;
3415 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3420 if (SWIG_arg_fail(1)) SWIG_fail
;
3421 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3422 if (SWIG_arg_fail(2)) SWIG_fail
;
3425 arg3
= (int)(SWIG_As_int(obj2
));
3426 if (SWIG_arg_fail(3)) SWIG_fail
;
3431 arg4
= wxString_in_helper(obj3
);
3432 if (arg4
== NULL
) SWIG_fail
;
3439 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3445 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3450 arg7
= (long)(SWIG_As_long(obj6
));
3451 if (SWIG_arg_fail(7)) SWIG_fail
;
3456 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3457 if (SWIG_arg_fail(8)) SWIG_fail
;
3459 SWIG_null_ref("wxValidator");
3461 if (SWIG_arg_fail(8)) SWIG_fail
;
3466 arg9
= wxString_in_helper(obj8
);
3467 if (arg9
== NULL
) SWIG_fail
;
3472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3473 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3475 wxPyEndAllowThreads(__tstate
);
3476 if (PyErr_Occurred()) SWIG_fail
;
3479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3503 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3504 PyObject
*resultobj
;
3505 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3507 PyObject
* obj0
= 0 ;
3509 (char *) "self", NULL
3512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
3513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3514 if (SWIG_arg_fail(1)) SWIG_fail
;
3516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3517 result
= (bool)(arg1
)->GetValue();
3519 wxPyEndAllowThreads(__tstate
);
3520 if (PyErr_Occurred()) SWIG_fail
;
3523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3531 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3532 PyObject
*resultobj
;
3533 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3535 PyObject
* obj0
= 0 ;
3537 (char *) "self", NULL
3540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
3541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3542 if (SWIG_arg_fail(1)) SWIG_fail
;
3544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3545 result
= (bool)(arg1
)->IsChecked();
3547 wxPyEndAllowThreads(__tstate
);
3548 if (PyErr_Occurred()) SWIG_fail
;
3551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3559 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3560 PyObject
*resultobj
;
3561 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3563 PyObject
* obj0
= 0 ;
3564 PyObject
* obj1
= 0 ;
3566 (char *) "self",(char *) "state", NULL
3569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3571 if (SWIG_arg_fail(1)) SWIG_fail
;
3573 arg2
= (bool const)(SWIG_As_bool(obj1
));
3574 if (SWIG_arg_fail(2)) SWIG_fail
;
3577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3578 (arg1
)->SetValue(arg2
);
3580 wxPyEndAllowThreads(__tstate
);
3581 if (PyErr_Occurred()) SWIG_fail
;
3583 Py_INCREF(Py_None
); resultobj
= Py_None
;
3590 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3591 PyObject
*resultobj
;
3592 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3593 wxCheckBoxState result
;
3594 PyObject
* obj0
= 0 ;
3596 (char *) "self", NULL
3599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
3600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3601 if (SWIG_arg_fail(1)) SWIG_fail
;
3603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3604 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
3606 wxPyEndAllowThreads(__tstate
);
3607 if (PyErr_Occurred()) SWIG_fail
;
3609 resultobj
= SWIG_From_int((result
));
3616 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3617 PyObject
*resultobj
;
3618 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3619 wxCheckBoxState arg2
;
3620 PyObject
* obj0
= 0 ;
3621 PyObject
* obj1
= 0 ;
3623 (char *) "self",(char *) "state", NULL
3626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3628 if (SWIG_arg_fail(1)) SWIG_fail
;
3630 arg2
= (wxCheckBoxState
)(SWIG_As_int(obj1
));
3631 if (SWIG_arg_fail(2)) SWIG_fail
;
3634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3635 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
3637 wxPyEndAllowThreads(__tstate
);
3638 if (PyErr_Occurred()) SWIG_fail
;
3640 Py_INCREF(Py_None
); resultobj
= Py_None
;
3647 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3648 PyObject
*resultobj
;
3649 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3651 PyObject
* obj0
= 0 ;
3653 (char *) "self", NULL
3656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
3657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3658 if (SWIG_arg_fail(1)) SWIG_fail
;
3660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3661 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
3663 wxPyEndAllowThreads(__tstate
);
3664 if (PyErr_Occurred()) SWIG_fail
;
3667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3675 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3676 PyObject
*resultobj
;
3677 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3679 PyObject
* obj0
= 0 ;
3681 (char *) "self", NULL
3684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
3685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3686 if (SWIG_arg_fail(1)) SWIG_fail
;
3688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3689 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
3691 wxPyEndAllowThreads(__tstate
);
3692 if (PyErr_Occurred()) SWIG_fail
;
3695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3703 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3704 PyObject
*resultobj
;
3705 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3706 wxVisualAttributes result
;
3707 PyObject
* obj0
= 0 ;
3709 (char *) "variant", NULL
3712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3715 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3716 if (SWIG_arg_fail(1)) SWIG_fail
;
3720 if (!wxPyCheckForApp()) SWIG_fail
;
3721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3722 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3724 wxPyEndAllowThreads(__tstate
);
3725 if (PyErr_Occurred()) SWIG_fail
;
3728 wxVisualAttributes
* resultptr
;
3729 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3730 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3738 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
3740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3741 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
3743 return Py_BuildValue((char *)"");
3745 static int _wrap_ChoiceNameStr_set(PyObject
*) {
3746 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
3751 static PyObject
*_wrap_ChoiceNameStr_get(void) {
3756 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3758 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3765 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3766 PyObject
*resultobj
;
3767 wxWindow
*arg1
= (wxWindow
*) 0 ;
3768 int arg2
= (int) -1 ;
3769 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3770 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3771 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3772 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3773 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
3774 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
3775 long arg6
= (long) 0 ;
3776 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3777 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3778 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
3779 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3783 bool temp5
= false ;
3784 bool temp8
= false ;
3785 PyObject
* obj0
= 0 ;
3786 PyObject
* obj1
= 0 ;
3787 PyObject
* obj2
= 0 ;
3788 PyObject
* obj3
= 0 ;
3789 PyObject
* obj4
= 0 ;
3790 PyObject
* obj5
= 0 ;
3791 PyObject
* obj6
= 0 ;
3792 PyObject
* obj7
= 0 ;
3794 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3799 if (SWIG_arg_fail(1)) SWIG_fail
;
3802 arg2
= (int)(SWIG_As_int(obj1
));
3803 if (SWIG_arg_fail(2)) SWIG_fail
;
3809 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3815 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3820 if (! PySequence_Check(obj4
)) {
3821 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3824 arg5
= new wxArrayString
;
3826 int i
, len
=PySequence_Length(obj4
);
3827 for (i
=0; i
<len
; i
++) {
3828 PyObject
* item
= PySequence_GetItem(obj4
, i
);
3829 wxString
* s
= wxString_in_helper(item
);
3830 if (PyErr_Occurred()) SWIG_fail
;
3839 arg6
= (long)(SWIG_As_long(obj5
));
3840 if (SWIG_arg_fail(6)) SWIG_fail
;
3845 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3846 if (SWIG_arg_fail(7)) SWIG_fail
;
3848 SWIG_null_ref("wxValidator");
3850 if (SWIG_arg_fail(7)) SWIG_fail
;
3855 arg8
= wxString_in_helper(obj7
);
3856 if (arg8
== NULL
) SWIG_fail
;
3861 if (!wxPyCheckForApp()) SWIG_fail
;
3862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3863 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3865 wxPyEndAllowThreads(__tstate
);
3866 if (PyErr_Occurred()) SWIG_fail
;
3868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3870 if (temp5
) delete arg5
;
3879 if (temp5
) delete arg5
;
3889 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3890 PyObject
*resultobj
;
3896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
3898 if (!wxPyCheckForApp()) SWIG_fail
;
3899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3900 result
= (wxChoice
*)new wxChoice();
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) SWIG_fail
;
3905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3912 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
*resultobj
;
3914 wxChoice
*arg1
= (wxChoice
*) 0 ;
3915 wxWindow
*arg2
= (wxWindow
*) 0 ;
3916 int arg3
= (int) -1 ;
3917 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3918 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3919 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3920 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3921 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3922 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3923 long arg7
= (long) 0 ;
3924 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3925 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3926 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
3927 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3931 bool temp6
= false ;
3932 bool temp9
= false ;
3933 PyObject
* obj0
= 0 ;
3934 PyObject
* obj1
= 0 ;
3935 PyObject
* obj2
= 0 ;
3936 PyObject
* obj3
= 0 ;
3937 PyObject
* obj4
= 0 ;
3938 PyObject
* obj5
= 0 ;
3939 PyObject
* obj6
= 0 ;
3940 PyObject
* obj7
= 0 ;
3941 PyObject
* obj8
= 0 ;
3943 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
3948 if (SWIG_arg_fail(1)) SWIG_fail
;
3949 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3950 if (SWIG_arg_fail(2)) SWIG_fail
;
3953 arg3
= (int)(SWIG_As_int(obj2
));
3954 if (SWIG_arg_fail(3)) SWIG_fail
;
3960 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3966 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3971 if (! PySequence_Check(obj5
)) {
3972 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3975 arg6
= new wxArrayString
;
3977 int i
, len
=PySequence_Length(obj5
);
3978 for (i
=0; i
<len
; i
++) {
3979 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3980 wxString
* s
= wxString_in_helper(item
);
3981 if (PyErr_Occurred()) SWIG_fail
;
3990 arg7
= (long)(SWIG_As_long(obj6
));
3991 if (SWIG_arg_fail(7)) SWIG_fail
;
3996 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3997 if (SWIG_arg_fail(8)) SWIG_fail
;
3999 SWIG_null_ref("wxValidator");
4001 if (SWIG_arg_fail(8)) SWIG_fail
;
4006 arg9
= wxString_in_helper(obj8
);
4007 if (arg9
== NULL
) SWIG_fail
;
4012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4015 wxPyEndAllowThreads(__tstate
);
4016 if (PyErr_Occurred()) SWIG_fail
;
4019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4022 if (temp6
) delete arg6
;
4031 if (temp6
) delete arg6
;
4041 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4042 PyObject
*resultobj
;
4043 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4044 wxVisualAttributes result
;
4045 PyObject
* obj0
= 0 ;
4047 (char *) "variant", NULL
4050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4053 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
4054 if (SWIG_arg_fail(1)) SWIG_fail
;
4058 if (!wxPyCheckForApp()) SWIG_fail
;
4059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4060 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4062 wxPyEndAllowThreads(__tstate
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4066 wxVisualAttributes
* resultptr
;
4067 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
4068 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4076 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
4078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4079 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
4081 return Py_BuildValue((char *)"");
4083 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
4084 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
4089 static PyObject
*_wrap_ComboBoxNameStr_get(void) {
4094 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4096 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4103 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4104 PyObject
*resultobj
;
4105 wxWindow
*arg1
= (wxWindow
*) 0 ;
4106 int arg2
= (int) -1 ;
4107 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4108 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4109 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4110 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4111 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4112 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4113 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4114 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4115 long arg7
= (long) 0 ;
4116 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4117 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4118 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
4119 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4121 bool temp3
= false ;
4124 bool temp6
= false ;
4125 bool temp9
= false ;
4126 PyObject
* obj0
= 0 ;
4127 PyObject
* obj1
= 0 ;
4128 PyObject
* obj2
= 0 ;
4129 PyObject
* obj3
= 0 ;
4130 PyObject
* obj4
= 0 ;
4131 PyObject
* obj5
= 0 ;
4132 PyObject
* obj6
= 0 ;
4133 PyObject
* obj7
= 0 ;
4134 PyObject
* obj8
= 0 ;
4136 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4141 if (SWIG_arg_fail(1)) SWIG_fail
;
4144 arg2
= (int)(SWIG_As_int(obj1
));
4145 if (SWIG_arg_fail(2)) SWIG_fail
;
4150 arg3
= wxString_in_helper(obj2
);
4151 if (arg3
== NULL
) SWIG_fail
;
4158 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4164 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4169 if (! PySequence_Check(obj5
)) {
4170 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4173 arg6
= new wxArrayString
;
4175 int i
, len
=PySequence_Length(obj5
);
4176 for (i
=0; i
<len
; i
++) {
4177 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4178 wxString
* s
= wxString_in_helper(item
);
4179 if (PyErr_Occurred()) SWIG_fail
;
4188 arg7
= (long)(SWIG_As_long(obj6
));
4189 if (SWIG_arg_fail(7)) SWIG_fail
;
4194 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4195 if (SWIG_arg_fail(8)) SWIG_fail
;
4197 SWIG_null_ref("wxValidator");
4199 if (SWIG_arg_fail(8)) SWIG_fail
;
4204 arg9
= wxString_in_helper(obj8
);
4205 if (arg9
== NULL
) SWIG_fail
;
4210 if (!wxPyCheckForApp()) SWIG_fail
;
4211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4212 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
);
4214 wxPyEndAllowThreads(__tstate
);
4215 if (PyErr_Occurred()) SWIG_fail
;
4217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4223 if (temp6
) delete arg6
;
4236 if (temp6
) delete arg6
;
4246 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4247 PyObject
*resultobj
;
4253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
4255 if (!wxPyCheckForApp()) SWIG_fail
;
4256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4257 result
= (wxComboBox
*)new wxComboBox();
4259 wxPyEndAllowThreads(__tstate
);
4260 if (PyErr_Occurred()) SWIG_fail
;
4262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4269 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
*resultobj
;
4271 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4272 wxWindow
*arg2
= (wxWindow
*) 0 ;
4273 int arg3
= (int) -1 ;
4274 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4275 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4276 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4277 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4278 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4279 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4280 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
4281 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
4282 long arg8
= (long) 0 ;
4283 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4284 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4285 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
4286 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4288 bool temp4
= false ;
4291 bool temp7
= false ;
4292 bool temp10
= false ;
4293 PyObject
* obj0
= 0 ;
4294 PyObject
* obj1
= 0 ;
4295 PyObject
* obj2
= 0 ;
4296 PyObject
* obj3
= 0 ;
4297 PyObject
* obj4
= 0 ;
4298 PyObject
* obj5
= 0 ;
4299 PyObject
* obj6
= 0 ;
4300 PyObject
* obj7
= 0 ;
4301 PyObject
* obj8
= 0 ;
4302 PyObject
* obj9
= 0 ;
4304 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
4308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4309 if (SWIG_arg_fail(1)) SWIG_fail
;
4310 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4311 if (SWIG_arg_fail(2)) SWIG_fail
;
4314 arg3
= (int)(SWIG_As_int(obj2
));
4315 if (SWIG_arg_fail(3)) SWIG_fail
;
4320 arg4
= wxString_in_helper(obj3
);
4321 if (arg4
== NULL
) SWIG_fail
;
4328 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4334 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4339 if (! PySequence_Check(obj6
)) {
4340 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4343 arg7
= new wxArrayString
;
4345 int i
, len
=PySequence_Length(obj6
);
4346 for (i
=0; i
<len
; i
++) {
4347 PyObject
* item
= PySequence_GetItem(obj6
, i
);
4348 wxString
* s
= wxString_in_helper(item
);
4349 if (PyErr_Occurred()) SWIG_fail
;
4358 arg8
= (long)(SWIG_As_long(obj7
));
4359 if (SWIG_arg_fail(8)) SWIG_fail
;
4364 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4365 if (SWIG_arg_fail(9)) SWIG_fail
;
4367 SWIG_null_ref("wxValidator");
4369 if (SWIG_arg_fail(9)) SWIG_fail
;
4374 arg10
= wxString_in_helper(obj9
);
4375 if (arg10
== NULL
) SWIG_fail
;
4380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4381 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
);
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) SWIG_fail
;
4387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4394 if (temp7
) delete arg7
;
4407 if (temp7
) delete arg7
;
4417 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4418 PyObject
*resultobj
;
4419 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4421 PyObject
* obj0
= 0 ;
4423 (char *) "self", NULL
4426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
4427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4428 if (SWIG_arg_fail(1)) SWIG_fail
;
4430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4431 result
= ((wxComboBox
const *)arg1
)->GetValue();
4433 wxPyEndAllowThreads(__tstate
);
4434 if (PyErr_Occurred()) SWIG_fail
;
4438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4449 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4450 PyObject
*resultobj
;
4451 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4452 wxString
*arg2
= 0 ;
4453 bool temp2
= false ;
4454 PyObject
* obj0
= 0 ;
4455 PyObject
* obj1
= 0 ;
4457 (char *) "self",(char *) "value", NULL
4460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4462 if (SWIG_arg_fail(1)) SWIG_fail
;
4464 arg2
= wxString_in_helper(obj1
);
4465 if (arg2
== NULL
) SWIG_fail
;
4469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4470 (arg1
)->SetValue((wxString
const &)*arg2
);
4472 wxPyEndAllowThreads(__tstate
);
4473 if (PyErr_Occurred()) SWIG_fail
;
4475 Py_INCREF(Py_None
); resultobj
= Py_None
;
4490 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
*resultobj
;
4492 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4493 PyObject
* obj0
= 0 ;
4495 (char *) "self", NULL
4498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
4499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4500 if (SWIG_arg_fail(1)) SWIG_fail
;
4502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 wxPyEndAllowThreads(__tstate
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4508 Py_INCREF(Py_None
); resultobj
= Py_None
;
4515 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4516 PyObject
*resultobj
;
4517 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4518 PyObject
* obj0
= 0 ;
4520 (char *) "self", NULL
4523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
4524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4525 if (SWIG_arg_fail(1)) SWIG_fail
;
4527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4530 wxPyEndAllowThreads(__tstate
);
4531 if (PyErr_Occurred()) SWIG_fail
;
4533 Py_INCREF(Py_None
); resultobj
= Py_None
;
4540 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4541 PyObject
*resultobj
;
4542 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4543 PyObject
* obj0
= 0 ;
4545 (char *) "self", NULL
4548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
4549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4550 if (SWIG_arg_fail(1)) SWIG_fail
;
4552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4555 wxPyEndAllowThreads(__tstate
);
4556 if (PyErr_Occurred()) SWIG_fail
;
4558 Py_INCREF(Py_None
); resultobj
= Py_None
;
4565 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
*resultobj
;
4567 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4569 PyObject
* obj0
= 0 ;
4570 PyObject
* obj1
= 0 ;
4572 (char *) "self",(char *) "pos", NULL
4575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4577 if (SWIG_arg_fail(1)) SWIG_fail
;
4579 arg2
= (long)(SWIG_As_long(obj1
));
4580 if (SWIG_arg_fail(2)) SWIG_fail
;
4583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4584 (arg1
)->SetInsertionPoint(arg2
);
4586 wxPyEndAllowThreads(__tstate
);
4587 if (PyErr_Occurred()) SWIG_fail
;
4589 Py_INCREF(Py_None
); resultobj
= Py_None
;
4596 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4597 PyObject
*resultobj
;
4598 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4600 PyObject
* obj0
= 0 ;
4602 (char *) "self", NULL
4605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
4606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4607 if (SWIG_arg_fail(1)) SWIG_fail
;
4609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4610 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
4612 wxPyEndAllowThreads(__tstate
);
4613 if (PyErr_Occurred()) SWIG_fail
;
4616 resultobj
= SWIG_From_long((long)(result
));
4624 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
*resultobj
;
4626 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4628 PyObject
* obj0
= 0 ;
4630 (char *) "self", NULL
4633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
4634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4635 if (SWIG_arg_fail(1)) SWIG_fail
;
4637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4638 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
4640 wxPyEndAllowThreads(__tstate
);
4641 if (PyErr_Occurred()) SWIG_fail
;
4644 resultobj
= SWIG_From_long((long)(result
));
4652 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4653 PyObject
*resultobj
;
4654 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4657 wxString
*arg4
= 0 ;
4658 bool temp4
= false ;
4659 PyObject
* obj0
= 0 ;
4660 PyObject
* obj1
= 0 ;
4661 PyObject
* obj2
= 0 ;
4662 PyObject
* obj3
= 0 ;
4664 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4669 if (SWIG_arg_fail(1)) SWIG_fail
;
4671 arg2
= (long)(SWIG_As_long(obj1
));
4672 if (SWIG_arg_fail(2)) SWIG_fail
;
4675 arg3
= (long)(SWIG_As_long(obj2
));
4676 if (SWIG_arg_fail(3)) SWIG_fail
;
4679 arg4
= wxString_in_helper(obj3
);
4680 if (arg4
== NULL
) SWIG_fail
;
4684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4685 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
4687 wxPyEndAllowThreads(__tstate
);
4688 if (PyErr_Occurred()) SWIG_fail
;
4690 Py_INCREF(Py_None
); resultobj
= Py_None
;
4705 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4706 PyObject
*resultobj
;
4707 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4709 PyObject
* obj0
= 0 ;
4710 PyObject
* obj1
= 0 ;
4712 (char *) "self",(char *) "n", NULL
4715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4717 if (SWIG_arg_fail(1)) SWIG_fail
;
4719 arg2
= (int)(SWIG_As_int(obj1
));
4720 if (SWIG_arg_fail(2)) SWIG_fail
;
4723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4724 (arg1
)->SetSelection(arg2
);
4726 wxPyEndAllowThreads(__tstate
);
4727 if (PyErr_Occurred()) SWIG_fail
;
4729 Py_INCREF(Py_None
); resultobj
= Py_None
;
4736 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4737 PyObject
*resultobj
;
4738 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4741 PyObject
* obj0
= 0 ;
4742 PyObject
* obj1
= 0 ;
4743 PyObject
* obj2
= 0 ;
4745 (char *) "self",(char *) "from",(char *) "to", NULL
4748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4750 if (SWIG_arg_fail(1)) SWIG_fail
;
4752 arg2
= (long)(SWIG_As_long(obj1
));
4753 if (SWIG_arg_fail(2)) SWIG_fail
;
4756 arg3
= (long)(SWIG_As_long(obj2
));
4757 if (SWIG_arg_fail(3)) SWIG_fail
;
4760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4761 (arg1
)->SetSelection(arg2
,arg3
);
4763 wxPyEndAllowThreads(__tstate
);
4764 if (PyErr_Occurred()) SWIG_fail
;
4766 Py_INCREF(Py_None
); resultobj
= Py_None
;
4773 static PyObject
*_wrap_ComboBox_GetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4774 PyObject
*resultobj
;
4775 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4776 long *arg2
= (long *) 0 ;
4777 long *arg3
= (long *) 0 ;
4782 PyObject
* obj0
= 0 ;
4784 (char *) "self", NULL
4787 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4788 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetMark",kwnames
,&obj0
)) goto fail
;
4790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4791 if (SWIG_arg_fail(1)) SWIG_fail
;
4793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4794 (arg1
)->GetSelection(arg2
,arg3
);
4796 wxPyEndAllowThreads(__tstate
);
4797 if (PyErr_Occurred()) SWIG_fail
;
4799 Py_INCREF(Py_None
); resultobj
= Py_None
;
4800 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4801 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
4802 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4803 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
4810 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4811 PyObject
*resultobj
;
4812 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4813 wxString
*arg2
= 0 ;
4815 bool temp2
= false ;
4816 PyObject
* obj0
= 0 ;
4817 PyObject
* obj1
= 0 ;
4819 (char *) "self",(char *) "string", NULL
4822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4824 if (SWIG_arg_fail(1)) SWIG_fail
;
4826 arg2
= wxString_in_helper(obj1
);
4827 if (arg2
== NULL
) SWIG_fail
;
4831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4832 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
4834 wxPyEndAllowThreads(__tstate
);
4835 if (PyErr_Occurred()) SWIG_fail
;
4838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4854 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4855 PyObject
*resultobj
;
4856 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4858 wxString
*arg3
= 0 ;
4859 bool temp3
= false ;
4860 PyObject
* obj0
= 0 ;
4861 PyObject
* obj1
= 0 ;
4862 PyObject
* obj2
= 0 ;
4864 (char *) "self",(char *) "n",(char *) "string", NULL
4867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4869 if (SWIG_arg_fail(1)) SWIG_fail
;
4871 arg2
= (int)(SWIG_As_int(obj1
));
4872 if (SWIG_arg_fail(2)) SWIG_fail
;
4875 arg3
= wxString_in_helper(obj2
);
4876 if (arg3
== NULL
) SWIG_fail
;
4880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4881 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
4883 wxPyEndAllowThreads(__tstate
);
4884 if (PyErr_Occurred()) SWIG_fail
;
4886 Py_INCREF(Py_None
); resultobj
= Py_None
;
4901 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4902 PyObject
*resultobj
;
4903 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4905 PyObject
* obj0
= 0 ;
4906 PyObject
* obj1
= 0 ;
4908 (char *) "self",(char *) "editable", NULL
4911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
4912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4913 if (SWIG_arg_fail(1)) SWIG_fail
;
4915 arg2
= (bool)(SWIG_As_bool(obj1
));
4916 if (SWIG_arg_fail(2)) SWIG_fail
;
4919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4920 (arg1
)->SetEditable(arg2
);
4922 wxPyEndAllowThreads(__tstate
);
4923 if (PyErr_Occurred()) SWIG_fail
;
4925 Py_INCREF(Py_None
); resultobj
= Py_None
;
4932 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4933 PyObject
*resultobj
;
4934 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4935 PyObject
* obj0
= 0 ;
4937 (char *) "self", NULL
4940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
4941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4942 if (SWIG_arg_fail(1)) SWIG_fail
;
4944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4945 (arg1
)->SetInsertionPointEnd();
4947 wxPyEndAllowThreads(__tstate
);
4948 if (PyErr_Occurred()) SWIG_fail
;
4950 Py_INCREF(Py_None
); resultobj
= Py_None
;
4957 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4958 PyObject
*resultobj
;
4959 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4962 PyObject
* obj0
= 0 ;
4963 PyObject
* obj1
= 0 ;
4964 PyObject
* obj2
= 0 ;
4966 (char *) "self",(char *) "from",(char *) "to", NULL
4969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4971 if (SWIG_arg_fail(1)) SWIG_fail
;
4973 arg2
= (long)(SWIG_As_long(obj1
));
4974 if (SWIG_arg_fail(2)) SWIG_fail
;
4977 arg3
= (long)(SWIG_As_long(obj2
));
4978 if (SWIG_arg_fail(3)) SWIG_fail
;
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 (arg1
)->Remove(arg2
,arg3
);
4984 wxPyEndAllowThreads(__tstate
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4987 Py_INCREF(Py_None
); resultobj
= Py_None
;
4994 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
*resultobj
;
4996 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4998 PyObject
* obj0
= 0 ;
5000 (char *) "self", NULL
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
5004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5005 if (SWIG_arg_fail(1)) SWIG_fail
;
5007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
5010 wxPyEndAllowThreads(__tstate
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5022 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
*resultobj
;
5024 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5025 PyObject
* obj0
= 0 ;
5027 (char *) "self", NULL
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
5031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5032 if (SWIG_arg_fail(1)) SWIG_fail
;
5034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 wxPyEndAllowThreads(__tstate
);
5038 if (PyErr_Occurred()) SWIG_fail
;
5040 Py_INCREF(Py_None
); resultobj
= Py_None
;
5047 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5048 PyObject
*resultobj
;
5049 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5050 PyObject
* obj0
= 0 ;
5052 (char *) "self", NULL
5055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5057 if (SWIG_arg_fail(1)) SWIG_fail
;
5059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5062 wxPyEndAllowThreads(__tstate
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5065 Py_INCREF(Py_None
); resultobj
= Py_None
;
5072 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
*resultobj
;
5074 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5075 PyObject
* obj0
= 0 ;
5077 (char *) "self", NULL
5080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5082 if (SWIG_arg_fail(1)) SWIG_fail
;
5084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5085 (arg1
)->SelectAll();
5087 wxPyEndAllowThreads(__tstate
);
5088 if (PyErr_Occurred()) SWIG_fail
;
5090 Py_INCREF(Py_None
); resultobj
= Py_None
;
5097 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5098 PyObject
*resultobj
;
5099 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5101 PyObject
* obj0
= 0 ;
5103 (char *) "self", NULL
5106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
5107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5108 if (SWIG_arg_fail(1)) SWIG_fail
;
5110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5111 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
5113 wxPyEndAllowThreads(__tstate
);
5114 if (PyErr_Occurred()) SWIG_fail
;
5117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5125 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
*resultobj
;
5127 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5129 PyObject
* obj0
= 0 ;
5131 (char *) "self", NULL
5134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5136 if (SWIG_arg_fail(1)) SWIG_fail
;
5138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5139 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5141 wxPyEndAllowThreads(__tstate
);
5142 if (PyErr_Occurred()) SWIG_fail
;
5145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5153 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5154 PyObject
*resultobj
;
5155 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5157 PyObject
* obj0
= 0 ;
5159 (char *) "self", NULL
5162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5164 if (SWIG_arg_fail(1)) SWIG_fail
;
5166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5167 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5169 wxPyEndAllowThreads(__tstate
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5181 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5182 PyObject
*resultobj
;
5183 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5185 PyObject
* obj0
= 0 ;
5187 (char *) "self", NULL
5190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5192 if (SWIG_arg_fail(1)) SWIG_fail
;
5194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5195 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5209 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5210 PyObject
*resultobj
;
5211 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5213 PyObject
* obj0
= 0 ;
5215 (char *) "self", NULL
5218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
5219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5220 if (SWIG_arg_fail(1)) SWIG_fail
;
5222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5223 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5237 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5238 PyObject
*resultobj
;
5239 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5240 wxVisualAttributes result
;
5241 PyObject
* obj0
= 0 ;
5243 (char *) "variant", NULL
5246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5249 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5250 if (SWIG_arg_fail(1)) SWIG_fail
;
5254 if (!wxPyCheckForApp()) SWIG_fail
;
5255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5256 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5258 wxPyEndAllowThreads(__tstate
);
5259 if (PyErr_Occurred()) SWIG_fail
;
5262 wxVisualAttributes
* resultptr
;
5263 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5264 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5272 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5275 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5277 return Py_BuildValue((char *)"");
5279 static int _wrap_GaugeNameStr_set(PyObject
*) {
5280 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5285 static PyObject
*_wrap_GaugeNameStr_get(void) {
5290 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5292 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5299 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5300 PyObject
*resultobj
;
5301 wxWindow
*arg1
= (wxWindow
*) 0 ;
5302 int arg2
= (int) -1 ;
5303 int arg3
= (int) 100 ;
5304 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5305 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5306 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5307 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5308 long arg6
= (long) wxGA_HORIZONTAL
;
5309 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5310 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5311 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5312 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5316 bool temp8
= false ;
5317 PyObject
* obj0
= 0 ;
5318 PyObject
* obj1
= 0 ;
5319 PyObject
* obj2
= 0 ;
5320 PyObject
* obj3
= 0 ;
5321 PyObject
* obj4
= 0 ;
5322 PyObject
* obj5
= 0 ;
5323 PyObject
* obj6
= 0 ;
5324 PyObject
* obj7
= 0 ;
5326 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5331 if (SWIG_arg_fail(1)) SWIG_fail
;
5334 arg2
= (int)(SWIG_As_int(obj1
));
5335 if (SWIG_arg_fail(2)) SWIG_fail
;
5340 arg3
= (int)(SWIG_As_int(obj2
));
5341 if (SWIG_arg_fail(3)) SWIG_fail
;
5347 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5353 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5358 arg6
= (long)(SWIG_As_long(obj5
));
5359 if (SWIG_arg_fail(6)) SWIG_fail
;
5364 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5365 if (SWIG_arg_fail(7)) SWIG_fail
;
5367 SWIG_null_ref("wxValidator");
5369 if (SWIG_arg_fail(7)) SWIG_fail
;
5374 arg8
= wxString_in_helper(obj7
);
5375 if (arg8
== NULL
) SWIG_fail
;
5380 if (!wxPyCheckForApp()) SWIG_fail
;
5381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5382 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5384 wxPyEndAllowThreads(__tstate
);
5385 if (PyErr_Occurred()) SWIG_fail
;
5387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5402 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5403 PyObject
*resultobj
;
5409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5411 if (!wxPyCheckForApp()) SWIG_fail
;
5412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5413 result
= (wxGauge
*)new wxGauge();
5415 wxPyEndAllowThreads(__tstate
);
5416 if (PyErr_Occurred()) SWIG_fail
;
5418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5425 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
*resultobj
;
5427 wxGauge
*arg1
= (wxGauge
*) 0 ;
5428 wxWindow
*arg2
= (wxWindow
*) 0 ;
5429 int arg3
= (int) -1 ;
5430 int arg4
= (int) 100 ;
5431 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5432 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5433 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5434 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5435 long arg7
= (long) wxGA_HORIZONTAL
;
5436 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5437 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5438 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5439 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5443 bool temp9
= false ;
5444 PyObject
* obj0
= 0 ;
5445 PyObject
* obj1
= 0 ;
5446 PyObject
* obj2
= 0 ;
5447 PyObject
* obj3
= 0 ;
5448 PyObject
* obj4
= 0 ;
5449 PyObject
* obj5
= 0 ;
5450 PyObject
* obj6
= 0 ;
5451 PyObject
* obj7
= 0 ;
5452 PyObject
* obj8
= 0 ;
5454 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5459 if (SWIG_arg_fail(1)) SWIG_fail
;
5460 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5461 if (SWIG_arg_fail(2)) SWIG_fail
;
5464 arg3
= (int)(SWIG_As_int(obj2
));
5465 if (SWIG_arg_fail(3)) SWIG_fail
;
5470 arg4
= (int)(SWIG_As_int(obj3
));
5471 if (SWIG_arg_fail(4)) SWIG_fail
;
5477 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5483 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5488 arg7
= (long)(SWIG_As_long(obj6
));
5489 if (SWIG_arg_fail(7)) SWIG_fail
;
5494 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5495 if (SWIG_arg_fail(8)) SWIG_fail
;
5497 SWIG_null_ref("wxValidator");
5499 if (SWIG_arg_fail(8)) SWIG_fail
;
5504 arg9
= wxString_in_helper(obj8
);
5505 if (arg9
== NULL
) SWIG_fail
;
5510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5511 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5513 wxPyEndAllowThreads(__tstate
);
5514 if (PyErr_Occurred()) SWIG_fail
;
5517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5533 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5534 PyObject
*resultobj
;
5535 wxGauge
*arg1
= (wxGauge
*) 0 ;
5537 PyObject
* obj0
= 0 ;
5538 PyObject
* obj1
= 0 ;
5540 (char *) "self",(char *) "range", NULL
5543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5545 if (SWIG_arg_fail(1)) SWIG_fail
;
5547 arg2
= (int)(SWIG_As_int(obj1
));
5548 if (SWIG_arg_fail(2)) SWIG_fail
;
5551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5552 (arg1
)->SetRange(arg2
);
5554 wxPyEndAllowThreads(__tstate
);
5555 if (PyErr_Occurred()) SWIG_fail
;
5557 Py_INCREF(Py_None
); resultobj
= Py_None
;
5564 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5565 PyObject
*resultobj
;
5566 wxGauge
*arg1
= (wxGauge
*) 0 ;
5568 PyObject
* obj0
= 0 ;
5570 (char *) "self", NULL
5573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5575 if (SWIG_arg_fail(1)) SWIG_fail
;
5577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5578 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5580 wxPyEndAllowThreads(__tstate
);
5581 if (PyErr_Occurred()) SWIG_fail
;
5584 resultobj
= SWIG_From_int((int)(result
));
5592 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5593 PyObject
*resultobj
;
5594 wxGauge
*arg1
= (wxGauge
*) 0 ;
5596 PyObject
* obj0
= 0 ;
5597 PyObject
* obj1
= 0 ;
5599 (char *) "self",(char *) "pos", NULL
5602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5604 if (SWIG_arg_fail(1)) SWIG_fail
;
5606 arg2
= (int)(SWIG_As_int(obj1
));
5607 if (SWIG_arg_fail(2)) SWIG_fail
;
5610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5611 (arg1
)->SetValue(arg2
);
5613 wxPyEndAllowThreads(__tstate
);
5614 if (PyErr_Occurred()) SWIG_fail
;
5616 Py_INCREF(Py_None
); resultobj
= Py_None
;
5623 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5624 PyObject
*resultobj
;
5625 wxGauge
*arg1
= (wxGauge
*) 0 ;
5627 PyObject
* obj0
= 0 ;
5629 (char *) "self", NULL
5632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5634 if (SWIG_arg_fail(1)) SWIG_fail
;
5636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5637 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5639 wxPyEndAllowThreads(__tstate
);
5640 if (PyErr_Occurred()) SWIG_fail
;
5643 resultobj
= SWIG_From_int((int)(result
));
5651 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5652 PyObject
*resultobj
;
5653 wxGauge
*arg1
= (wxGauge
*) 0 ;
5655 PyObject
* obj0
= 0 ;
5657 (char *) "self", NULL
5660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5662 if (SWIG_arg_fail(1)) SWIG_fail
;
5664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5665 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5667 wxPyEndAllowThreads(__tstate
);
5668 if (PyErr_Occurred()) SWIG_fail
;
5671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5679 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5680 PyObject
*resultobj
;
5681 wxGauge
*arg1
= (wxGauge
*) 0 ;
5683 PyObject
* obj0
= 0 ;
5684 PyObject
* obj1
= 0 ;
5686 (char *) "self",(char *) "w", NULL
5689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5691 if (SWIG_arg_fail(1)) SWIG_fail
;
5693 arg2
= (int)(SWIG_As_int(obj1
));
5694 if (SWIG_arg_fail(2)) SWIG_fail
;
5697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 (arg1
)->SetShadowWidth(arg2
);
5700 wxPyEndAllowThreads(__tstate
);
5701 if (PyErr_Occurred()) SWIG_fail
;
5703 Py_INCREF(Py_None
); resultobj
= Py_None
;
5710 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
*resultobj
;
5712 wxGauge
*arg1
= (wxGauge
*) 0 ;
5714 PyObject
* obj0
= 0 ;
5716 (char *) "self", NULL
5719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
5720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5721 if (SWIG_arg_fail(1)) SWIG_fail
;
5723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5724 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
5726 wxPyEndAllowThreads(__tstate
);
5727 if (PyErr_Occurred()) SWIG_fail
;
5730 resultobj
= SWIG_From_int((int)(result
));
5738 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5739 PyObject
*resultobj
;
5740 wxGauge
*arg1
= (wxGauge
*) 0 ;
5742 PyObject
* obj0
= 0 ;
5743 PyObject
* obj1
= 0 ;
5745 (char *) "self",(char *) "w", NULL
5748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
5749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5750 if (SWIG_arg_fail(1)) SWIG_fail
;
5752 arg2
= (int)(SWIG_As_int(obj1
));
5753 if (SWIG_arg_fail(2)) SWIG_fail
;
5756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5757 (arg1
)->SetBezelFace(arg2
);
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5762 Py_INCREF(Py_None
); resultobj
= Py_None
;
5769 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5770 PyObject
*resultobj
;
5771 wxGauge
*arg1
= (wxGauge
*) 0 ;
5773 PyObject
* obj0
= 0 ;
5775 (char *) "self", NULL
5778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
5779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5780 if (SWIG_arg_fail(1)) SWIG_fail
;
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5789 resultobj
= SWIG_From_int((int)(result
));
5797 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5798 PyObject
*resultobj
;
5799 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5800 wxVisualAttributes result
;
5801 PyObject
* obj0
= 0 ;
5803 (char *) "variant", NULL
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5809 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5810 if (SWIG_arg_fail(1)) SWIG_fail
;
5814 if (!wxPyCheckForApp()) SWIG_fail
;
5815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5816 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5818 wxPyEndAllowThreads(__tstate
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5822 wxVisualAttributes
* resultptr
;
5823 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5824 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5832 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
5834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5835 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
5837 return Py_BuildValue((char *)"");
5839 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
5840 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
5845 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
5850 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5852 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5859 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
5860 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
5865 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
5870 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5872 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5879 static int _wrap_StaticTextNameStr_set(PyObject
*) {
5880 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
5885 static PyObject
*_wrap_StaticTextNameStr_get(void) {
5890 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5892 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5899 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5900 PyObject
*resultobj
;
5901 wxWindow
*arg1
= (wxWindow
*) 0 ;
5902 int arg2
= (int) -1 ;
5903 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5904 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5905 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5906 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5907 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5908 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5909 long arg6
= (long) 0 ;
5910 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
5911 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5912 wxStaticBox
*result
;
5913 bool temp3
= false ;
5916 bool temp7
= false ;
5917 PyObject
* obj0
= 0 ;
5918 PyObject
* obj1
= 0 ;
5919 PyObject
* obj2
= 0 ;
5920 PyObject
* obj3
= 0 ;
5921 PyObject
* obj4
= 0 ;
5922 PyObject
* obj5
= 0 ;
5923 PyObject
* obj6
= 0 ;
5925 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5930 if (SWIG_arg_fail(1)) SWIG_fail
;
5933 arg2
= (int)(SWIG_As_int(obj1
));
5934 if (SWIG_arg_fail(2)) SWIG_fail
;
5939 arg3
= wxString_in_helper(obj2
);
5940 if (arg3
== NULL
) SWIG_fail
;
5947 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5953 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5958 arg6
= (long)(SWIG_As_long(obj5
));
5959 if (SWIG_arg_fail(6)) SWIG_fail
;
5964 arg7
= wxString_in_helper(obj6
);
5965 if (arg7
== NULL
) SWIG_fail
;
5970 if (!wxPyCheckForApp()) SWIG_fail
;
5971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5972 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5974 wxPyEndAllowThreads(__tstate
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6000 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6001 PyObject
*resultobj
;
6002 wxStaticBox
*result
;
6007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
6009 if (!wxPyCheckForApp()) SWIG_fail
;
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 result
= (wxStaticBox
*)new wxStaticBox();
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6023 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6024 PyObject
*resultobj
;
6025 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
6026 wxWindow
*arg2
= (wxWindow
*) 0 ;
6027 int arg3
= (int) -1 ;
6028 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6029 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6030 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6031 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6032 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6033 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6034 long arg7
= (long) 0 ;
6035 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
6036 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6038 bool temp4
= false ;
6041 bool temp8
= false ;
6042 PyObject
* obj0
= 0 ;
6043 PyObject
* obj1
= 0 ;
6044 PyObject
* obj2
= 0 ;
6045 PyObject
* obj3
= 0 ;
6046 PyObject
* obj4
= 0 ;
6047 PyObject
* obj5
= 0 ;
6048 PyObject
* obj6
= 0 ;
6049 PyObject
* obj7
= 0 ;
6051 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6056 if (SWIG_arg_fail(1)) SWIG_fail
;
6057 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6058 if (SWIG_arg_fail(2)) SWIG_fail
;
6061 arg3
= (int)(SWIG_As_int(obj2
));
6062 if (SWIG_arg_fail(3)) SWIG_fail
;
6067 arg4
= wxString_in_helper(obj3
);
6068 if (arg4
== NULL
) SWIG_fail
;
6075 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6081 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6086 arg7
= (long)(SWIG_As_long(obj6
));
6087 if (SWIG_arg_fail(7)) SWIG_fail
;
6092 arg8
= wxString_in_helper(obj7
);
6093 if (arg8
== NULL
) SWIG_fail
;
6098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6099 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6101 wxPyEndAllowThreads(__tstate
);
6102 if (PyErr_Occurred()) SWIG_fail
;
6105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6129 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
*resultobj
;
6131 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6132 wxVisualAttributes result
;
6133 PyObject
* obj0
= 0 ;
6135 (char *) "variant", NULL
6138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6141 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6142 if (SWIG_arg_fail(1)) SWIG_fail
;
6146 if (!wxPyCheckForApp()) SWIG_fail
;
6147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6148 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6150 wxPyEndAllowThreads(__tstate
);
6151 if (PyErr_Occurred()) SWIG_fail
;
6154 wxVisualAttributes
* resultptr
;
6155 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6156 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6164 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6167 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6169 return Py_BuildValue((char *)"");
6171 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6172 PyObject
*resultobj
;
6173 wxWindow
*arg1
= (wxWindow
*) 0 ;
6174 int arg2
= (int) -1 ;
6175 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6176 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6177 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6178 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6179 long arg5
= (long) wxLI_HORIZONTAL
;
6180 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6181 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6182 wxStaticLine
*result
;
6185 bool temp6
= false ;
6186 PyObject
* obj0
= 0 ;
6187 PyObject
* obj1
= 0 ;
6188 PyObject
* obj2
= 0 ;
6189 PyObject
* obj3
= 0 ;
6190 PyObject
* obj4
= 0 ;
6191 PyObject
* obj5
= 0 ;
6193 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6198 if (SWIG_arg_fail(1)) SWIG_fail
;
6201 arg2
= (int)(SWIG_As_int(obj1
));
6202 if (SWIG_arg_fail(2)) SWIG_fail
;
6208 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6214 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6219 arg5
= (long)(SWIG_As_long(obj4
));
6220 if (SWIG_arg_fail(5)) SWIG_fail
;
6225 arg6
= wxString_in_helper(obj5
);
6226 if (arg6
== NULL
) SWIG_fail
;
6231 if (!wxPyCheckForApp()) SWIG_fail
;
6232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6233 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6235 wxPyEndAllowThreads(__tstate
);
6236 if (PyErr_Occurred()) SWIG_fail
;
6238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6253 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6254 PyObject
*resultobj
;
6255 wxStaticLine
*result
;
6260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6262 if (!wxPyCheckForApp()) SWIG_fail
;
6263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6264 result
= (wxStaticLine
*)new wxStaticLine();
6266 wxPyEndAllowThreads(__tstate
);
6267 if (PyErr_Occurred()) SWIG_fail
;
6269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6276 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6277 PyObject
*resultobj
;
6278 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6279 wxWindow
*arg2
= (wxWindow
*) 0 ;
6280 int arg3
= (int) -1 ;
6281 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6282 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6283 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6284 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6285 long arg6
= (long) wxLI_HORIZONTAL
;
6286 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6287 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6291 bool temp7
= false ;
6292 PyObject
* obj0
= 0 ;
6293 PyObject
* obj1
= 0 ;
6294 PyObject
* obj2
= 0 ;
6295 PyObject
* obj3
= 0 ;
6296 PyObject
* obj4
= 0 ;
6297 PyObject
* obj5
= 0 ;
6298 PyObject
* obj6
= 0 ;
6300 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6305 if (SWIG_arg_fail(1)) SWIG_fail
;
6306 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6307 if (SWIG_arg_fail(2)) SWIG_fail
;
6310 arg3
= (int)(SWIG_As_int(obj2
));
6311 if (SWIG_arg_fail(3)) SWIG_fail
;
6317 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6323 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6328 arg6
= (long)(SWIG_As_long(obj5
));
6329 if (SWIG_arg_fail(6)) SWIG_fail
;
6334 arg7
= wxString_in_helper(obj6
);
6335 if (arg7
== NULL
) SWIG_fail
;
6340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6341 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6363 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
;
6365 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6367 PyObject
* obj0
= 0 ;
6369 (char *) "self", NULL
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6374 if (SWIG_arg_fail(1)) SWIG_fail
;
6376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6377 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6379 wxPyEndAllowThreads(__tstate
);
6380 if (PyErr_Occurred()) SWIG_fail
;
6383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6391 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6392 PyObject
*resultobj
;
6398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6401 result
= (int)wxStaticLine::GetDefaultSize();
6403 wxPyEndAllowThreads(__tstate
);
6404 if (PyErr_Occurred()) SWIG_fail
;
6407 resultobj
= SWIG_From_int((int)(result
));
6415 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6416 PyObject
*resultobj
;
6417 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6418 wxVisualAttributes result
;
6419 PyObject
* obj0
= 0 ;
6421 (char *) "variant", NULL
6424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6427 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6428 if (SWIG_arg_fail(1)) SWIG_fail
;
6432 if (!wxPyCheckForApp()) SWIG_fail
;
6433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6434 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6436 wxPyEndAllowThreads(__tstate
);
6437 if (PyErr_Occurred()) SWIG_fail
;
6440 wxVisualAttributes
* resultptr
;
6441 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6442 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6450 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6453 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6455 return Py_BuildValue((char *)"");
6457 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6458 PyObject
*resultobj
;
6459 wxWindow
*arg1
= (wxWindow
*) 0 ;
6460 int arg2
= (int) -1 ;
6461 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6462 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6463 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6464 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6465 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6466 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6467 long arg6
= (long) 0 ;
6468 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6469 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6470 wxStaticText
*result
;
6471 bool temp3
= false ;
6474 bool temp7
= false ;
6475 PyObject
* obj0
= 0 ;
6476 PyObject
* obj1
= 0 ;
6477 PyObject
* obj2
= 0 ;
6478 PyObject
* obj3
= 0 ;
6479 PyObject
* obj4
= 0 ;
6480 PyObject
* obj5
= 0 ;
6481 PyObject
* obj6
= 0 ;
6483 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6488 if (SWIG_arg_fail(1)) SWIG_fail
;
6491 arg2
= (int)(SWIG_As_int(obj1
));
6492 if (SWIG_arg_fail(2)) SWIG_fail
;
6497 arg3
= wxString_in_helper(obj2
);
6498 if (arg3
== NULL
) SWIG_fail
;
6505 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6511 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6516 arg6
= (long)(SWIG_As_long(obj5
));
6517 if (SWIG_arg_fail(6)) SWIG_fail
;
6522 arg7
= wxString_in_helper(obj6
);
6523 if (arg7
== NULL
) SWIG_fail
;
6528 if (!wxPyCheckForApp()) SWIG_fail
;
6529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6530 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6532 wxPyEndAllowThreads(__tstate
);
6533 if (PyErr_Occurred()) SWIG_fail
;
6535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6558 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6559 PyObject
*resultobj
;
6560 wxStaticText
*result
;
6565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6567 if (!wxPyCheckForApp()) SWIG_fail
;
6568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6569 result
= (wxStaticText
*)new wxStaticText();
6571 wxPyEndAllowThreads(__tstate
);
6572 if (PyErr_Occurred()) SWIG_fail
;
6574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6581 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6582 PyObject
*resultobj
;
6583 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6584 wxWindow
*arg2
= (wxWindow
*) 0 ;
6585 int arg3
= (int) -1 ;
6586 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6587 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6588 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6589 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6590 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6591 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6592 long arg7
= (long) 0 ;
6593 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6594 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6596 bool temp4
= false ;
6599 bool temp8
= false ;
6600 PyObject
* obj0
= 0 ;
6601 PyObject
* obj1
= 0 ;
6602 PyObject
* obj2
= 0 ;
6603 PyObject
* obj3
= 0 ;
6604 PyObject
* obj4
= 0 ;
6605 PyObject
* obj5
= 0 ;
6606 PyObject
* obj6
= 0 ;
6607 PyObject
* obj7
= 0 ;
6609 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6614 if (SWIG_arg_fail(1)) SWIG_fail
;
6615 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6616 if (SWIG_arg_fail(2)) SWIG_fail
;
6619 arg3
= (int)(SWIG_As_int(obj2
));
6620 if (SWIG_arg_fail(3)) SWIG_fail
;
6625 arg4
= wxString_in_helper(obj3
);
6626 if (arg4
== NULL
) SWIG_fail
;
6633 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6639 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6644 arg7
= (long)(SWIG_As_long(obj6
));
6645 if (SWIG_arg_fail(7)) SWIG_fail
;
6650 arg8
= wxString_in_helper(obj7
);
6651 if (arg8
== NULL
) SWIG_fail
;
6656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6657 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6659 wxPyEndAllowThreads(__tstate
);
6660 if (PyErr_Occurred()) SWIG_fail
;
6663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6687 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6688 PyObject
*resultobj
;
6689 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6690 wxVisualAttributes result
;
6691 PyObject
* obj0
= 0 ;
6693 (char *) "variant", NULL
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6699 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6700 if (SWIG_arg_fail(1)) SWIG_fail
;
6704 if (!wxPyCheckForApp()) SWIG_fail
;
6705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6706 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6708 wxPyEndAllowThreads(__tstate
);
6709 if (PyErr_Occurred()) SWIG_fail
;
6712 wxVisualAttributes
* resultptr
;
6713 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6714 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6722 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
6724 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6725 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
6727 return Py_BuildValue((char *)"");
6729 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6730 PyObject
*resultobj
;
6731 wxWindow
*arg1
= (wxWindow
*) 0 ;
6732 int arg2
= (int) -1 ;
6733 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
6734 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
6735 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6736 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6737 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6738 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6739 long arg6
= (long) 0 ;
6740 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
6741 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6742 wxStaticBitmap
*result
;
6745 bool temp7
= false ;
6746 PyObject
* obj0
= 0 ;
6747 PyObject
* obj1
= 0 ;
6748 PyObject
* obj2
= 0 ;
6749 PyObject
* obj3
= 0 ;
6750 PyObject
* obj4
= 0 ;
6751 PyObject
* obj5
= 0 ;
6752 PyObject
* obj6
= 0 ;
6754 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6759 if (SWIG_arg_fail(1)) SWIG_fail
;
6762 arg2
= (int)(SWIG_As_int(obj1
));
6763 if (SWIG_arg_fail(2)) SWIG_fail
;
6768 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6769 if (SWIG_arg_fail(3)) SWIG_fail
;
6771 SWIG_null_ref("wxBitmap");
6773 if (SWIG_arg_fail(3)) SWIG_fail
;
6779 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6785 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6790 arg6
= (long)(SWIG_As_long(obj5
));
6791 if (SWIG_arg_fail(6)) SWIG_fail
;
6796 arg7
= wxString_in_helper(obj6
);
6797 if (arg7
== NULL
) SWIG_fail
;
6802 if (!wxPyCheckForApp()) SWIG_fail
;
6803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6804 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6806 wxPyEndAllowThreads(__tstate
);
6807 if (PyErr_Occurred()) SWIG_fail
;
6809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6824 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6825 PyObject
*resultobj
;
6826 wxStaticBitmap
*result
;
6831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
6833 if (!wxPyCheckForApp()) SWIG_fail
;
6834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6835 result
= (wxStaticBitmap
*)new wxStaticBitmap();
6837 wxPyEndAllowThreads(__tstate
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6847 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6848 PyObject
*resultobj
;
6849 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6850 wxWindow
*arg2
= (wxWindow
*) 0 ;
6851 int arg3
= (int) -1 ;
6852 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
6853 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
6854 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6855 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6856 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6857 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6858 long arg7
= (long) 0 ;
6859 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
6860 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6864 bool temp8
= false ;
6865 PyObject
* obj0
= 0 ;
6866 PyObject
* obj1
= 0 ;
6867 PyObject
* obj2
= 0 ;
6868 PyObject
* obj3
= 0 ;
6869 PyObject
* obj4
= 0 ;
6870 PyObject
* obj5
= 0 ;
6871 PyObject
* obj6
= 0 ;
6872 PyObject
* obj7
= 0 ;
6874 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6879 if (SWIG_arg_fail(1)) SWIG_fail
;
6880 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6881 if (SWIG_arg_fail(2)) SWIG_fail
;
6884 arg3
= (int)(SWIG_As_int(obj2
));
6885 if (SWIG_arg_fail(3)) SWIG_fail
;
6890 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6891 if (SWIG_arg_fail(4)) SWIG_fail
;
6893 SWIG_null_ref("wxBitmap");
6895 if (SWIG_arg_fail(4)) SWIG_fail
;
6901 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6907 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6912 arg7
= (long)(SWIG_As_long(obj6
));
6913 if (SWIG_arg_fail(7)) SWIG_fail
;
6918 arg8
= wxString_in_helper(obj7
);
6919 if (arg8
== NULL
) SWIG_fail
;
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6925 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6927 wxPyEndAllowThreads(__tstate
);
6928 if (PyErr_Occurred()) SWIG_fail
;
6931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6947 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6948 PyObject
*resultobj
;
6949 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6951 PyObject
* obj0
= 0 ;
6953 (char *) "self", NULL
6956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
6957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6958 if (SWIG_arg_fail(1)) SWIG_fail
;
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 result
= (arg1
)->GetBitmap();
6963 wxPyEndAllowThreads(__tstate
);
6964 if (PyErr_Occurred()) SWIG_fail
;
6967 wxBitmap
* resultptr
;
6968 resultptr
= new wxBitmap((wxBitmap
&)(result
));
6969 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6977 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6978 PyObject
*resultobj
;
6979 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6980 wxBitmap
*arg2
= 0 ;
6981 PyObject
* obj0
= 0 ;
6982 PyObject
* obj1
= 0 ;
6984 (char *) "self",(char *) "bitmap", NULL
6987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6989 if (SWIG_arg_fail(1)) SWIG_fail
;
6991 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6992 if (SWIG_arg_fail(2)) SWIG_fail
;
6994 SWIG_null_ref("wxBitmap");
6996 if (SWIG_arg_fail(2)) SWIG_fail
;
6999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7000 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
7002 wxPyEndAllowThreads(__tstate
);
7003 if (PyErr_Occurred()) SWIG_fail
;
7005 Py_INCREF(Py_None
); resultobj
= Py_None
;
7012 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7013 PyObject
*resultobj
;
7014 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7016 PyObject
* obj0
= 0 ;
7017 PyObject
* obj1
= 0 ;
7019 (char *) "self",(char *) "icon", NULL
7022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
7023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7024 if (SWIG_arg_fail(1)) SWIG_fail
;
7026 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
7027 if (SWIG_arg_fail(2)) SWIG_fail
;
7029 SWIG_null_ref("wxIcon");
7031 if (SWIG_arg_fail(2)) SWIG_fail
;
7034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7035 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7040 Py_INCREF(Py_None
); resultobj
= Py_None
;
7047 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
*resultobj
;
7049 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7050 wxVisualAttributes result
;
7051 PyObject
* obj0
= 0 ;
7053 (char *) "variant", NULL
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7059 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7060 if (SWIG_arg_fail(1)) SWIG_fail
;
7064 if (!wxPyCheckForApp()) SWIG_fail
;
7065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7066 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7068 wxPyEndAllowThreads(__tstate
);
7069 if (PyErr_Occurred()) SWIG_fail
;
7072 wxVisualAttributes
* resultptr
;
7073 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7074 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7082 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7084 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7085 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7087 return Py_BuildValue((char *)"");
7089 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7090 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7095 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7100 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7102 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7109 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7110 PyObject
*resultobj
;
7111 wxWindow
*arg1
= (wxWindow
*) 0 ;
7112 int arg2
= (int) -1 ;
7113 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7114 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7115 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7116 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7117 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7118 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7119 long arg6
= (long) 0 ;
7120 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7121 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7122 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7123 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7127 bool temp5
= false ;
7128 bool temp8
= false ;
7129 PyObject
* obj0
= 0 ;
7130 PyObject
* obj1
= 0 ;
7131 PyObject
* obj2
= 0 ;
7132 PyObject
* obj3
= 0 ;
7133 PyObject
* obj4
= 0 ;
7134 PyObject
* obj5
= 0 ;
7135 PyObject
* obj6
= 0 ;
7136 PyObject
* obj7
= 0 ;
7138 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7143 if (SWIG_arg_fail(1)) SWIG_fail
;
7146 arg2
= (int)(SWIG_As_int(obj1
));
7147 if (SWIG_arg_fail(2)) SWIG_fail
;
7153 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7159 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7164 if (! PySequence_Check(obj4
)) {
7165 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7168 arg5
= new wxArrayString
;
7170 int i
, len
=PySequence_Length(obj4
);
7171 for (i
=0; i
<len
; i
++) {
7172 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7173 wxString
* s
= wxString_in_helper(item
);
7174 if (PyErr_Occurred()) SWIG_fail
;
7183 arg6
= (long)(SWIG_As_long(obj5
));
7184 if (SWIG_arg_fail(6)) SWIG_fail
;
7189 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7190 if (SWIG_arg_fail(7)) SWIG_fail
;
7192 SWIG_null_ref("wxValidator");
7194 if (SWIG_arg_fail(7)) SWIG_fail
;
7199 arg8
= wxString_in_helper(obj7
);
7200 if (arg8
== NULL
) SWIG_fail
;
7205 if (!wxPyCheckForApp()) SWIG_fail
;
7206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7207 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7209 wxPyEndAllowThreads(__tstate
);
7210 if (PyErr_Occurred()) SWIG_fail
;
7212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7214 if (temp5
) delete arg5
;
7223 if (temp5
) delete arg5
;
7233 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
*resultobj
;
7240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7242 if (!wxPyCheckForApp()) SWIG_fail
;
7243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7244 result
= (wxListBox
*)new wxListBox();
7246 wxPyEndAllowThreads(__tstate
);
7247 if (PyErr_Occurred()) SWIG_fail
;
7249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7256 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
;
7258 wxListBox
*arg1
= (wxListBox
*) 0 ;
7259 wxWindow
*arg2
= (wxWindow
*) 0 ;
7260 int arg3
= (int) -1 ;
7261 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7262 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7263 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7264 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7265 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7266 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7267 long arg7
= (long) 0 ;
7268 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7269 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7270 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7271 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7275 bool temp6
= false ;
7276 bool temp9
= false ;
7277 PyObject
* obj0
= 0 ;
7278 PyObject
* obj1
= 0 ;
7279 PyObject
* obj2
= 0 ;
7280 PyObject
* obj3
= 0 ;
7281 PyObject
* obj4
= 0 ;
7282 PyObject
* obj5
= 0 ;
7283 PyObject
* obj6
= 0 ;
7284 PyObject
* obj7
= 0 ;
7285 PyObject
* obj8
= 0 ;
7287 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7292 if (SWIG_arg_fail(1)) SWIG_fail
;
7293 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7294 if (SWIG_arg_fail(2)) SWIG_fail
;
7297 arg3
= (int)(SWIG_As_int(obj2
));
7298 if (SWIG_arg_fail(3)) SWIG_fail
;
7304 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7310 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7315 if (! PySequence_Check(obj5
)) {
7316 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7319 arg6
= new wxArrayString
;
7321 int i
, len
=PySequence_Length(obj5
);
7322 for (i
=0; i
<len
; i
++) {
7323 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7324 wxString
* s
= wxString_in_helper(item
);
7325 if (PyErr_Occurred()) SWIG_fail
;
7334 arg7
= (long)(SWIG_As_long(obj6
));
7335 if (SWIG_arg_fail(7)) SWIG_fail
;
7340 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7341 if (SWIG_arg_fail(8)) SWIG_fail
;
7343 SWIG_null_ref("wxValidator");
7345 if (SWIG_arg_fail(8)) SWIG_fail
;
7350 arg9
= wxString_in_helper(obj8
);
7351 if (arg9
== NULL
) SWIG_fail
;
7356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7357 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7359 wxPyEndAllowThreads(__tstate
);
7360 if (PyErr_Occurred()) SWIG_fail
;
7363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7366 if (temp6
) delete arg6
;
7375 if (temp6
) delete arg6
;
7385 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7386 PyObject
*resultobj
;
7387 wxListBox
*arg1
= (wxListBox
*) 0 ;
7388 wxString
*arg2
= 0 ;
7390 PyObject
*arg4
= (PyObject
*) NULL
;
7391 bool temp2
= false ;
7392 PyObject
* obj0
= 0 ;
7393 PyObject
* obj1
= 0 ;
7394 PyObject
* obj2
= 0 ;
7395 PyObject
* obj3
= 0 ;
7397 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7402 if (SWIG_arg_fail(1)) SWIG_fail
;
7404 arg2
= wxString_in_helper(obj1
);
7405 if (arg2
== NULL
) SWIG_fail
;
7409 arg3
= (int)(SWIG_As_int(obj2
));
7410 if (SWIG_arg_fail(3)) SWIG_fail
;
7416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7417 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7419 wxPyEndAllowThreads(__tstate
);
7420 if (PyErr_Occurred()) SWIG_fail
;
7422 Py_INCREF(Py_None
); resultobj
= Py_None
;
7437 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7438 PyObject
*resultobj
;
7439 wxListBox
*arg1
= (wxListBox
*) 0 ;
7440 wxArrayString
*arg2
= 0 ;
7442 bool temp2
= false ;
7443 PyObject
* obj0
= 0 ;
7444 PyObject
* obj1
= 0 ;
7445 PyObject
* obj2
= 0 ;
7447 (char *) "self",(char *) "items",(char *) "pos", NULL
7450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7452 if (SWIG_arg_fail(1)) SWIG_fail
;
7454 if (! PySequence_Check(obj1
)) {
7455 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7458 arg2
= new wxArrayString
;
7460 int i
, len
=PySequence_Length(obj1
);
7461 for (i
=0; i
<len
; i
++) {
7462 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7463 wxString
* s
= wxString_in_helper(item
);
7464 if (PyErr_Occurred()) SWIG_fail
;
7471 arg3
= (int)(SWIG_As_int(obj2
));
7472 if (SWIG_arg_fail(3)) SWIG_fail
;
7475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7476 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7478 wxPyEndAllowThreads(__tstate
);
7479 if (PyErr_Occurred()) SWIG_fail
;
7481 Py_INCREF(Py_None
); resultobj
= Py_None
;
7483 if (temp2
) delete arg2
;
7488 if (temp2
) delete arg2
;
7494 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7495 PyObject
*resultobj
;
7496 wxListBox
*arg1
= (wxListBox
*) 0 ;
7497 wxArrayString
*arg2
= 0 ;
7498 bool temp2
= false ;
7499 PyObject
* obj0
= 0 ;
7500 PyObject
* obj1
= 0 ;
7502 (char *) "self",(char *) "items", NULL
7505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7507 if (SWIG_arg_fail(1)) SWIG_fail
;
7509 if (! PySequence_Check(obj1
)) {
7510 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7513 arg2
= new wxArrayString
;
7515 int i
, len
=PySequence_Length(obj1
);
7516 for (i
=0; i
<len
; i
++) {
7517 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7518 wxString
* s
= wxString_in_helper(item
);
7519 if (PyErr_Occurred()) SWIG_fail
;
7526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7527 (arg1
)->Set((wxArrayString
const &)*arg2
);
7529 wxPyEndAllowThreads(__tstate
);
7530 if (PyErr_Occurred()) SWIG_fail
;
7532 Py_INCREF(Py_None
); resultobj
= Py_None
;
7534 if (temp2
) delete arg2
;
7539 if (temp2
) delete arg2
;
7545 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7546 PyObject
*resultobj
;
7547 wxListBox
*arg1
= (wxListBox
*) 0 ;
7550 PyObject
* obj0
= 0 ;
7551 PyObject
* obj1
= 0 ;
7553 (char *) "self",(char *) "n", NULL
7556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
7557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7558 if (SWIG_arg_fail(1)) SWIG_fail
;
7560 arg2
= (int)(SWIG_As_int(obj1
));
7561 if (SWIG_arg_fail(2)) SWIG_fail
;
7564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7565 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7567 wxPyEndAllowThreads(__tstate
);
7568 if (PyErr_Occurred()) SWIG_fail
;
7571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7579 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7580 PyObject
*resultobj
;
7581 wxListBox
*arg1
= (wxListBox
*) 0 ;
7583 bool arg3
= (bool) true ;
7584 PyObject
* obj0
= 0 ;
7585 PyObject
* obj1
= 0 ;
7586 PyObject
* obj2
= 0 ;
7588 (char *) "self",(char *) "n",(char *) "select", NULL
7591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7593 if (SWIG_arg_fail(1)) SWIG_fail
;
7595 arg2
= (int)(SWIG_As_int(obj1
));
7596 if (SWIG_arg_fail(2)) SWIG_fail
;
7600 arg3
= (bool)(SWIG_As_bool(obj2
));
7601 if (SWIG_arg_fail(3)) SWIG_fail
;
7605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 (arg1
)->SetSelection(arg2
,arg3
);
7608 wxPyEndAllowThreads(__tstate
);
7609 if (PyErr_Occurred()) SWIG_fail
;
7611 Py_INCREF(Py_None
); resultobj
= Py_None
;
7618 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7619 PyObject
*resultobj
;
7620 wxListBox
*arg1
= (wxListBox
*) 0 ;
7622 PyObject
* obj0
= 0 ;
7623 PyObject
* obj1
= 0 ;
7625 (char *) "self",(char *) "n", NULL
7628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
7629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7630 if (SWIG_arg_fail(1)) SWIG_fail
;
7632 arg2
= (int)(SWIG_As_int(obj1
));
7633 if (SWIG_arg_fail(2)) SWIG_fail
;
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 (arg1
)->Select(arg2
);
7639 wxPyEndAllowThreads(__tstate
);
7640 if (PyErr_Occurred()) SWIG_fail
;
7642 Py_INCREF(Py_None
); resultobj
= Py_None
;
7649 static PyObject
*_wrap_ListBox_Deselect(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_Deselect",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
)->Deselect(arg2
);
7670 wxPyEndAllowThreads(__tstate
);
7671 if (PyErr_Occurred()) SWIG_fail
;
7673 Py_INCREF(Py_None
); resultobj
= Py_None
;
7680 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7681 PyObject
*resultobj
;
7682 wxListBox
*arg1
= (wxListBox
*) 0 ;
7683 int arg2
= (int) -1 ;
7684 PyObject
* obj0
= 0 ;
7685 PyObject
* obj1
= 0 ;
7687 (char *) "self",(char *) "itemToLeaveSelected", NULL
7690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",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
;
7695 arg2
= (int)(SWIG_As_int(obj1
));
7696 if (SWIG_arg_fail(2)) SWIG_fail
;
7700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7701 (arg1
)->DeselectAll(arg2
);
7703 wxPyEndAllowThreads(__tstate
);
7704 if (PyErr_Occurred()) SWIG_fail
;
7706 Py_INCREF(Py_None
); resultobj
= Py_None
;
7713 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
*resultobj
;
7715 wxListBox
*arg1
= (wxListBox
*) 0 ;
7716 wxString
*arg2
= 0 ;
7717 bool arg3
= (bool) true ;
7719 bool temp2
= false ;
7720 PyObject
* obj0
= 0 ;
7721 PyObject
* obj1
= 0 ;
7722 PyObject
* obj2
= 0 ;
7724 (char *) "self",(char *) "s",(char *) "select", NULL
7727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7729 if (SWIG_arg_fail(1)) SWIG_fail
;
7731 arg2
= wxString_in_helper(obj1
);
7732 if (arg2
== NULL
) SWIG_fail
;
7737 arg3
= (bool)(SWIG_As_bool(obj2
));
7738 if (SWIG_arg_fail(3)) SWIG_fail
;
7742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7743 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
7745 wxPyEndAllowThreads(__tstate
);
7746 if (PyErr_Occurred()) SWIG_fail
;
7749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7765 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7766 PyObject
*resultobj
;
7767 wxListBox
*arg1
= (wxListBox
*) 0 ;
7769 PyObject
* obj0
= 0 ;
7771 (char *) "self", NULL
7774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
7775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7776 if (SWIG_arg_fail(1)) SWIG_fail
;
7778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7779 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
7781 wxPyEndAllowThreads(__tstate
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7791 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7792 PyObject
*resultobj
;
7793 wxListBox
*arg1
= (wxListBox
*) 0 ;
7795 PyObject
* obj0
= 0 ;
7796 PyObject
* obj1
= 0 ;
7798 (char *) "self",(char *) "n", NULL
7801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
7802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7803 if (SWIG_arg_fail(1)) SWIG_fail
;
7805 arg2
= (int)(SWIG_As_int(obj1
));
7806 if (SWIG_arg_fail(2)) SWIG_fail
;
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7810 (arg1
)->SetFirstItem(arg2
);
7812 wxPyEndAllowThreads(__tstate
);
7813 if (PyErr_Occurred()) SWIG_fail
;
7815 Py_INCREF(Py_None
); resultobj
= Py_None
;
7822 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7823 PyObject
*resultobj
;
7824 wxListBox
*arg1
= (wxListBox
*) 0 ;
7825 wxString
*arg2
= 0 ;
7826 bool temp2
= false ;
7827 PyObject
* obj0
= 0 ;
7828 PyObject
* obj1
= 0 ;
7830 (char *) "self",(char *) "s", NULL
7833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
7834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7835 if (SWIG_arg_fail(1)) SWIG_fail
;
7837 arg2
= wxString_in_helper(obj1
);
7838 if (arg2
== NULL
) SWIG_fail
;
7842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7843 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
7845 wxPyEndAllowThreads(__tstate
);
7846 if (PyErr_Occurred()) SWIG_fail
;
7848 Py_INCREF(Py_None
); resultobj
= Py_None
;
7863 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7864 PyObject
*resultobj
;
7865 wxListBox
*arg1
= (wxListBox
*) 0 ;
7867 PyObject
* obj0
= 0 ;
7868 PyObject
* obj1
= 0 ;
7870 (char *) "self",(char *) "n", NULL
7873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7875 if (SWIG_arg_fail(1)) SWIG_fail
;
7877 arg2
= (int)(SWIG_As_int(obj1
));
7878 if (SWIG_arg_fail(2)) SWIG_fail
;
7881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7882 (arg1
)->EnsureVisible(arg2
);
7884 wxPyEndAllowThreads(__tstate
);
7885 if (PyErr_Occurred()) SWIG_fail
;
7887 Py_INCREF(Py_None
); resultobj
= Py_None
;
7894 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7895 PyObject
*resultobj
;
7896 wxListBox
*arg1
= (wxListBox
*) 0 ;
7897 wxString
*arg2
= 0 ;
7898 bool temp2
= false ;
7899 PyObject
* obj0
= 0 ;
7900 PyObject
* obj1
= 0 ;
7902 (char *) "self",(char *) "s", NULL
7905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7907 if (SWIG_arg_fail(1)) SWIG_fail
;
7909 arg2
= wxString_in_helper(obj1
);
7910 if (arg2
== NULL
) SWIG_fail
;
7914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7915 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
7917 wxPyEndAllowThreads(__tstate
);
7918 if (PyErr_Occurred()) SWIG_fail
;
7920 Py_INCREF(Py_None
); resultobj
= Py_None
;
7935 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7936 PyObject
*resultobj
;
7937 wxListBox
*arg1
= (wxListBox
*) 0 ;
7939 PyObject
* obj0
= 0 ;
7941 (char *) "self", NULL
7944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
7945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7946 if (SWIG_arg_fail(1)) SWIG_fail
;
7948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7949 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
7951 wxPyEndAllowThreads(__tstate
);
7952 if (PyErr_Occurred()) SWIG_fail
;
7955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7963 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7964 PyObject
*resultobj
;
7965 wxListBox
*arg1
= (wxListBox
*) 0 ;
7967 wxColour
*arg3
= 0 ;
7969 PyObject
* obj0
= 0 ;
7970 PyObject
* obj1
= 0 ;
7971 PyObject
* obj2
= 0 ;
7973 (char *) "self",(char *) "item",(char *) "c", NULL
7976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7978 if (SWIG_arg_fail(1)) SWIG_fail
;
7980 arg2
= (int)(SWIG_As_int(obj1
));
7981 if (SWIG_arg_fail(2)) SWIG_fail
;
7985 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7989 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
7991 wxPyEndAllowThreads(__tstate
);
7992 if (PyErr_Occurred()) SWIG_fail
;
7994 Py_INCREF(Py_None
); resultobj
= Py_None
;
8001 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8002 PyObject
*resultobj
;
8003 wxListBox
*arg1
= (wxListBox
*) 0 ;
8005 wxColour
*arg3
= 0 ;
8007 PyObject
* obj0
= 0 ;
8008 PyObject
* obj1
= 0 ;
8009 PyObject
* obj2
= 0 ;
8011 (char *) "self",(char *) "item",(char *) "c", NULL
8014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8016 if (SWIG_arg_fail(1)) SWIG_fail
;
8018 arg2
= (int)(SWIG_As_int(obj1
));
8019 if (SWIG_arg_fail(2)) SWIG_fail
;
8023 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8027 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8029 wxPyEndAllowThreads(__tstate
);
8030 if (PyErr_Occurred()) SWIG_fail
;
8032 Py_INCREF(Py_None
); resultobj
= Py_None
;
8039 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8040 PyObject
*resultobj
;
8041 wxListBox
*arg1
= (wxListBox
*) 0 ;
8044 PyObject
* obj0
= 0 ;
8045 PyObject
* obj1
= 0 ;
8046 PyObject
* obj2
= 0 ;
8048 (char *) "self",(char *) "item",(char *) "f", NULL
8051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8053 if (SWIG_arg_fail(1)) SWIG_fail
;
8055 arg2
= (int)(SWIG_As_int(obj1
));
8056 if (SWIG_arg_fail(2)) SWIG_fail
;
8059 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8060 if (SWIG_arg_fail(3)) SWIG_fail
;
8062 SWIG_null_ref("wxFont");
8064 if (SWIG_arg_fail(3)) SWIG_fail
;
8067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8068 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8070 wxPyEndAllowThreads(__tstate
);
8071 if (PyErr_Occurred()) SWIG_fail
;
8073 Py_INCREF(Py_None
); resultobj
= Py_None
;
8080 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8081 PyObject
*resultobj
;
8082 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8083 wxVisualAttributes result
;
8084 PyObject
* obj0
= 0 ;
8086 (char *) "variant", NULL
8089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8092 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8093 if (SWIG_arg_fail(1)) SWIG_fail
;
8097 if (!wxPyCheckForApp()) SWIG_fail
;
8098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8099 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8101 wxPyEndAllowThreads(__tstate
);
8102 if (PyErr_Occurred()) SWIG_fail
;
8105 wxVisualAttributes
* resultptr
;
8106 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8107 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8115 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8117 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8118 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8120 return Py_BuildValue((char *)"");
8122 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8123 PyObject
*resultobj
;
8124 wxWindow
*arg1
= (wxWindow
*) 0 ;
8125 int arg2
= (int) -1 ;
8126 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8127 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8128 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8129 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8130 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8131 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8132 long arg6
= (long) 0 ;
8133 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8134 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8135 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8136 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8137 wxCheckListBox
*result
;
8140 bool temp5
= false ;
8141 bool temp8
= false ;
8142 PyObject
* obj0
= 0 ;
8143 PyObject
* obj1
= 0 ;
8144 PyObject
* obj2
= 0 ;
8145 PyObject
* obj3
= 0 ;
8146 PyObject
* obj4
= 0 ;
8147 PyObject
* obj5
= 0 ;
8148 PyObject
* obj6
= 0 ;
8149 PyObject
* obj7
= 0 ;
8151 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8156 if (SWIG_arg_fail(1)) SWIG_fail
;
8159 arg2
= (int)(SWIG_As_int(obj1
));
8160 if (SWIG_arg_fail(2)) SWIG_fail
;
8166 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8172 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8177 if (! PySequence_Check(obj4
)) {
8178 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8181 arg5
= new wxArrayString
;
8183 int i
, len
=PySequence_Length(obj4
);
8184 for (i
=0; i
<len
; i
++) {
8185 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8186 wxString
* s
= wxString_in_helper(item
);
8187 if (PyErr_Occurred()) SWIG_fail
;
8196 arg6
= (long)(SWIG_As_long(obj5
));
8197 if (SWIG_arg_fail(6)) SWIG_fail
;
8202 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8203 if (SWIG_arg_fail(7)) SWIG_fail
;
8205 SWIG_null_ref("wxValidator");
8207 if (SWIG_arg_fail(7)) SWIG_fail
;
8212 arg8
= wxString_in_helper(obj7
);
8213 if (arg8
== NULL
) SWIG_fail
;
8218 if (!wxPyCheckForApp()) SWIG_fail
;
8219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8220 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8222 wxPyEndAllowThreads(__tstate
);
8223 if (PyErr_Occurred()) SWIG_fail
;
8225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8227 if (temp5
) delete arg5
;
8236 if (temp5
) delete arg5
;
8246 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8247 PyObject
*resultobj
;
8248 wxCheckListBox
*result
;
8253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8255 if (!wxPyCheckForApp()) SWIG_fail
;
8256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8257 result
= (wxCheckListBox
*)new wxCheckListBox();
8259 wxPyEndAllowThreads(__tstate
);
8260 if (PyErr_Occurred()) SWIG_fail
;
8262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8269 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8270 PyObject
*resultobj
;
8271 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8272 wxWindow
*arg2
= (wxWindow
*) 0 ;
8273 int arg3
= (int) -1 ;
8274 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8275 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8276 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8277 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8278 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8279 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8280 long arg7
= (long) 0 ;
8281 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8282 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8283 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8284 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8288 bool temp6
= false ;
8289 bool temp9
= false ;
8290 PyObject
* obj0
= 0 ;
8291 PyObject
* obj1
= 0 ;
8292 PyObject
* obj2
= 0 ;
8293 PyObject
* obj3
= 0 ;
8294 PyObject
* obj4
= 0 ;
8295 PyObject
* obj5
= 0 ;
8296 PyObject
* obj6
= 0 ;
8297 PyObject
* obj7
= 0 ;
8298 PyObject
* obj8
= 0 ;
8300 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8305 if (SWIG_arg_fail(1)) SWIG_fail
;
8306 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8307 if (SWIG_arg_fail(2)) SWIG_fail
;
8310 arg3
= (int)(SWIG_As_int(obj2
));
8311 if (SWIG_arg_fail(3)) SWIG_fail
;
8317 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8323 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8328 if (! PySequence_Check(obj5
)) {
8329 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8332 arg6
= new wxArrayString
;
8334 int i
, len
=PySequence_Length(obj5
);
8335 for (i
=0; i
<len
; i
++) {
8336 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8337 wxString
* s
= wxString_in_helper(item
);
8338 if (PyErr_Occurred()) SWIG_fail
;
8347 arg7
= (long)(SWIG_As_long(obj6
));
8348 if (SWIG_arg_fail(7)) SWIG_fail
;
8353 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8354 if (SWIG_arg_fail(8)) SWIG_fail
;
8356 SWIG_null_ref("wxValidator");
8358 if (SWIG_arg_fail(8)) SWIG_fail
;
8363 arg9
= wxString_in_helper(obj8
);
8364 if (arg9
== NULL
) SWIG_fail
;
8369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8370 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8372 wxPyEndAllowThreads(__tstate
);
8373 if (PyErr_Occurred()) SWIG_fail
;
8376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8379 if (temp6
) delete arg6
;
8388 if (temp6
) delete arg6
;
8398 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8399 PyObject
*resultobj
;
8400 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8403 PyObject
* obj0
= 0 ;
8404 PyObject
* obj1
= 0 ;
8406 (char *) "self",(char *) "index", NULL
8409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
8410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8411 if (SWIG_arg_fail(1)) SWIG_fail
;
8413 arg2
= (int)(SWIG_As_int(obj1
));
8414 if (SWIG_arg_fail(2)) SWIG_fail
;
8417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8418 result
= (bool)(arg1
)->IsChecked(arg2
);
8420 wxPyEndAllowThreads(__tstate
);
8421 if (PyErr_Occurred()) SWIG_fail
;
8424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8432 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8433 PyObject
*resultobj
;
8434 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8436 int arg3
= (int) true ;
8437 PyObject
* obj0
= 0 ;
8438 PyObject
* obj1
= 0 ;
8439 PyObject
* obj2
= 0 ;
8441 (char *) "self",(char *) "index",(char *) "check", NULL
8444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8446 if (SWIG_arg_fail(1)) SWIG_fail
;
8448 arg2
= (int)(SWIG_As_int(obj1
));
8449 if (SWIG_arg_fail(2)) SWIG_fail
;
8453 arg3
= (int)(SWIG_As_int(obj2
));
8454 if (SWIG_arg_fail(3)) SWIG_fail
;
8458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8459 (arg1
)->Check(arg2
,arg3
);
8461 wxPyEndAllowThreads(__tstate
);
8462 if (PyErr_Occurred()) SWIG_fail
;
8464 Py_INCREF(Py_None
); resultobj
= Py_None
;
8471 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8472 PyObject
*resultobj
;
8473 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8475 PyObject
* obj0
= 0 ;
8477 (char *) "self", NULL
8480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
8481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8482 if (SWIG_arg_fail(1)) SWIG_fail
;
8484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8485 result
= (int)(arg1
)->GetItemHeight();
8487 wxPyEndAllowThreads(__tstate
);
8488 if (PyErr_Occurred()) SWIG_fail
;
8491 resultobj
= SWIG_From_int((int)(result
));
8499 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8500 PyObject
*resultobj
;
8501 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8505 PyObject
* obj0
= 0 ;
8506 PyObject
* obj1
= 0 ;
8508 (char *) "self",(char *) "pt", NULL
8511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8513 if (SWIG_arg_fail(1)) SWIG_fail
;
8516 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8520 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8522 wxPyEndAllowThreads(__tstate
);
8523 if (PyErr_Occurred()) SWIG_fail
;
8526 resultobj
= SWIG_From_int((int)(result
));
8534 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8535 PyObject
*resultobj
;
8536 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8540 PyObject
* obj0
= 0 ;
8541 PyObject
* obj1
= 0 ;
8542 PyObject
* obj2
= 0 ;
8544 (char *) "self",(char *) "x",(char *) "y", NULL
8547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8549 if (SWIG_arg_fail(1)) SWIG_fail
;
8551 arg2
= (int)(SWIG_As_int(obj1
));
8552 if (SWIG_arg_fail(2)) SWIG_fail
;
8555 arg3
= (int)(SWIG_As_int(obj2
));
8556 if (SWIG_arg_fail(3)) SWIG_fail
;
8559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8560 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8562 wxPyEndAllowThreads(__tstate
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8566 resultobj
= SWIG_From_int((int)(result
));
8574 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8577 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8579 return Py_BuildValue((char *)"");
8581 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8582 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8587 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8592 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8594 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8601 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8602 PyObject
*resultobj
;
8603 wxColour
const &arg1_defvalue
= wxNullColour
;
8604 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8605 wxColour
const &arg2_defvalue
= wxNullColour
;
8606 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8607 wxFont
const &arg3_defvalue
= wxNullFont
;
8608 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8609 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8613 PyObject
* obj0
= 0 ;
8614 PyObject
* obj1
= 0 ;
8615 PyObject
* obj2
= 0 ;
8616 PyObject
* obj3
= 0 ;
8618 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8625 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8631 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8636 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8637 if (SWIG_arg_fail(3)) SWIG_fail
;
8639 SWIG_null_ref("wxFont");
8641 if (SWIG_arg_fail(3)) SWIG_fail
;
8646 arg4
= (wxTextAttrAlignment
)(SWIG_As_int(obj3
));
8647 if (SWIG_arg_fail(4)) SWIG_fail
;
8651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8652 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
8654 wxPyEndAllowThreads(__tstate
);
8655 if (PyErr_Occurred()) SWIG_fail
;
8657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8664 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8665 PyObject
*resultobj
;
8666 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8667 PyObject
* obj0
= 0 ;
8669 (char *) "self", NULL
8672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
8673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8674 if (SWIG_arg_fail(1)) SWIG_fail
;
8676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8679 wxPyEndAllowThreads(__tstate
);
8680 if (PyErr_Occurred()) SWIG_fail
;
8682 Py_INCREF(Py_None
); resultobj
= Py_None
;
8689 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8690 PyObject
*resultobj
;
8691 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8692 PyObject
* obj0
= 0 ;
8694 (char *) "self", NULL
8697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
8698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8699 if (SWIG_arg_fail(1)) SWIG_fail
;
8701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8704 wxPyEndAllowThreads(__tstate
);
8705 if (PyErr_Occurred()) SWIG_fail
;
8707 Py_INCREF(Py_None
); resultobj
= Py_None
;
8714 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8715 PyObject
*resultobj
;
8716 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8717 wxColour
*arg2
= 0 ;
8719 PyObject
* obj0
= 0 ;
8720 PyObject
* obj1
= 0 ;
8722 (char *) "self",(char *) "colText", NULL
8725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8727 if (SWIG_arg_fail(1)) SWIG_fail
;
8730 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8734 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8736 wxPyEndAllowThreads(__tstate
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8739 Py_INCREF(Py_None
); resultobj
= Py_None
;
8746 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8747 PyObject
*resultobj
;
8748 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8749 wxColour
*arg2
= 0 ;
8751 PyObject
* obj0
= 0 ;
8752 PyObject
* obj1
= 0 ;
8754 (char *) "self",(char *) "colBack", NULL
8757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8759 if (SWIG_arg_fail(1)) SWIG_fail
;
8762 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8771 Py_INCREF(Py_None
); resultobj
= Py_None
;
8778 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8779 PyObject
*resultobj
;
8780 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8782 long arg3
= (long) wxTEXT_ATTR_FONT
;
8783 PyObject
* obj0
= 0 ;
8784 PyObject
* obj1
= 0 ;
8785 PyObject
* obj2
= 0 ;
8787 (char *) "self",(char *) "font",(char *) "flags", NULL
8790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8792 if (SWIG_arg_fail(1)) SWIG_fail
;
8794 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8795 if (SWIG_arg_fail(2)) SWIG_fail
;
8797 SWIG_null_ref("wxFont");
8799 if (SWIG_arg_fail(2)) SWIG_fail
;
8803 arg3
= (long)(SWIG_As_long(obj2
));
8804 if (SWIG_arg_fail(3)) SWIG_fail
;
8808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8809 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
8811 wxPyEndAllowThreads(__tstate
);
8812 if (PyErr_Occurred()) SWIG_fail
;
8814 Py_INCREF(Py_None
); resultobj
= Py_None
;
8821 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8822 PyObject
*resultobj
;
8823 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8824 wxTextAttrAlignment arg2
;
8825 PyObject
* obj0
= 0 ;
8826 PyObject
* obj1
= 0 ;
8828 (char *) "self",(char *) "alignment", NULL
8831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8833 if (SWIG_arg_fail(1)) SWIG_fail
;
8835 arg2
= (wxTextAttrAlignment
)(SWIG_As_int(obj1
));
8836 if (SWIG_arg_fail(2)) SWIG_fail
;
8839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8840 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
8842 wxPyEndAllowThreads(__tstate
);
8843 if (PyErr_Occurred()) SWIG_fail
;
8845 Py_INCREF(Py_None
); resultobj
= Py_None
;
8852 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8853 PyObject
*resultobj
;
8854 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8855 wxArrayInt
*arg2
= 0 ;
8856 bool temp2
= false ;
8857 PyObject
* obj0
= 0 ;
8858 PyObject
* obj1
= 0 ;
8860 (char *) "self",(char *) "tabs", NULL
8863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
8864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8865 if (SWIG_arg_fail(1)) SWIG_fail
;
8867 if (! PySequence_Check(obj1
)) {
8868 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
8871 arg2
= new wxArrayInt
;
8873 int i
, len
=PySequence_Length(obj1
);
8874 for (i
=0; i
<len
; i
++) {
8875 PyObject
* item
= PySequence_GetItem(obj1
, i
);
8876 PyObject
* number
= PyNumber_Int(item
);
8877 arg2
->Add(PyInt_AS_LONG(number
));
8883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8884 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
8886 wxPyEndAllowThreads(__tstate
);
8887 if (PyErr_Occurred()) SWIG_fail
;
8889 Py_INCREF(Py_None
); resultobj
= Py_None
;
8891 if (temp2
) delete arg2
;
8896 if (temp2
) delete arg2
;
8902 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8903 PyObject
*resultobj
;
8904 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8906 int arg3
= (int) 0 ;
8907 PyObject
* obj0
= 0 ;
8908 PyObject
* obj1
= 0 ;
8909 PyObject
* obj2
= 0 ;
8911 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
8914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8916 if (SWIG_arg_fail(1)) SWIG_fail
;
8918 arg2
= (int)(SWIG_As_int(obj1
));
8919 if (SWIG_arg_fail(2)) SWIG_fail
;
8923 arg3
= (int)(SWIG_As_int(obj2
));
8924 if (SWIG_arg_fail(3)) SWIG_fail
;
8928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8929 (arg1
)->SetLeftIndent(arg2
,arg3
);
8931 wxPyEndAllowThreads(__tstate
);
8932 if (PyErr_Occurred()) SWIG_fail
;
8934 Py_INCREF(Py_None
); resultobj
= Py_None
;
8941 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8942 PyObject
*resultobj
;
8943 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8945 PyObject
* obj0
= 0 ;
8946 PyObject
* obj1
= 0 ;
8948 (char *) "self",(char *) "indent", NULL
8951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
8952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8953 if (SWIG_arg_fail(1)) SWIG_fail
;
8955 arg2
= (int)(SWIG_As_int(obj1
));
8956 if (SWIG_arg_fail(2)) SWIG_fail
;
8959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8960 (arg1
)->SetRightIndent(arg2
);
8962 wxPyEndAllowThreads(__tstate
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8965 Py_INCREF(Py_None
); resultobj
= Py_None
;
8972 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
;
8974 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8976 PyObject
* obj0
= 0 ;
8977 PyObject
* obj1
= 0 ;
8979 (char *) "self",(char *) "flags", NULL
8982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8984 if (SWIG_arg_fail(1)) SWIG_fail
;
8986 arg2
= (long)(SWIG_As_long(obj1
));
8987 if (SWIG_arg_fail(2)) SWIG_fail
;
8990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8991 (arg1
)->SetFlags(arg2
);
8993 wxPyEndAllowThreads(__tstate
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8996 Py_INCREF(Py_None
); resultobj
= Py_None
;
9003 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9004 PyObject
*resultobj
;
9005 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9007 PyObject
* obj0
= 0 ;
9009 (char *) "self", NULL
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
9013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9014 if (SWIG_arg_fail(1)) SWIG_fail
;
9016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9017 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
9019 wxPyEndAllowThreads(__tstate
);
9020 if (PyErr_Occurred()) SWIG_fail
;
9023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9031 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9032 PyObject
*resultobj
;
9033 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9035 PyObject
* obj0
= 0 ;
9037 (char *) "self", NULL
9040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
9041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9042 if (SWIG_arg_fail(1)) SWIG_fail
;
9044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9045 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
9047 wxPyEndAllowThreads(__tstate
);
9048 if (PyErr_Occurred()) SWIG_fail
;
9051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9059 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9060 PyObject
*resultobj
;
9061 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9063 PyObject
* obj0
= 0 ;
9065 (char *) "self", NULL
9068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
9069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9070 if (SWIG_arg_fail(1)) SWIG_fail
;
9072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9073 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
9075 wxPyEndAllowThreads(__tstate
);
9076 if (PyErr_Occurred()) SWIG_fail
;
9079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9087 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
*resultobj
;
9089 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9091 PyObject
* obj0
= 0 ;
9093 (char *) "self", NULL
9096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
9097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9098 if (SWIG_arg_fail(1)) SWIG_fail
;
9100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9101 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
9103 wxPyEndAllowThreads(__tstate
);
9104 if (PyErr_Occurred()) SWIG_fail
;
9107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9115 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9116 PyObject
*resultobj
;
9117 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9119 PyObject
* obj0
= 0 ;
9121 (char *) "self", NULL
9124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
9125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9126 if (SWIG_arg_fail(1)) SWIG_fail
;
9128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9129 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
9131 wxPyEndAllowThreads(__tstate
);
9132 if (PyErr_Occurred()) SWIG_fail
;
9135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9143 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9144 PyObject
*resultobj
;
9145 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9147 PyObject
* obj0
= 0 ;
9149 (char *) "self", NULL
9152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
9153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9154 if (SWIG_arg_fail(1)) SWIG_fail
;
9156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9157 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
9159 wxPyEndAllowThreads(__tstate
);
9160 if (PyErr_Occurred()) SWIG_fail
;
9163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9171 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
*resultobj
;
9173 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9175 PyObject
* obj0
= 0 ;
9177 (char *) "self", NULL
9180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
9181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9182 if (SWIG_arg_fail(1)) SWIG_fail
;
9184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9185 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9187 wxPyEndAllowThreads(__tstate
);
9188 if (PyErr_Occurred()) SWIG_fail
;
9191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9199 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9200 PyObject
*resultobj
;
9201 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9204 PyObject
* obj0
= 0 ;
9205 PyObject
* obj1
= 0 ;
9207 (char *) "self",(char *) "flag", NULL
9210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9212 if (SWIG_arg_fail(1)) SWIG_fail
;
9214 arg2
= (long)(SWIG_As_long(obj1
));
9215 if (SWIG_arg_fail(2)) SWIG_fail
;
9218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9219 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9221 wxPyEndAllowThreads(__tstate
);
9222 if (PyErr_Occurred()) SWIG_fail
;
9225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9233 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9234 PyObject
*resultobj
;
9235 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9237 PyObject
* obj0
= 0 ;
9239 (char *) "self", NULL
9242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9244 if (SWIG_arg_fail(1)) SWIG_fail
;
9246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9249 result
= (wxColour
*) &_result_ref
;
9252 wxPyEndAllowThreads(__tstate
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9262 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9263 PyObject
*resultobj
;
9264 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9266 PyObject
* obj0
= 0 ;
9268 (char *) "self", NULL
9271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9273 if (SWIG_arg_fail(1)) SWIG_fail
;
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9278 result
= (wxColour
*) &_result_ref
;
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9291 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9292 PyObject
*resultobj
;
9293 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9295 PyObject
* obj0
= 0 ;
9297 (char *) "self", NULL
9300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9302 if (SWIG_arg_fail(1)) SWIG_fail
;
9304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9306 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9307 result
= (wxFont
*) &_result_ref
;
9310 wxPyEndAllowThreads(__tstate
);
9311 if (PyErr_Occurred()) SWIG_fail
;
9314 wxFont
* resultptr
= new wxFont(*result
);
9315 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9323 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9324 PyObject
*resultobj
;
9325 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9326 wxTextAttrAlignment result
;
9327 PyObject
* obj0
= 0 ;
9329 (char *) "self", NULL
9332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
9333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9334 if (SWIG_arg_fail(1)) SWIG_fail
;
9336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9337 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9339 wxPyEndAllowThreads(__tstate
);
9340 if (PyErr_Occurred()) SWIG_fail
;
9342 resultobj
= SWIG_From_int((result
));
9349 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9350 PyObject
*resultobj
;
9351 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9353 PyObject
* obj0
= 0 ;
9355 (char *) "self", NULL
9358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
9359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9360 if (SWIG_arg_fail(1)) SWIG_fail
;
9362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9364 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9365 result
= (wxArrayInt
*) &_result_ref
;
9368 wxPyEndAllowThreads(__tstate
);
9369 if (PyErr_Occurred()) SWIG_fail
;
9372 resultobj
= PyList_New(0);
9374 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9375 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9376 PyList_Append(resultobj
, val
);
9386 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9387 PyObject
*resultobj
;
9388 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9390 PyObject
* obj0
= 0 ;
9392 (char *) "self", NULL
9395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
9396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9397 if (SWIG_arg_fail(1)) SWIG_fail
;
9399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9400 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
9402 wxPyEndAllowThreads(__tstate
);
9403 if (PyErr_Occurred()) SWIG_fail
;
9406 resultobj
= SWIG_From_long((long)(result
));
9414 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9415 PyObject
*resultobj
;
9416 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9418 PyObject
* obj0
= 0 ;
9420 (char *) "self", NULL
9423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
9424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9425 if (SWIG_arg_fail(1)) SWIG_fail
;
9427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9428 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
9430 wxPyEndAllowThreads(__tstate
);
9431 if (PyErr_Occurred()) SWIG_fail
;
9434 resultobj
= SWIG_From_long((long)(result
));
9442 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9443 PyObject
*resultobj
;
9444 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9446 PyObject
* obj0
= 0 ;
9448 (char *) "self", NULL
9451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
9452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9453 if (SWIG_arg_fail(1)) SWIG_fail
;
9455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9456 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
9458 wxPyEndAllowThreads(__tstate
);
9459 if (PyErr_Occurred()) SWIG_fail
;
9462 resultobj
= SWIG_From_long((long)(result
));
9470 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9471 PyObject
*resultobj
;
9472 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9474 PyObject
* obj0
= 0 ;
9476 (char *) "self", NULL
9479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
9480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9481 if (SWIG_arg_fail(1)) SWIG_fail
;
9483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9484 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9486 wxPyEndAllowThreads(__tstate
);
9487 if (PyErr_Occurred()) SWIG_fail
;
9490 resultobj
= SWIG_From_long((long)(result
));
9498 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9499 PyObject
*resultobj
;
9500 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9502 PyObject
* obj0
= 0 ;
9504 (char *) "self", NULL
9507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9509 if (SWIG_arg_fail(1)) SWIG_fail
;
9511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9512 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9514 wxPyEndAllowThreads(__tstate
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9526 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9527 PyObject
*resultobj
;
9528 wxTextAttr
*arg1
= 0 ;
9529 wxTextAttr
*arg2
= 0 ;
9530 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9532 PyObject
* obj0
= 0 ;
9533 PyObject
* obj1
= 0 ;
9534 PyObject
* obj2
= 0 ;
9536 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9542 if (SWIG_arg_fail(1)) SWIG_fail
;
9544 SWIG_null_ref("wxTextAttr");
9546 if (SWIG_arg_fail(1)) SWIG_fail
;
9549 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9550 if (SWIG_arg_fail(2)) SWIG_fail
;
9552 SWIG_null_ref("wxTextAttr");
9554 if (SWIG_arg_fail(2)) SWIG_fail
;
9556 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9557 if (SWIG_arg_fail(3)) SWIG_fail
;
9559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9560 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9562 wxPyEndAllowThreads(__tstate
);
9563 if (PyErr_Occurred()) SWIG_fail
;
9566 wxTextAttr
* resultptr
;
9567 resultptr
= new wxTextAttr((wxTextAttr
&)(result
));
9568 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9576 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9578 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9579 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9581 return Py_BuildValue((char *)"");
9583 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9584 PyObject
*resultobj
;
9585 wxWindow
*arg1
= (wxWindow
*) 0 ;
9586 int arg2
= (int) -1 ;
9587 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9588 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9589 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9590 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9591 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9592 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9593 long arg6
= (long) 0 ;
9594 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9595 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9596 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9597 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9599 bool temp3
= false ;
9602 bool temp8
= false ;
9603 PyObject
* obj0
= 0 ;
9604 PyObject
* obj1
= 0 ;
9605 PyObject
* obj2
= 0 ;
9606 PyObject
* obj3
= 0 ;
9607 PyObject
* obj4
= 0 ;
9608 PyObject
* obj5
= 0 ;
9609 PyObject
* obj6
= 0 ;
9610 PyObject
* obj7
= 0 ;
9612 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9617 if (SWIG_arg_fail(1)) SWIG_fail
;
9620 arg2
= (int)(SWIG_As_int(obj1
));
9621 if (SWIG_arg_fail(2)) SWIG_fail
;
9626 arg3
= wxString_in_helper(obj2
);
9627 if (arg3
== NULL
) SWIG_fail
;
9634 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9640 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9645 arg6
= (long)(SWIG_As_long(obj5
));
9646 if (SWIG_arg_fail(6)) SWIG_fail
;
9651 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9652 if (SWIG_arg_fail(7)) SWIG_fail
;
9654 SWIG_null_ref("wxValidator");
9656 if (SWIG_arg_fail(7)) SWIG_fail
;
9661 arg8
= wxString_in_helper(obj7
);
9662 if (arg8
== NULL
) SWIG_fail
;
9667 if (!wxPyCheckForApp()) SWIG_fail
;
9668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9669 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9671 wxPyEndAllowThreads(__tstate
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9697 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9698 PyObject
*resultobj
;
9704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
9706 if (!wxPyCheckForApp()) SWIG_fail
;
9707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9708 result
= (wxTextCtrl
*)new wxTextCtrl();
9710 wxPyEndAllowThreads(__tstate
);
9711 if (PyErr_Occurred()) SWIG_fail
;
9713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9720 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9721 PyObject
*resultobj
;
9722 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9723 wxWindow
*arg2
= (wxWindow
*) 0 ;
9724 int arg3
= (int) -1 ;
9725 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9726 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9727 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9728 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9729 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9730 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9731 long arg7
= (long) 0 ;
9732 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9733 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9734 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
9735 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9737 bool temp4
= false ;
9740 bool temp9
= false ;
9741 PyObject
* obj0
= 0 ;
9742 PyObject
* obj1
= 0 ;
9743 PyObject
* obj2
= 0 ;
9744 PyObject
* obj3
= 0 ;
9745 PyObject
* obj4
= 0 ;
9746 PyObject
* obj5
= 0 ;
9747 PyObject
* obj6
= 0 ;
9748 PyObject
* obj7
= 0 ;
9749 PyObject
* obj8
= 0 ;
9751 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
9755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9756 if (SWIG_arg_fail(1)) SWIG_fail
;
9757 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9758 if (SWIG_arg_fail(2)) SWIG_fail
;
9761 arg3
= (int)(SWIG_As_int(obj2
));
9762 if (SWIG_arg_fail(3)) SWIG_fail
;
9767 arg4
= wxString_in_helper(obj3
);
9768 if (arg4
== NULL
) SWIG_fail
;
9775 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9781 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9786 arg7
= (long)(SWIG_As_long(obj6
));
9787 if (SWIG_arg_fail(7)) SWIG_fail
;
9792 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9793 if (SWIG_arg_fail(8)) SWIG_fail
;
9795 SWIG_null_ref("wxValidator");
9797 if (SWIG_arg_fail(8)) SWIG_fail
;
9802 arg9
= wxString_in_helper(obj8
);
9803 if (arg9
== NULL
) SWIG_fail
;
9808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9809 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9811 wxPyEndAllowThreads(__tstate
);
9812 if (PyErr_Occurred()) SWIG_fail
;
9815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9839 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9840 PyObject
*resultobj
;
9841 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9843 PyObject
* obj0
= 0 ;
9845 (char *) "self", NULL
9848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9850 if (SWIG_arg_fail(1)) SWIG_fail
;
9852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9853 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
9855 wxPyEndAllowThreads(__tstate
);
9856 if (PyErr_Occurred()) SWIG_fail
;
9860 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9862 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9871 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9872 PyObject
*resultobj
;
9873 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9874 wxString
*arg2
= 0 ;
9875 bool temp2
= false ;
9876 PyObject
* obj0
= 0 ;
9877 PyObject
* obj1
= 0 ;
9879 (char *) "self",(char *) "value", NULL
9882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9884 if (SWIG_arg_fail(1)) SWIG_fail
;
9886 arg2
= wxString_in_helper(obj1
);
9887 if (arg2
== NULL
) SWIG_fail
;
9891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9892 (arg1
)->SetValue((wxString
const &)*arg2
);
9894 wxPyEndAllowThreads(__tstate
);
9895 if (PyErr_Occurred()) SWIG_fail
;
9897 Py_INCREF(Py_None
); resultobj
= Py_None
;
9912 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9913 PyObject
*resultobj
;
9914 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9918 PyObject
* obj0
= 0 ;
9919 PyObject
* obj1
= 0 ;
9920 PyObject
* obj2
= 0 ;
9922 (char *) "self",(char *) "from",(char *) "to", NULL
9925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9927 if (SWIG_arg_fail(1)) SWIG_fail
;
9929 arg2
= (long)(SWIG_As_long(obj1
));
9930 if (SWIG_arg_fail(2)) SWIG_fail
;
9933 arg3
= (long)(SWIG_As_long(obj2
));
9934 if (SWIG_arg_fail(3)) SWIG_fail
;
9937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9938 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
9940 wxPyEndAllowThreads(__tstate
);
9941 if (PyErr_Occurred()) SWIG_fail
;
9945 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9947 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9956 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9957 PyObject
*resultobj
;
9958 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9961 PyObject
* obj0
= 0 ;
9962 PyObject
* obj1
= 0 ;
9964 (char *) "self",(char *) "lineNo", NULL
9967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9969 if (SWIG_arg_fail(1)) SWIG_fail
;
9971 arg2
= (long)(SWIG_As_long(obj1
));
9972 if (SWIG_arg_fail(2)) SWIG_fail
;
9975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9976 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
9978 wxPyEndAllowThreads(__tstate
);
9979 if (PyErr_Occurred()) SWIG_fail
;
9982 resultobj
= SWIG_From_int((int)(result
));
9990 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9991 PyObject
*resultobj
;
9992 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9995 PyObject
* obj0
= 0 ;
9996 PyObject
* obj1
= 0 ;
9998 (char *) "self",(char *) "lineNo", NULL
10001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
10002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10003 if (SWIG_arg_fail(1)) SWIG_fail
;
10005 arg2
= (long)(SWIG_As_long(obj1
));
10006 if (SWIG_arg_fail(2)) SWIG_fail
;
10009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10010 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
10012 wxPyEndAllowThreads(__tstate
);
10013 if (PyErr_Occurred()) SWIG_fail
;
10017 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10019 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10028 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10029 PyObject
*resultobj
;
10030 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10032 PyObject
* obj0
= 0 ;
10033 char *kwnames
[] = {
10034 (char *) "self", NULL
10037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
10038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10039 if (SWIG_arg_fail(1)) SWIG_fail
;
10041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10042 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
10044 wxPyEndAllowThreads(__tstate
);
10045 if (PyErr_Occurred()) SWIG_fail
;
10048 resultobj
= SWIG_From_int((int)(result
));
10056 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10057 PyObject
*resultobj
;
10058 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10060 PyObject
* obj0
= 0 ;
10061 char *kwnames
[] = {
10062 (char *) "self", NULL
10065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
10066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10067 if (SWIG_arg_fail(1)) SWIG_fail
;
10069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10070 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
10072 wxPyEndAllowThreads(__tstate
);
10073 if (PyErr_Occurred()) SWIG_fail
;
10076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10084 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10085 PyObject
*resultobj
;
10086 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10088 PyObject
* obj0
= 0 ;
10089 char *kwnames
[] = {
10090 (char *) "self", NULL
10093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
10094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10095 if (SWIG_arg_fail(1)) SWIG_fail
;
10097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10098 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
10100 wxPyEndAllowThreads(__tstate
);
10101 if (PyErr_Occurred()) SWIG_fail
;
10104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10112 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10113 PyObject
*resultobj
;
10114 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10116 PyObject
* obj0
= 0 ;
10117 char *kwnames
[] = {
10118 (char *) "self", NULL
10121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
10122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10123 if (SWIG_arg_fail(1)) SWIG_fail
;
10125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10126 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
10128 wxPyEndAllowThreads(__tstate
);
10129 if (PyErr_Occurred()) SWIG_fail
;
10132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10140 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10141 PyObject
*resultobj
;
10142 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10144 PyObject
* obj0
= 0 ;
10145 char *kwnames
[] = {
10146 (char *) "self", NULL
10149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
10150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10151 if (SWIG_arg_fail(1)) SWIG_fail
;
10153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10154 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10156 wxPyEndAllowThreads(__tstate
);
10157 if (PyErr_Occurred()) SWIG_fail
;
10160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10168 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10169 PyObject
*resultobj
;
10170 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10171 long *arg2
= (long *) 0 ;
10172 long *arg3
= (long *) 0 ;
10177 PyObject
* obj0
= 0 ;
10178 char *kwnames
[] = {
10179 (char *) "self", NULL
10182 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10183 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10186 if (SWIG_arg_fail(1)) SWIG_fail
;
10188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10189 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10191 wxPyEndAllowThreads(__tstate
);
10192 if (PyErr_Occurred()) SWIG_fail
;
10194 Py_INCREF(Py_None
); resultobj
= Py_None
;
10195 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10196 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10197 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10198 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10205 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10206 PyObject
*resultobj
;
10207 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10209 PyObject
* obj0
= 0 ;
10210 char *kwnames
[] = {
10211 (char *) "self", NULL
10214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10216 if (SWIG_arg_fail(1)) SWIG_fail
;
10218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10219 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10221 wxPyEndAllowThreads(__tstate
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10226 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10228 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10237 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10238 PyObject
*resultobj
;
10239 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10240 PyObject
* obj0
= 0 ;
10241 char *kwnames
[] = {
10242 (char *) "self", NULL
10245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
10246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10247 if (SWIG_arg_fail(1)) SWIG_fail
;
10249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10252 wxPyEndAllowThreads(__tstate
);
10253 if (PyErr_Occurred()) SWIG_fail
;
10255 Py_INCREF(Py_None
); resultobj
= Py_None
;
10262 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10263 PyObject
*resultobj
;
10264 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10267 wxString
*arg4
= 0 ;
10268 bool temp4
= false ;
10269 PyObject
* obj0
= 0 ;
10270 PyObject
* obj1
= 0 ;
10271 PyObject
* obj2
= 0 ;
10272 PyObject
* obj3
= 0 ;
10273 char *kwnames
[] = {
10274 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10279 if (SWIG_arg_fail(1)) SWIG_fail
;
10281 arg2
= (long)(SWIG_As_long(obj1
));
10282 if (SWIG_arg_fail(2)) SWIG_fail
;
10285 arg3
= (long)(SWIG_As_long(obj2
));
10286 if (SWIG_arg_fail(3)) SWIG_fail
;
10289 arg4
= wxString_in_helper(obj3
);
10290 if (arg4
== NULL
) SWIG_fail
;
10294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10295 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10297 wxPyEndAllowThreads(__tstate
);
10298 if (PyErr_Occurred()) SWIG_fail
;
10300 Py_INCREF(Py_None
); resultobj
= Py_None
;
10315 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10316 PyObject
*resultobj
;
10317 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10320 PyObject
* obj0
= 0 ;
10321 PyObject
* obj1
= 0 ;
10322 PyObject
* obj2
= 0 ;
10323 char *kwnames
[] = {
10324 (char *) "self",(char *) "from",(char *) "to", NULL
10327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10329 if (SWIG_arg_fail(1)) SWIG_fail
;
10331 arg2
= (long)(SWIG_As_long(obj1
));
10332 if (SWIG_arg_fail(2)) SWIG_fail
;
10335 arg3
= (long)(SWIG_As_long(obj2
));
10336 if (SWIG_arg_fail(3)) SWIG_fail
;
10339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10340 (arg1
)->Remove(arg2
,arg3
);
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10345 Py_INCREF(Py_None
); resultobj
= Py_None
;
10352 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10353 PyObject
*resultobj
;
10354 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10355 wxString
*arg2
= 0 ;
10357 bool temp2
= false ;
10358 PyObject
* obj0
= 0 ;
10359 PyObject
* obj1
= 0 ;
10360 char *kwnames
[] = {
10361 (char *) "self",(char *) "file", NULL
10364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10366 if (SWIG_arg_fail(1)) SWIG_fail
;
10368 arg2
= wxString_in_helper(obj1
);
10369 if (arg2
== NULL
) SWIG_fail
;
10373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10374 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10376 wxPyEndAllowThreads(__tstate
);
10377 if (PyErr_Occurred()) SWIG_fail
;
10380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10396 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10397 PyObject
*resultobj
;
10398 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10399 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10400 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10402 bool temp2
= false ;
10403 PyObject
* obj0
= 0 ;
10404 PyObject
* obj1
= 0 ;
10405 char *kwnames
[] = {
10406 (char *) "self",(char *) "file", NULL
10409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10411 if (SWIG_arg_fail(1)) SWIG_fail
;
10414 arg2
= wxString_in_helper(obj1
);
10415 if (arg2
== NULL
) SWIG_fail
;
10420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10421 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10423 wxPyEndAllowThreads(__tstate
);
10424 if (PyErr_Occurred()) SWIG_fail
;
10427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10443 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10444 PyObject
*resultobj
;
10445 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10446 PyObject
* obj0
= 0 ;
10447 char *kwnames
[] = {
10448 (char *) "self", NULL
10451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10453 if (SWIG_arg_fail(1)) SWIG_fail
;
10455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10456 (arg1
)->MarkDirty();
10458 wxPyEndAllowThreads(__tstate
);
10459 if (PyErr_Occurred()) SWIG_fail
;
10461 Py_INCREF(Py_None
); resultobj
= Py_None
;
10468 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10469 PyObject
*resultobj
;
10470 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10471 PyObject
* obj0
= 0 ;
10472 char *kwnames
[] = {
10473 (char *) "self", NULL
10476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10478 if (SWIG_arg_fail(1)) SWIG_fail
;
10480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10481 (arg1
)->DiscardEdits();
10483 wxPyEndAllowThreads(__tstate
);
10484 if (PyErr_Occurred()) SWIG_fail
;
10486 Py_INCREF(Py_None
); resultobj
= Py_None
;
10493 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10494 PyObject
*resultobj
;
10495 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10496 unsigned long arg2
;
10497 PyObject
* obj0
= 0 ;
10498 PyObject
* obj1
= 0 ;
10499 char *kwnames
[] = {
10500 (char *) "self",(char *) "len", NULL
10503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10505 if (SWIG_arg_fail(1)) SWIG_fail
;
10507 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10508 if (SWIG_arg_fail(2)) SWIG_fail
;
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 (arg1
)->SetMaxLength(arg2
);
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) SWIG_fail
;
10517 Py_INCREF(Py_None
); resultobj
= Py_None
;
10524 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10525 PyObject
*resultobj
;
10526 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10527 wxString
*arg2
= 0 ;
10528 bool temp2
= false ;
10529 PyObject
* obj0
= 0 ;
10530 PyObject
* obj1
= 0 ;
10531 char *kwnames
[] = {
10532 (char *) "self",(char *) "text", NULL
10535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10537 if (SWIG_arg_fail(1)) SWIG_fail
;
10539 arg2
= wxString_in_helper(obj1
);
10540 if (arg2
== NULL
) SWIG_fail
;
10544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10545 (arg1
)->WriteText((wxString
const &)*arg2
);
10547 wxPyEndAllowThreads(__tstate
);
10548 if (PyErr_Occurred()) SWIG_fail
;
10550 Py_INCREF(Py_None
); resultobj
= Py_None
;
10565 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10566 PyObject
*resultobj
;
10567 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10568 wxString
*arg2
= 0 ;
10569 bool temp2
= false ;
10570 PyObject
* obj0
= 0 ;
10571 PyObject
* obj1
= 0 ;
10572 char *kwnames
[] = {
10573 (char *) "self",(char *) "text", NULL
10576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
10577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10578 if (SWIG_arg_fail(1)) SWIG_fail
;
10580 arg2
= wxString_in_helper(obj1
);
10581 if (arg2
== NULL
) SWIG_fail
;
10585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10586 (arg1
)->AppendText((wxString
const &)*arg2
);
10588 wxPyEndAllowThreads(__tstate
);
10589 if (PyErr_Occurred()) SWIG_fail
;
10591 Py_INCREF(Py_None
); resultobj
= Py_None
;
10606 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10607 PyObject
*resultobj
;
10608 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10609 wxKeyEvent
*arg2
= 0 ;
10611 PyObject
* obj0
= 0 ;
10612 PyObject
* obj1
= 0 ;
10613 char *kwnames
[] = {
10614 (char *) "self",(char *) "event", NULL
10617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
10618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10619 if (SWIG_arg_fail(1)) SWIG_fail
;
10621 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10622 if (SWIG_arg_fail(2)) SWIG_fail
;
10623 if (arg2
== NULL
) {
10624 SWIG_null_ref("wxKeyEvent");
10626 if (SWIG_arg_fail(2)) SWIG_fail
;
10629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10630 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10632 wxPyEndAllowThreads(__tstate
);
10633 if (PyErr_Occurred()) SWIG_fail
;
10636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10644 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10645 PyObject
*resultobj
;
10646 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10649 wxTextAttr
*arg4
= 0 ;
10651 PyObject
* obj0
= 0 ;
10652 PyObject
* obj1
= 0 ;
10653 PyObject
* obj2
= 0 ;
10654 PyObject
* obj3
= 0 ;
10655 char *kwnames
[] = {
10656 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10661 if (SWIG_arg_fail(1)) SWIG_fail
;
10663 arg2
= (long)(SWIG_As_long(obj1
));
10664 if (SWIG_arg_fail(2)) SWIG_fail
;
10667 arg3
= (long)(SWIG_As_long(obj2
));
10668 if (SWIG_arg_fail(3)) SWIG_fail
;
10671 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10672 if (SWIG_arg_fail(4)) SWIG_fail
;
10673 if (arg4
== NULL
) {
10674 SWIG_null_ref("wxTextAttr");
10676 if (SWIG_arg_fail(4)) SWIG_fail
;
10679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10680 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
10682 wxPyEndAllowThreads(__tstate
);
10683 if (PyErr_Occurred()) SWIG_fail
;
10686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10694 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10695 PyObject
*resultobj
;
10696 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10698 wxTextAttr
*arg3
= 0 ;
10700 PyObject
* obj0
= 0 ;
10701 PyObject
* obj1
= 0 ;
10702 PyObject
* obj2
= 0 ;
10703 char *kwnames
[] = {
10704 (char *) "self",(char *) "position",(char *) "style", NULL
10707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10709 if (SWIG_arg_fail(1)) SWIG_fail
;
10711 arg2
= (long)(SWIG_As_long(obj1
));
10712 if (SWIG_arg_fail(2)) SWIG_fail
;
10715 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10716 if (SWIG_arg_fail(3)) SWIG_fail
;
10717 if (arg3
== NULL
) {
10718 SWIG_null_ref("wxTextAttr");
10720 if (SWIG_arg_fail(3)) SWIG_fail
;
10723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10724 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
10726 wxPyEndAllowThreads(__tstate
);
10727 if (PyErr_Occurred()) SWIG_fail
;
10730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10738 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10739 PyObject
*resultobj
;
10740 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10741 wxTextAttr
*arg2
= 0 ;
10743 PyObject
* obj0
= 0 ;
10744 PyObject
* obj1
= 0 ;
10745 char *kwnames
[] = {
10746 (char *) "self",(char *) "style", NULL
10749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10751 if (SWIG_arg_fail(1)) SWIG_fail
;
10753 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10754 if (SWIG_arg_fail(2)) SWIG_fail
;
10755 if (arg2
== NULL
) {
10756 SWIG_null_ref("wxTextAttr");
10758 if (SWIG_arg_fail(2)) SWIG_fail
;
10761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10762 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
10764 wxPyEndAllowThreads(__tstate
);
10765 if (PyErr_Occurred()) SWIG_fail
;
10768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10776 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10777 PyObject
*resultobj
;
10778 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10779 wxTextAttr
*result
;
10780 PyObject
* obj0
= 0 ;
10781 char *kwnames
[] = {
10782 (char *) "self", NULL
10785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
10786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10787 if (SWIG_arg_fail(1)) SWIG_fail
;
10789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10791 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
10792 result
= (wxTextAttr
*) &_result_ref
;
10795 wxPyEndAllowThreads(__tstate
);
10796 if (PyErr_Occurred()) SWIG_fail
;
10798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
10805 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10806 PyObject
*resultobj
;
10807 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10811 PyObject
* obj0
= 0 ;
10812 PyObject
* obj1
= 0 ;
10813 PyObject
* obj2
= 0 ;
10814 char *kwnames
[] = {
10815 (char *) "self",(char *) "x",(char *) "y", NULL
10818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10820 if (SWIG_arg_fail(1)) SWIG_fail
;
10822 arg2
= (long)(SWIG_As_long(obj1
));
10823 if (SWIG_arg_fail(2)) SWIG_fail
;
10826 arg3
= (long)(SWIG_As_long(obj2
));
10827 if (SWIG_arg_fail(3)) SWIG_fail
;
10830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10831 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
10833 wxPyEndAllowThreads(__tstate
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10837 resultobj
= SWIG_From_long((long)(result
));
10845 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10846 PyObject
*resultobj
;
10847 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10849 long *arg3
= (long *) 0 ;
10850 long *arg4
= (long *) 0 ;
10855 PyObject
* obj0
= 0 ;
10856 PyObject
* obj1
= 0 ;
10857 char *kwnames
[] = {
10858 (char *) "self",(char *) "pos", NULL
10861 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10862 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
10864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10865 if (SWIG_arg_fail(1)) SWIG_fail
;
10867 arg2
= (long)(SWIG_As_long(obj1
));
10868 if (SWIG_arg_fail(2)) SWIG_fail
;
10871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10872 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
10874 wxPyEndAllowThreads(__tstate
);
10875 if (PyErr_Occurred()) SWIG_fail
;
10877 Py_INCREF(Py_None
); resultobj
= Py_None
;
10878 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10879 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10880 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10881 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10888 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10889 PyObject
*resultobj
;
10890 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10892 PyObject
* obj0
= 0 ;
10893 PyObject
* obj1
= 0 ;
10894 char *kwnames
[] = {
10895 (char *) "self",(char *) "pos", NULL
10898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10900 if (SWIG_arg_fail(1)) SWIG_fail
;
10902 arg2
= (long)(SWIG_As_long(obj1
));
10903 if (SWIG_arg_fail(2)) SWIG_fail
;
10906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10907 (arg1
)->ShowPosition(arg2
);
10909 wxPyEndAllowThreads(__tstate
);
10910 if (PyErr_Occurred()) SWIG_fail
;
10912 Py_INCREF(Py_None
); resultobj
= Py_None
;
10919 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10920 PyObject
*resultobj
;
10921 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10922 wxPoint
*arg2
= 0 ;
10923 long *arg3
= (long *) 0 ;
10924 long *arg4
= (long *) 0 ;
10925 wxTextCtrlHitTestResult result
;
10931 PyObject
* obj0
= 0 ;
10932 PyObject
* obj1
= 0 ;
10933 char *kwnames
[] = {
10934 (char *) "self",(char *) "pt", NULL
10937 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10938 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
10940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10941 if (SWIG_arg_fail(1)) SWIG_fail
;
10944 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10948 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
10950 wxPyEndAllowThreads(__tstate
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10953 resultobj
= SWIG_From_int((result
));
10954 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10955 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10956 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10957 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10964 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10965 PyObject
*resultobj
;
10966 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10967 wxPoint
*arg2
= 0 ;
10968 long *arg3
= (long *) 0 ;
10969 wxTextCtrlHitTestResult result
;
10973 PyObject
* obj0
= 0 ;
10974 PyObject
* obj1
= 0 ;
10975 char *kwnames
[] = {
10976 (char *) "self",(char *) "pt", NULL
10979 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
10981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10982 if (SWIG_arg_fail(1)) SWIG_fail
;
10985 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10989 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
10991 wxPyEndAllowThreads(__tstate
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10994 resultobj
= SWIG_From_int((result
));
10995 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10996 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11003 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11004 PyObject
*resultobj
;
11005 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11006 PyObject
* obj0
= 0 ;
11007 char *kwnames
[] = {
11008 (char *) "self", NULL
11011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
11012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11013 if (SWIG_arg_fail(1)) SWIG_fail
;
11015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 wxPyEndAllowThreads(__tstate
);
11019 if (PyErr_Occurred()) SWIG_fail
;
11021 Py_INCREF(Py_None
); resultobj
= Py_None
;
11028 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11029 PyObject
*resultobj
;
11030 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11031 PyObject
* obj0
= 0 ;
11032 char *kwnames
[] = {
11033 (char *) "self", NULL
11036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
11037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11038 if (SWIG_arg_fail(1)) SWIG_fail
;
11040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11043 wxPyEndAllowThreads(__tstate
);
11044 if (PyErr_Occurred()) SWIG_fail
;
11046 Py_INCREF(Py_None
); resultobj
= Py_None
;
11053 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11054 PyObject
*resultobj
;
11055 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11056 PyObject
* obj0
= 0 ;
11057 char *kwnames
[] = {
11058 (char *) "self", NULL
11061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
11062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11063 if (SWIG_arg_fail(1)) SWIG_fail
;
11065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11068 wxPyEndAllowThreads(__tstate
);
11069 if (PyErr_Occurred()) SWIG_fail
;
11071 Py_INCREF(Py_None
); resultobj
= Py_None
;
11078 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11079 PyObject
*resultobj
;
11080 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11082 PyObject
* obj0
= 0 ;
11083 char *kwnames
[] = {
11084 (char *) "self", NULL
11087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
11088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11089 if (SWIG_arg_fail(1)) SWIG_fail
;
11091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11092 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
11094 wxPyEndAllowThreads(__tstate
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11106 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11107 PyObject
*resultobj
;
11108 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11110 PyObject
* obj0
= 0 ;
11111 char *kwnames
[] = {
11112 (char *) "self", NULL
11115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
11116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11117 if (SWIG_arg_fail(1)) SWIG_fail
;
11119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11120 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
11122 wxPyEndAllowThreads(__tstate
);
11123 if (PyErr_Occurred()) SWIG_fail
;
11126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11134 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11135 PyObject
*resultobj
;
11136 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11138 PyObject
* obj0
= 0 ;
11139 char *kwnames
[] = {
11140 (char *) "self", NULL
11143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11145 if (SWIG_arg_fail(1)) SWIG_fail
;
11147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11148 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11150 wxPyEndAllowThreads(__tstate
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11162 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11163 PyObject
*resultobj
;
11164 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11165 PyObject
* obj0
= 0 ;
11166 char *kwnames
[] = {
11167 (char *) "self", NULL
11170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11172 if (SWIG_arg_fail(1)) SWIG_fail
;
11174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11177 wxPyEndAllowThreads(__tstate
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11180 Py_INCREF(Py_None
); resultobj
= Py_None
;
11187 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11188 PyObject
*resultobj
;
11189 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11190 PyObject
* obj0
= 0 ;
11191 char *kwnames
[] = {
11192 (char *) "self", NULL
11195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11197 if (SWIG_arg_fail(1)) SWIG_fail
;
11199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11202 wxPyEndAllowThreads(__tstate
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11205 Py_INCREF(Py_None
); resultobj
= Py_None
;
11212 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11213 PyObject
*resultobj
;
11214 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11216 PyObject
* obj0
= 0 ;
11217 char *kwnames
[] = {
11218 (char *) "self", NULL
11221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
11222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11223 if (SWIG_arg_fail(1)) SWIG_fail
;
11225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11226 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
11228 wxPyEndAllowThreads(__tstate
);
11229 if (PyErr_Occurred()) SWIG_fail
;
11232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11240 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11241 PyObject
*resultobj
;
11242 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11244 PyObject
* obj0
= 0 ;
11245 char *kwnames
[] = {
11246 (char *) "self", NULL
11249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11251 if (SWIG_arg_fail(1)) SWIG_fail
;
11253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11254 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11256 wxPyEndAllowThreads(__tstate
);
11257 if (PyErr_Occurred()) SWIG_fail
;
11260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11268 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11269 PyObject
*resultobj
;
11270 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11272 PyObject
* obj0
= 0 ;
11273 PyObject
* obj1
= 0 ;
11274 char *kwnames
[] = {
11275 (char *) "self",(char *) "pos", NULL
11278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11280 if (SWIG_arg_fail(1)) SWIG_fail
;
11282 arg2
= (long)(SWIG_As_long(obj1
));
11283 if (SWIG_arg_fail(2)) SWIG_fail
;
11286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11287 (arg1
)->SetInsertionPoint(arg2
);
11289 wxPyEndAllowThreads(__tstate
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11292 Py_INCREF(Py_None
); resultobj
= Py_None
;
11299 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11300 PyObject
*resultobj
;
11301 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11302 PyObject
* obj0
= 0 ;
11303 char *kwnames
[] = {
11304 (char *) "self", NULL
11307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11309 if (SWIG_arg_fail(1)) SWIG_fail
;
11311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11312 (arg1
)->SetInsertionPointEnd();
11314 wxPyEndAllowThreads(__tstate
);
11315 if (PyErr_Occurred()) SWIG_fail
;
11317 Py_INCREF(Py_None
); resultobj
= Py_None
;
11324 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11325 PyObject
*resultobj
;
11326 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11328 PyObject
* obj0
= 0 ;
11329 char *kwnames
[] = {
11330 (char *) "self", NULL
11333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
11334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11335 if (SWIG_arg_fail(1)) SWIG_fail
;
11337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11338 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
11340 wxPyEndAllowThreads(__tstate
);
11341 if (PyErr_Occurred()) SWIG_fail
;
11344 resultobj
= SWIG_From_long((long)(result
));
11352 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11353 PyObject
*resultobj
;
11354 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11356 PyObject
* obj0
= 0 ;
11357 char *kwnames
[] = {
11358 (char *) "self", NULL
11361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
11362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11363 if (SWIG_arg_fail(1)) SWIG_fail
;
11365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11366 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11368 wxPyEndAllowThreads(__tstate
);
11369 if (PyErr_Occurred()) SWIG_fail
;
11372 resultobj
= SWIG_From_long((long)(result
));
11380 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11381 PyObject
*resultobj
;
11382 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11385 PyObject
* obj0
= 0 ;
11386 PyObject
* obj1
= 0 ;
11387 PyObject
* obj2
= 0 ;
11388 char *kwnames
[] = {
11389 (char *) "self",(char *) "from",(char *) "to", NULL
11392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11394 if (SWIG_arg_fail(1)) SWIG_fail
;
11396 arg2
= (long)(SWIG_As_long(obj1
));
11397 if (SWIG_arg_fail(2)) SWIG_fail
;
11400 arg3
= (long)(SWIG_As_long(obj2
));
11401 if (SWIG_arg_fail(3)) SWIG_fail
;
11404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11405 (arg1
)->SetSelection(arg2
,arg3
);
11407 wxPyEndAllowThreads(__tstate
);
11408 if (PyErr_Occurred()) SWIG_fail
;
11410 Py_INCREF(Py_None
); resultobj
= Py_None
;
11417 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11418 PyObject
*resultobj
;
11419 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11420 PyObject
* obj0
= 0 ;
11421 char *kwnames
[] = {
11422 (char *) "self", NULL
11425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
11426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11427 if (SWIG_arg_fail(1)) SWIG_fail
;
11429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11430 (arg1
)->SelectAll();
11432 wxPyEndAllowThreads(__tstate
);
11433 if (PyErr_Occurred()) SWIG_fail
;
11435 Py_INCREF(Py_None
); resultobj
= Py_None
;
11442 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11443 PyObject
*resultobj
;
11444 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11446 PyObject
* obj0
= 0 ;
11447 PyObject
* obj1
= 0 ;
11448 char *kwnames
[] = {
11449 (char *) "self",(char *) "editable", NULL
11452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11454 if (SWIG_arg_fail(1)) SWIG_fail
;
11456 arg2
= (bool)(SWIG_As_bool(obj1
));
11457 if (SWIG_arg_fail(2)) SWIG_fail
;
11460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11461 (arg1
)->SetEditable(arg2
);
11463 wxPyEndAllowThreads(__tstate
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11466 Py_INCREF(Py_None
); resultobj
= Py_None
;
11473 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11474 PyObject
*resultobj
;
11475 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11476 wxString
*arg2
= 0 ;
11477 bool temp2
= false ;
11478 PyObject
* obj0
= 0 ;
11479 PyObject
* obj1
= 0 ;
11480 char *kwnames
[] = {
11481 (char *) "self",(char *) "text", NULL
11484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11486 if (SWIG_arg_fail(1)) SWIG_fail
;
11488 arg2
= wxString_in_helper(obj1
);
11489 if (arg2
== NULL
) SWIG_fail
;
11493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11494 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11496 wxPyEndAllowThreads(__tstate
);
11497 if (PyErr_Occurred()) SWIG_fail
;
11499 Py_INCREF(Py_None
); resultobj
= Py_None
;
11514 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11515 PyObject
*resultobj
;
11516 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11520 PyObject
* obj0
= 0 ;
11521 PyObject
* obj1
= 0 ;
11522 PyObject
* obj2
= 0 ;
11523 char *kwnames
[] = {
11524 (char *) "self",(char *) "from",(char *) "to", NULL
11527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11529 if (SWIG_arg_fail(1)) SWIG_fail
;
11531 arg2
= (long)(SWIG_As_long(obj1
));
11532 if (SWIG_arg_fail(2)) SWIG_fail
;
11535 arg3
= (long)(SWIG_As_long(obj2
));
11536 if (SWIG_arg_fail(3)) SWIG_fail
;
11539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11540 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11542 wxPyEndAllowThreads(__tstate
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11547 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11549 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11558 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11559 PyObject
*resultobj
;
11560 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11561 wxVisualAttributes result
;
11562 PyObject
* obj0
= 0 ;
11563 char *kwnames
[] = {
11564 (char *) "variant", NULL
11567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11570 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
11571 if (SWIG_arg_fail(1)) SWIG_fail
;
11575 if (!wxPyCheckForApp()) SWIG_fail
;
11576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11577 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11579 wxPyEndAllowThreads(__tstate
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11583 wxVisualAttributes
* resultptr
;
11584 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
11585 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11593 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11596 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11598 return Py_BuildValue((char *)"");
11600 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11601 PyObject
*resultobj
;
11603 wxMouseEvent
*arg2
= 0 ;
11606 wxTextUrlEvent
*result
;
11607 PyObject
* obj0
= 0 ;
11608 PyObject
* obj1
= 0 ;
11609 PyObject
* obj2
= 0 ;
11610 PyObject
* obj3
= 0 ;
11611 char *kwnames
[] = {
11612 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11617 arg1
= (int)(SWIG_As_int(obj0
));
11618 if (SWIG_arg_fail(1)) SWIG_fail
;
11621 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
11622 if (SWIG_arg_fail(2)) SWIG_fail
;
11623 if (arg2
== NULL
) {
11624 SWIG_null_ref("wxMouseEvent");
11626 if (SWIG_arg_fail(2)) SWIG_fail
;
11629 arg3
= (long)(SWIG_As_long(obj2
));
11630 if (SWIG_arg_fail(3)) SWIG_fail
;
11633 arg4
= (long)(SWIG_As_long(obj3
));
11634 if (SWIG_arg_fail(4)) SWIG_fail
;
11637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11638 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
11640 wxPyEndAllowThreads(__tstate
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
11650 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11651 PyObject
*resultobj
;
11652 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11653 wxMouseEvent
*result
;
11654 PyObject
* obj0
= 0 ;
11655 char *kwnames
[] = {
11656 (char *) "self", NULL
11659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
11660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11661 if (SWIG_arg_fail(1)) SWIG_fail
;
11663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11665 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
11666 result
= (wxMouseEvent
*) &_result_ref
;
11669 wxPyEndAllowThreads(__tstate
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
11679 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11680 PyObject
*resultobj
;
11681 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11683 PyObject
* obj0
= 0 ;
11684 char *kwnames
[] = {
11685 (char *) "self", NULL
11688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
11689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11690 if (SWIG_arg_fail(1)) SWIG_fail
;
11692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11693 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
11695 wxPyEndAllowThreads(__tstate
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11699 resultobj
= SWIG_From_long((long)(result
));
11707 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11708 PyObject
*resultobj
;
11709 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11711 PyObject
* obj0
= 0 ;
11712 char *kwnames
[] = {
11713 (char *) "self", NULL
11716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
11717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11718 if (SWIG_arg_fail(1)) SWIG_fail
;
11720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11721 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
11723 wxPyEndAllowThreads(__tstate
);
11724 if (PyErr_Occurred()) SWIG_fail
;
11727 resultobj
= SWIG_From_long((long)(result
));
11735 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
11737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11738 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
11740 return Py_BuildValue((char *)"");
11742 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
11743 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
11748 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
11753 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11755 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11762 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11763 PyObject
*resultobj
;
11764 wxWindow
*arg1
= (wxWindow
*) 0 ;
11765 int arg2
= (int) -1 ;
11766 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11767 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11768 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11769 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11770 long arg5
= (long) wxSB_HORIZONTAL
;
11771 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
11772 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
11773 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
11774 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11775 wxScrollBar
*result
;
11778 bool temp7
= false ;
11779 PyObject
* obj0
= 0 ;
11780 PyObject
* obj1
= 0 ;
11781 PyObject
* obj2
= 0 ;
11782 PyObject
* obj3
= 0 ;
11783 PyObject
* obj4
= 0 ;
11784 PyObject
* obj5
= 0 ;
11785 PyObject
* obj6
= 0 ;
11786 char *kwnames
[] = {
11787 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11792 if (SWIG_arg_fail(1)) SWIG_fail
;
11795 arg2
= (int)(SWIG_As_int(obj1
));
11796 if (SWIG_arg_fail(2)) SWIG_fail
;
11802 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11808 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11813 arg5
= (long)(SWIG_As_long(obj4
));
11814 if (SWIG_arg_fail(5)) SWIG_fail
;
11819 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11820 if (SWIG_arg_fail(6)) SWIG_fail
;
11821 if (arg6
== NULL
) {
11822 SWIG_null_ref("wxValidator");
11824 if (SWIG_arg_fail(6)) SWIG_fail
;
11829 arg7
= wxString_in_helper(obj6
);
11830 if (arg7
== NULL
) SWIG_fail
;
11835 if (!wxPyCheckForApp()) SWIG_fail
;
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
11839 wxPyEndAllowThreads(__tstate
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11857 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11858 PyObject
*resultobj
;
11859 wxScrollBar
*result
;
11860 char *kwnames
[] = {
11864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
11866 if (!wxPyCheckForApp()) SWIG_fail
;
11867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11868 result
= (wxScrollBar
*)new wxScrollBar();
11870 wxPyEndAllowThreads(__tstate
);
11871 if (PyErr_Occurred()) SWIG_fail
;
11873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11880 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11881 PyObject
*resultobj
;
11882 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11883 wxWindow
*arg2
= (wxWindow
*) 0 ;
11884 int arg3
= (int) -1 ;
11885 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11886 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11887 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11888 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11889 long arg6
= (long) wxSB_HORIZONTAL
;
11890 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11891 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11892 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
11893 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11897 bool temp8
= false ;
11898 PyObject
* obj0
= 0 ;
11899 PyObject
* obj1
= 0 ;
11900 PyObject
* obj2
= 0 ;
11901 PyObject
* obj3
= 0 ;
11902 PyObject
* obj4
= 0 ;
11903 PyObject
* obj5
= 0 ;
11904 PyObject
* obj6
= 0 ;
11905 PyObject
* obj7
= 0 ;
11906 char *kwnames
[] = {
11907 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11912 if (SWIG_arg_fail(1)) SWIG_fail
;
11913 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11914 if (SWIG_arg_fail(2)) SWIG_fail
;
11917 arg3
= (int)(SWIG_As_int(obj2
));
11918 if (SWIG_arg_fail(3)) SWIG_fail
;
11924 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11930 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11935 arg6
= (long)(SWIG_As_long(obj5
));
11936 if (SWIG_arg_fail(6)) SWIG_fail
;
11941 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11942 if (SWIG_arg_fail(7)) SWIG_fail
;
11943 if (arg7
== NULL
) {
11944 SWIG_null_ref("wxValidator");
11946 if (SWIG_arg_fail(7)) SWIG_fail
;
11951 arg8
= wxString_in_helper(obj7
);
11952 if (arg8
== NULL
) SWIG_fail
;
11957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11958 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11960 wxPyEndAllowThreads(__tstate
);
11961 if (PyErr_Occurred()) SWIG_fail
;
11964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11980 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11981 PyObject
*resultobj
;
11982 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11984 PyObject
* obj0
= 0 ;
11985 char *kwnames
[] = {
11986 (char *) "self", NULL
11989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
11990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11991 if (SWIG_arg_fail(1)) SWIG_fail
;
11993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11994 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
11996 wxPyEndAllowThreads(__tstate
);
11997 if (PyErr_Occurred()) SWIG_fail
;
12000 resultobj
= SWIG_From_int((int)(result
));
12008 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12009 PyObject
*resultobj
;
12010 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12012 PyObject
* obj0
= 0 ;
12013 char *kwnames
[] = {
12014 (char *) "self", NULL
12017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
12018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12019 if (SWIG_arg_fail(1)) SWIG_fail
;
12021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12022 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
12024 wxPyEndAllowThreads(__tstate
);
12025 if (PyErr_Occurred()) SWIG_fail
;
12028 resultobj
= SWIG_From_int((int)(result
));
12036 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12037 PyObject
*resultobj
;
12038 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12040 PyObject
* obj0
= 0 ;
12041 char *kwnames
[] = {
12042 (char *) "self", NULL
12045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
12046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12047 if (SWIG_arg_fail(1)) SWIG_fail
;
12049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12050 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
12052 wxPyEndAllowThreads(__tstate
);
12053 if (PyErr_Occurred()) SWIG_fail
;
12056 resultobj
= SWIG_From_int((int)(result
));
12064 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12065 PyObject
*resultobj
;
12066 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12068 PyObject
* obj0
= 0 ;
12069 char *kwnames
[] = {
12070 (char *) "self", NULL
12073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12075 if (SWIG_arg_fail(1)) SWIG_fail
;
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12080 wxPyEndAllowThreads(__tstate
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12084 resultobj
= SWIG_From_int((int)(result
));
12092 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12093 PyObject
*resultobj
;
12094 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12096 PyObject
* obj0
= 0 ;
12097 char *kwnames
[] = {
12098 (char *) "self", NULL
12101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12103 if (SWIG_arg_fail(1)) SWIG_fail
;
12105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12106 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12120 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12121 PyObject
*resultobj
;
12122 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12124 PyObject
* obj0
= 0 ;
12125 PyObject
* obj1
= 0 ;
12126 char *kwnames
[] = {
12127 (char *) "self",(char *) "viewStart", NULL
12130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12132 if (SWIG_arg_fail(1)) SWIG_fail
;
12134 arg2
= (int)(SWIG_As_int(obj1
));
12135 if (SWIG_arg_fail(2)) SWIG_fail
;
12138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12139 (arg1
)->SetThumbPosition(arg2
);
12141 wxPyEndAllowThreads(__tstate
);
12142 if (PyErr_Occurred()) SWIG_fail
;
12144 Py_INCREF(Py_None
); resultobj
= Py_None
;
12151 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12152 PyObject
*resultobj
;
12153 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12158 bool arg6
= (bool) true ;
12159 PyObject
* obj0
= 0 ;
12160 PyObject
* obj1
= 0 ;
12161 PyObject
* obj2
= 0 ;
12162 PyObject
* obj3
= 0 ;
12163 PyObject
* obj4
= 0 ;
12164 PyObject
* obj5
= 0 ;
12165 char *kwnames
[] = {
12166 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) 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 arg3
= (int)(SWIG_As_int(obj2
));
12178 if (SWIG_arg_fail(3)) SWIG_fail
;
12181 arg4
= (int)(SWIG_As_int(obj3
));
12182 if (SWIG_arg_fail(4)) SWIG_fail
;
12185 arg5
= (int)(SWIG_As_int(obj4
));
12186 if (SWIG_arg_fail(5)) SWIG_fail
;
12190 arg6
= (bool)(SWIG_As_bool(obj5
));
12191 if (SWIG_arg_fail(6)) SWIG_fail
;
12195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12196 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12198 wxPyEndAllowThreads(__tstate
);
12199 if (PyErr_Occurred()) SWIG_fail
;
12201 Py_INCREF(Py_None
); resultobj
= Py_None
;
12208 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12209 PyObject
*resultobj
;
12210 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12211 wxVisualAttributes result
;
12212 PyObject
* obj0
= 0 ;
12213 char *kwnames
[] = {
12214 (char *) "variant", NULL
12217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12220 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12221 if (SWIG_arg_fail(1)) SWIG_fail
;
12225 if (!wxPyCheckForApp()) SWIG_fail
;
12226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12227 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12229 wxPyEndAllowThreads(__tstate
);
12230 if (PyErr_Occurred()) SWIG_fail
;
12233 wxVisualAttributes
* resultptr
;
12234 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12235 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12243 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12246 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12248 return Py_BuildValue((char *)"");
12250 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12251 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12256 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12261 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12263 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12270 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12271 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12276 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12281 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12283 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12290 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12291 PyObject
*resultobj
;
12292 wxWindow
*arg1
= (wxWindow
*) 0 ;
12293 int arg2
= (int) -1 ;
12294 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12295 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12296 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12297 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12298 long arg5
= (long) wxSP_HORIZONTAL
;
12299 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12300 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12301 wxSpinButton
*result
;
12304 bool temp6
= false ;
12305 PyObject
* obj0
= 0 ;
12306 PyObject
* obj1
= 0 ;
12307 PyObject
* obj2
= 0 ;
12308 PyObject
* obj3
= 0 ;
12309 PyObject
* obj4
= 0 ;
12310 PyObject
* obj5
= 0 ;
12311 char *kwnames
[] = {
12312 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12317 if (SWIG_arg_fail(1)) SWIG_fail
;
12320 arg2
= (int)(SWIG_As_int(obj1
));
12321 if (SWIG_arg_fail(2)) SWIG_fail
;
12327 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12333 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12338 arg5
= (long)(SWIG_As_long(obj4
));
12339 if (SWIG_arg_fail(5)) SWIG_fail
;
12344 arg6
= wxString_in_helper(obj5
);
12345 if (arg6
== NULL
) SWIG_fail
;
12350 if (!wxPyCheckForApp()) SWIG_fail
;
12351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12352 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12354 wxPyEndAllowThreads(__tstate
);
12355 if (PyErr_Occurred()) SWIG_fail
;
12357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12372 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12373 PyObject
*resultobj
;
12374 wxSpinButton
*result
;
12375 char *kwnames
[] = {
12379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12381 if (!wxPyCheckForApp()) SWIG_fail
;
12382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12383 result
= (wxSpinButton
*)new wxSpinButton();
12385 wxPyEndAllowThreads(__tstate
);
12386 if (PyErr_Occurred()) SWIG_fail
;
12388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12395 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12396 PyObject
*resultobj
;
12397 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12398 wxWindow
*arg2
= (wxWindow
*) 0 ;
12399 int arg3
= (int) -1 ;
12400 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12401 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12402 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12403 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12404 long arg6
= (long) wxSP_HORIZONTAL
;
12405 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12406 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12410 bool temp7
= false ;
12411 PyObject
* obj0
= 0 ;
12412 PyObject
* obj1
= 0 ;
12413 PyObject
* obj2
= 0 ;
12414 PyObject
* obj3
= 0 ;
12415 PyObject
* obj4
= 0 ;
12416 PyObject
* obj5
= 0 ;
12417 PyObject
* obj6
= 0 ;
12418 char *kwnames
[] = {
12419 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12424 if (SWIG_arg_fail(1)) SWIG_fail
;
12425 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12426 if (SWIG_arg_fail(2)) SWIG_fail
;
12429 arg3
= (int)(SWIG_As_int(obj2
));
12430 if (SWIG_arg_fail(3)) SWIG_fail
;
12436 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12442 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12447 arg6
= (long)(SWIG_As_long(obj5
));
12448 if (SWIG_arg_fail(6)) SWIG_fail
;
12453 arg7
= wxString_in_helper(obj6
);
12454 if (arg7
== NULL
) SWIG_fail
;
12459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12460 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12462 wxPyEndAllowThreads(__tstate
);
12463 if (PyErr_Occurred()) SWIG_fail
;
12466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12482 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12483 PyObject
*resultobj
;
12484 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12486 PyObject
* obj0
= 0 ;
12487 char *kwnames
[] = {
12488 (char *) "self", NULL
12491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12493 if (SWIG_arg_fail(1)) SWIG_fail
;
12495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12496 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12498 wxPyEndAllowThreads(__tstate
);
12499 if (PyErr_Occurred()) SWIG_fail
;
12502 resultobj
= SWIG_From_int((int)(result
));
12510 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12511 PyObject
*resultobj
;
12512 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12514 PyObject
* obj0
= 0 ;
12515 char *kwnames
[] = {
12516 (char *) "self", NULL
12519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12521 if (SWIG_arg_fail(1)) SWIG_fail
;
12523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12524 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12526 wxPyEndAllowThreads(__tstate
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12530 resultobj
= SWIG_From_int((int)(result
));
12538 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12539 PyObject
*resultobj
;
12540 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12542 PyObject
* obj0
= 0 ;
12543 char *kwnames
[] = {
12544 (char *) "self", NULL
12547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12549 if (SWIG_arg_fail(1)) SWIG_fail
;
12551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12552 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12554 wxPyEndAllowThreads(__tstate
);
12555 if (PyErr_Occurred()) SWIG_fail
;
12558 resultobj
= SWIG_From_int((int)(result
));
12566 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12567 PyObject
*resultobj
;
12568 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12570 PyObject
* obj0
= 0 ;
12571 PyObject
* obj1
= 0 ;
12572 char *kwnames
[] = {
12573 (char *) "self",(char *) "val", NULL
12576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12578 if (SWIG_arg_fail(1)) SWIG_fail
;
12580 arg2
= (int)(SWIG_As_int(obj1
));
12581 if (SWIG_arg_fail(2)) SWIG_fail
;
12584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12585 (arg1
)->SetValue(arg2
);
12587 wxPyEndAllowThreads(__tstate
);
12588 if (PyErr_Occurred()) SWIG_fail
;
12590 Py_INCREF(Py_None
); resultobj
= Py_None
;
12597 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12598 PyObject
*resultobj
;
12599 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12601 PyObject
* obj0
= 0 ;
12602 PyObject
* obj1
= 0 ;
12603 char *kwnames
[] = {
12604 (char *) "self",(char *) "minVal", NULL
12607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12609 if (SWIG_arg_fail(1)) SWIG_fail
;
12611 arg2
= (int)(SWIG_As_int(obj1
));
12612 if (SWIG_arg_fail(2)) SWIG_fail
;
12615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12616 (arg1
)->SetMin(arg2
);
12618 wxPyEndAllowThreads(__tstate
);
12619 if (PyErr_Occurred()) SWIG_fail
;
12621 Py_INCREF(Py_None
); resultobj
= Py_None
;
12628 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12629 PyObject
*resultobj
;
12630 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12632 PyObject
* obj0
= 0 ;
12633 PyObject
* obj1
= 0 ;
12634 char *kwnames
[] = {
12635 (char *) "self",(char *) "maxVal", NULL
12638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12640 if (SWIG_arg_fail(1)) SWIG_fail
;
12642 arg2
= (int)(SWIG_As_int(obj1
));
12643 if (SWIG_arg_fail(2)) SWIG_fail
;
12646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12647 (arg1
)->SetMax(arg2
);
12649 wxPyEndAllowThreads(__tstate
);
12650 if (PyErr_Occurred()) SWIG_fail
;
12652 Py_INCREF(Py_None
); resultobj
= Py_None
;
12659 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12660 PyObject
*resultobj
;
12661 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12664 PyObject
* obj0
= 0 ;
12665 PyObject
* obj1
= 0 ;
12666 PyObject
* obj2
= 0 ;
12667 char *kwnames
[] = {
12668 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12673 if (SWIG_arg_fail(1)) SWIG_fail
;
12675 arg2
= (int)(SWIG_As_int(obj1
));
12676 if (SWIG_arg_fail(2)) SWIG_fail
;
12679 arg3
= (int)(SWIG_As_int(obj2
));
12680 if (SWIG_arg_fail(3)) SWIG_fail
;
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 (arg1
)->SetRange(arg2
,arg3
);
12686 wxPyEndAllowThreads(__tstate
);
12687 if (PyErr_Occurred()) SWIG_fail
;
12689 Py_INCREF(Py_None
); resultobj
= Py_None
;
12696 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12697 PyObject
*resultobj
;
12698 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12700 PyObject
* obj0
= 0 ;
12701 char *kwnames
[] = {
12702 (char *) "self", NULL
12705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
12706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12707 if (SWIG_arg_fail(1)) SWIG_fail
;
12709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12710 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
12712 wxPyEndAllowThreads(__tstate
);
12713 if (PyErr_Occurred()) SWIG_fail
;
12716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12724 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12725 PyObject
*resultobj
;
12726 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12727 wxVisualAttributes result
;
12728 PyObject
* obj0
= 0 ;
12729 char *kwnames
[] = {
12730 (char *) "variant", NULL
12733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12736 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12737 if (SWIG_arg_fail(1)) SWIG_fail
;
12741 if (!wxPyCheckForApp()) SWIG_fail
;
12742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12743 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12745 wxPyEndAllowThreads(__tstate
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12749 wxVisualAttributes
* resultptr
;
12750 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12751 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12759 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
12761 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12762 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
12764 return Py_BuildValue((char *)"");
12766 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12767 PyObject
*resultobj
;
12768 wxWindow
*arg1
= (wxWindow
*) 0 ;
12769 int arg2
= (int) -1 ;
12770 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12771 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12772 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12773 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12774 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12775 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12776 long arg6
= (long) wxSP_ARROW_KEYS
;
12777 int arg7
= (int) 0 ;
12778 int arg8
= (int) 100 ;
12779 int arg9
= (int) 0 ;
12780 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
12781 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12782 wxSpinCtrl
*result
;
12783 bool temp3
= false ;
12786 bool temp10
= false ;
12787 PyObject
* obj0
= 0 ;
12788 PyObject
* obj1
= 0 ;
12789 PyObject
* obj2
= 0 ;
12790 PyObject
* obj3
= 0 ;
12791 PyObject
* obj4
= 0 ;
12792 PyObject
* obj5
= 0 ;
12793 PyObject
* obj6
= 0 ;
12794 PyObject
* obj7
= 0 ;
12795 PyObject
* obj8
= 0 ;
12796 PyObject
* obj9
= 0 ;
12797 char *kwnames
[] = {
12798 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12803 if (SWIG_arg_fail(1)) SWIG_fail
;
12806 arg2
= (int)(SWIG_As_int(obj1
));
12807 if (SWIG_arg_fail(2)) SWIG_fail
;
12812 arg3
= wxString_in_helper(obj2
);
12813 if (arg3
== NULL
) SWIG_fail
;
12820 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12826 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12831 arg6
= (long)(SWIG_As_long(obj5
));
12832 if (SWIG_arg_fail(6)) SWIG_fail
;
12837 arg7
= (int)(SWIG_As_int(obj6
));
12838 if (SWIG_arg_fail(7)) SWIG_fail
;
12843 arg8
= (int)(SWIG_As_int(obj7
));
12844 if (SWIG_arg_fail(8)) SWIG_fail
;
12849 arg9
= (int)(SWIG_As_int(obj8
));
12850 if (SWIG_arg_fail(9)) SWIG_fail
;
12855 arg10
= wxString_in_helper(obj9
);
12856 if (arg10
== NULL
) SWIG_fail
;
12861 if (!wxPyCheckForApp()) SWIG_fail
;
12862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12863 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
12865 wxPyEndAllowThreads(__tstate
);
12866 if (PyErr_Occurred()) SWIG_fail
;
12868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12891 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12892 PyObject
*resultobj
;
12893 wxSpinCtrl
*result
;
12894 char *kwnames
[] = {
12898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
12900 if (!wxPyCheckForApp()) SWIG_fail
;
12901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12902 result
= (wxSpinCtrl
*)new wxSpinCtrl();
12904 wxPyEndAllowThreads(__tstate
);
12905 if (PyErr_Occurred()) SWIG_fail
;
12907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12914 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12915 PyObject
*resultobj
;
12916 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
12917 wxWindow
*arg2
= (wxWindow
*) 0 ;
12918 int arg3
= (int) -1 ;
12919 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12920 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12921 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12922 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12923 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12924 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12925 long arg7
= (long) wxSP_ARROW_KEYS
;
12926 int arg8
= (int) 0 ;
12927 int arg9
= (int) 100 ;
12928 int arg10
= (int) 0 ;
12929 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
12930 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12932 bool temp4
= false ;
12935 bool temp11
= false ;
12936 PyObject
* obj0
= 0 ;
12937 PyObject
* obj1
= 0 ;
12938 PyObject
* obj2
= 0 ;
12939 PyObject
* obj3
= 0 ;
12940 PyObject
* obj4
= 0 ;
12941 PyObject
* obj5
= 0 ;
12942 PyObject
* obj6
= 0 ;
12943 PyObject
* obj7
= 0 ;
12944 PyObject
* obj8
= 0 ;
12945 PyObject
* obj9
= 0 ;
12946 PyObject
* obj10
= 0 ;
12947 char *kwnames
[] = {
12948 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
12953 if (SWIG_arg_fail(1)) SWIG_fail
;
12954 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12955 if (SWIG_arg_fail(2)) SWIG_fail
;
12958 arg3
= (int)(SWIG_As_int(obj2
));
12959 if (SWIG_arg_fail(3)) SWIG_fail
;
12964 arg4
= wxString_in_helper(obj3
);
12965 if (arg4
== NULL
) SWIG_fail
;
12972 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12978 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12983 arg7
= (long)(SWIG_As_long(obj6
));
12984 if (SWIG_arg_fail(7)) SWIG_fail
;
12989 arg8
= (int)(SWIG_As_int(obj7
));
12990 if (SWIG_arg_fail(8)) SWIG_fail
;
12995 arg9
= (int)(SWIG_As_int(obj8
));
12996 if (SWIG_arg_fail(9)) SWIG_fail
;
13001 arg10
= (int)(SWIG_As_int(obj9
));
13002 if (SWIG_arg_fail(10)) SWIG_fail
;
13007 arg11
= wxString_in_helper(obj10
);
13008 if (arg11
== NULL
) SWIG_fail
;
13013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13014 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
13016 wxPyEndAllowThreads(__tstate
);
13017 if (PyErr_Occurred()) SWIG_fail
;
13020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13044 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13045 PyObject
*resultobj
;
13046 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13048 PyObject
* obj0
= 0 ;
13049 char *kwnames
[] = {
13050 (char *) "self", NULL
13053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
13054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13055 if (SWIG_arg_fail(1)) SWIG_fail
;
13057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13058 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
13060 wxPyEndAllowThreads(__tstate
);
13061 if (PyErr_Occurred()) SWIG_fail
;
13064 resultobj
= SWIG_From_int((int)(result
));
13072 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13073 PyObject
*resultobj
;
13074 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13076 PyObject
* obj0
= 0 ;
13077 PyObject
* obj1
= 0 ;
13078 char *kwnames
[] = {
13079 (char *) "self",(char *) "value", NULL
13082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13084 if (SWIG_arg_fail(1)) SWIG_fail
;
13086 arg2
= (int)(SWIG_As_int(obj1
));
13087 if (SWIG_arg_fail(2)) SWIG_fail
;
13090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13091 (arg1
)->SetValue(arg2
);
13093 wxPyEndAllowThreads(__tstate
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13096 Py_INCREF(Py_None
); resultobj
= Py_None
;
13103 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13104 PyObject
*resultobj
;
13105 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13106 wxString
*arg2
= 0 ;
13107 bool temp2
= false ;
13108 PyObject
* obj0
= 0 ;
13109 PyObject
* obj1
= 0 ;
13110 char *kwnames
[] = {
13111 (char *) "self",(char *) "text", NULL
13114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
13115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13116 if (SWIG_arg_fail(1)) SWIG_fail
;
13118 arg2
= wxString_in_helper(obj1
);
13119 if (arg2
== NULL
) SWIG_fail
;
13123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13124 (arg1
)->SetValue((wxString
const &)*arg2
);
13126 wxPyEndAllowThreads(__tstate
);
13127 if (PyErr_Occurred()) SWIG_fail
;
13129 Py_INCREF(Py_None
); resultobj
= Py_None
;
13144 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13145 PyObject
*resultobj
;
13146 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13149 PyObject
* obj0
= 0 ;
13150 PyObject
* obj1
= 0 ;
13151 PyObject
* obj2
= 0 ;
13152 char *kwnames
[] = {
13153 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13158 if (SWIG_arg_fail(1)) SWIG_fail
;
13160 arg2
= (int)(SWIG_As_int(obj1
));
13161 if (SWIG_arg_fail(2)) SWIG_fail
;
13164 arg3
= (int)(SWIG_As_int(obj2
));
13165 if (SWIG_arg_fail(3)) SWIG_fail
;
13168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13169 (arg1
)->SetRange(arg2
,arg3
);
13171 wxPyEndAllowThreads(__tstate
);
13172 if (PyErr_Occurred()) SWIG_fail
;
13174 Py_INCREF(Py_None
); resultobj
= Py_None
;
13181 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13182 PyObject
*resultobj
;
13183 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13185 PyObject
* obj0
= 0 ;
13186 char *kwnames
[] = {
13187 (char *) "self", NULL
13190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13192 if (SWIG_arg_fail(1)) SWIG_fail
;
13194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13195 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13197 wxPyEndAllowThreads(__tstate
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13201 resultobj
= SWIG_From_int((int)(result
));
13209 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13210 PyObject
*resultobj
;
13211 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13213 PyObject
* obj0
= 0 ;
13214 char *kwnames
[] = {
13215 (char *) "self", NULL
13218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
13219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13220 if (SWIG_arg_fail(1)) SWIG_fail
;
13222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13223 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13225 wxPyEndAllowThreads(__tstate
);
13226 if (PyErr_Occurred()) SWIG_fail
;
13229 resultobj
= SWIG_From_int((int)(result
));
13237 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13238 PyObject
*resultobj
;
13239 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13242 PyObject
* obj0
= 0 ;
13243 PyObject
* obj1
= 0 ;
13244 PyObject
* obj2
= 0 ;
13245 char *kwnames
[] = {
13246 (char *) "self",(char *) "from",(char *) "to", NULL
13249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13251 if (SWIG_arg_fail(1)) SWIG_fail
;
13253 arg2
= (long)(SWIG_As_long(obj1
));
13254 if (SWIG_arg_fail(2)) SWIG_fail
;
13257 arg3
= (long)(SWIG_As_long(obj2
));
13258 if (SWIG_arg_fail(3)) SWIG_fail
;
13261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13262 (arg1
)->SetSelection(arg2
,arg3
);
13264 wxPyEndAllowThreads(__tstate
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13267 Py_INCREF(Py_None
); resultobj
= Py_None
;
13274 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13275 PyObject
*resultobj
;
13276 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13277 wxVisualAttributes result
;
13278 PyObject
* obj0
= 0 ;
13279 char *kwnames
[] = {
13280 (char *) "variant", NULL
13283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13286 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
13287 if (SWIG_arg_fail(1)) SWIG_fail
;
13291 if (!wxPyCheckForApp()) SWIG_fail
;
13292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13293 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13295 wxPyEndAllowThreads(__tstate
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13299 wxVisualAttributes
* resultptr
;
13300 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
13301 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13309 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13312 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13314 return Py_BuildValue((char *)"");
13316 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13317 PyObject
*resultobj
;
13318 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13319 int arg2
= (int) 0 ;
13320 wxSpinEvent
*result
;
13321 PyObject
* obj0
= 0 ;
13322 PyObject
* obj1
= 0 ;
13323 char *kwnames
[] = {
13324 (char *) "commandType",(char *) "winid", NULL
13327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13330 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13331 if (SWIG_arg_fail(1)) SWIG_fail
;
13336 arg2
= (int)(SWIG_As_int(obj1
));
13337 if (SWIG_arg_fail(2)) SWIG_fail
;
13341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13342 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13344 wxPyEndAllowThreads(__tstate
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13354 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13355 PyObject
*resultobj
;
13356 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13358 PyObject
* obj0
= 0 ;
13359 char *kwnames
[] = {
13360 (char *) "self", NULL
13363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13365 if (SWIG_arg_fail(1)) SWIG_fail
;
13367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13368 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13370 wxPyEndAllowThreads(__tstate
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13374 resultobj
= SWIG_From_int((int)(result
));
13382 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13383 PyObject
*resultobj
;
13384 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13386 PyObject
* obj0
= 0 ;
13387 PyObject
* obj1
= 0 ;
13388 char *kwnames
[] = {
13389 (char *) "self",(char *) "pos", NULL
13392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13394 if (SWIG_arg_fail(1)) SWIG_fail
;
13396 arg2
= (int)(SWIG_As_int(obj1
));
13397 if (SWIG_arg_fail(2)) SWIG_fail
;
13400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13401 (arg1
)->SetPosition(arg2
);
13403 wxPyEndAllowThreads(__tstate
);
13404 if (PyErr_Occurred()) SWIG_fail
;
13406 Py_INCREF(Py_None
); resultobj
= Py_None
;
13413 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13415 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13416 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13418 return Py_BuildValue((char *)"");
13420 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13421 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13426 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13431 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13433 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13440 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13441 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13446 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13451 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13453 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13460 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13461 PyObject
*resultobj
;
13462 wxWindow
*arg1
= (wxWindow
*) 0 ;
13463 int arg2
= (int) -1 ;
13464 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13465 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13466 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13467 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13468 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13469 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13470 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13471 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13472 int arg7
= (int) 0 ;
13473 long arg8
= (long) wxRA_HORIZONTAL
;
13474 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13475 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13476 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13477 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13478 wxRadioBox
*result
;
13479 bool temp3
= false ;
13482 bool temp6
= false ;
13483 bool temp10
= false ;
13484 PyObject
* obj0
= 0 ;
13485 PyObject
* obj1
= 0 ;
13486 PyObject
* obj2
= 0 ;
13487 PyObject
* obj3
= 0 ;
13488 PyObject
* obj4
= 0 ;
13489 PyObject
* obj5
= 0 ;
13490 PyObject
* obj6
= 0 ;
13491 PyObject
* obj7
= 0 ;
13492 PyObject
* obj8
= 0 ;
13493 PyObject
* obj9
= 0 ;
13494 char *kwnames
[] = {
13495 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13500 if (SWIG_arg_fail(1)) SWIG_fail
;
13503 arg2
= (int)(SWIG_As_int(obj1
));
13504 if (SWIG_arg_fail(2)) SWIG_fail
;
13509 arg3
= wxString_in_helper(obj2
);
13510 if (arg3
== NULL
) SWIG_fail
;
13517 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13523 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13528 if (! PySequence_Check(obj5
)) {
13529 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13532 arg6
= new wxArrayString
;
13534 int i
, len
=PySequence_Length(obj5
);
13535 for (i
=0; i
<len
; i
++) {
13536 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13537 wxString
* s
= wxString_in_helper(item
);
13538 if (PyErr_Occurred()) SWIG_fail
;
13547 arg7
= (int)(SWIG_As_int(obj6
));
13548 if (SWIG_arg_fail(7)) SWIG_fail
;
13553 arg8
= (long)(SWIG_As_long(obj7
));
13554 if (SWIG_arg_fail(8)) SWIG_fail
;
13559 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13560 if (SWIG_arg_fail(9)) SWIG_fail
;
13561 if (arg9
== NULL
) {
13562 SWIG_null_ref("wxValidator");
13564 if (SWIG_arg_fail(9)) SWIG_fail
;
13569 arg10
= wxString_in_helper(obj9
);
13570 if (arg10
== NULL
) SWIG_fail
;
13575 if (!wxPyCheckForApp()) SWIG_fail
;
13576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13577 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
);
13579 wxPyEndAllowThreads(__tstate
);
13580 if (PyErr_Occurred()) SWIG_fail
;
13582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13588 if (temp6
) delete arg6
;
13601 if (temp6
) delete arg6
;
13611 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13612 PyObject
*resultobj
;
13613 wxRadioBox
*result
;
13614 char *kwnames
[] = {
13618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
13620 if (!wxPyCheckForApp()) SWIG_fail
;
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13622 result
= (wxRadioBox
*)new wxRadioBox();
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13634 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13635 PyObject
*resultobj
;
13636 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13637 wxWindow
*arg2
= (wxWindow
*) 0 ;
13638 int arg3
= (int) -1 ;
13639 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13640 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13641 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13642 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13643 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13644 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13645 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
13646 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
13647 int arg8
= (int) 0 ;
13648 long arg9
= (long) wxRA_HORIZONTAL
;
13649 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13650 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13651 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
13652 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13654 bool temp4
= false ;
13657 bool temp7
= false ;
13658 bool temp11
= false ;
13659 PyObject
* obj0
= 0 ;
13660 PyObject
* obj1
= 0 ;
13661 PyObject
* obj2
= 0 ;
13662 PyObject
* obj3
= 0 ;
13663 PyObject
* obj4
= 0 ;
13664 PyObject
* obj5
= 0 ;
13665 PyObject
* obj6
= 0 ;
13666 PyObject
* obj7
= 0 ;
13667 PyObject
* obj8
= 0 ;
13668 PyObject
* obj9
= 0 ;
13669 PyObject
* obj10
= 0 ;
13670 char *kwnames
[] = {
13671 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13676 if (SWIG_arg_fail(1)) SWIG_fail
;
13677 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13678 if (SWIG_arg_fail(2)) SWIG_fail
;
13681 arg3
= (int)(SWIG_As_int(obj2
));
13682 if (SWIG_arg_fail(3)) SWIG_fail
;
13687 arg4
= wxString_in_helper(obj3
);
13688 if (arg4
== NULL
) SWIG_fail
;
13695 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13701 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13706 if (! PySequence_Check(obj6
)) {
13707 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13710 arg7
= new wxArrayString
;
13712 int i
, len
=PySequence_Length(obj6
);
13713 for (i
=0; i
<len
; i
++) {
13714 PyObject
* item
= PySequence_GetItem(obj6
, i
);
13715 wxString
* s
= wxString_in_helper(item
);
13716 if (PyErr_Occurred()) SWIG_fail
;
13725 arg8
= (int)(SWIG_As_int(obj7
));
13726 if (SWIG_arg_fail(8)) SWIG_fail
;
13731 arg9
= (long)(SWIG_As_long(obj8
));
13732 if (SWIG_arg_fail(9)) SWIG_fail
;
13737 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13738 if (SWIG_arg_fail(10)) SWIG_fail
;
13739 if (arg10
== NULL
) {
13740 SWIG_null_ref("wxValidator");
13742 if (SWIG_arg_fail(10)) SWIG_fail
;
13747 arg11
= wxString_in_helper(obj10
);
13748 if (arg11
== NULL
) SWIG_fail
;
13753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13754 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
);
13756 wxPyEndAllowThreads(__tstate
);
13757 if (PyErr_Occurred()) SWIG_fail
;
13760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13767 if (temp7
) delete arg7
;
13780 if (temp7
) delete arg7
;
13790 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13791 PyObject
*resultobj
;
13792 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13794 PyObject
* obj0
= 0 ;
13795 PyObject
* obj1
= 0 ;
13796 char *kwnames
[] = {
13797 (char *) "self",(char *) "n", NULL
13800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13802 if (SWIG_arg_fail(1)) SWIG_fail
;
13804 arg2
= (int)(SWIG_As_int(obj1
));
13805 if (SWIG_arg_fail(2)) SWIG_fail
;
13808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13809 (arg1
)->SetSelection(arg2
);
13811 wxPyEndAllowThreads(__tstate
);
13812 if (PyErr_Occurred()) SWIG_fail
;
13814 Py_INCREF(Py_None
); resultobj
= Py_None
;
13821 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13822 PyObject
*resultobj
;
13823 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13825 PyObject
* obj0
= 0 ;
13826 char *kwnames
[] = {
13827 (char *) "self", NULL
13830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
13831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13832 if (SWIG_arg_fail(1)) SWIG_fail
;
13834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13835 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
13837 wxPyEndAllowThreads(__tstate
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13841 resultobj
= SWIG_From_int((int)(result
));
13849 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13850 PyObject
*resultobj
;
13851 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13853 PyObject
* obj0
= 0 ;
13854 char *kwnames
[] = {
13855 (char *) "self", NULL
13858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13860 if (SWIG_arg_fail(1)) SWIG_fail
;
13862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13863 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
13865 wxPyEndAllowThreads(__tstate
);
13866 if (PyErr_Occurred()) SWIG_fail
;
13870 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13872 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13881 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13882 PyObject
*resultobj
;
13883 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13884 wxString
*arg2
= 0 ;
13886 bool temp2
= false ;
13887 PyObject
* obj0
= 0 ;
13888 PyObject
* obj1
= 0 ;
13889 char *kwnames
[] = {
13890 (char *) "self",(char *) "s", NULL
13893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13895 if (SWIG_arg_fail(1)) SWIG_fail
;
13897 arg2
= wxString_in_helper(obj1
);
13898 if (arg2
== NULL
) SWIG_fail
;
13902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13903 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
13905 wxPyEndAllowThreads(__tstate
);
13906 if (PyErr_Occurred()) SWIG_fail
;
13909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13925 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13926 PyObject
*resultobj
;
13927 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13929 PyObject
* obj0
= 0 ;
13930 char *kwnames
[] = {
13931 (char *) "self", NULL
13934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
13935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13936 if (SWIG_arg_fail(1)) SWIG_fail
;
13938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13939 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
13941 wxPyEndAllowThreads(__tstate
);
13942 if (PyErr_Occurred()) SWIG_fail
;
13945 resultobj
= SWIG_From_int((int)(result
));
13953 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13954 PyObject
*resultobj
;
13955 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13956 wxString
*arg2
= 0 ;
13958 bool temp2
= false ;
13959 PyObject
* obj0
= 0 ;
13960 PyObject
* obj1
= 0 ;
13961 char *kwnames
[] = {
13962 (char *) "self",(char *) "s", NULL
13965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13967 if (SWIG_arg_fail(1)) SWIG_fail
;
13969 arg2
= wxString_in_helper(obj1
);
13970 if (arg2
== NULL
) SWIG_fail
;
13974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13975 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
13977 wxPyEndAllowThreads(__tstate
);
13978 if (PyErr_Occurred()) SWIG_fail
;
13981 resultobj
= SWIG_From_int((int)(result
));
13997 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13998 PyObject
*resultobj
;
13999 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14002 PyObject
* obj0
= 0 ;
14003 PyObject
* obj1
= 0 ;
14004 char *kwnames
[] = {
14005 (char *) "self",(char *) "n", NULL
14008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14010 if (SWIG_arg_fail(1)) SWIG_fail
;
14012 arg2
= (int)(SWIG_As_int(obj1
));
14013 if (SWIG_arg_fail(2)) SWIG_fail
;
14016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14017 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
14019 wxPyEndAllowThreads(__tstate
);
14020 if (PyErr_Occurred()) SWIG_fail
;
14024 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14026 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14035 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14036 PyObject
*resultobj
;
14037 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14039 wxString
*arg3
= 0 ;
14040 bool temp3
= false ;
14041 PyObject
* obj0
= 0 ;
14042 PyObject
* obj1
= 0 ;
14043 PyObject
* obj2
= 0 ;
14044 char *kwnames
[] = {
14045 (char *) "self",(char *) "n",(char *) "label", NULL
14048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14050 if (SWIG_arg_fail(1)) SWIG_fail
;
14052 arg2
= (int)(SWIG_As_int(obj1
));
14053 if (SWIG_arg_fail(2)) SWIG_fail
;
14056 arg3
= wxString_in_helper(obj2
);
14057 if (arg3
== NULL
) SWIG_fail
;
14061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14062 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
14064 wxPyEndAllowThreads(__tstate
);
14065 if (PyErr_Occurred()) SWIG_fail
;
14067 Py_INCREF(Py_None
); resultobj
= Py_None
;
14082 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14083 PyObject
*resultobj
;
14084 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14086 bool arg3
= (bool) true ;
14087 PyObject
* obj0
= 0 ;
14088 PyObject
* obj1
= 0 ;
14089 PyObject
* obj2
= 0 ;
14090 char *kwnames
[] = {
14091 (char *) "self",(char *) "n",(char *) "enable", NULL
14094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14096 if (SWIG_arg_fail(1)) SWIG_fail
;
14098 arg2
= (int)(SWIG_As_int(obj1
));
14099 if (SWIG_arg_fail(2)) SWIG_fail
;
14103 arg3
= (bool)(SWIG_As_bool(obj2
));
14104 if (SWIG_arg_fail(3)) SWIG_fail
;
14108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14109 (arg1
)->Enable(arg2
,arg3
);
14111 wxPyEndAllowThreads(__tstate
);
14112 if (PyErr_Occurred()) SWIG_fail
;
14114 Py_INCREF(Py_None
); resultobj
= Py_None
;
14121 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14122 PyObject
*resultobj
;
14123 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14125 bool arg3
= (bool) true ;
14126 PyObject
* obj0
= 0 ;
14127 PyObject
* obj1
= 0 ;
14128 PyObject
* obj2
= 0 ;
14129 char *kwnames
[] = {
14130 (char *) "self",(char *) "n",(char *) "show", NULL
14133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14135 if (SWIG_arg_fail(1)) SWIG_fail
;
14137 arg2
= (int)(SWIG_As_int(obj1
));
14138 if (SWIG_arg_fail(2)) SWIG_fail
;
14142 arg3
= (bool)(SWIG_As_bool(obj2
));
14143 if (SWIG_arg_fail(3)) SWIG_fail
;
14147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14148 (arg1
)->Show(arg2
,arg3
);
14150 wxPyEndAllowThreads(__tstate
);
14151 if (PyErr_Occurred()) SWIG_fail
;
14153 Py_INCREF(Py_None
); resultobj
= Py_None
;
14160 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14161 PyObject
*resultobj
;
14162 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14164 PyObject
* obj0
= 0 ;
14165 char *kwnames
[] = {
14166 (char *) "self", NULL
14169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14171 if (SWIG_arg_fail(1)) SWIG_fail
;
14173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14174 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
14176 wxPyEndAllowThreads(__tstate
);
14177 if (PyErr_Occurred()) SWIG_fail
;
14180 resultobj
= SWIG_From_int((int)(result
));
14188 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14189 PyObject
*resultobj
;
14190 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14192 PyObject
* obj0
= 0 ;
14193 char *kwnames
[] = {
14194 (char *) "self", NULL
14197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14199 if (SWIG_arg_fail(1)) SWIG_fail
;
14201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14202 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
14204 wxPyEndAllowThreads(__tstate
);
14205 if (PyErr_Occurred()) SWIG_fail
;
14208 resultobj
= SWIG_From_int((int)(result
));
14216 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14217 PyObject
*resultobj
;
14218 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14223 PyObject
* obj0
= 0 ;
14224 PyObject
* obj1
= 0 ;
14225 PyObject
* obj2
= 0 ;
14226 PyObject
* obj3
= 0 ;
14227 char *kwnames
[] = {
14228 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14233 if (SWIG_arg_fail(1)) SWIG_fail
;
14235 arg2
= (int)(SWIG_As_int(obj1
));
14236 if (SWIG_arg_fail(2)) SWIG_fail
;
14239 arg3
= (wxDirection
)(SWIG_As_int(obj2
));
14240 if (SWIG_arg_fail(3)) SWIG_fail
;
14243 arg4
= (long)(SWIG_As_long(obj3
));
14244 if (SWIG_arg_fail(4)) SWIG_fail
;
14247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14248 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
14250 wxPyEndAllowThreads(__tstate
);
14251 if (PyErr_Occurred()) SWIG_fail
;
14254 resultobj
= SWIG_From_int((int)(result
));
14262 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14263 PyObject
*resultobj
;
14264 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14265 wxVisualAttributes result
;
14266 PyObject
* obj0
= 0 ;
14267 char *kwnames
[] = {
14268 (char *) "variant", NULL
14271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14274 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14275 if (SWIG_arg_fail(1)) SWIG_fail
;
14279 if (!wxPyCheckForApp()) SWIG_fail
;
14280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14281 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14283 wxPyEndAllowThreads(__tstate
);
14284 if (PyErr_Occurred()) SWIG_fail
;
14287 wxVisualAttributes
* resultptr
;
14288 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14289 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14297 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14300 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14302 return Py_BuildValue((char *)"");
14304 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14305 PyObject
*resultobj
;
14306 wxWindow
*arg1
= (wxWindow
*) 0 ;
14307 int arg2
= (int) -1 ;
14308 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14309 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14310 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14311 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14312 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14313 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14314 long arg6
= (long) 0 ;
14315 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14316 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14317 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14318 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14319 wxRadioButton
*result
;
14320 bool temp3
= false ;
14323 bool temp8
= false ;
14324 PyObject
* obj0
= 0 ;
14325 PyObject
* obj1
= 0 ;
14326 PyObject
* obj2
= 0 ;
14327 PyObject
* obj3
= 0 ;
14328 PyObject
* obj4
= 0 ;
14329 PyObject
* obj5
= 0 ;
14330 PyObject
* obj6
= 0 ;
14331 PyObject
* obj7
= 0 ;
14332 char *kwnames
[] = {
14333 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14338 if (SWIG_arg_fail(1)) SWIG_fail
;
14341 arg2
= (int)(SWIG_As_int(obj1
));
14342 if (SWIG_arg_fail(2)) SWIG_fail
;
14347 arg3
= wxString_in_helper(obj2
);
14348 if (arg3
== NULL
) SWIG_fail
;
14355 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14361 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14366 arg6
= (long)(SWIG_As_long(obj5
));
14367 if (SWIG_arg_fail(6)) SWIG_fail
;
14372 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14373 if (SWIG_arg_fail(7)) SWIG_fail
;
14374 if (arg7
== NULL
) {
14375 SWIG_null_ref("wxValidator");
14377 if (SWIG_arg_fail(7)) SWIG_fail
;
14382 arg8
= wxString_in_helper(obj7
);
14383 if (arg8
== NULL
) SWIG_fail
;
14388 if (!wxPyCheckForApp()) SWIG_fail
;
14389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14390 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14392 wxPyEndAllowThreads(__tstate
);
14393 if (PyErr_Occurred()) SWIG_fail
;
14395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14418 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14419 PyObject
*resultobj
;
14420 wxRadioButton
*result
;
14421 char *kwnames
[] = {
14425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14427 if (!wxPyCheckForApp()) SWIG_fail
;
14428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14429 result
= (wxRadioButton
*)new wxRadioButton();
14431 wxPyEndAllowThreads(__tstate
);
14432 if (PyErr_Occurred()) SWIG_fail
;
14434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14441 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14442 PyObject
*resultobj
;
14443 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14444 wxWindow
*arg2
= (wxWindow
*) 0 ;
14445 int arg3
= (int) -1 ;
14446 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14447 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14448 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14449 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14450 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14451 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14452 long arg7
= (long) 0 ;
14453 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14454 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14455 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14456 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14458 bool temp4
= false ;
14461 bool temp9
= false ;
14462 PyObject
* obj0
= 0 ;
14463 PyObject
* obj1
= 0 ;
14464 PyObject
* obj2
= 0 ;
14465 PyObject
* obj3
= 0 ;
14466 PyObject
* obj4
= 0 ;
14467 PyObject
* obj5
= 0 ;
14468 PyObject
* obj6
= 0 ;
14469 PyObject
* obj7
= 0 ;
14470 PyObject
* obj8
= 0 ;
14471 char *kwnames
[] = {
14472 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14477 if (SWIG_arg_fail(1)) SWIG_fail
;
14478 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14479 if (SWIG_arg_fail(2)) SWIG_fail
;
14482 arg3
= (int)(SWIG_As_int(obj2
));
14483 if (SWIG_arg_fail(3)) SWIG_fail
;
14488 arg4
= wxString_in_helper(obj3
);
14489 if (arg4
== NULL
) SWIG_fail
;
14496 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14502 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14507 arg7
= (long)(SWIG_As_long(obj6
));
14508 if (SWIG_arg_fail(7)) SWIG_fail
;
14513 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14514 if (SWIG_arg_fail(8)) SWIG_fail
;
14515 if (arg8
== NULL
) {
14516 SWIG_null_ref("wxValidator");
14518 if (SWIG_arg_fail(8)) SWIG_fail
;
14523 arg9
= wxString_in_helper(obj8
);
14524 if (arg9
== NULL
) SWIG_fail
;
14529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14530 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14532 wxPyEndAllowThreads(__tstate
);
14533 if (PyErr_Occurred()) SWIG_fail
;
14536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14560 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14561 PyObject
*resultobj
;
14562 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14564 PyObject
* obj0
= 0 ;
14565 char *kwnames
[] = {
14566 (char *) "self", NULL
14569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14571 if (SWIG_arg_fail(1)) SWIG_fail
;
14573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14574 result
= (bool)(arg1
)->GetValue();
14576 wxPyEndAllowThreads(__tstate
);
14577 if (PyErr_Occurred()) SWIG_fail
;
14580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14588 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14589 PyObject
*resultobj
;
14590 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14592 PyObject
* obj0
= 0 ;
14593 PyObject
* obj1
= 0 ;
14594 char *kwnames
[] = {
14595 (char *) "self",(char *) "value", NULL
14598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14600 if (SWIG_arg_fail(1)) SWIG_fail
;
14602 arg2
= (bool)(SWIG_As_bool(obj1
));
14603 if (SWIG_arg_fail(2)) SWIG_fail
;
14606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14607 (arg1
)->SetValue(arg2
);
14609 wxPyEndAllowThreads(__tstate
);
14610 if (PyErr_Occurred()) SWIG_fail
;
14612 Py_INCREF(Py_None
); resultobj
= Py_None
;
14619 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14620 PyObject
*resultobj
;
14621 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14622 wxVisualAttributes result
;
14623 PyObject
* obj0
= 0 ;
14624 char *kwnames
[] = {
14625 (char *) "variant", NULL
14628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14631 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14632 if (SWIG_arg_fail(1)) SWIG_fail
;
14636 if (!wxPyCheckForApp()) SWIG_fail
;
14637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14638 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14640 wxPyEndAllowThreads(__tstate
);
14641 if (PyErr_Occurred()) SWIG_fail
;
14644 wxVisualAttributes
* resultptr
;
14645 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14646 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14654 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
14656 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14657 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
14659 return Py_BuildValue((char *)"");
14661 static int _wrap_SliderNameStr_set(PyObject
*) {
14662 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
14667 static PyObject
*_wrap_SliderNameStr_get(void) {
14672 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14674 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14681 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14682 PyObject
*resultobj
;
14683 wxWindow
*arg1
= (wxWindow
*) 0 ;
14684 int arg2
= (int) -1 ;
14685 int arg3
= (int) 0 ;
14686 int arg4
= (int) 0 ;
14687 int arg5
= (int) 100 ;
14688 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14689 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14690 wxSize
const &arg7_defvalue
= wxDefaultSize
;
14691 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
14692 long arg8
= (long) wxSL_HORIZONTAL
;
14693 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
14694 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
14695 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
14696 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
14700 bool temp10
= false ;
14701 PyObject
* obj0
= 0 ;
14702 PyObject
* obj1
= 0 ;
14703 PyObject
* obj2
= 0 ;
14704 PyObject
* obj3
= 0 ;
14705 PyObject
* obj4
= 0 ;
14706 PyObject
* obj5
= 0 ;
14707 PyObject
* obj6
= 0 ;
14708 PyObject
* obj7
= 0 ;
14709 PyObject
* obj8
= 0 ;
14710 PyObject
* obj9
= 0 ;
14711 char *kwnames
[] = {
14712 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14717 if (SWIG_arg_fail(1)) SWIG_fail
;
14720 arg2
= (int)(SWIG_As_int(obj1
));
14721 if (SWIG_arg_fail(2)) SWIG_fail
;
14726 arg3
= (int)(SWIG_As_int(obj2
));
14727 if (SWIG_arg_fail(3)) SWIG_fail
;
14732 arg4
= (int)(SWIG_As_int(obj3
));
14733 if (SWIG_arg_fail(4)) SWIG_fail
;
14738 arg5
= (int)(SWIG_As_int(obj4
));
14739 if (SWIG_arg_fail(5)) SWIG_fail
;
14745 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14751 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
14756 arg8
= (long)(SWIG_As_long(obj7
));
14757 if (SWIG_arg_fail(8)) SWIG_fail
;
14762 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14763 if (SWIG_arg_fail(9)) SWIG_fail
;
14764 if (arg9
== NULL
) {
14765 SWIG_null_ref("wxValidator");
14767 if (SWIG_arg_fail(9)) SWIG_fail
;
14772 arg10
= wxString_in_helper(obj9
);
14773 if (arg10
== NULL
) SWIG_fail
;
14778 if (!wxPyCheckForApp()) SWIG_fail
;
14779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14780 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
14782 wxPyEndAllowThreads(__tstate
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14800 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14801 PyObject
*resultobj
;
14803 char *kwnames
[] = {
14807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
14809 if (!wxPyCheckForApp()) SWIG_fail
;
14810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14811 result
= (wxSlider
*)new wxSlider();
14813 wxPyEndAllowThreads(__tstate
);
14814 if (PyErr_Occurred()) SWIG_fail
;
14816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14823 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14824 PyObject
*resultobj
;
14825 wxSlider
*arg1
= (wxSlider
*) 0 ;
14826 wxWindow
*arg2
= (wxWindow
*) 0 ;
14827 int arg3
= (int) -1 ;
14828 int arg4
= (int) 0 ;
14829 int arg5
= (int) 0 ;
14830 int arg6
= (int) 100 ;
14831 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14832 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14833 wxSize
const &arg8_defvalue
= wxDefaultSize
;
14834 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
14835 long arg9
= (long) wxSL_HORIZONTAL
;
14836 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
14837 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
14838 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
14839 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
14843 bool temp11
= false ;
14844 PyObject
* obj0
= 0 ;
14845 PyObject
* obj1
= 0 ;
14846 PyObject
* obj2
= 0 ;
14847 PyObject
* obj3
= 0 ;
14848 PyObject
* obj4
= 0 ;
14849 PyObject
* obj5
= 0 ;
14850 PyObject
* obj6
= 0 ;
14851 PyObject
* obj7
= 0 ;
14852 PyObject
* obj8
= 0 ;
14853 PyObject
* obj9
= 0 ;
14854 PyObject
* obj10
= 0 ;
14855 char *kwnames
[] = {
14856 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
14860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14861 if (SWIG_arg_fail(1)) SWIG_fail
;
14862 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14863 if (SWIG_arg_fail(2)) SWIG_fail
;
14866 arg3
= (int)(SWIG_As_int(obj2
));
14867 if (SWIG_arg_fail(3)) SWIG_fail
;
14872 arg4
= (int)(SWIG_As_int(obj3
));
14873 if (SWIG_arg_fail(4)) SWIG_fail
;
14878 arg5
= (int)(SWIG_As_int(obj4
));
14879 if (SWIG_arg_fail(5)) SWIG_fail
;
14884 arg6
= (int)(SWIG_As_int(obj5
));
14885 if (SWIG_arg_fail(6)) SWIG_fail
;
14891 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14897 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
14902 arg9
= (long)(SWIG_As_long(obj8
));
14903 if (SWIG_arg_fail(9)) SWIG_fail
;
14908 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14909 if (SWIG_arg_fail(10)) SWIG_fail
;
14910 if (arg10
== NULL
) {
14911 SWIG_null_ref("wxValidator");
14913 if (SWIG_arg_fail(10)) SWIG_fail
;
14918 arg11
= wxString_in_helper(obj10
);
14919 if (arg11
== NULL
) SWIG_fail
;
14924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14925 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
14927 wxPyEndAllowThreads(__tstate
);
14928 if (PyErr_Occurred()) SWIG_fail
;
14931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14947 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14948 PyObject
*resultobj
;
14949 wxSlider
*arg1
= (wxSlider
*) 0 ;
14951 PyObject
* obj0
= 0 ;
14952 char *kwnames
[] = {
14953 (char *) "self", NULL
14956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
14957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14958 if (SWIG_arg_fail(1)) SWIG_fail
;
14960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14961 result
= (int)((wxSlider
const *)arg1
)->GetValue();
14963 wxPyEndAllowThreads(__tstate
);
14964 if (PyErr_Occurred()) SWIG_fail
;
14967 resultobj
= SWIG_From_int((int)(result
));
14975 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14976 PyObject
*resultobj
;
14977 wxSlider
*arg1
= (wxSlider
*) 0 ;
14979 PyObject
* obj0
= 0 ;
14980 PyObject
* obj1
= 0 ;
14981 char *kwnames
[] = {
14982 (char *) "self",(char *) "value", NULL
14985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14987 if (SWIG_arg_fail(1)) SWIG_fail
;
14989 arg2
= (int)(SWIG_As_int(obj1
));
14990 if (SWIG_arg_fail(2)) SWIG_fail
;
14993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14994 (arg1
)->SetValue(arg2
);
14996 wxPyEndAllowThreads(__tstate
);
14997 if (PyErr_Occurred()) SWIG_fail
;
14999 Py_INCREF(Py_None
); resultobj
= Py_None
;
15006 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15007 PyObject
*resultobj
;
15008 wxSlider
*arg1
= (wxSlider
*) 0 ;
15011 PyObject
* obj0
= 0 ;
15012 PyObject
* obj1
= 0 ;
15013 PyObject
* obj2
= 0 ;
15014 char *kwnames
[] = {
15015 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15020 if (SWIG_arg_fail(1)) SWIG_fail
;
15022 arg2
= (int)(SWIG_As_int(obj1
));
15023 if (SWIG_arg_fail(2)) SWIG_fail
;
15026 arg3
= (int)(SWIG_As_int(obj2
));
15027 if (SWIG_arg_fail(3)) SWIG_fail
;
15030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15031 (arg1
)->SetRange(arg2
,arg3
);
15033 wxPyEndAllowThreads(__tstate
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15036 Py_INCREF(Py_None
); resultobj
= Py_None
;
15043 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15044 PyObject
*resultobj
;
15045 wxSlider
*arg1
= (wxSlider
*) 0 ;
15047 PyObject
* obj0
= 0 ;
15048 char *kwnames
[] = {
15049 (char *) "self", NULL
15052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
15053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15054 if (SWIG_arg_fail(1)) SWIG_fail
;
15056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15057 result
= (int)((wxSlider
const *)arg1
)->GetMin();
15059 wxPyEndAllowThreads(__tstate
);
15060 if (PyErr_Occurred()) SWIG_fail
;
15063 resultobj
= SWIG_From_int((int)(result
));
15071 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15072 PyObject
*resultobj
;
15073 wxSlider
*arg1
= (wxSlider
*) 0 ;
15075 PyObject
* obj0
= 0 ;
15076 char *kwnames
[] = {
15077 (char *) "self", NULL
15080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15082 if (SWIG_arg_fail(1)) SWIG_fail
;
15084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15085 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15087 wxPyEndAllowThreads(__tstate
);
15088 if (PyErr_Occurred()) SWIG_fail
;
15091 resultobj
= SWIG_From_int((int)(result
));
15099 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15100 PyObject
*resultobj
;
15101 wxSlider
*arg1
= (wxSlider
*) 0 ;
15103 PyObject
* obj0
= 0 ;
15104 PyObject
* obj1
= 0 ;
15105 char *kwnames
[] = {
15106 (char *) "self",(char *) "minValue", NULL
15109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
15110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15111 if (SWIG_arg_fail(1)) SWIG_fail
;
15113 arg2
= (int)(SWIG_As_int(obj1
));
15114 if (SWIG_arg_fail(2)) SWIG_fail
;
15117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15118 (arg1
)->SetMin(arg2
);
15120 wxPyEndAllowThreads(__tstate
);
15121 if (PyErr_Occurred()) SWIG_fail
;
15123 Py_INCREF(Py_None
); resultobj
= Py_None
;
15130 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15131 PyObject
*resultobj
;
15132 wxSlider
*arg1
= (wxSlider
*) 0 ;
15134 PyObject
* obj0
= 0 ;
15135 PyObject
* obj1
= 0 ;
15136 char *kwnames
[] = {
15137 (char *) "self",(char *) "maxValue", NULL
15140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
15141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15142 if (SWIG_arg_fail(1)) SWIG_fail
;
15144 arg2
= (int)(SWIG_As_int(obj1
));
15145 if (SWIG_arg_fail(2)) SWIG_fail
;
15148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15149 (arg1
)->SetMax(arg2
);
15151 wxPyEndAllowThreads(__tstate
);
15152 if (PyErr_Occurred()) SWIG_fail
;
15154 Py_INCREF(Py_None
); resultobj
= Py_None
;
15161 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15162 PyObject
*resultobj
;
15163 wxSlider
*arg1
= (wxSlider
*) 0 ;
15165 PyObject
* obj0
= 0 ;
15166 PyObject
* obj1
= 0 ;
15167 char *kwnames
[] = {
15168 (char *) "self",(char *) "lineSize", NULL
15171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15173 if (SWIG_arg_fail(1)) SWIG_fail
;
15175 arg2
= (int)(SWIG_As_int(obj1
));
15176 if (SWIG_arg_fail(2)) SWIG_fail
;
15179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15180 (arg1
)->SetLineSize(arg2
);
15182 wxPyEndAllowThreads(__tstate
);
15183 if (PyErr_Occurred()) SWIG_fail
;
15185 Py_INCREF(Py_None
); resultobj
= Py_None
;
15192 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15193 PyObject
*resultobj
;
15194 wxSlider
*arg1
= (wxSlider
*) 0 ;
15196 PyObject
* obj0
= 0 ;
15197 PyObject
* obj1
= 0 ;
15198 char *kwnames
[] = {
15199 (char *) "self",(char *) "pageSize", NULL
15202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15204 if (SWIG_arg_fail(1)) SWIG_fail
;
15206 arg2
= (int)(SWIG_As_int(obj1
));
15207 if (SWIG_arg_fail(2)) SWIG_fail
;
15210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15211 (arg1
)->SetPageSize(arg2
);
15213 wxPyEndAllowThreads(__tstate
);
15214 if (PyErr_Occurred()) SWIG_fail
;
15216 Py_INCREF(Py_None
); resultobj
= Py_None
;
15223 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15224 PyObject
*resultobj
;
15225 wxSlider
*arg1
= (wxSlider
*) 0 ;
15227 PyObject
* obj0
= 0 ;
15228 char *kwnames
[] = {
15229 (char *) "self", NULL
15232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
15233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15234 if (SWIG_arg_fail(1)) SWIG_fail
;
15236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15237 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15239 wxPyEndAllowThreads(__tstate
);
15240 if (PyErr_Occurred()) SWIG_fail
;
15243 resultobj
= SWIG_From_int((int)(result
));
15251 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15252 PyObject
*resultobj
;
15253 wxSlider
*arg1
= (wxSlider
*) 0 ;
15255 PyObject
* obj0
= 0 ;
15256 char *kwnames
[] = {
15257 (char *) "self", NULL
15260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15262 if (SWIG_arg_fail(1)) SWIG_fail
;
15264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15265 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15267 wxPyEndAllowThreads(__tstate
);
15268 if (PyErr_Occurred()) SWIG_fail
;
15271 resultobj
= SWIG_From_int((int)(result
));
15279 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15280 PyObject
*resultobj
;
15281 wxSlider
*arg1
= (wxSlider
*) 0 ;
15283 PyObject
* obj0
= 0 ;
15284 PyObject
* obj1
= 0 ;
15285 char *kwnames
[] = {
15286 (char *) "self",(char *) "lenPixels", NULL
15289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15291 if (SWIG_arg_fail(1)) SWIG_fail
;
15293 arg2
= (int)(SWIG_As_int(obj1
));
15294 if (SWIG_arg_fail(2)) SWIG_fail
;
15297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15298 (arg1
)->SetThumbLength(arg2
);
15300 wxPyEndAllowThreads(__tstate
);
15301 if (PyErr_Occurred()) SWIG_fail
;
15303 Py_INCREF(Py_None
); resultobj
= Py_None
;
15310 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15311 PyObject
*resultobj
;
15312 wxSlider
*arg1
= (wxSlider
*) 0 ;
15314 PyObject
* obj0
= 0 ;
15315 char *kwnames
[] = {
15316 (char *) "self", NULL
15319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15321 if (SWIG_arg_fail(1)) SWIG_fail
;
15323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15324 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15326 wxPyEndAllowThreads(__tstate
);
15327 if (PyErr_Occurred()) SWIG_fail
;
15330 resultobj
= SWIG_From_int((int)(result
));
15338 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15339 PyObject
*resultobj
;
15340 wxSlider
*arg1
= (wxSlider
*) 0 ;
15342 int arg3
= (int) 1 ;
15343 PyObject
* obj0
= 0 ;
15344 PyObject
* obj1
= 0 ;
15345 PyObject
* obj2
= 0 ;
15346 char *kwnames
[] = {
15347 (char *) "self",(char *) "n",(char *) "pos", NULL
15350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15352 if (SWIG_arg_fail(1)) SWIG_fail
;
15354 arg2
= (int)(SWIG_As_int(obj1
));
15355 if (SWIG_arg_fail(2)) SWIG_fail
;
15359 arg3
= (int)(SWIG_As_int(obj2
));
15360 if (SWIG_arg_fail(3)) SWIG_fail
;
15364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15365 (arg1
)->SetTickFreq(arg2
,arg3
);
15367 wxPyEndAllowThreads(__tstate
);
15368 if (PyErr_Occurred()) SWIG_fail
;
15370 Py_INCREF(Py_None
); resultobj
= Py_None
;
15377 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15378 PyObject
*resultobj
;
15379 wxSlider
*arg1
= (wxSlider
*) 0 ;
15381 PyObject
* obj0
= 0 ;
15382 char *kwnames
[] = {
15383 (char *) "self", NULL
15386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15388 if (SWIG_arg_fail(1)) SWIG_fail
;
15390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15391 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15393 wxPyEndAllowThreads(__tstate
);
15394 if (PyErr_Occurred()) SWIG_fail
;
15397 resultobj
= SWIG_From_int((int)(result
));
15405 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15406 PyObject
*resultobj
;
15407 wxSlider
*arg1
= (wxSlider
*) 0 ;
15408 PyObject
* obj0
= 0 ;
15409 char *kwnames
[] = {
15410 (char *) "self", NULL
15413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
15414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15415 if (SWIG_arg_fail(1)) SWIG_fail
;
15417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15418 (arg1
)->ClearTicks();
15420 wxPyEndAllowThreads(__tstate
);
15421 if (PyErr_Occurred()) SWIG_fail
;
15423 Py_INCREF(Py_None
); resultobj
= Py_None
;
15430 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15431 PyObject
*resultobj
;
15432 wxSlider
*arg1
= (wxSlider
*) 0 ;
15434 PyObject
* obj0
= 0 ;
15435 PyObject
* obj1
= 0 ;
15436 char *kwnames
[] = {
15437 (char *) "self",(char *) "tickPos", NULL
15440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
15441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15442 if (SWIG_arg_fail(1)) SWIG_fail
;
15444 arg2
= (int)(SWIG_As_int(obj1
));
15445 if (SWIG_arg_fail(2)) SWIG_fail
;
15448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15449 (arg1
)->SetTick(arg2
);
15451 wxPyEndAllowThreads(__tstate
);
15452 if (PyErr_Occurred()) SWIG_fail
;
15454 Py_INCREF(Py_None
); resultobj
= Py_None
;
15461 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15462 PyObject
*resultobj
;
15463 wxSlider
*arg1
= (wxSlider
*) 0 ;
15464 PyObject
* obj0
= 0 ;
15465 char *kwnames
[] = {
15466 (char *) "self", NULL
15469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15471 if (SWIG_arg_fail(1)) SWIG_fail
;
15473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15474 (arg1
)->ClearSel();
15476 wxPyEndAllowThreads(__tstate
);
15477 if (PyErr_Occurred()) SWIG_fail
;
15479 Py_INCREF(Py_None
); resultobj
= Py_None
;
15486 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15487 PyObject
*resultobj
;
15488 wxSlider
*arg1
= (wxSlider
*) 0 ;
15490 PyObject
* obj0
= 0 ;
15491 char *kwnames
[] = {
15492 (char *) "self", NULL
15495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15497 if (SWIG_arg_fail(1)) SWIG_fail
;
15499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15500 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15502 wxPyEndAllowThreads(__tstate
);
15503 if (PyErr_Occurred()) SWIG_fail
;
15506 resultobj
= SWIG_From_int((int)(result
));
15514 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15515 PyObject
*resultobj
;
15516 wxSlider
*arg1
= (wxSlider
*) 0 ;
15518 PyObject
* obj0
= 0 ;
15519 char *kwnames
[] = {
15520 (char *) "self", NULL
15523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15525 if (SWIG_arg_fail(1)) SWIG_fail
;
15527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15528 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15530 wxPyEndAllowThreads(__tstate
);
15531 if (PyErr_Occurred()) SWIG_fail
;
15534 resultobj
= SWIG_From_int((int)(result
));
15542 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15543 PyObject
*resultobj
;
15544 wxSlider
*arg1
= (wxSlider
*) 0 ;
15547 PyObject
* obj0
= 0 ;
15548 PyObject
* obj1
= 0 ;
15549 PyObject
* obj2
= 0 ;
15550 char *kwnames
[] = {
15551 (char *) "self",(char *) "min",(char *) "max", NULL
15554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15556 if (SWIG_arg_fail(1)) SWIG_fail
;
15558 arg2
= (int)(SWIG_As_int(obj1
));
15559 if (SWIG_arg_fail(2)) SWIG_fail
;
15562 arg3
= (int)(SWIG_As_int(obj2
));
15563 if (SWIG_arg_fail(3)) SWIG_fail
;
15566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15567 (arg1
)->SetSelection(arg2
,arg3
);
15569 wxPyEndAllowThreads(__tstate
);
15570 if (PyErr_Occurred()) SWIG_fail
;
15572 Py_INCREF(Py_None
); resultobj
= Py_None
;
15579 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15580 PyObject
*resultobj
;
15581 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15582 wxVisualAttributes result
;
15583 PyObject
* obj0
= 0 ;
15584 char *kwnames
[] = {
15585 (char *) "variant", NULL
15588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15591 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
15592 if (SWIG_arg_fail(1)) SWIG_fail
;
15596 if (!wxPyCheckForApp()) SWIG_fail
;
15597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15598 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15600 wxPyEndAllowThreads(__tstate
);
15601 if (PyErr_Occurred()) SWIG_fail
;
15604 wxVisualAttributes
* resultptr
;
15605 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
15606 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15614 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
15616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15617 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
15619 return Py_BuildValue((char *)"");
15621 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
15622 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
15627 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
15632 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15634 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15641 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15642 PyObject
*resultobj
;
15643 wxWindow
*arg1
= (wxWindow
*) 0 ;
15644 int arg2
= (int) -1 ;
15645 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15646 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15647 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15648 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15649 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15650 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15651 long arg6
= (long) 0 ;
15652 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15653 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15654 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
15655 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15656 wxToggleButton
*result
;
15657 bool temp3
= false ;
15660 bool temp8
= false ;
15661 PyObject
* obj0
= 0 ;
15662 PyObject
* obj1
= 0 ;
15663 PyObject
* obj2
= 0 ;
15664 PyObject
* obj3
= 0 ;
15665 PyObject
* obj4
= 0 ;
15666 PyObject
* obj5
= 0 ;
15667 PyObject
* obj6
= 0 ;
15668 PyObject
* obj7
= 0 ;
15669 char *kwnames
[] = {
15670 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15675 if (SWIG_arg_fail(1)) SWIG_fail
;
15678 arg2
= (int)(SWIG_As_int(obj1
));
15679 if (SWIG_arg_fail(2)) SWIG_fail
;
15684 arg3
= wxString_in_helper(obj2
);
15685 if (arg3
== NULL
) SWIG_fail
;
15692 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15698 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15703 arg6
= (long)(SWIG_As_long(obj5
));
15704 if (SWIG_arg_fail(6)) SWIG_fail
;
15709 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15710 if (SWIG_arg_fail(7)) SWIG_fail
;
15711 if (arg7
== NULL
) {
15712 SWIG_null_ref("wxValidator");
15714 if (SWIG_arg_fail(7)) SWIG_fail
;
15719 arg8
= wxString_in_helper(obj7
);
15720 if (arg8
== NULL
) SWIG_fail
;
15725 if (!wxPyCheckForApp()) SWIG_fail
;
15726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15727 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
15729 wxPyEndAllowThreads(__tstate
);
15730 if (PyErr_Occurred()) SWIG_fail
;
15732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15755 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15756 PyObject
*resultobj
;
15757 wxToggleButton
*result
;
15758 char *kwnames
[] = {
15762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
15764 if (!wxPyCheckForApp()) SWIG_fail
;
15765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15766 result
= (wxToggleButton
*)new wxToggleButton();
15768 wxPyEndAllowThreads(__tstate
);
15769 if (PyErr_Occurred()) SWIG_fail
;
15771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15778 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15779 PyObject
*resultobj
;
15780 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15781 wxWindow
*arg2
= (wxWindow
*) 0 ;
15782 int arg3
= (int) -1 ;
15783 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15784 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15785 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15786 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15787 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15788 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15789 long arg7
= (long) 0 ;
15790 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
15791 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
15792 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
15793 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15795 bool temp4
= false ;
15798 bool temp9
= false ;
15799 PyObject
* obj0
= 0 ;
15800 PyObject
* obj1
= 0 ;
15801 PyObject
* obj2
= 0 ;
15802 PyObject
* obj3
= 0 ;
15803 PyObject
* obj4
= 0 ;
15804 PyObject
* obj5
= 0 ;
15805 PyObject
* obj6
= 0 ;
15806 PyObject
* obj7
= 0 ;
15807 PyObject
* obj8
= 0 ;
15808 char *kwnames
[] = {
15809 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15814 if (SWIG_arg_fail(1)) SWIG_fail
;
15815 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15816 if (SWIG_arg_fail(2)) SWIG_fail
;
15819 arg3
= (int)(SWIG_As_int(obj2
));
15820 if (SWIG_arg_fail(3)) SWIG_fail
;
15825 arg4
= wxString_in_helper(obj3
);
15826 if (arg4
== NULL
) SWIG_fail
;
15833 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15839 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15844 arg7
= (long)(SWIG_As_long(obj6
));
15845 if (SWIG_arg_fail(7)) SWIG_fail
;
15850 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15851 if (SWIG_arg_fail(8)) SWIG_fail
;
15852 if (arg8
== NULL
) {
15853 SWIG_null_ref("wxValidator");
15855 if (SWIG_arg_fail(8)) SWIG_fail
;
15860 arg9
= wxString_in_helper(obj8
);
15861 if (arg9
== NULL
) SWIG_fail
;
15866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15867 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
15869 wxPyEndAllowThreads(__tstate
);
15870 if (PyErr_Occurred()) SWIG_fail
;
15873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15897 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15898 PyObject
*resultobj
;
15899 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15901 PyObject
* obj0
= 0 ;
15902 PyObject
* obj1
= 0 ;
15903 char *kwnames
[] = {
15904 (char *) "self",(char *) "value", NULL
15907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15909 if (SWIG_arg_fail(1)) SWIG_fail
;
15911 arg2
= (bool)(SWIG_As_bool(obj1
));
15912 if (SWIG_arg_fail(2)) SWIG_fail
;
15915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15916 (arg1
)->SetValue(arg2
);
15918 wxPyEndAllowThreads(__tstate
);
15919 if (PyErr_Occurred()) SWIG_fail
;
15921 Py_INCREF(Py_None
); resultobj
= Py_None
;
15928 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15929 PyObject
*resultobj
;
15930 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15932 PyObject
* obj0
= 0 ;
15933 char *kwnames
[] = {
15934 (char *) "self", NULL
15937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
15938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15939 if (SWIG_arg_fail(1)) SWIG_fail
;
15941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15942 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
15944 wxPyEndAllowThreads(__tstate
);
15945 if (PyErr_Occurred()) SWIG_fail
;
15948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15956 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15957 PyObject
*resultobj
;
15958 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15959 wxString
*arg2
= 0 ;
15960 bool temp2
= false ;
15961 PyObject
* obj0
= 0 ;
15962 PyObject
* obj1
= 0 ;
15963 char *kwnames
[] = {
15964 (char *) "self",(char *) "label", NULL
15967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15969 if (SWIG_arg_fail(1)) SWIG_fail
;
15971 arg2
= wxString_in_helper(obj1
);
15972 if (arg2
== NULL
) SWIG_fail
;
15976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15977 (arg1
)->SetLabel((wxString
const &)*arg2
);
15979 wxPyEndAllowThreads(__tstate
);
15980 if (PyErr_Occurred()) SWIG_fail
;
15982 Py_INCREF(Py_None
); resultobj
= Py_None
;
15997 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15998 PyObject
*resultobj
;
15999 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16000 wxVisualAttributes result
;
16001 PyObject
* obj0
= 0 ;
16002 char *kwnames
[] = {
16003 (char *) "variant", NULL
16006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16009 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16010 if (SWIG_arg_fail(1)) SWIG_fail
;
16014 if (!wxPyCheckForApp()) SWIG_fail
;
16015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16016 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16018 wxPyEndAllowThreads(__tstate
);
16019 if (PyErr_Occurred()) SWIG_fail
;
16022 wxVisualAttributes
* resultptr
;
16023 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16024 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16032 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
16034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16035 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
16037 return Py_BuildValue((char *)"");
16039 static int _wrap_NotebookNameStr_set(PyObject
*) {
16040 PyErr_SetString(PyExc_TypeError
,"Variable NotebookNameStr is read-only.");
16045 static PyObject
*_wrap_NotebookNameStr_get(void) {
16050 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16052 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16059 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16060 PyObject
*resultobj
;
16061 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16063 PyObject
* obj0
= 0 ;
16064 char *kwnames
[] = {
16065 (char *) "self", NULL
16068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
16069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16070 if (SWIG_arg_fail(1)) SWIG_fail
;
16072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16073 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16075 wxPyEndAllowThreads(__tstate
);
16076 if (PyErr_Occurred()) SWIG_fail
;
16079 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16087 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16088 PyObject
*resultobj
;
16089 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16092 PyObject
* obj0
= 0 ;
16093 PyObject
* obj1
= 0 ;
16094 char *kwnames
[] = {
16095 (char *) "self",(char *) "n", NULL
16098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16100 if (SWIG_arg_fail(1)) SWIG_fail
;
16102 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16103 if (SWIG_arg_fail(2)) SWIG_fail
;
16106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16107 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16109 wxPyEndAllowThreads(__tstate
);
16110 if (PyErr_Occurred()) SWIG_fail
;
16113 resultobj
= wxPyMake_wxObject(result
, 0);
16121 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16122 PyObject
*resultobj
;
16123 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16125 PyObject
* obj0
= 0 ;
16126 char *kwnames
[] = {
16127 (char *) "self", NULL
16130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16132 if (SWIG_arg_fail(1)) SWIG_fail
;
16134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16135 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16137 wxPyEndAllowThreads(__tstate
);
16138 if (PyErr_Occurred()) SWIG_fail
;
16141 resultobj
= wxPyMake_wxObject(result
, 0);
16149 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16150 PyObject
*resultobj
;
16151 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16153 PyObject
* obj0
= 0 ;
16154 char *kwnames
[] = {
16155 (char *) "self", NULL
16158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16160 if (SWIG_arg_fail(1)) SWIG_fail
;
16162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16163 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16165 wxPyEndAllowThreads(__tstate
);
16166 if (PyErr_Occurred()) SWIG_fail
;
16169 resultobj
= SWIG_From_int((int)(result
));
16177 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16178 PyObject
*resultobj
;
16179 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16181 wxString
*arg3
= 0 ;
16183 bool temp3
= false ;
16184 PyObject
* obj0
= 0 ;
16185 PyObject
* obj1
= 0 ;
16186 PyObject
* obj2
= 0 ;
16187 char *kwnames
[] = {
16188 (char *) "self",(char *) "n",(char *) "strText", NULL
16191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16193 if (SWIG_arg_fail(1)) SWIG_fail
;
16195 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16196 if (SWIG_arg_fail(2)) SWIG_fail
;
16199 arg3
= wxString_in_helper(obj2
);
16200 if (arg3
== NULL
) SWIG_fail
;
16204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16205 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16207 wxPyEndAllowThreads(__tstate
);
16208 if (PyErr_Occurred()) SWIG_fail
;
16211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16227 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16228 PyObject
*resultobj
;
16229 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16232 PyObject
* obj0
= 0 ;
16233 PyObject
* obj1
= 0 ;
16234 char *kwnames
[] = {
16235 (char *) "self",(char *) "n", NULL
16238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16247 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16249 wxPyEndAllowThreads(__tstate
);
16250 if (PyErr_Occurred()) SWIG_fail
;
16254 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16256 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16265 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16266 PyObject
*resultobj
;
16267 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16268 wxImageList
*arg2
= (wxImageList
*) 0 ;
16269 PyObject
* obj0
= 0 ;
16270 PyObject
* obj1
= 0 ;
16271 char *kwnames
[] = {
16272 (char *) "self",(char *) "imageList", NULL
16275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16277 if (SWIG_arg_fail(1)) SWIG_fail
;
16278 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16279 if (SWIG_arg_fail(2)) SWIG_fail
;
16281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16282 (arg1
)->SetImageList(arg2
);
16284 wxPyEndAllowThreads(__tstate
);
16285 if (PyErr_Occurred()) SWIG_fail
;
16287 Py_INCREF(Py_None
); resultobj
= Py_None
;
16294 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16295 PyObject
*resultobj
;
16296 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16297 wxImageList
*arg2
= (wxImageList
*) 0 ;
16298 PyObject
* obj0
= 0 ;
16299 PyObject
* obj1
= 0 ;
16300 char *kwnames
[] = {
16301 (char *) "self",(char *) "imageList", NULL
16304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16306 if (SWIG_arg_fail(1)) SWIG_fail
;
16307 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16308 if (SWIG_arg_fail(2)) SWIG_fail
;
16310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16311 (arg1
)->AssignImageList(arg2
);
16313 wxPyEndAllowThreads(__tstate
);
16314 if (PyErr_Occurred()) SWIG_fail
;
16316 Py_INCREF(Py_None
); resultobj
= Py_None
;
16323 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16324 PyObject
*resultobj
;
16325 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16326 wxImageList
*result
;
16327 PyObject
* obj0
= 0 ;
16328 char *kwnames
[] = {
16329 (char *) "self", NULL
16332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16334 if (SWIG_arg_fail(1)) SWIG_fail
;
16336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16337 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16339 wxPyEndAllowThreads(__tstate
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16343 resultobj
= wxPyMake_wxObject(result
, 0);
16351 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16352 PyObject
*resultobj
;
16353 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16356 PyObject
* obj0
= 0 ;
16357 PyObject
* obj1
= 0 ;
16358 char *kwnames
[] = {
16359 (char *) "self",(char *) "n", NULL
16362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16364 if (SWIG_arg_fail(1)) SWIG_fail
;
16366 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16367 if (SWIG_arg_fail(2)) SWIG_fail
;
16370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16371 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16373 wxPyEndAllowThreads(__tstate
);
16374 if (PyErr_Occurred()) SWIG_fail
;
16377 resultobj
= SWIG_From_int((int)(result
));
16385 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16386 PyObject
*resultobj
;
16387 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16391 PyObject
* obj0
= 0 ;
16392 PyObject
* obj1
= 0 ;
16393 PyObject
* obj2
= 0 ;
16394 char *kwnames
[] = {
16395 (char *) "self",(char *) "n",(char *) "imageId", NULL
16398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16400 if (SWIG_arg_fail(1)) SWIG_fail
;
16402 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16403 if (SWIG_arg_fail(2)) SWIG_fail
;
16406 arg3
= (int)(SWIG_As_int(obj2
));
16407 if (SWIG_arg_fail(3)) SWIG_fail
;
16410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16411 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16413 wxPyEndAllowThreads(__tstate
);
16414 if (PyErr_Occurred()) SWIG_fail
;
16417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16425 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16426 PyObject
*resultobj
;
16427 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16430 PyObject
* obj0
= 0 ;
16431 PyObject
* obj1
= 0 ;
16432 char *kwnames
[] = {
16433 (char *) "self",(char *) "size", NULL
16436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16438 if (SWIG_arg_fail(1)) SWIG_fail
;
16441 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16445 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16447 wxPyEndAllowThreads(__tstate
);
16448 if (PyErr_Occurred()) SWIG_fail
;
16450 Py_INCREF(Py_None
); resultobj
= Py_None
;
16457 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16458 PyObject
*resultobj
;
16459 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16463 PyObject
* obj0
= 0 ;
16464 PyObject
* obj1
= 0 ;
16465 char *kwnames
[] = {
16466 (char *) "self",(char *) "sizePage", NULL
16469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16471 if (SWIG_arg_fail(1)) SWIG_fail
;
16474 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16478 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16480 wxPyEndAllowThreads(__tstate
);
16481 if (PyErr_Occurred()) SWIG_fail
;
16484 wxSize
* resultptr
;
16485 resultptr
= new wxSize((wxSize
&)(result
));
16486 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16494 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16495 PyObject
*resultobj
;
16496 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16499 PyObject
* obj0
= 0 ;
16500 PyObject
* obj1
= 0 ;
16501 char *kwnames
[] = {
16502 (char *) "self",(char *) "n", NULL
16505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16507 if (SWIG_arg_fail(1)) SWIG_fail
;
16509 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16510 if (SWIG_arg_fail(2)) SWIG_fail
;
16513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16514 result
= (bool)(arg1
)->DeletePage(arg2
);
16516 wxPyEndAllowThreads(__tstate
);
16517 if (PyErr_Occurred()) SWIG_fail
;
16520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16528 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16529 PyObject
*resultobj
;
16530 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16533 PyObject
* obj0
= 0 ;
16534 PyObject
* obj1
= 0 ;
16535 char *kwnames
[] = {
16536 (char *) "self",(char *) "n", NULL
16539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16541 if (SWIG_arg_fail(1)) SWIG_fail
;
16543 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16544 if (SWIG_arg_fail(2)) SWIG_fail
;
16547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16548 result
= (bool)(arg1
)->RemovePage(arg2
);
16550 wxPyEndAllowThreads(__tstate
);
16551 if (PyErr_Occurred()) SWIG_fail
;
16554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16562 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16563 PyObject
*resultobj
;
16564 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16566 PyObject
* obj0
= 0 ;
16567 char *kwnames
[] = {
16568 (char *) "self", NULL
16571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16573 if (SWIG_arg_fail(1)) SWIG_fail
;
16575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16576 result
= (bool)(arg1
)->DeleteAllPages();
16578 wxPyEndAllowThreads(__tstate
);
16579 if (PyErr_Occurred()) SWIG_fail
;
16582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16590 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16591 PyObject
*resultobj
;
16592 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16593 wxWindow
*arg2
= (wxWindow
*) 0 ;
16594 wxString
*arg3
= 0 ;
16595 bool arg4
= (bool) false ;
16596 int arg5
= (int) -1 ;
16598 bool temp3
= false ;
16599 PyObject
* obj0
= 0 ;
16600 PyObject
* obj1
= 0 ;
16601 PyObject
* obj2
= 0 ;
16602 PyObject
* obj3
= 0 ;
16603 PyObject
* obj4
= 0 ;
16604 char *kwnames
[] = {
16605 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16610 if (SWIG_arg_fail(1)) SWIG_fail
;
16611 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16612 if (SWIG_arg_fail(2)) SWIG_fail
;
16614 arg3
= wxString_in_helper(obj2
);
16615 if (arg3
== NULL
) SWIG_fail
;
16620 arg4
= (bool)(SWIG_As_bool(obj3
));
16621 if (SWIG_arg_fail(4)) SWIG_fail
;
16626 arg5
= (int)(SWIG_As_int(obj4
));
16627 if (SWIG_arg_fail(5)) SWIG_fail
;
16631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16632 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
16634 wxPyEndAllowThreads(__tstate
);
16635 if (PyErr_Occurred()) SWIG_fail
;
16638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16654 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16655 PyObject
*resultobj
;
16656 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16658 wxWindow
*arg3
= (wxWindow
*) 0 ;
16659 wxString
*arg4
= 0 ;
16660 bool arg5
= (bool) false ;
16661 int arg6
= (int) -1 ;
16663 bool temp4
= false ;
16664 PyObject
* obj0
= 0 ;
16665 PyObject
* obj1
= 0 ;
16666 PyObject
* obj2
= 0 ;
16667 PyObject
* obj3
= 0 ;
16668 PyObject
* obj4
= 0 ;
16669 PyObject
* obj5
= 0 ;
16670 char *kwnames
[] = {
16671 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16676 if (SWIG_arg_fail(1)) SWIG_fail
;
16678 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16679 if (SWIG_arg_fail(2)) SWIG_fail
;
16681 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16682 if (SWIG_arg_fail(3)) SWIG_fail
;
16684 arg4
= wxString_in_helper(obj3
);
16685 if (arg4
== NULL
) SWIG_fail
;
16690 arg5
= (bool)(SWIG_As_bool(obj4
));
16691 if (SWIG_arg_fail(5)) SWIG_fail
;
16696 arg6
= (int)(SWIG_As_int(obj5
));
16697 if (SWIG_arg_fail(6)) SWIG_fail
;
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16704 wxPyEndAllowThreads(__tstate
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16724 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16725 PyObject
*resultobj
;
16726 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16729 PyObject
* obj0
= 0 ;
16730 PyObject
* obj1
= 0 ;
16731 char *kwnames
[] = {
16732 (char *) "self",(char *) "n", NULL
16735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16737 if (SWIG_arg_fail(1)) SWIG_fail
;
16739 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16740 if (SWIG_arg_fail(2)) SWIG_fail
;
16743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16744 result
= (int)(arg1
)->SetSelection(arg2
);
16746 wxPyEndAllowThreads(__tstate
);
16747 if (PyErr_Occurred()) SWIG_fail
;
16750 resultobj
= SWIG_From_int((int)(result
));
16758 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16759 PyObject
*resultobj
;
16760 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16761 bool arg2
= (bool) true ;
16762 PyObject
* obj0
= 0 ;
16763 PyObject
* obj1
= 0 ;
16764 char *kwnames
[] = {
16765 (char *) "self",(char *) "forward", NULL
16768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16770 if (SWIG_arg_fail(1)) SWIG_fail
;
16773 arg2
= (bool)(SWIG_As_bool(obj1
));
16774 if (SWIG_arg_fail(2)) SWIG_fail
;
16778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16779 (arg1
)->AdvanceSelection(arg2
);
16781 wxPyEndAllowThreads(__tstate
);
16782 if (PyErr_Occurred()) SWIG_fail
;
16784 Py_INCREF(Py_None
); resultobj
= Py_None
;
16791 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16792 PyObject
*resultobj
;
16793 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16794 wxVisualAttributes result
;
16795 PyObject
* obj0
= 0 ;
16796 char *kwnames
[] = {
16797 (char *) "variant", NULL
16800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16803 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16804 if (SWIG_arg_fail(1)) SWIG_fail
;
16808 if (!wxPyCheckForApp()) SWIG_fail
;
16809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16810 result
= wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16812 wxPyEndAllowThreads(__tstate
);
16813 if (PyErr_Occurred()) SWIG_fail
;
16816 wxVisualAttributes
* resultptr
;
16817 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16818 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16826 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
16828 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16829 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
16831 return Py_BuildValue((char *)"");
16833 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16834 PyObject
*resultobj
;
16835 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16836 int arg2
= (int) 0 ;
16837 int arg3
= (int) -1 ;
16838 int arg4
= (int) -1 ;
16839 wxBookCtrlBaseEvent
*result
;
16840 PyObject
* obj0
= 0 ;
16841 PyObject
* obj1
= 0 ;
16842 PyObject
* obj2
= 0 ;
16843 PyObject
* obj3
= 0 ;
16844 char *kwnames
[] = {
16845 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16851 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16852 if (SWIG_arg_fail(1)) SWIG_fail
;
16857 arg2
= (int)(SWIG_As_int(obj1
));
16858 if (SWIG_arg_fail(2)) SWIG_fail
;
16863 arg3
= (int)(SWIG_As_int(obj2
));
16864 if (SWIG_arg_fail(3)) SWIG_fail
;
16869 arg4
= (int)(SWIG_As_int(obj3
));
16870 if (SWIG_arg_fail(4)) SWIG_fail
;
16874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16875 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
16877 wxPyEndAllowThreads(__tstate
);
16878 if (PyErr_Occurred()) SWIG_fail
;
16880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
16887 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16888 PyObject
*resultobj
;
16889 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16891 PyObject
* obj0
= 0 ;
16892 char *kwnames
[] = {
16893 (char *) "self", NULL
16896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
16897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16898 if (SWIG_arg_fail(1)) SWIG_fail
;
16900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16901 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
16903 wxPyEndAllowThreads(__tstate
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16907 resultobj
= SWIG_From_int((int)(result
));
16915 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16916 PyObject
*resultobj
;
16917 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16919 PyObject
* obj0
= 0 ;
16920 PyObject
* obj1
= 0 ;
16921 char *kwnames
[] = {
16922 (char *) "self",(char *) "nSel", NULL
16925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16927 if (SWIG_arg_fail(1)) SWIG_fail
;
16929 arg2
= (int)(SWIG_As_int(obj1
));
16930 if (SWIG_arg_fail(2)) SWIG_fail
;
16933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16934 (arg1
)->SetSelection(arg2
);
16936 wxPyEndAllowThreads(__tstate
);
16937 if (PyErr_Occurred()) SWIG_fail
;
16939 Py_INCREF(Py_None
); resultobj
= Py_None
;
16946 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16947 PyObject
*resultobj
;
16948 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16950 PyObject
* obj0
= 0 ;
16951 char *kwnames
[] = {
16952 (char *) "self", NULL
16955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
16956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16957 if (SWIG_arg_fail(1)) SWIG_fail
;
16959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16960 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
16962 wxPyEndAllowThreads(__tstate
);
16963 if (PyErr_Occurred()) SWIG_fail
;
16966 resultobj
= SWIG_From_int((int)(result
));
16974 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16975 PyObject
*resultobj
;
16976 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16978 PyObject
* obj0
= 0 ;
16979 PyObject
* obj1
= 0 ;
16980 char *kwnames
[] = {
16981 (char *) "self",(char *) "nOldSel", NULL
16984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16986 if (SWIG_arg_fail(1)) SWIG_fail
;
16988 arg2
= (int)(SWIG_As_int(obj1
));
16989 if (SWIG_arg_fail(2)) SWIG_fail
;
16992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16993 (arg1
)->SetOldSelection(arg2
);
16995 wxPyEndAllowThreads(__tstate
);
16996 if (PyErr_Occurred()) SWIG_fail
;
16998 Py_INCREF(Py_None
); resultobj
= Py_None
;
17005 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
17007 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17008 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
17010 return Py_BuildValue((char *)"");
17012 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17013 PyObject
*resultobj
;
17014 wxWindow
*arg1
= (wxWindow
*) 0 ;
17015 int arg2
= (int) -1 ;
17016 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17017 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17018 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17019 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17020 long arg5
= (long) 0 ;
17021 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
17022 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17023 wxNotebook
*result
;
17026 bool temp6
= false ;
17027 PyObject
* obj0
= 0 ;
17028 PyObject
* obj1
= 0 ;
17029 PyObject
* obj2
= 0 ;
17030 PyObject
* obj3
= 0 ;
17031 PyObject
* obj4
= 0 ;
17032 PyObject
* obj5
= 0 ;
17033 char *kwnames
[] = {
17034 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17039 if (SWIG_arg_fail(1)) SWIG_fail
;
17042 arg2
= (int)(SWIG_As_int(obj1
));
17043 if (SWIG_arg_fail(2)) SWIG_fail
;
17049 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17055 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17060 arg5
= (long)(SWIG_As_long(obj4
));
17061 if (SWIG_arg_fail(5)) SWIG_fail
;
17066 arg6
= wxString_in_helper(obj5
);
17067 if (arg6
== NULL
) SWIG_fail
;
17072 if (!wxPyCheckForApp()) SWIG_fail
;
17073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17074 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17076 wxPyEndAllowThreads(__tstate
);
17077 if (PyErr_Occurred()) SWIG_fail
;
17079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17094 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17095 PyObject
*resultobj
;
17096 wxNotebook
*result
;
17097 char *kwnames
[] = {
17101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17103 if (!wxPyCheckForApp()) SWIG_fail
;
17104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17105 result
= (wxNotebook
*)new wxNotebook();
17107 wxPyEndAllowThreads(__tstate
);
17108 if (PyErr_Occurred()) SWIG_fail
;
17110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17117 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17118 PyObject
*resultobj
;
17119 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17120 wxWindow
*arg2
= (wxWindow
*) 0 ;
17121 int arg3
= (int) -1 ;
17122 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17123 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17124 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17125 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17126 long arg6
= (long) 0 ;
17127 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
17128 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17132 bool temp7
= false ;
17133 PyObject
* obj0
= 0 ;
17134 PyObject
* obj1
= 0 ;
17135 PyObject
* obj2
= 0 ;
17136 PyObject
* obj3
= 0 ;
17137 PyObject
* obj4
= 0 ;
17138 PyObject
* obj5
= 0 ;
17139 PyObject
* obj6
= 0 ;
17140 char *kwnames
[] = {
17141 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17146 if (SWIG_arg_fail(1)) SWIG_fail
;
17147 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17148 if (SWIG_arg_fail(2)) SWIG_fail
;
17151 arg3
= (int)(SWIG_As_int(obj2
));
17152 if (SWIG_arg_fail(3)) SWIG_fail
;
17158 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17164 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17169 arg6
= (long)(SWIG_As_long(obj5
));
17170 if (SWIG_arg_fail(6)) SWIG_fail
;
17175 arg7
= wxString_in_helper(obj6
);
17176 if (arg7
== NULL
) SWIG_fail
;
17181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17182 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17184 wxPyEndAllowThreads(__tstate
);
17185 if (PyErr_Occurred()) SWIG_fail
;
17188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17204 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17205 PyObject
*resultobj
;
17206 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17208 PyObject
* obj0
= 0 ;
17209 char *kwnames
[] = {
17210 (char *) "self", NULL
17213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17215 if (SWIG_arg_fail(1)) SWIG_fail
;
17217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17218 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17220 wxPyEndAllowThreads(__tstate
);
17221 if (PyErr_Occurred()) SWIG_fail
;
17224 resultobj
= SWIG_From_int((int)(result
));
17232 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17233 PyObject
*resultobj
;
17234 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17237 PyObject
* obj0
= 0 ;
17238 PyObject
* obj1
= 0 ;
17239 char *kwnames
[] = {
17240 (char *) "self",(char *) "padding", NULL
17243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17245 if (SWIG_arg_fail(1)) SWIG_fail
;
17248 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17252 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17254 wxPyEndAllowThreads(__tstate
);
17255 if (PyErr_Occurred()) SWIG_fail
;
17257 Py_INCREF(Py_None
); resultobj
= Py_None
;
17264 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17265 PyObject
*resultobj
;
17266 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17269 PyObject
* obj0
= 0 ;
17270 PyObject
* obj1
= 0 ;
17271 char *kwnames
[] = {
17272 (char *) "self",(char *) "sz", NULL
17275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17277 if (SWIG_arg_fail(1)) SWIG_fail
;
17280 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17284 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17286 wxPyEndAllowThreads(__tstate
);
17287 if (PyErr_Occurred()) SWIG_fail
;
17289 Py_INCREF(Py_None
); resultobj
= Py_None
;
17296 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17297 PyObject
*resultobj
;
17298 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17299 wxPoint
*arg2
= 0 ;
17300 long *arg3
= (long *) 0 ;
17305 PyObject
* obj0
= 0 ;
17306 PyObject
* obj1
= 0 ;
17307 char *kwnames
[] = {
17308 (char *) "self",(char *) "pt", NULL
17311 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
17313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17314 if (SWIG_arg_fail(1)) SWIG_fail
;
17317 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17321 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17323 wxPyEndAllowThreads(__tstate
);
17324 if (PyErr_Occurred()) SWIG_fail
;
17327 resultobj
= SWIG_From_int((int)(result
));
17329 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17330 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17337 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17338 PyObject
*resultobj
;
17339 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17343 PyObject
* obj0
= 0 ;
17344 PyObject
* obj1
= 0 ;
17345 char *kwnames
[] = {
17346 (char *) "self",(char *) "sizePage", NULL
17349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
17350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17351 if (SWIG_arg_fail(1)) SWIG_fail
;
17354 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17358 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17360 wxPyEndAllowThreads(__tstate
);
17361 if (PyErr_Occurred()) SWIG_fail
;
17364 wxSize
* resultptr
;
17365 resultptr
= new wxSize((wxSize
&)(result
));
17366 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17374 static PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17375 PyObject
*resultobj
;
17376 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17378 PyObject
* obj0
= 0 ;
17379 char *kwnames
[] = {
17380 (char *) "self", NULL
17383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames
,&obj0
)) goto fail
;
17384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17385 if (SWIG_arg_fail(1)) SWIG_fail
;
17387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17388 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
17390 wxPyEndAllowThreads(__tstate
);
17391 if (PyErr_Occurred()) SWIG_fail
;
17394 wxColour
* resultptr
;
17395 resultptr
= new wxColour((wxColour
&)(result
));
17396 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17404 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17405 PyObject
*resultobj
;
17406 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17407 wxVisualAttributes result
;
17408 PyObject
* obj0
= 0 ;
17409 char *kwnames
[] = {
17410 (char *) "variant", NULL
17413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17416 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
17417 if (SWIG_arg_fail(1)) SWIG_fail
;
17421 if (!wxPyCheckForApp()) SWIG_fail
;
17422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17423 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
17425 wxPyEndAllowThreads(__tstate
);
17426 if (PyErr_Occurred()) SWIG_fail
;
17429 wxVisualAttributes
* resultptr
;
17430 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
17431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17439 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17442 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17444 return Py_BuildValue((char *)"");
17446 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17447 PyObject
*resultobj
;
17448 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17449 int arg2
= (int) 0 ;
17450 int arg3
= (int) -1 ;
17451 int arg4
= (int) -1 ;
17452 wxNotebookEvent
*result
;
17453 PyObject
* obj0
= 0 ;
17454 PyObject
* obj1
= 0 ;
17455 PyObject
* obj2
= 0 ;
17456 PyObject
* obj3
= 0 ;
17457 char *kwnames
[] = {
17458 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17464 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17465 if (SWIG_arg_fail(1)) SWIG_fail
;
17470 arg2
= (int)(SWIG_As_int(obj1
));
17471 if (SWIG_arg_fail(2)) SWIG_fail
;
17476 arg3
= (int)(SWIG_As_int(obj2
));
17477 if (SWIG_arg_fail(3)) SWIG_fail
;
17482 arg4
= (int)(SWIG_As_int(obj3
));
17483 if (SWIG_arg_fail(4)) SWIG_fail
;
17487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17488 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17490 wxPyEndAllowThreads(__tstate
);
17491 if (PyErr_Occurred()) SWIG_fail
;
17493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17500 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17503 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17505 return Py_BuildValue((char *)"");
17507 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17508 PyObject
*resultobj
;
17509 wxWindow
*arg1
= (wxWindow
*) 0 ;
17510 int arg2
= (int) -1 ;
17511 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17512 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17513 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17514 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17515 long arg5
= (long) 0 ;
17516 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17517 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17518 wxListbook
*result
;
17521 bool temp6
= false ;
17522 PyObject
* obj0
= 0 ;
17523 PyObject
* obj1
= 0 ;
17524 PyObject
* obj2
= 0 ;
17525 PyObject
* obj3
= 0 ;
17526 PyObject
* obj4
= 0 ;
17527 PyObject
* obj5
= 0 ;
17528 char *kwnames
[] = {
17529 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17534 if (SWIG_arg_fail(1)) SWIG_fail
;
17537 arg2
= (int)(SWIG_As_int(obj1
));
17538 if (SWIG_arg_fail(2)) SWIG_fail
;
17544 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17550 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17555 arg5
= (long)(SWIG_As_long(obj4
));
17556 if (SWIG_arg_fail(5)) SWIG_fail
;
17561 arg6
= wxString_in_helper(obj5
);
17562 if (arg6
== NULL
) SWIG_fail
;
17567 if (!wxPyCheckForApp()) SWIG_fail
;
17568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17569 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17571 wxPyEndAllowThreads(__tstate
);
17572 if (PyErr_Occurred()) SWIG_fail
;
17574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17589 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17590 PyObject
*resultobj
;
17591 wxListbook
*result
;
17592 char *kwnames
[] = {
17596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
17598 if (!wxPyCheckForApp()) SWIG_fail
;
17599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17600 result
= (wxListbook
*)new wxListbook();
17602 wxPyEndAllowThreads(__tstate
);
17603 if (PyErr_Occurred()) SWIG_fail
;
17605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17612 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17613 PyObject
*resultobj
;
17614 wxListbook
*arg1
= (wxListbook
*) 0 ;
17615 wxWindow
*arg2
= (wxWindow
*) 0 ;
17616 int arg3
= (int) -1 ;
17617 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17618 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17619 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17620 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17621 long arg6
= (long) 0 ;
17622 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17623 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17627 bool temp7
= false ;
17628 PyObject
* obj0
= 0 ;
17629 PyObject
* obj1
= 0 ;
17630 PyObject
* obj2
= 0 ;
17631 PyObject
* obj3
= 0 ;
17632 PyObject
* obj4
= 0 ;
17633 PyObject
* obj5
= 0 ;
17634 PyObject
* obj6
= 0 ;
17635 char *kwnames
[] = {
17636 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17641 if (SWIG_arg_fail(1)) SWIG_fail
;
17642 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17643 if (SWIG_arg_fail(2)) SWIG_fail
;
17646 arg3
= (int)(SWIG_As_int(obj2
));
17647 if (SWIG_arg_fail(3)) SWIG_fail
;
17653 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17659 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17664 arg6
= (long)(SWIG_As_long(obj5
));
17665 if (SWIG_arg_fail(6)) SWIG_fail
;
17670 arg7
= wxString_in_helper(obj6
);
17671 if (arg7
== NULL
) SWIG_fail
;
17676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17677 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17679 wxPyEndAllowThreads(__tstate
);
17680 if (PyErr_Occurred()) SWIG_fail
;
17683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17699 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17700 PyObject
*resultobj
;
17701 wxListbook
*arg1
= (wxListbook
*) 0 ;
17703 PyObject
* obj0
= 0 ;
17704 char *kwnames
[] = {
17705 (char *) "self", NULL
17708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
17709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17710 if (SWIG_arg_fail(1)) SWIG_fail
;
17712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17713 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
17715 wxPyEndAllowThreads(__tstate
);
17716 if (PyErr_Occurred()) SWIG_fail
;
17719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17727 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17728 PyObject
*resultobj
;
17729 wxListbook
*arg1
= (wxListbook
*) 0 ;
17730 wxListView
*result
;
17731 PyObject
* obj0
= 0 ;
17732 char *kwnames
[] = {
17733 (char *) "self", NULL
17736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
17737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17738 if (SWIG_arg_fail(1)) SWIG_fail
;
17740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17741 result
= (wxListView
*)(arg1
)->GetListView();
17743 wxPyEndAllowThreads(__tstate
);
17744 if (PyErr_Occurred()) SWIG_fail
;
17746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
17753 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
17755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17756 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
17758 return Py_BuildValue((char *)"");
17760 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17761 PyObject
*resultobj
;
17762 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17763 int arg2
= (int) 0 ;
17764 int arg3
= (int) -1 ;
17765 int arg4
= (int) -1 ;
17766 wxListbookEvent
*result
;
17767 PyObject
* obj0
= 0 ;
17768 PyObject
* obj1
= 0 ;
17769 PyObject
* obj2
= 0 ;
17770 PyObject
* obj3
= 0 ;
17771 char *kwnames
[] = {
17772 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17778 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17779 if (SWIG_arg_fail(1)) SWIG_fail
;
17784 arg2
= (int)(SWIG_As_int(obj1
));
17785 if (SWIG_arg_fail(2)) SWIG_fail
;
17790 arg3
= (int)(SWIG_As_int(obj2
));
17791 if (SWIG_arg_fail(3)) SWIG_fail
;
17796 arg4
= (int)(SWIG_As_int(obj3
));
17797 if (SWIG_arg_fail(4)) SWIG_fail
;
17801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17802 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
17804 wxPyEndAllowThreads(__tstate
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
17814 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
17816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17817 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
17819 return Py_BuildValue((char *)"");
17821 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17822 PyObject
*resultobj
;
17823 wxWindow
*arg1
= (wxWindow
*) 0 ;
17825 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17826 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17827 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17828 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17829 long arg5
= (long) 0 ;
17830 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17831 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17832 wxChoicebook
*result
;
17835 bool temp6
= false ;
17836 PyObject
* obj0
= 0 ;
17837 PyObject
* obj1
= 0 ;
17838 PyObject
* obj2
= 0 ;
17839 PyObject
* obj3
= 0 ;
17840 PyObject
* obj4
= 0 ;
17841 PyObject
* obj5
= 0 ;
17842 char *kwnames
[] = {
17843 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17848 if (SWIG_arg_fail(1)) SWIG_fail
;
17850 arg2
= (int)(SWIG_As_int(obj1
));
17851 if (SWIG_arg_fail(2)) SWIG_fail
;
17856 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17862 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17867 arg5
= (long)(SWIG_As_long(obj4
));
17868 if (SWIG_arg_fail(5)) SWIG_fail
;
17873 arg6
= wxString_in_helper(obj5
);
17874 if (arg6
== NULL
) SWIG_fail
;
17879 if (!wxPyCheckForApp()) SWIG_fail
;
17880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17881 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17883 wxPyEndAllowThreads(__tstate
);
17884 if (PyErr_Occurred()) SWIG_fail
;
17886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17901 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17902 PyObject
*resultobj
;
17903 wxChoicebook
*result
;
17904 char *kwnames
[] = {
17908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
17910 if (!wxPyCheckForApp()) SWIG_fail
;
17911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17912 result
= (wxChoicebook
*)new wxChoicebook();
17914 wxPyEndAllowThreads(__tstate
);
17915 if (PyErr_Occurred()) SWIG_fail
;
17917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17924 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17925 PyObject
*resultobj
;
17926 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
17927 wxWindow
*arg2
= (wxWindow
*) 0 ;
17929 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17930 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17931 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17932 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17933 long arg6
= (long) 0 ;
17934 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17935 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17939 bool temp7
= false ;
17940 PyObject
* obj0
= 0 ;
17941 PyObject
* obj1
= 0 ;
17942 PyObject
* obj2
= 0 ;
17943 PyObject
* obj3
= 0 ;
17944 PyObject
* obj4
= 0 ;
17945 PyObject
* obj5
= 0 ;
17946 PyObject
* obj6
= 0 ;
17947 char *kwnames
[] = {
17948 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
17953 if (SWIG_arg_fail(1)) SWIG_fail
;
17954 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17955 if (SWIG_arg_fail(2)) SWIG_fail
;
17957 arg3
= (int)(SWIG_As_int(obj2
));
17958 if (SWIG_arg_fail(3)) SWIG_fail
;
17963 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17969 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17974 arg6
= (long)(SWIG_As_long(obj5
));
17975 if (SWIG_arg_fail(6)) SWIG_fail
;
17980 arg7
= wxString_in_helper(obj6
);
17981 if (arg7
== NULL
) SWIG_fail
;
17986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17987 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17989 wxPyEndAllowThreads(__tstate
);
17990 if (PyErr_Occurred()) SWIG_fail
;
17993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18009 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18010 PyObject
*resultobj
;
18011 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18013 PyObject
* obj0
= 0 ;
18014 char *kwnames
[] = {
18015 (char *) "self", NULL
18018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
18019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18020 if (SWIG_arg_fail(1)) SWIG_fail
;
18022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18023 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
18025 wxPyEndAllowThreads(__tstate
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18037 static PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18038 PyObject
*resultobj
;
18039 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18041 PyObject
* obj0
= 0 ;
18042 char *kwnames
[] = {
18043 (char *) "self", NULL
18046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_GetChoiceCtrl",kwnames
,&obj0
)) goto fail
;
18047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18048 if (SWIG_arg_fail(1)) SWIG_fail
;
18050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18051 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
18053 wxPyEndAllowThreads(__tstate
);
18054 if (PyErr_Occurred()) SWIG_fail
;
18056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 0);
18063 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18064 PyObject
*resultobj
;
18065 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18067 PyObject
* obj0
= 0 ;
18068 char *kwnames
[] = {
18069 (char *) "self", NULL
18072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18074 if (SWIG_arg_fail(1)) SWIG_fail
;
18076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18077 result
= (bool)(arg1
)->DeleteAllPages();
18079 wxPyEndAllowThreads(__tstate
);
18080 if (PyErr_Occurred()) SWIG_fail
;
18083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18091 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18094 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18096 return Py_BuildValue((char *)"");
18098 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18099 PyObject
*resultobj
;
18100 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18101 int arg2
= (int) 0 ;
18102 int arg3
= (int) -1 ;
18103 int arg4
= (int) -1 ;
18104 wxChoicebookEvent
*result
;
18105 PyObject
* obj0
= 0 ;
18106 PyObject
* obj1
= 0 ;
18107 PyObject
* obj2
= 0 ;
18108 PyObject
* obj3
= 0 ;
18109 char *kwnames
[] = {
18110 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18116 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18117 if (SWIG_arg_fail(1)) SWIG_fail
;
18122 arg2
= (int)(SWIG_As_int(obj1
));
18123 if (SWIG_arg_fail(2)) SWIG_fail
;
18128 arg3
= (int)(SWIG_As_int(obj2
));
18129 if (SWIG_arg_fail(3)) SWIG_fail
;
18134 arg4
= (int)(SWIG_As_int(obj3
));
18135 if (SWIG_arg_fail(4)) SWIG_fail
;
18139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18140 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18142 wxPyEndAllowThreads(__tstate
);
18143 if (PyErr_Occurred()) SWIG_fail
;
18145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18152 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18155 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18157 return Py_BuildValue((char *)"");
18159 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18160 PyObject
*resultobj
;
18161 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18162 wxBookCtrlSizer
*result
;
18163 PyObject
* obj0
= 0 ;
18164 char *kwnames
[] = {
18165 (char *) "nb", NULL
18168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
18169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
18170 if (SWIG_arg_fail(1)) SWIG_fail
;
18172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18173 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
18175 wxPyEndAllowThreads(__tstate
);
18176 if (PyErr_Occurred()) SWIG_fail
;
18178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
18185 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18186 PyObject
*resultobj
;
18187 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18188 PyObject
* obj0
= 0 ;
18189 char *kwnames
[] = {
18190 (char *) "self", NULL
18193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18195 if (SWIG_arg_fail(1)) SWIG_fail
;
18197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18198 (arg1
)->RecalcSizes();
18200 wxPyEndAllowThreads(__tstate
);
18201 if (PyErr_Occurred()) SWIG_fail
;
18203 Py_INCREF(Py_None
); resultobj
= Py_None
;
18210 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18211 PyObject
*resultobj
;
18212 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18214 PyObject
* obj0
= 0 ;
18215 char *kwnames
[] = {
18216 (char *) "self", NULL
18219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18221 if (SWIG_arg_fail(1)) SWIG_fail
;
18223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18224 result
= (arg1
)->CalcMin();
18226 wxPyEndAllowThreads(__tstate
);
18227 if (PyErr_Occurred()) SWIG_fail
;
18230 wxSize
* resultptr
;
18231 resultptr
= new wxSize((wxSize
&)(result
));
18232 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18240 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18241 PyObject
*resultobj
;
18242 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18243 wxBookCtrlBase
*result
;
18244 PyObject
* obj0
= 0 ;
18245 char *kwnames
[] = {
18246 (char *) "self", NULL
18249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
18250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18251 if (SWIG_arg_fail(1)) SWIG_fail
;
18253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18254 result
= (wxBookCtrlBase
*)(arg1
)->GetControl();
18256 wxPyEndAllowThreads(__tstate
);
18257 if (PyErr_Occurred()) SWIG_fail
;
18259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBase
, 0);
18266 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
18268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18269 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
18271 return Py_BuildValue((char *)"");
18273 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18274 PyObject
*resultobj
;
18275 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
18276 wxNotebookSizer
*result
;
18277 PyObject
* obj0
= 0 ;
18278 char *kwnames
[] = {
18279 (char *) "nb", NULL
18282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
18283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
18284 if (SWIG_arg_fail(1)) SWIG_fail
;
18286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18287 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
18289 wxPyEndAllowThreads(__tstate
);
18290 if (PyErr_Occurred()) SWIG_fail
;
18292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
18299 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18300 PyObject
*resultobj
;
18301 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18302 PyObject
* obj0
= 0 ;
18303 char *kwnames
[] = {
18304 (char *) "self", NULL
18307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18309 if (SWIG_arg_fail(1)) SWIG_fail
;
18311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18312 (arg1
)->RecalcSizes();
18314 wxPyEndAllowThreads(__tstate
);
18315 if (PyErr_Occurred()) SWIG_fail
;
18317 Py_INCREF(Py_None
); resultobj
= Py_None
;
18324 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18325 PyObject
*resultobj
;
18326 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18328 PyObject
* obj0
= 0 ;
18329 char *kwnames
[] = {
18330 (char *) "self", NULL
18333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18335 if (SWIG_arg_fail(1)) SWIG_fail
;
18337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18338 result
= (arg1
)->CalcMin();
18340 wxPyEndAllowThreads(__tstate
);
18341 if (PyErr_Occurred()) SWIG_fail
;
18344 wxSize
* resultptr
;
18345 resultptr
= new wxSize((wxSize
&)(result
));
18346 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18354 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18355 PyObject
*resultobj
;
18356 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18357 wxNotebook
*result
;
18358 PyObject
* obj0
= 0 ;
18359 char *kwnames
[] = {
18360 (char *) "self", NULL
18363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
18364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18365 if (SWIG_arg_fail(1)) SWIG_fail
;
18367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18368 result
= (wxNotebook
*)(arg1
)->GetNotebook();
18370 wxPyEndAllowThreads(__tstate
);
18371 if (PyErr_Occurred()) SWIG_fail
;
18374 resultobj
= wxPyMake_wxObject(result
, 0);
18382 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
18384 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18385 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
18387 return Py_BuildValue((char *)"");
18389 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18390 PyObject
*resultobj
;
18391 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18393 PyObject
* obj0
= 0 ;
18394 char *kwnames
[] = {
18395 (char *) "self", NULL
18398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
18399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18400 if (SWIG_arg_fail(1)) SWIG_fail
;
18402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18403 result
= (int)(arg1
)->GetId();
18405 wxPyEndAllowThreads(__tstate
);
18406 if (PyErr_Occurred()) SWIG_fail
;
18409 resultobj
= SWIG_From_int((int)(result
));
18417 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18418 PyObject
*resultobj
;
18419 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18421 PyObject
* obj0
= 0 ;
18422 char *kwnames
[] = {
18423 (char *) "self", NULL
18426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
18427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18428 if (SWIG_arg_fail(1)) SWIG_fail
;
18430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18431 result
= (wxControl
*)(arg1
)->GetControl();
18433 wxPyEndAllowThreads(__tstate
);
18434 if (PyErr_Occurred()) SWIG_fail
;
18437 resultobj
= wxPyMake_wxObject(result
, 0);
18445 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18446 PyObject
*resultobj
;
18447 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18448 wxToolBarBase
*result
;
18449 PyObject
* obj0
= 0 ;
18450 char *kwnames
[] = {
18451 (char *) "self", NULL
18454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
18455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18456 if (SWIG_arg_fail(1)) SWIG_fail
;
18458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18459 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
18461 wxPyEndAllowThreads(__tstate
);
18462 if (PyErr_Occurred()) SWIG_fail
;
18465 resultobj
= wxPyMake_wxObject(result
, 0);
18473 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18474 PyObject
*resultobj
;
18475 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18477 PyObject
* obj0
= 0 ;
18478 char *kwnames
[] = {
18479 (char *) "self", NULL
18482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
18483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18484 if (SWIG_arg_fail(1)) SWIG_fail
;
18486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18487 result
= (int)(arg1
)->IsButton();
18489 wxPyEndAllowThreads(__tstate
);
18490 if (PyErr_Occurred()) SWIG_fail
;
18493 resultobj
= SWIG_From_int((int)(result
));
18501 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18502 PyObject
*resultobj
;
18503 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18505 PyObject
* obj0
= 0 ;
18506 char *kwnames
[] = {
18507 (char *) "self", NULL
18510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
18511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18512 if (SWIG_arg_fail(1)) SWIG_fail
;
18514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18515 result
= (int)(arg1
)->IsControl();
18517 wxPyEndAllowThreads(__tstate
);
18518 if (PyErr_Occurred()) SWIG_fail
;
18521 resultobj
= SWIG_From_int((int)(result
));
18529 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18530 PyObject
*resultobj
;
18531 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18533 PyObject
* obj0
= 0 ;
18534 char *kwnames
[] = {
18535 (char *) "self", NULL
18538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
18539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18540 if (SWIG_arg_fail(1)) SWIG_fail
;
18542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18543 result
= (int)(arg1
)->IsSeparator();
18545 wxPyEndAllowThreads(__tstate
);
18546 if (PyErr_Occurred()) SWIG_fail
;
18549 resultobj
= SWIG_From_int((int)(result
));
18557 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18558 PyObject
*resultobj
;
18559 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18561 PyObject
* obj0
= 0 ;
18562 char *kwnames
[] = {
18563 (char *) "self", NULL
18566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18568 if (SWIG_arg_fail(1)) SWIG_fail
;
18570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18571 result
= (int)(arg1
)->GetStyle();
18573 wxPyEndAllowThreads(__tstate
);
18574 if (PyErr_Occurred()) SWIG_fail
;
18577 resultobj
= SWIG_From_int((int)(result
));
18585 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18586 PyObject
*resultobj
;
18587 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18589 PyObject
* obj0
= 0 ;
18590 char *kwnames
[] = {
18591 (char *) "self", NULL
18594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
18595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18596 if (SWIG_arg_fail(1)) SWIG_fail
;
18598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18599 result
= (wxItemKind
)(arg1
)->GetKind();
18601 wxPyEndAllowThreads(__tstate
);
18602 if (PyErr_Occurred()) SWIG_fail
;
18604 resultobj
= SWIG_From_int((result
));
18611 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18612 PyObject
*resultobj
;
18613 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18615 PyObject
* obj0
= 0 ;
18616 char *kwnames
[] = {
18617 (char *) "self", NULL
18620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
18621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18622 if (SWIG_arg_fail(1)) SWIG_fail
;
18624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18625 result
= (bool)(arg1
)->IsEnabled();
18627 wxPyEndAllowThreads(__tstate
);
18628 if (PyErr_Occurred()) SWIG_fail
;
18631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18639 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18640 PyObject
*resultobj
;
18641 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18643 PyObject
* obj0
= 0 ;
18644 char *kwnames
[] = {
18645 (char *) "self", NULL
18648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
18649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18650 if (SWIG_arg_fail(1)) SWIG_fail
;
18652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18653 result
= (bool)(arg1
)->IsToggled();
18655 wxPyEndAllowThreads(__tstate
);
18656 if (PyErr_Occurred()) SWIG_fail
;
18659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18667 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18668 PyObject
*resultobj
;
18669 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18671 PyObject
* obj0
= 0 ;
18672 char *kwnames
[] = {
18673 (char *) "self", NULL
18676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
18677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18678 if (SWIG_arg_fail(1)) SWIG_fail
;
18680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18681 result
= (bool)(arg1
)->CanBeToggled();
18683 wxPyEndAllowThreads(__tstate
);
18684 if (PyErr_Occurred()) SWIG_fail
;
18687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18695 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18696 PyObject
*resultobj
;
18697 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18699 PyObject
* obj0
= 0 ;
18700 char *kwnames
[] = {
18701 (char *) "self", NULL
18704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
18705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18706 if (SWIG_arg_fail(1)) SWIG_fail
;
18708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18710 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
18711 result
= (wxBitmap
*) &_result_ref
;
18714 wxPyEndAllowThreads(__tstate
);
18715 if (PyErr_Occurred()) SWIG_fail
;
18718 wxBitmap
* resultptr
= new wxBitmap(*result
);
18719 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18727 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18728 PyObject
*resultobj
;
18729 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18731 PyObject
* obj0
= 0 ;
18732 char *kwnames
[] = {
18733 (char *) "self", NULL
18736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
18737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18738 if (SWIG_arg_fail(1)) SWIG_fail
;
18740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18742 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
18743 result
= (wxBitmap
*) &_result_ref
;
18746 wxPyEndAllowThreads(__tstate
);
18747 if (PyErr_Occurred()) SWIG_fail
;
18750 wxBitmap
* resultptr
= new wxBitmap(*result
);
18751 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18759 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18760 PyObject
*resultobj
;
18761 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18763 PyObject
* obj0
= 0 ;
18764 char *kwnames
[] = {
18765 (char *) "self", NULL
18768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
18769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18770 if (SWIG_arg_fail(1)) SWIG_fail
;
18772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18773 result
= (arg1
)->GetBitmap();
18775 wxPyEndAllowThreads(__tstate
);
18776 if (PyErr_Occurred()) SWIG_fail
;
18779 wxBitmap
* resultptr
;
18780 resultptr
= new wxBitmap((wxBitmap
&)(result
));
18781 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18789 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18790 PyObject
*resultobj
;
18791 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18793 PyObject
* obj0
= 0 ;
18794 char *kwnames
[] = {
18795 (char *) "self", NULL
18798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
18799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18800 if (SWIG_arg_fail(1)) SWIG_fail
;
18802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18803 result
= (arg1
)->GetLabel();
18805 wxPyEndAllowThreads(__tstate
);
18806 if (PyErr_Occurred()) SWIG_fail
;
18810 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18812 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18821 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18822 PyObject
*resultobj
;
18823 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18825 PyObject
* obj0
= 0 ;
18826 char *kwnames
[] = {
18827 (char *) "self", NULL
18830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
18831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18832 if (SWIG_arg_fail(1)) SWIG_fail
;
18834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18835 result
= (arg1
)->GetShortHelp();
18837 wxPyEndAllowThreads(__tstate
);
18838 if (PyErr_Occurred()) SWIG_fail
;
18842 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18844 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18853 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18854 PyObject
*resultobj
;
18855 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18857 PyObject
* obj0
= 0 ;
18858 char *kwnames
[] = {
18859 (char *) "self", NULL
18862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
18863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18864 if (SWIG_arg_fail(1)) SWIG_fail
;
18866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18867 result
= (arg1
)->GetLongHelp();
18869 wxPyEndAllowThreads(__tstate
);
18870 if (PyErr_Occurred()) SWIG_fail
;
18874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18885 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18886 PyObject
*resultobj
;
18887 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18890 PyObject
* obj0
= 0 ;
18891 PyObject
* obj1
= 0 ;
18892 char *kwnames
[] = {
18893 (char *) "self",(char *) "enable", NULL
18896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18898 if (SWIG_arg_fail(1)) SWIG_fail
;
18900 arg2
= (bool)(SWIG_As_bool(obj1
));
18901 if (SWIG_arg_fail(2)) SWIG_fail
;
18904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18905 result
= (bool)(arg1
)->Enable(arg2
);
18907 wxPyEndAllowThreads(__tstate
);
18908 if (PyErr_Occurred()) SWIG_fail
;
18911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18919 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18920 PyObject
*resultobj
;
18921 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18922 PyObject
* obj0
= 0 ;
18923 char *kwnames
[] = {
18924 (char *) "self", NULL
18927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
18928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18929 if (SWIG_arg_fail(1)) SWIG_fail
;
18931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18934 wxPyEndAllowThreads(__tstate
);
18935 if (PyErr_Occurred()) SWIG_fail
;
18937 Py_INCREF(Py_None
); resultobj
= Py_None
;
18944 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18945 PyObject
*resultobj
;
18946 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18949 PyObject
* obj0
= 0 ;
18950 PyObject
* obj1
= 0 ;
18951 char *kwnames
[] = {
18952 (char *) "self",(char *) "toggle", NULL
18955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
18956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18957 if (SWIG_arg_fail(1)) SWIG_fail
;
18959 arg2
= (bool)(SWIG_As_bool(obj1
));
18960 if (SWIG_arg_fail(2)) SWIG_fail
;
18963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18964 result
= (bool)(arg1
)->SetToggle(arg2
);
18966 wxPyEndAllowThreads(__tstate
);
18967 if (PyErr_Occurred()) SWIG_fail
;
18970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18978 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18979 PyObject
*resultobj
;
18980 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18981 wxString
*arg2
= 0 ;
18983 bool temp2
= false ;
18984 PyObject
* obj0
= 0 ;
18985 PyObject
* obj1
= 0 ;
18986 char *kwnames
[] = {
18987 (char *) "self",(char *) "help", NULL
18990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18992 if (SWIG_arg_fail(1)) SWIG_fail
;
18994 arg2
= wxString_in_helper(obj1
);
18995 if (arg2
== NULL
) SWIG_fail
;
18999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19000 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
19002 wxPyEndAllowThreads(__tstate
);
19003 if (PyErr_Occurred()) SWIG_fail
;
19006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19022 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19023 PyObject
*resultobj
;
19024 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19025 wxString
*arg2
= 0 ;
19027 bool temp2
= false ;
19028 PyObject
* obj0
= 0 ;
19029 PyObject
* obj1
= 0 ;
19030 char *kwnames
[] = {
19031 (char *) "self",(char *) "help", NULL
19034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19036 if (SWIG_arg_fail(1)) SWIG_fail
;
19038 arg2
= wxString_in_helper(obj1
);
19039 if (arg2
== NULL
) SWIG_fail
;
19043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19044 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
19046 wxPyEndAllowThreads(__tstate
);
19047 if (PyErr_Occurred()) SWIG_fail
;
19050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19066 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19067 PyObject
*resultobj
;
19068 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19069 wxBitmap
*arg2
= 0 ;
19070 PyObject
* obj0
= 0 ;
19071 PyObject
* obj1
= 0 ;
19072 char *kwnames
[] = {
19073 (char *) "self",(char *) "bmp", NULL
19076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19078 if (SWIG_arg_fail(1)) SWIG_fail
;
19080 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19081 if (SWIG_arg_fail(2)) SWIG_fail
;
19082 if (arg2
== NULL
) {
19083 SWIG_null_ref("wxBitmap");
19085 if (SWIG_arg_fail(2)) SWIG_fail
;
19088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19089 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
19091 wxPyEndAllowThreads(__tstate
);
19092 if (PyErr_Occurred()) SWIG_fail
;
19094 Py_INCREF(Py_None
); resultobj
= Py_None
;
19101 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19102 PyObject
*resultobj
;
19103 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19104 wxBitmap
*arg2
= 0 ;
19105 PyObject
* obj0
= 0 ;
19106 PyObject
* obj1
= 0 ;
19107 char *kwnames
[] = {
19108 (char *) "self",(char *) "bmp", NULL
19111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19113 if (SWIG_arg_fail(1)) SWIG_fail
;
19115 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19116 if (SWIG_arg_fail(2)) SWIG_fail
;
19117 if (arg2
== NULL
) {
19118 SWIG_null_ref("wxBitmap");
19120 if (SWIG_arg_fail(2)) SWIG_fail
;
19123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19124 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
19126 wxPyEndAllowThreads(__tstate
);
19127 if (PyErr_Occurred()) SWIG_fail
;
19129 Py_INCREF(Py_None
); resultobj
= Py_None
;
19136 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19137 PyObject
*resultobj
;
19138 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19139 wxString
*arg2
= 0 ;
19140 bool temp2
= false ;
19141 PyObject
* obj0
= 0 ;
19142 PyObject
* obj1
= 0 ;
19143 char *kwnames
[] = {
19144 (char *) "self",(char *) "label", NULL
19147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19149 if (SWIG_arg_fail(1)) SWIG_fail
;
19151 arg2
= wxString_in_helper(obj1
);
19152 if (arg2
== NULL
) SWIG_fail
;
19156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19157 (arg1
)->SetLabel((wxString
const &)*arg2
);
19159 wxPyEndAllowThreads(__tstate
);
19160 if (PyErr_Occurred()) SWIG_fail
;
19162 Py_INCREF(Py_None
); resultobj
= Py_None
;
19177 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19178 PyObject
*resultobj
;
19179 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19180 PyObject
* obj0
= 0 ;
19181 char *kwnames
[] = {
19182 (char *) "self", NULL
19185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
19186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19187 if (SWIG_arg_fail(1)) SWIG_fail
;
19189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19192 wxPyEndAllowThreads(__tstate
);
19193 if (PyErr_Occurred()) SWIG_fail
;
19195 Py_INCREF(Py_None
); resultobj
= Py_None
;
19202 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19203 PyObject
*resultobj
;
19204 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19205 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
19206 PyObject
* obj0
= 0 ;
19207 PyObject
* obj1
= 0 ;
19208 char *kwnames
[] = {
19209 (char *) "self",(char *) "tbar", NULL
19212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
19213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19214 if (SWIG_arg_fail(1)) SWIG_fail
;
19215 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19216 if (SWIG_arg_fail(2)) SWIG_fail
;
19218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19219 (arg1
)->Attach(arg2
);
19221 wxPyEndAllowThreads(__tstate
);
19222 if (PyErr_Occurred()) SWIG_fail
;
19224 Py_INCREF(Py_None
); resultobj
= Py_None
;
19231 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19232 PyObject
*resultobj
;
19233 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19235 PyObject
* obj0
= 0 ;
19236 char *kwnames
[] = {
19237 (char *) "self", NULL
19240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
19241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19242 if (SWIG_arg_fail(1)) SWIG_fail
;
19244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19245 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
19247 wxPyEndAllowThreads(__tstate
);
19248 if (PyErr_Occurred()) SWIG_fail
;
19250 resultobj
= result
;
19257 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19258 PyObject
*resultobj
;
19259 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19260 PyObject
*arg2
= (PyObject
*) 0 ;
19261 PyObject
* obj0
= 0 ;
19262 PyObject
* obj1
= 0 ;
19263 char *kwnames
[] = {
19264 (char *) "self",(char *) "clientData", NULL
19267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19269 if (SWIG_arg_fail(1)) SWIG_fail
;
19272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19273 wxToolBarToolBase_SetClientData(arg1
,arg2
);
19275 wxPyEndAllowThreads(__tstate
);
19276 if (PyErr_Occurred()) SWIG_fail
;
19278 Py_INCREF(Py_None
); resultobj
= Py_None
;
19285 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
19287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19288 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
19290 return Py_BuildValue((char *)"");
19292 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19293 PyObject
*resultobj
;
19294 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19296 wxString
*arg3
= 0 ;
19297 wxBitmap
*arg4
= 0 ;
19298 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
19299 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
19300 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
19301 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19302 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19303 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19304 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19305 PyObject
*arg9
= (PyObject
*) NULL
;
19306 wxToolBarToolBase
*result
;
19307 bool temp3
= false ;
19308 bool temp7
= false ;
19309 bool temp8
= false ;
19310 PyObject
* obj0
= 0 ;
19311 PyObject
* obj1
= 0 ;
19312 PyObject
* obj2
= 0 ;
19313 PyObject
* obj3
= 0 ;
19314 PyObject
* obj4
= 0 ;
19315 PyObject
* obj5
= 0 ;
19316 PyObject
* obj6
= 0 ;
19317 PyObject
* obj7
= 0 ;
19318 PyObject
* obj8
= 0 ;
19319 char *kwnames
[] = {
19320 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
19324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19325 if (SWIG_arg_fail(1)) SWIG_fail
;
19327 arg2
= (int)(SWIG_As_int(obj1
));
19328 if (SWIG_arg_fail(2)) SWIG_fail
;
19331 arg3
= wxString_in_helper(obj2
);
19332 if (arg3
== NULL
) SWIG_fail
;
19336 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19337 if (SWIG_arg_fail(4)) SWIG_fail
;
19338 if (arg4
== NULL
) {
19339 SWIG_null_ref("wxBitmap");
19341 if (SWIG_arg_fail(4)) SWIG_fail
;
19345 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19346 if (SWIG_arg_fail(5)) SWIG_fail
;
19347 if (arg5
== NULL
) {
19348 SWIG_null_ref("wxBitmap");
19350 if (SWIG_arg_fail(5)) SWIG_fail
;
19355 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
19356 if (SWIG_arg_fail(6)) SWIG_fail
;
19361 arg7
= wxString_in_helper(obj6
);
19362 if (arg7
== NULL
) SWIG_fail
;
19368 arg8
= wxString_in_helper(obj7
);
19369 if (arg8
== NULL
) SWIG_fail
;
19377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19378 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
19380 wxPyEndAllowThreads(__tstate
);
19381 if (PyErr_Occurred()) SWIG_fail
;
19384 resultobj
= wxPyMake_wxObject(result
, 0);
19416 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19417 PyObject
*resultobj
;
19418 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19421 wxString
*arg4
= 0 ;
19422 wxBitmap
*arg5
= 0 ;
19423 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
19424 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
19425 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
19426 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19427 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19428 wxString
const &arg9_defvalue
= wxPyEmptyString
;
19429 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19430 PyObject
*arg10
= (PyObject
*) NULL
;
19431 wxToolBarToolBase
*result
;
19432 bool temp4
= false ;
19433 bool temp8
= false ;
19434 bool temp9
= false ;
19435 PyObject
* obj0
= 0 ;
19436 PyObject
* obj1
= 0 ;
19437 PyObject
* obj2
= 0 ;
19438 PyObject
* obj3
= 0 ;
19439 PyObject
* obj4
= 0 ;
19440 PyObject
* obj5
= 0 ;
19441 PyObject
* obj6
= 0 ;
19442 PyObject
* obj7
= 0 ;
19443 PyObject
* obj8
= 0 ;
19444 PyObject
* obj9
= 0 ;
19445 char *kwnames
[] = {
19446 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
19450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19451 if (SWIG_arg_fail(1)) SWIG_fail
;
19453 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19454 if (SWIG_arg_fail(2)) SWIG_fail
;
19457 arg3
= (int)(SWIG_As_int(obj2
));
19458 if (SWIG_arg_fail(3)) SWIG_fail
;
19461 arg4
= wxString_in_helper(obj3
);
19462 if (arg4
== NULL
) SWIG_fail
;
19466 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19467 if (SWIG_arg_fail(5)) SWIG_fail
;
19468 if (arg5
== NULL
) {
19469 SWIG_null_ref("wxBitmap");
19471 if (SWIG_arg_fail(5)) SWIG_fail
;
19475 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19476 if (SWIG_arg_fail(6)) SWIG_fail
;
19477 if (arg6
== NULL
) {
19478 SWIG_null_ref("wxBitmap");
19480 if (SWIG_arg_fail(6)) SWIG_fail
;
19485 arg7
= (wxItemKind
)(SWIG_As_int(obj6
));
19486 if (SWIG_arg_fail(7)) SWIG_fail
;
19491 arg8
= wxString_in_helper(obj7
);
19492 if (arg8
== NULL
) SWIG_fail
;
19498 arg9
= wxString_in_helper(obj8
);
19499 if (arg9
== NULL
) SWIG_fail
;
19507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19508 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
);
19510 wxPyEndAllowThreads(__tstate
);
19511 if (PyErr_Occurred()) SWIG_fail
;
19514 resultobj
= wxPyMake_wxObject(result
, 0);
19546 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19547 PyObject
*resultobj
;
19548 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19549 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
19550 wxToolBarToolBase
*result
;
19551 PyObject
* obj0
= 0 ;
19552 PyObject
* obj1
= 0 ;
19553 char *kwnames
[] = {
19554 (char *) "self",(char *) "tool", NULL
19557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19559 if (SWIG_arg_fail(1)) SWIG_fail
;
19560 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19561 if (SWIG_arg_fail(2)) SWIG_fail
;
19563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19564 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
19566 wxPyEndAllowThreads(__tstate
);
19567 if (PyErr_Occurred()) SWIG_fail
;
19570 resultobj
= wxPyMake_wxObject(result
, 0);
19578 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19579 PyObject
*resultobj
;
19580 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19582 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
19583 wxToolBarToolBase
*result
;
19584 PyObject
* obj0
= 0 ;
19585 PyObject
* obj1
= 0 ;
19586 PyObject
* obj2
= 0 ;
19587 char *kwnames
[] = {
19588 (char *) "self",(char *) "pos",(char *) "tool", NULL
19591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19593 if (SWIG_arg_fail(1)) SWIG_fail
;
19595 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19596 if (SWIG_arg_fail(2)) SWIG_fail
;
19598 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19599 if (SWIG_arg_fail(3)) SWIG_fail
;
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
19604 wxPyEndAllowThreads(__tstate
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19608 resultobj
= wxPyMake_wxObject(result
, 0);
19616 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19617 PyObject
*resultobj
;
19618 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19619 wxControl
*arg2
= (wxControl
*) 0 ;
19620 wxToolBarToolBase
*result
;
19621 PyObject
* obj0
= 0 ;
19622 PyObject
* obj1
= 0 ;
19623 char *kwnames
[] = {
19624 (char *) "self",(char *) "control", NULL
19627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19629 if (SWIG_arg_fail(1)) SWIG_fail
;
19630 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19631 if (SWIG_arg_fail(2)) SWIG_fail
;
19633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19634 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
19636 wxPyEndAllowThreads(__tstate
);
19637 if (PyErr_Occurred()) SWIG_fail
;
19640 resultobj
= wxPyMake_wxObject(result
, 0);
19648 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19649 PyObject
*resultobj
;
19650 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19652 wxControl
*arg3
= (wxControl
*) 0 ;
19653 wxToolBarToolBase
*result
;
19654 PyObject
* obj0
= 0 ;
19655 PyObject
* obj1
= 0 ;
19656 PyObject
* obj2
= 0 ;
19657 char *kwnames
[] = {
19658 (char *) "self",(char *) "pos",(char *) "control", NULL
19661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19663 if (SWIG_arg_fail(1)) SWIG_fail
;
19665 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19666 if (SWIG_arg_fail(2)) SWIG_fail
;
19668 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19669 if (SWIG_arg_fail(3)) SWIG_fail
;
19671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19672 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
19674 wxPyEndAllowThreads(__tstate
);
19675 if (PyErr_Occurred()) SWIG_fail
;
19678 resultobj
= wxPyMake_wxObject(result
, 0);
19686 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19687 PyObject
*resultobj
;
19688 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19691 PyObject
* obj0
= 0 ;
19692 PyObject
* obj1
= 0 ;
19693 char *kwnames
[] = {
19694 (char *) "self",(char *) "id", NULL
19697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19699 if (SWIG_arg_fail(1)) SWIG_fail
;
19701 arg2
= (int)(SWIG_As_int(obj1
));
19702 if (SWIG_arg_fail(2)) SWIG_fail
;
19705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19706 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
19708 wxPyEndAllowThreads(__tstate
);
19709 if (PyErr_Occurred()) SWIG_fail
;
19712 resultobj
= wxPyMake_wxObject(result
, 0);
19720 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19721 PyObject
*resultobj
;
19722 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19723 wxToolBarToolBase
*result
;
19724 PyObject
* obj0
= 0 ;
19725 char *kwnames
[] = {
19726 (char *) "self", NULL
19729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
19730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19731 if (SWIG_arg_fail(1)) SWIG_fail
;
19733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19734 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
19736 wxPyEndAllowThreads(__tstate
);
19737 if (PyErr_Occurred()) SWIG_fail
;
19740 resultobj
= wxPyMake_wxObject(result
, 0);
19748 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19749 PyObject
*resultobj
;
19750 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19752 wxToolBarToolBase
*result
;
19753 PyObject
* obj0
= 0 ;
19754 PyObject
* obj1
= 0 ;
19755 char *kwnames
[] = {
19756 (char *) "self",(char *) "pos", NULL
19759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
19760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19761 if (SWIG_arg_fail(1)) SWIG_fail
;
19763 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19764 if (SWIG_arg_fail(2)) SWIG_fail
;
19767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19768 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
19770 wxPyEndAllowThreads(__tstate
);
19771 if (PyErr_Occurred()) SWIG_fail
;
19774 resultobj
= wxPyMake_wxObject(result
, 0);
19782 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19783 PyObject
*resultobj
;
19784 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19786 wxToolBarToolBase
*result
;
19787 PyObject
* obj0
= 0 ;
19788 PyObject
* obj1
= 0 ;
19789 char *kwnames
[] = {
19790 (char *) "self",(char *) "id", NULL
19793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19795 if (SWIG_arg_fail(1)) SWIG_fail
;
19797 arg2
= (int)(SWIG_As_int(obj1
));
19798 if (SWIG_arg_fail(2)) SWIG_fail
;
19801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19802 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
19804 wxPyEndAllowThreads(__tstate
);
19805 if (PyErr_Occurred()) SWIG_fail
;
19808 resultobj
= wxPyMake_wxObject(result
, 0);
19816 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19817 PyObject
*resultobj
;
19818 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19821 PyObject
* obj0
= 0 ;
19822 PyObject
* obj1
= 0 ;
19823 char *kwnames
[] = {
19824 (char *) "self",(char *) "pos", NULL
19827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
19828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19829 if (SWIG_arg_fail(1)) SWIG_fail
;
19831 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19832 if (SWIG_arg_fail(2)) SWIG_fail
;
19835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19836 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
19838 wxPyEndAllowThreads(__tstate
);
19839 if (PyErr_Occurred()) SWIG_fail
;
19842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19850 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19851 PyObject
*resultobj
;
19852 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19855 PyObject
* obj0
= 0 ;
19856 PyObject
* obj1
= 0 ;
19857 char *kwnames
[] = {
19858 (char *) "self",(char *) "id", NULL
19861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19863 if (SWIG_arg_fail(1)) SWIG_fail
;
19865 arg2
= (int)(SWIG_As_int(obj1
));
19866 if (SWIG_arg_fail(2)) SWIG_fail
;
19869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19870 result
= (bool)(arg1
)->DeleteTool(arg2
);
19872 wxPyEndAllowThreads(__tstate
);
19873 if (PyErr_Occurred()) SWIG_fail
;
19876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19884 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19885 PyObject
*resultobj
;
19886 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19887 PyObject
* obj0
= 0 ;
19888 char *kwnames
[] = {
19889 (char *) "self", NULL
19892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
19893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19894 if (SWIG_arg_fail(1)) SWIG_fail
;
19896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19897 (arg1
)->ClearTools();
19899 wxPyEndAllowThreads(__tstate
);
19900 if (PyErr_Occurred()) SWIG_fail
;
19902 Py_INCREF(Py_None
); resultobj
= Py_None
;
19909 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19910 PyObject
*resultobj
;
19911 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19913 PyObject
* obj0
= 0 ;
19914 char *kwnames
[] = {
19915 (char *) "self", NULL
19918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
19919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19920 if (SWIG_arg_fail(1)) SWIG_fail
;
19922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19923 result
= (bool)(arg1
)->Realize();
19925 wxPyEndAllowThreads(__tstate
);
19926 if (PyErr_Occurred()) SWIG_fail
;
19929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19937 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19938 PyObject
*resultobj
;
19939 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19942 PyObject
* obj0
= 0 ;
19943 PyObject
* obj1
= 0 ;
19944 PyObject
* obj2
= 0 ;
19945 char *kwnames
[] = {
19946 (char *) "self",(char *) "id",(char *) "enable", NULL
19949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19951 if (SWIG_arg_fail(1)) SWIG_fail
;
19953 arg2
= (int)(SWIG_As_int(obj1
));
19954 if (SWIG_arg_fail(2)) SWIG_fail
;
19957 arg3
= (bool)(SWIG_As_bool(obj2
));
19958 if (SWIG_arg_fail(3)) SWIG_fail
;
19961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19962 (arg1
)->EnableTool(arg2
,arg3
);
19964 wxPyEndAllowThreads(__tstate
);
19965 if (PyErr_Occurred()) SWIG_fail
;
19967 Py_INCREF(Py_None
); resultobj
= Py_None
;
19974 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19975 PyObject
*resultobj
;
19976 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19979 PyObject
* obj0
= 0 ;
19980 PyObject
* obj1
= 0 ;
19981 PyObject
* obj2
= 0 ;
19982 char *kwnames
[] = {
19983 (char *) "self",(char *) "id",(char *) "toggle", NULL
19986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19988 if (SWIG_arg_fail(1)) SWIG_fail
;
19990 arg2
= (int)(SWIG_As_int(obj1
));
19991 if (SWIG_arg_fail(2)) SWIG_fail
;
19994 arg3
= (bool)(SWIG_As_bool(obj2
));
19995 if (SWIG_arg_fail(3)) SWIG_fail
;
19998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19999 (arg1
)->ToggleTool(arg2
,arg3
);
20001 wxPyEndAllowThreads(__tstate
);
20002 if (PyErr_Occurred()) SWIG_fail
;
20004 Py_INCREF(Py_None
); resultobj
= Py_None
;
20011 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20012 PyObject
*resultobj
;
20013 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20016 PyObject
* obj0
= 0 ;
20017 PyObject
* obj1
= 0 ;
20018 PyObject
* obj2
= 0 ;
20019 char *kwnames
[] = {
20020 (char *) "self",(char *) "id",(char *) "toggle", NULL
20023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20025 if (SWIG_arg_fail(1)) SWIG_fail
;
20027 arg2
= (int)(SWIG_As_int(obj1
));
20028 if (SWIG_arg_fail(2)) SWIG_fail
;
20031 arg3
= (bool)(SWIG_As_bool(obj2
));
20032 if (SWIG_arg_fail(3)) SWIG_fail
;
20035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20036 (arg1
)->SetToggle(arg2
,arg3
);
20038 wxPyEndAllowThreads(__tstate
);
20039 if (PyErr_Occurred()) SWIG_fail
;
20041 Py_INCREF(Py_None
); resultobj
= Py_None
;
20048 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20049 PyObject
*resultobj
;
20050 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20053 PyObject
* obj0
= 0 ;
20054 PyObject
* obj1
= 0 ;
20055 char *kwnames
[] = {
20056 (char *) "self",(char *) "id", NULL
20059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
20060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20061 if (SWIG_arg_fail(1)) SWIG_fail
;
20063 arg2
= (int)(SWIG_As_int(obj1
));
20064 if (SWIG_arg_fail(2)) SWIG_fail
;
20067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20068 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
20070 wxPyEndAllowThreads(__tstate
);
20071 if (PyErr_Occurred()) SWIG_fail
;
20073 resultobj
= result
;
20080 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20081 PyObject
*resultobj
;
20082 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20084 PyObject
*arg3
= (PyObject
*) 0 ;
20085 PyObject
* obj0
= 0 ;
20086 PyObject
* obj1
= 0 ;
20087 PyObject
* obj2
= 0 ;
20088 char *kwnames
[] = {
20089 (char *) "self",(char *) "id",(char *) "clientData", NULL
20092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20094 if (SWIG_arg_fail(1)) SWIG_fail
;
20096 arg2
= (int)(SWIG_As_int(obj1
));
20097 if (SWIG_arg_fail(2)) SWIG_fail
;
20101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20102 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
20104 wxPyEndAllowThreads(__tstate
);
20105 if (PyErr_Occurred()) SWIG_fail
;
20107 Py_INCREF(Py_None
); resultobj
= Py_None
;
20114 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20115 PyObject
*resultobj
;
20116 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20119 PyObject
* obj0
= 0 ;
20120 PyObject
* obj1
= 0 ;
20121 char *kwnames
[] = {
20122 (char *) "self",(char *) "id", NULL
20125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
20126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20127 if (SWIG_arg_fail(1)) SWIG_fail
;
20129 arg2
= (int)(SWIG_As_int(obj1
));
20130 if (SWIG_arg_fail(2)) SWIG_fail
;
20133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20134 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
20136 wxPyEndAllowThreads(__tstate
);
20137 if (PyErr_Occurred()) SWIG_fail
;
20140 resultobj
= SWIG_From_int((int)(result
));
20148 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20149 PyObject
*resultobj
;
20150 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20153 PyObject
* obj0
= 0 ;
20154 PyObject
* obj1
= 0 ;
20155 char *kwnames
[] = {
20156 (char *) "self",(char *) "id", NULL
20159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
20160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20161 if (SWIG_arg_fail(1)) SWIG_fail
;
20163 arg2
= (int)(SWIG_As_int(obj1
));
20164 if (SWIG_arg_fail(2)) SWIG_fail
;
20167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20168 result
= (bool)(arg1
)->GetToolState(arg2
);
20170 wxPyEndAllowThreads(__tstate
);
20171 if (PyErr_Occurred()) SWIG_fail
;
20174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20182 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20183 PyObject
*resultobj
;
20184 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20187 PyObject
* obj0
= 0 ;
20188 PyObject
* obj1
= 0 ;
20189 char *kwnames
[] = {
20190 (char *) "self",(char *) "id", NULL
20193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
20194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20195 if (SWIG_arg_fail(1)) SWIG_fail
;
20197 arg2
= (int)(SWIG_As_int(obj1
));
20198 if (SWIG_arg_fail(2)) SWIG_fail
;
20201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20202 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
20204 wxPyEndAllowThreads(__tstate
);
20205 if (PyErr_Occurred()) SWIG_fail
;
20208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20216 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20217 PyObject
*resultobj
;
20218 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20220 wxString
*arg3
= 0 ;
20221 bool temp3
= false ;
20222 PyObject
* obj0
= 0 ;
20223 PyObject
* obj1
= 0 ;
20224 PyObject
* obj2
= 0 ;
20225 char *kwnames
[] = {
20226 (char *) "self",(char *) "id",(char *) "helpString", NULL
20229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20231 if (SWIG_arg_fail(1)) SWIG_fail
;
20233 arg2
= (int)(SWIG_As_int(obj1
));
20234 if (SWIG_arg_fail(2)) SWIG_fail
;
20237 arg3
= wxString_in_helper(obj2
);
20238 if (arg3
== NULL
) SWIG_fail
;
20242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20243 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
20245 wxPyEndAllowThreads(__tstate
);
20246 if (PyErr_Occurred()) SWIG_fail
;
20248 Py_INCREF(Py_None
); resultobj
= Py_None
;
20263 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20264 PyObject
*resultobj
;
20265 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20268 PyObject
* obj0
= 0 ;
20269 PyObject
* obj1
= 0 ;
20270 char *kwnames
[] = {
20271 (char *) "self",(char *) "id", NULL
20274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20276 if (SWIG_arg_fail(1)) SWIG_fail
;
20278 arg2
= (int)(SWIG_As_int(obj1
));
20279 if (SWIG_arg_fail(2)) SWIG_fail
;
20282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20283 result
= (arg1
)->GetToolShortHelp(arg2
);
20285 wxPyEndAllowThreads(__tstate
);
20286 if (PyErr_Occurred()) SWIG_fail
;
20290 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20292 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20301 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20302 PyObject
*resultobj
;
20303 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20305 wxString
*arg3
= 0 ;
20306 bool temp3
= false ;
20307 PyObject
* obj0
= 0 ;
20308 PyObject
* obj1
= 0 ;
20309 PyObject
* obj2
= 0 ;
20310 char *kwnames
[] = {
20311 (char *) "self",(char *) "id",(char *) "helpString", NULL
20314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20316 if (SWIG_arg_fail(1)) SWIG_fail
;
20318 arg2
= (int)(SWIG_As_int(obj1
));
20319 if (SWIG_arg_fail(2)) SWIG_fail
;
20322 arg3
= wxString_in_helper(obj2
);
20323 if (arg3
== NULL
) SWIG_fail
;
20327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20328 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
20330 wxPyEndAllowThreads(__tstate
);
20331 if (PyErr_Occurred()) SWIG_fail
;
20333 Py_INCREF(Py_None
); resultobj
= Py_None
;
20348 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20349 PyObject
*resultobj
;
20350 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20353 PyObject
* obj0
= 0 ;
20354 PyObject
* obj1
= 0 ;
20355 char *kwnames
[] = {
20356 (char *) "self",(char *) "id", NULL
20359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20361 if (SWIG_arg_fail(1)) SWIG_fail
;
20363 arg2
= (int)(SWIG_As_int(obj1
));
20364 if (SWIG_arg_fail(2)) SWIG_fail
;
20367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20368 result
= (arg1
)->GetToolLongHelp(arg2
);
20370 wxPyEndAllowThreads(__tstate
);
20371 if (PyErr_Occurred()) SWIG_fail
;
20375 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20377 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20386 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20387 PyObject
*resultobj
;
20388 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20391 PyObject
* obj0
= 0 ;
20392 PyObject
* obj1
= 0 ;
20393 PyObject
* obj2
= 0 ;
20394 char *kwnames
[] = {
20395 (char *) "self",(char *) "x",(char *) "y", NULL
20398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20400 if (SWIG_arg_fail(1)) SWIG_fail
;
20402 arg2
= (int)(SWIG_As_int(obj1
));
20403 if (SWIG_arg_fail(2)) SWIG_fail
;
20406 arg3
= (int)(SWIG_As_int(obj2
));
20407 if (SWIG_arg_fail(3)) SWIG_fail
;
20410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20411 (arg1
)->SetMargins(arg2
,arg3
);
20413 wxPyEndAllowThreads(__tstate
);
20414 if (PyErr_Occurred()) SWIG_fail
;
20416 Py_INCREF(Py_None
); resultobj
= Py_None
;
20423 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20424 PyObject
*resultobj
;
20425 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20428 PyObject
* obj0
= 0 ;
20429 PyObject
* obj1
= 0 ;
20430 char *kwnames
[] = {
20431 (char *) "self",(char *) "size", NULL
20434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20436 if (SWIG_arg_fail(1)) SWIG_fail
;
20439 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20443 (arg1
)->SetMargins((wxSize
const &)*arg2
);
20445 wxPyEndAllowThreads(__tstate
);
20446 if (PyErr_Occurred()) SWIG_fail
;
20448 Py_INCREF(Py_None
); resultobj
= Py_None
;
20455 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20456 PyObject
*resultobj
;
20457 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20459 PyObject
* obj0
= 0 ;
20460 PyObject
* obj1
= 0 ;
20461 char *kwnames
[] = {
20462 (char *) "self",(char *) "packing", NULL
20465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
20466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20467 if (SWIG_arg_fail(1)) SWIG_fail
;
20469 arg2
= (int)(SWIG_As_int(obj1
));
20470 if (SWIG_arg_fail(2)) SWIG_fail
;
20473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20474 (arg1
)->SetToolPacking(arg2
);
20476 wxPyEndAllowThreads(__tstate
);
20477 if (PyErr_Occurred()) SWIG_fail
;
20479 Py_INCREF(Py_None
); resultobj
= Py_None
;
20486 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20487 PyObject
*resultobj
;
20488 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20490 PyObject
* obj0
= 0 ;
20491 PyObject
* obj1
= 0 ;
20492 char *kwnames
[] = {
20493 (char *) "self",(char *) "separation", NULL
20496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
20497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20498 if (SWIG_arg_fail(1)) SWIG_fail
;
20500 arg2
= (int)(SWIG_As_int(obj1
));
20501 if (SWIG_arg_fail(2)) SWIG_fail
;
20504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20505 (arg1
)->SetToolSeparation(arg2
);
20507 wxPyEndAllowThreads(__tstate
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20510 Py_INCREF(Py_None
); resultobj
= Py_None
;
20517 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20518 PyObject
*resultobj
;
20519 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20521 PyObject
* obj0
= 0 ;
20522 char *kwnames
[] = {
20523 (char *) "self", NULL
20526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
20527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20528 if (SWIG_arg_fail(1)) SWIG_fail
;
20530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20531 result
= (arg1
)->GetToolMargins();
20533 wxPyEndAllowThreads(__tstate
);
20534 if (PyErr_Occurred()) SWIG_fail
;
20537 wxSize
* resultptr
;
20538 resultptr
= new wxSize((wxSize
&)(result
));
20539 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20547 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
;
20549 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20551 PyObject
* obj0
= 0 ;
20552 char *kwnames
[] = {
20553 (char *) "self", NULL
20556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
20557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20558 if (SWIG_arg_fail(1)) SWIG_fail
;
20560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20561 result
= (arg1
)->GetMargins();
20563 wxPyEndAllowThreads(__tstate
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20567 wxSize
* resultptr
;
20568 resultptr
= new wxSize((wxSize
&)(result
));
20569 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20577 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20578 PyObject
*resultobj
;
20579 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20581 PyObject
* obj0
= 0 ;
20582 char *kwnames
[] = {
20583 (char *) "self", NULL
20586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
20587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20588 if (SWIG_arg_fail(1)) SWIG_fail
;
20590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20591 result
= (int)(arg1
)->GetToolPacking();
20593 wxPyEndAllowThreads(__tstate
);
20594 if (PyErr_Occurred()) SWIG_fail
;
20597 resultobj
= SWIG_From_int((int)(result
));
20605 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20606 PyObject
*resultobj
;
20607 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20609 PyObject
* obj0
= 0 ;
20610 char *kwnames
[] = {
20611 (char *) "self", NULL
20614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
20615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20616 if (SWIG_arg_fail(1)) SWIG_fail
;
20618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20619 result
= (int)(arg1
)->GetToolSeparation();
20621 wxPyEndAllowThreads(__tstate
);
20622 if (PyErr_Occurred()) SWIG_fail
;
20625 resultobj
= SWIG_From_int((int)(result
));
20633 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20634 PyObject
*resultobj
;
20635 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20637 PyObject
* obj0
= 0 ;
20638 PyObject
* obj1
= 0 ;
20639 char *kwnames
[] = {
20640 (char *) "self",(char *) "nRows", NULL
20643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
20644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20645 if (SWIG_arg_fail(1)) SWIG_fail
;
20647 arg2
= (int)(SWIG_As_int(obj1
));
20648 if (SWIG_arg_fail(2)) SWIG_fail
;
20651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20652 (arg1
)->SetRows(arg2
);
20654 wxPyEndAllowThreads(__tstate
);
20655 if (PyErr_Occurred()) SWIG_fail
;
20657 Py_INCREF(Py_None
); resultobj
= Py_None
;
20664 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20665 PyObject
*resultobj
;
20666 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20669 PyObject
* obj0
= 0 ;
20670 PyObject
* obj1
= 0 ;
20671 PyObject
* obj2
= 0 ;
20672 char *kwnames
[] = {
20673 (char *) "self",(char *) "rows",(char *) "cols", NULL
20676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20678 if (SWIG_arg_fail(1)) SWIG_fail
;
20680 arg2
= (int)(SWIG_As_int(obj1
));
20681 if (SWIG_arg_fail(2)) SWIG_fail
;
20684 arg3
= (int)(SWIG_As_int(obj2
));
20685 if (SWIG_arg_fail(3)) SWIG_fail
;
20688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20689 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
20691 wxPyEndAllowThreads(__tstate
);
20692 if (PyErr_Occurred()) SWIG_fail
;
20694 Py_INCREF(Py_None
); resultobj
= Py_None
;
20701 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20702 PyObject
*resultobj
;
20703 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20705 PyObject
* obj0
= 0 ;
20706 char *kwnames
[] = {
20707 (char *) "self", NULL
20710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
20711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20712 if (SWIG_arg_fail(1)) SWIG_fail
;
20714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20715 result
= (int)(arg1
)->GetMaxRows();
20717 wxPyEndAllowThreads(__tstate
);
20718 if (PyErr_Occurred()) SWIG_fail
;
20721 resultobj
= SWIG_From_int((int)(result
));
20729 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20730 PyObject
*resultobj
;
20731 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20733 PyObject
* obj0
= 0 ;
20734 char *kwnames
[] = {
20735 (char *) "self", NULL
20738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
20739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20740 if (SWIG_arg_fail(1)) SWIG_fail
;
20742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20743 result
= (int)(arg1
)->GetMaxCols();
20745 wxPyEndAllowThreads(__tstate
);
20746 if (PyErr_Occurred()) SWIG_fail
;
20749 resultobj
= SWIG_From_int((int)(result
));
20757 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20758 PyObject
*resultobj
;
20759 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20762 PyObject
* obj0
= 0 ;
20763 PyObject
* obj1
= 0 ;
20764 char *kwnames
[] = {
20765 (char *) "self",(char *) "size", NULL
20768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20770 if (SWIG_arg_fail(1)) SWIG_fail
;
20773 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20777 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
20779 wxPyEndAllowThreads(__tstate
);
20780 if (PyErr_Occurred()) SWIG_fail
;
20782 Py_INCREF(Py_None
); resultobj
= Py_None
;
20789 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20790 PyObject
*resultobj
;
20791 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20793 PyObject
* obj0
= 0 ;
20794 char *kwnames
[] = {
20795 (char *) "self", NULL
20798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
20799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20800 if (SWIG_arg_fail(1)) SWIG_fail
;
20802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20803 result
= (arg1
)->GetToolBitmapSize();
20805 wxPyEndAllowThreads(__tstate
);
20806 if (PyErr_Occurred()) SWIG_fail
;
20809 wxSize
* resultptr
;
20810 resultptr
= new wxSize((wxSize
&)(result
));
20811 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20819 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20820 PyObject
*resultobj
;
20821 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20823 PyObject
* obj0
= 0 ;
20824 char *kwnames
[] = {
20825 (char *) "self", NULL
20828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
20829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20830 if (SWIG_arg_fail(1)) SWIG_fail
;
20832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20833 result
= (arg1
)->GetToolSize();
20835 wxPyEndAllowThreads(__tstate
);
20836 if (PyErr_Occurred()) SWIG_fail
;
20839 wxSize
* resultptr
;
20840 resultptr
= new wxSize((wxSize
&)(result
));
20841 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20849 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20850 PyObject
*resultobj
;
20851 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20854 wxToolBarToolBase
*result
;
20855 PyObject
* obj0
= 0 ;
20856 PyObject
* obj1
= 0 ;
20857 PyObject
* obj2
= 0 ;
20858 char *kwnames
[] = {
20859 (char *) "self",(char *) "x",(char *) "y", NULL
20862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20864 if (SWIG_arg_fail(1)) SWIG_fail
;
20866 arg2
= (int)(SWIG_As_int(obj1
));
20867 if (SWIG_arg_fail(2)) SWIG_fail
;
20870 arg3
= (int)(SWIG_As_int(obj2
));
20871 if (SWIG_arg_fail(3)) SWIG_fail
;
20874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20875 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
20877 wxPyEndAllowThreads(__tstate
);
20878 if (PyErr_Occurred()) SWIG_fail
;
20881 resultobj
= wxPyMake_wxObject(result
, 0);
20889 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20890 PyObject
*resultobj
;
20891 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20893 wxToolBarToolBase
*result
;
20894 PyObject
* obj0
= 0 ;
20895 PyObject
* obj1
= 0 ;
20896 char *kwnames
[] = {
20897 (char *) "self",(char *) "toolid", NULL
20900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
20901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20902 if (SWIG_arg_fail(1)) SWIG_fail
;
20904 arg2
= (int)(SWIG_As_int(obj1
));
20905 if (SWIG_arg_fail(2)) SWIG_fail
;
20908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20909 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
20911 wxPyEndAllowThreads(__tstate
);
20912 if (PyErr_Occurred()) SWIG_fail
;
20915 resultobj
= wxPyMake_wxObject(result
, 0);
20923 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20924 PyObject
*resultobj
;
20925 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20927 PyObject
* obj0
= 0 ;
20928 char *kwnames
[] = {
20929 (char *) "self", NULL
20932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
20933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20934 if (SWIG_arg_fail(1)) SWIG_fail
;
20936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20937 result
= (bool)(arg1
)->IsVertical();
20939 wxPyEndAllowThreads(__tstate
);
20940 if (PyErr_Occurred()) SWIG_fail
;
20943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20951 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
20953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20954 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
20956 return Py_BuildValue((char *)"");
20958 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20959 PyObject
*resultobj
;
20960 wxWindow
*arg1
= (wxWindow
*) 0 ;
20961 int arg2
= (int) -1 ;
20962 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20963 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20964 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20965 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20966 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
20967 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
20968 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20972 bool temp6
= false ;
20973 PyObject
* obj0
= 0 ;
20974 PyObject
* obj1
= 0 ;
20975 PyObject
* obj2
= 0 ;
20976 PyObject
* obj3
= 0 ;
20977 PyObject
* obj4
= 0 ;
20978 PyObject
* obj5
= 0 ;
20979 char *kwnames
[] = {
20980 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20985 if (SWIG_arg_fail(1)) SWIG_fail
;
20988 arg2
= (int)(SWIG_As_int(obj1
));
20989 if (SWIG_arg_fail(2)) SWIG_fail
;
20995 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21001 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21006 arg5
= (long)(SWIG_As_long(obj4
));
21007 if (SWIG_arg_fail(5)) SWIG_fail
;
21012 arg6
= wxString_in_helper(obj5
);
21013 if (arg6
== NULL
) SWIG_fail
;
21018 if (!wxPyCheckForApp()) SWIG_fail
;
21019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21020 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21022 wxPyEndAllowThreads(__tstate
);
21023 if (PyErr_Occurred()) SWIG_fail
;
21025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21040 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21041 PyObject
*resultobj
;
21043 char *kwnames
[] = {
21047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
21049 if (!wxPyCheckForApp()) SWIG_fail
;
21050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21051 result
= (wxToolBar
*)new wxToolBar();
21053 wxPyEndAllowThreads(__tstate
);
21054 if (PyErr_Occurred()) SWIG_fail
;
21056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21063 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21064 PyObject
*resultobj
;
21065 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21066 wxWindow
*arg2
= (wxWindow
*) 0 ;
21067 int arg3
= (int) -1 ;
21068 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21069 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21070 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21071 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21072 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21073 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
21074 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21078 bool temp7
= false ;
21079 PyObject
* obj0
= 0 ;
21080 PyObject
* obj1
= 0 ;
21081 PyObject
* obj2
= 0 ;
21082 PyObject
* obj3
= 0 ;
21083 PyObject
* obj4
= 0 ;
21084 PyObject
* obj5
= 0 ;
21085 PyObject
* obj6
= 0 ;
21086 char *kwnames
[] = {
21087 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21092 if (SWIG_arg_fail(1)) SWIG_fail
;
21093 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21094 if (SWIG_arg_fail(2)) SWIG_fail
;
21097 arg3
= (int)(SWIG_As_int(obj2
));
21098 if (SWIG_arg_fail(3)) SWIG_fail
;
21104 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21110 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21115 arg6
= (long)(SWIG_As_long(obj5
));
21116 if (SWIG_arg_fail(6)) SWIG_fail
;
21121 arg7
= wxString_in_helper(obj6
);
21122 if (arg7
== NULL
) SWIG_fail
;
21127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21128 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21130 wxPyEndAllowThreads(__tstate
);
21131 if (PyErr_Occurred()) SWIG_fail
;
21134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21150 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21151 PyObject
*resultobj
;
21152 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21155 wxToolBarToolBase
*result
;
21156 PyObject
* obj0
= 0 ;
21157 PyObject
* obj1
= 0 ;
21158 PyObject
* obj2
= 0 ;
21159 char *kwnames
[] = {
21160 (char *) "self",(char *) "x",(char *) "y", NULL
21163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21165 if (SWIG_arg_fail(1)) SWIG_fail
;
21167 arg2
= (int)(SWIG_As_int(obj1
));
21168 if (SWIG_arg_fail(2)) SWIG_fail
;
21171 arg3
= (int)(SWIG_As_int(obj2
));
21172 if (SWIG_arg_fail(3)) SWIG_fail
;
21175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21176 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
21178 wxPyEndAllowThreads(__tstate
);
21179 if (PyErr_Occurred()) SWIG_fail
;
21182 resultobj
= wxPyMake_wxObject(result
, 0);
21190 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21191 PyObject
*resultobj
;
21192 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21193 wxVisualAttributes result
;
21194 PyObject
* obj0
= 0 ;
21195 char *kwnames
[] = {
21196 (char *) "variant", NULL
21199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
21202 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
21203 if (SWIG_arg_fail(1)) SWIG_fail
;
21207 if (!wxPyCheckForApp()) SWIG_fail
;
21208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21209 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
21211 wxPyEndAllowThreads(__tstate
);
21212 if (PyErr_Occurred()) SWIG_fail
;
21215 wxVisualAttributes
* resultptr
;
21216 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
21217 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
21225 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
21227 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21228 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
21230 return Py_BuildValue((char *)"");
21232 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
21233 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
21238 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
21243 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21245 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21252 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21253 PyObject
*resultobj
;
21254 wxColour
const &arg1_defvalue
= wxNullColour
;
21255 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
21256 wxColour
const &arg2_defvalue
= wxNullColour
;
21257 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
21258 wxFont
const &arg3_defvalue
= wxNullFont
;
21259 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
21260 wxListItemAttr
*result
;
21263 PyObject
* obj0
= 0 ;
21264 PyObject
* obj1
= 0 ;
21265 PyObject
* obj2
= 0 ;
21266 char *kwnames
[] = {
21267 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21274 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
21280 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21285 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21286 if (SWIG_arg_fail(3)) SWIG_fail
;
21287 if (arg3
== NULL
) {
21288 SWIG_null_ref("wxFont");
21290 if (SWIG_arg_fail(3)) SWIG_fail
;
21294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21295 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
21297 wxPyEndAllowThreads(__tstate
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
21307 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21308 PyObject
*resultobj
;
21309 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21310 wxColour
*arg2
= 0 ;
21312 PyObject
* obj0
= 0 ;
21313 PyObject
* obj1
= 0 ;
21314 char *kwnames
[] = {
21315 (char *) "self",(char *) "colText", NULL
21318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21320 if (SWIG_arg_fail(1)) SWIG_fail
;
21323 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21327 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21329 wxPyEndAllowThreads(__tstate
);
21330 if (PyErr_Occurred()) SWIG_fail
;
21332 Py_INCREF(Py_None
); resultobj
= Py_None
;
21339 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21340 PyObject
*resultobj
;
21341 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21342 wxColour
*arg2
= 0 ;
21344 PyObject
* obj0
= 0 ;
21345 PyObject
* obj1
= 0 ;
21346 char *kwnames
[] = {
21347 (char *) "self",(char *) "colBack", NULL
21350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21352 if (SWIG_arg_fail(1)) SWIG_fail
;
21355 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21359 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21361 wxPyEndAllowThreads(__tstate
);
21362 if (PyErr_Occurred()) SWIG_fail
;
21364 Py_INCREF(Py_None
); resultobj
= Py_None
;
21371 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21372 PyObject
*resultobj
;
21373 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21375 PyObject
* obj0
= 0 ;
21376 PyObject
* obj1
= 0 ;
21377 char *kwnames
[] = {
21378 (char *) "self",(char *) "font", NULL
21381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21383 if (SWIG_arg_fail(1)) SWIG_fail
;
21385 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21386 if (SWIG_arg_fail(2)) SWIG_fail
;
21387 if (arg2
== NULL
) {
21388 SWIG_null_ref("wxFont");
21390 if (SWIG_arg_fail(2)) SWIG_fail
;
21393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21394 (arg1
)->SetFont((wxFont
const &)*arg2
);
21396 wxPyEndAllowThreads(__tstate
);
21397 if (PyErr_Occurred()) SWIG_fail
;
21399 Py_INCREF(Py_None
); resultobj
= Py_None
;
21406 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21407 PyObject
*resultobj
;
21408 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21410 PyObject
* obj0
= 0 ;
21411 char *kwnames
[] = {
21412 (char *) "self", NULL
21415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
21416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21417 if (SWIG_arg_fail(1)) SWIG_fail
;
21419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21420 result
= (bool)(arg1
)->HasTextColour();
21422 wxPyEndAllowThreads(__tstate
);
21423 if (PyErr_Occurred()) SWIG_fail
;
21426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21434 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21435 PyObject
*resultobj
;
21436 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21438 PyObject
* obj0
= 0 ;
21439 char *kwnames
[] = {
21440 (char *) "self", NULL
21443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
21444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21445 if (SWIG_arg_fail(1)) SWIG_fail
;
21447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21448 result
= (bool)(arg1
)->HasBackgroundColour();
21450 wxPyEndAllowThreads(__tstate
);
21451 if (PyErr_Occurred()) SWIG_fail
;
21454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21462 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21463 PyObject
*resultobj
;
21464 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21466 PyObject
* obj0
= 0 ;
21467 char *kwnames
[] = {
21468 (char *) "self", NULL
21471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
21472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21473 if (SWIG_arg_fail(1)) SWIG_fail
;
21475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21476 result
= (bool)(arg1
)->HasFont();
21478 wxPyEndAllowThreads(__tstate
);
21479 if (PyErr_Occurred()) SWIG_fail
;
21482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21490 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21491 PyObject
*resultobj
;
21492 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21494 PyObject
* obj0
= 0 ;
21495 char *kwnames
[] = {
21496 (char *) "self", NULL
21499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
21500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21501 if (SWIG_arg_fail(1)) SWIG_fail
;
21503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21504 result
= (arg1
)->GetTextColour();
21506 wxPyEndAllowThreads(__tstate
);
21507 if (PyErr_Occurred()) SWIG_fail
;
21510 wxColour
* resultptr
;
21511 resultptr
= new wxColour((wxColour
&)(result
));
21512 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21520 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21521 PyObject
*resultobj
;
21522 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21524 PyObject
* obj0
= 0 ;
21525 char *kwnames
[] = {
21526 (char *) "self", NULL
21529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
21530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21531 if (SWIG_arg_fail(1)) SWIG_fail
;
21533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21534 result
= (arg1
)->GetBackgroundColour();
21536 wxPyEndAllowThreads(__tstate
);
21537 if (PyErr_Occurred()) SWIG_fail
;
21540 wxColour
* resultptr
;
21541 resultptr
= new wxColour((wxColour
&)(result
));
21542 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21550 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21551 PyObject
*resultobj
;
21552 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21554 PyObject
* obj0
= 0 ;
21555 char *kwnames
[] = {
21556 (char *) "self", NULL
21559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
21560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21561 if (SWIG_arg_fail(1)) SWIG_fail
;
21563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21564 result
= (arg1
)->GetFont();
21566 wxPyEndAllowThreads(__tstate
);
21567 if (PyErr_Occurred()) SWIG_fail
;
21570 wxFont
* resultptr
;
21571 resultptr
= new wxFont((wxFont
&)(result
));
21572 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21580 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21581 PyObject
*resultobj
;
21582 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21583 PyObject
* obj0
= 0 ;
21584 char *kwnames
[] = {
21585 (char *) "self", NULL
21588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
21589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21590 if (SWIG_arg_fail(1)) SWIG_fail
;
21592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21593 wxListItemAttr_Destroy(arg1
);
21595 wxPyEndAllowThreads(__tstate
);
21596 if (PyErr_Occurred()) SWIG_fail
;
21598 Py_INCREF(Py_None
); resultobj
= Py_None
;
21605 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
21607 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21608 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
21610 return Py_BuildValue((char *)"");
21612 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21613 PyObject
*resultobj
;
21614 wxListItem
*result
;
21615 char *kwnames
[] = {
21619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
21621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21622 result
= (wxListItem
*)new wxListItem();
21624 wxPyEndAllowThreads(__tstate
);
21625 if (PyErr_Occurred()) SWIG_fail
;
21628 resultobj
= wxPyMake_wxObject(result
, 1);
21636 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21637 PyObject
*resultobj
;
21638 wxListItem
*arg1
= (wxListItem
*) 0 ;
21639 PyObject
* obj0
= 0 ;
21640 char *kwnames
[] = {
21641 (char *) "self", NULL
21644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
21645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21646 if (SWIG_arg_fail(1)) SWIG_fail
;
21648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21651 wxPyEndAllowThreads(__tstate
);
21652 if (PyErr_Occurred()) SWIG_fail
;
21654 Py_INCREF(Py_None
); resultobj
= Py_None
;
21661 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21662 PyObject
*resultobj
;
21663 wxListItem
*arg1
= (wxListItem
*) 0 ;
21664 PyObject
* obj0
= 0 ;
21665 char *kwnames
[] = {
21666 (char *) "self", NULL
21669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
21670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21671 if (SWIG_arg_fail(1)) SWIG_fail
;
21673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21676 wxPyEndAllowThreads(__tstate
);
21677 if (PyErr_Occurred()) SWIG_fail
;
21679 Py_INCREF(Py_None
); resultobj
= Py_None
;
21686 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21687 PyObject
*resultobj
;
21688 wxListItem
*arg1
= (wxListItem
*) 0 ;
21689 PyObject
* obj0
= 0 ;
21690 char *kwnames
[] = {
21691 (char *) "self", NULL
21694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
21695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21696 if (SWIG_arg_fail(1)) SWIG_fail
;
21698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21699 (arg1
)->ClearAttributes();
21701 wxPyEndAllowThreads(__tstate
);
21702 if (PyErr_Occurred()) SWIG_fail
;
21704 Py_INCREF(Py_None
); resultobj
= Py_None
;
21711 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21712 PyObject
*resultobj
;
21713 wxListItem
*arg1
= (wxListItem
*) 0 ;
21715 PyObject
* obj0
= 0 ;
21716 PyObject
* obj1
= 0 ;
21717 char *kwnames
[] = {
21718 (char *) "self",(char *) "mask", NULL
21721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21723 if (SWIG_arg_fail(1)) SWIG_fail
;
21725 arg2
= (long)(SWIG_As_long(obj1
));
21726 if (SWIG_arg_fail(2)) SWIG_fail
;
21729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21730 (arg1
)->SetMask(arg2
);
21732 wxPyEndAllowThreads(__tstate
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21735 Py_INCREF(Py_None
); resultobj
= Py_None
;
21742 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21743 PyObject
*resultobj
;
21744 wxListItem
*arg1
= (wxListItem
*) 0 ;
21746 PyObject
* obj0
= 0 ;
21747 PyObject
* obj1
= 0 ;
21748 char *kwnames
[] = {
21749 (char *) "self",(char *) "id", NULL
21752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21754 if (SWIG_arg_fail(1)) SWIG_fail
;
21756 arg2
= (long)(SWIG_As_long(obj1
));
21757 if (SWIG_arg_fail(2)) SWIG_fail
;
21760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21761 (arg1
)->SetId(arg2
);
21763 wxPyEndAllowThreads(__tstate
);
21764 if (PyErr_Occurred()) SWIG_fail
;
21766 Py_INCREF(Py_None
); resultobj
= Py_None
;
21773 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21774 PyObject
*resultobj
;
21775 wxListItem
*arg1
= (wxListItem
*) 0 ;
21777 PyObject
* obj0
= 0 ;
21778 PyObject
* obj1
= 0 ;
21779 char *kwnames
[] = {
21780 (char *) "self",(char *) "col", NULL
21783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21785 if (SWIG_arg_fail(1)) SWIG_fail
;
21787 arg2
= (int)(SWIG_As_int(obj1
));
21788 if (SWIG_arg_fail(2)) SWIG_fail
;
21791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21792 (arg1
)->SetColumn(arg2
);
21794 wxPyEndAllowThreads(__tstate
);
21795 if (PyErr_Occurred()) SWIG_fail
;
21797 Py_INCREF(Py_None
); resultobj
= Py_None
;
21804 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21805 PyObject
*resultobj
;
21806 wxListItem
*arg1
= (wxListItem
*) 0 ;
21808 PyObject
* obj0
= 0 ;
21809 PyObject
* obj1
= 0 ;
21810 char *kwnames
[] = {
21811 (char *) "self",(char *) "state", NULL
21814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
21815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21816 if (SWIG_arg_fail(1)) SWIG_fail
;
21818 arg2
= (long)(SWIG_As_long(obj1
));
21819 if (SWIG_arg_fail(2)) SWIG_fail
;
21822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21823 (arg1
)->SetState(arg2
);
21825 wxPyEndAllowThreads(__tstate
);
21826 if (PyErr_Occurred()) SWIG_fail
;
21828 Py_INCREF(Py_None
); resultobj
= Py_None
;
21835 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21836 PyObject
*resultobj
;
21837 wxListItem
*arg1
= (wxListItem
*) 0 ;
21839 PyObject
* obj0
= 0 ;
21840 PyObject
* obj1
= 0 ;
21841 char *kwnames
[] = {
21842 (char *) "self",(char *) "stateMask", NULL
21845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21847 if (SWIG_arg_fail(1)) SWIG_fail
;
21849 arg2
= (long)(SWIG_As_long(obj1
));
21850 if (SWIG_arg_fail(2)) SWIG_fail
;
21853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21854 (arg1
)->SetStateMask(arg2
);
21856 wxPyEndAllowThreads(__tstate
);
21857 if (PyErr_Occurred()) SWIG_fail
;
21859 Py_INCREF(Py_None
); resultobj
= Py_None
;
21866 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21867 PyObject
*resultobj
;
21868 wxListItem
*arg1
= (wxListItem
*) 0 ;
21869 wxString
*arg2
= 0 ;
21870 bool temp2
= false ;
21871 PyObject
* obj0
= 0 ;
21872 PyObject
* obj1
= 0 ;
21873 char *kwnames
[] = {
21874 (char *) "self",(char *) "text", NULL
21877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21879 if (SWIG_arg_fail(1)) SWIG_fail
;
21881 arg2
= wxString_in_helper(obj1
);
21882 if (arg2
== NULL
) SWIG_fail
;
21886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21887 (arg1
)->SetText((wxString
const &)*arg2
);
21889 wxPyEndAllowThreads(__tstate
);
21890 if (PyErr_Occurred()) SWIG_fail
;
21892 Py_INCREF(Py_None
); resultobj
= Py_None
;
21907 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21908 PyObject
*resultobj
;
21909 wxListItem
*arg1
= (wxListItem
*) 0 ;
21911 PyObject
* obj0
= 0 ;
21912 PyObject
* obj1
= 0 ;
21913 char *kwnames
[] = {
21914 (char *) "self",(char *) "image", NULL
21917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
21918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21919 if (SWIG_arg_fail(1)) SWIG_fail
;
21921 arg2
= (int)(SWIG_As_int(obj1
));
21922 if (SWIG_arg_fail(2)) SWIG_fail
;
21925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21926 (arg1
)->SetImage(arg2
);
21928 wxPyEndAllowThreads(__tstate
);
21929 if (PyErr_Occurred()) SWIG_fail
;
21931 Py_INCREF(Py_None
); resultobj
= Py_None
;
21938 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21939 PyObject
*resultobj
;
21940 wxListItem
*arg1
= (wxListItem
*) 0 ;
21942 PyObject
* obj0
= 0 ;
21943 PyObject
* obj1
= 0 ;
21944 char *kwnames
[] = {
21945 (char *) "self",(char *) "data", NULL
21948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
21949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21950 if (SWIG_arg_fail(1)) SWIG_fail
;
21952 arg2
= (long)(SWIG_As_long(obj1
));
21953 if (SWIG_arg_fail(2)) SWIG_fail
;
21956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21957 (arg1
)->SetData(arg2
);
21959 wxPyEndAllowThreads(__tstate
);
21960 if (PyErr_Occurred()) SWIG_fail
;
21962 Py_INCREF(Py_None
); resultobj
= Py_None
;
21969 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21970 PyObject
*resultobj
;
21971 wxListItem
*arg1
= (wxListItem
*) 0 ;
21973 PyObject
* obj0
= 0 ;
21974 PyObject
* obj1
= 0 ;
21975 char *kwnames
[] = {
21976 (char *) "self",(char *) "width", NULL
21979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21981 if (SWIG_arg_fail(1)) SWIG_fail
;
21983 arg2
= (int)(SWIG_As_int(obj1
));
21984 if (SWIG_arg_fail(2)) SWIG_fail
;
21987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21988 (arg1
)->SetWidth(arg2
);
21990 wxPyEndAllowThreads(__tstate
);
21991 if (PyErr_Occurred()) SWIG_fail
;
21993 Py_INCREF(Py_None
); resultobj
= Py_None
;
22000 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22001 PyObject
*resultobj
;
22002 wxListItem
*arg1
= (wxListItem
*) 0 ;
22003 wxListColumnFormat arg2
;
22004 PyObject
* obj0
= 0 ;
22005 PyObject
* obj1
= 0 ;
22006 char *kwnames
[] = {
22007 (char *) "self",(char *) "align", NULL
22010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
22011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22012 if (SWIG_arg_fail(1)) SWIG_fail
;
22014 arg2
= (wxListColumnFormat
)(SWIG_As_int(obj1
));
22015 if (SWIG_arg_fail(2)) SWIG_fail
;
22018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22019 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
22021 wxPyEndAllowThreads(__tstate
);
22022 if (PyErr_Occurred()) SWIG_fail
;
22024 Py_INCREF(Py_None
); resultobj
= Py_None
;
22031 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22032 PyObject
*resultobj
;
22033 wxListItem
*arg1
= (wxListItem
*) 0 ;
22034 wxColour
*arg2
= 0 ;
22036 PyObject
* obj0
= 0 ;
22037 PyObject
* obj1
= 0 ;
22038 char *kwnames
[] = {
22039 (char *) "self",(char *) "colText", NULL
22042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22044 if (SWIG_arg_fail(1)) SWIG_fail
;
22047 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22051 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22053 wxPyEndAllowThreads(__tstate
);
22054 if (PyErr_Occurred()) SWIG_fail
;
22056 Py_INCREF(Py_None
); resultobj
= Py_None
;
22063 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22064 PyObject
*resultobj
;
22065 wxListItem
*arg1
= (wxListItem
*) 0 ;
22066 wxColour
*arg2
= 0 ;
22068 PyObject
* obj0
= 0 ;
22069 PyObject
* obj1
= 0 ;
22070 char *kwnames
[] = {
22071 (char *) "self",(char *) "colBack", NULL
22074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22076 if (SWIG_arg_fail(1)) SWIG_fail
;
22079 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22083 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22085 wxPyEndAllowThreads(__tstate
);
22086 if (PyErr_Occurred()) SWIG_fail
;
22088 Py_INCREF(Py_None
); resultobj
= Py_None
;
22095 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22096 PyObject
*resultobj
;
22097 wxListItem
*arg1
= (wxListItem
*) 0 ;
22099 PyObject
* obj0
= 0 ;
22100 PyObject
* obj1
= 0 ;
22101 char *kwnames
[] = {
22102 (char *) "self",(char *) "font", NULL
22105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22107 if (SWIG_arg_fail(1)) SWIG_fail
;
22109 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22110 if (SWIG_arg_fail(2)) SWIG_fail
;
22111 if (arg2
== NULL
) {
22112 SWIG_null_ref("wxFont");
22114 if (SWIG_arg_fail(2)) SWIG_fail
;
22117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22118 (arg1
)->SetFont((wxFont
const &)*arg2
);
22120 wxPyEndAllowThreads(__tstate
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22123 Py_INCREF(Py_None
); resultobj
= Py_None
;
22130 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22131 PyObject
*resultobj
;
22132 wxListItem
*arg1
= (wxListItem
*) 0 ;
22134 PyObject
* obj0
= 0 ;
22135 char *kwnames
[] = {
22136 (char *) "self", NULL
22139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
22140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22141 if (SWIG_arg_fail(1)) SWIG_fail
;
22143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22144 result
= (long)(arg1
)->GetMask();
22146 wxPyEndAllowThreads(__tstate
);
22147 if (PyErr_Occurred()) SWIG_fail
;
22150 resultobj
= SWIG_From_long((long)(result
));
22158 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22159 PyObject
*resultobj
;
22160 wxListItem
*arg1
= (wxListItem
*) 0 ;
22162 PyObject
* obj0
= 0 ;
22163 char *kwnames
[] = {
22164 (char *) "self", NULL
22167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
22168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22169 if (SWIG_arg_fail(1)) SWIG_fail
;
22171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22172 result
= (long)(arg1
)->GetId();
22174 wxPyEndAllowThreads(__tstate
);
22175 if (PyErr_Occurred()) SWIG_fail
;
22178 resultobj
= SWIG_From_long((long)(result
));
22186 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22187 PyObject
*resultobj
;
22188 wxListItem
*arg1
= (wxListItem
*) 0 ;
22190 PyObject
* obj0
= 0 ;
22191 char *kwnames
[] = {
22192 (char *) "self", NULL
22195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
22196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22197 if (SWIG_arg_fail(1)) SWIG_fail
;
22199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22200 result
= (int)(arg1
)->GetColumn();
22202 wxPyEndAllowThreads(__tstate
);
22203 if (PyErr_Occurred()) SWIG_fail
;
22206 resultobj
= SWIG_From_int((int)(result
));
22214 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22215 PyObject
*resultobj
;
22216 wxListItem
*arg1
= (wxListItem
*) 0 ;
22218 PyObject
* obj0
= 0 ;
22219 char *kwnames
[] = {
22220 (char *) "self", NULL
22223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
22224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22225 if (SWIG_arg_fail(1)) SWIG_fail
;
22227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22228 result
= (long)(arg1
)->GetState();
22230 wxPyEndAllowThreads(__tstate
);
22231 if (PyErr_Occurred()) SWIG_fail
;
22234 resultobj
= SWIG_From_long((long)(result
));
22242 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22243 PyObject
*resultobj
;
22244 wxListItem
*arg1
= (wxListItem
*) 0 ;
22246 PyObject
* obj0
= 0 ;
22247 char *kwnames
[] = {
22248 (char *) "self", NULL
22251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
22252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22253 if (SWIG_arg_fail(1)) SWIG_fail
;
22255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22257 wxString
const &_result_ref
= (arg1
)->GetText();
22258 result
= (wxString
*) &_result_ref
;
22261 wxPyEndAllowThreads(__tstate
);
22262 if (PyErr_Occurred()) SWIG_fail
;
22266 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22268 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22277 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22278 PyObject
*resultobj
;
22279 wxListItem
*arg1
= (wxListItem
*) 0 ;
22281 PyObject
* obj0
= 0 ;
22282 char *kwnames
[] = {
22283 (char *) "self", NULL
22286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
22287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22288 if (SWIG_arg_fail(1)) SWIG_fail
;
22290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22291 result
= (int)(arg1
)->GetImage();
22293 wxPyEndAllowThreads(__tstate
);
22294 if (PyErr_Occurred()) SWIG_fail
;
22297 resultobj
= SWIG_From_int((int)(result
));
22305 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22306 PyObject
*resultobj
;
22307 wxListItem
*arg1
= (wxListItem
*) 0 ;
22309 PyObject
* obj0
= 0 ;
22310 char *kwnames
[] = {
22311 (char *) "self", NULL
22314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
22315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22316 if (SWIG_arg_fail(1)) SWIG_fail
;
22318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22319 result
= (long)(arg1
)->GetData();
22321 wxPyEndAllowThreads(__tstate
);
22322 if (PyErr_Occurred()) SWIG_fail
;
22325 resultobj
= SWIG_From_long((long)(result
));
22333 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22334 PyObject
*resultobj
;
22335 wxListItem
*arg1
= (wxListItem
*) 0 ;
22337 PyObject
* obj0
= 0 ;
22338 char *kwnames
[] = {
22339 (char *) "self", NULL
22342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
22343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22344 if (SWIG_arg_fail(1)) SWIG_fail
;
22346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22347 result
= (int)(arg1
)->GetWidth();
22349 wxPyEndAllowThreads(__tstate
);
22350 if (PyErr_Occurred()) SWIG_fail
;
22353 resultobj
= SWIG_From_int((int)(result
));
22361 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22362 PyObject
*resultobj
;
22363 wxListItem
*arg1
= (wxListItem
*) 0 ;
22364 wxListColumnFormat result
;
22365 PyObject
* obj0
= 0 ;
22366 char *kwnames
[] = {
22367 (char *) "self", NULL
22370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
22371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22372 if (SWIG_arg_fail(1)) SWIG_fail
;
22374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22375 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
22377 wxPyEndAllowThreads(__tstate
);
22378 if (PyErr_Occurred()) SWIG_fail
;
22380 resultobj
= SWIG_From_int((result
));
22387 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22388 PyObject
*resultobj
;
22389 wxListItem
*arg1
= (wxListItem
*) 0 ;
22390 wxListItemAttr
*result
;
22391 PyObject
* obj0
= 0 ;
22392 char *kwnames
[] = {
22393 (char *) "self", NULL
22396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
22397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22398 if (SWIG_arg_fail(1)) SWIG_fail
;
22400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22401 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
22403 wxPyEndAllowThreads(__tstate
);
22404 if (PyErr_Occurred()) SWIG_fail
;
22406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
22413 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22414 PyObject
*resultobj
;
22415 wxListItem
*arg1
= (wxListItem
*) 0 ;
22417 PyObject
* obj0
= 0 ;
22418 char *kwnames
[] = {
22419 (char *) "self", NULL
22422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
22423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22424 if (SWIG_arg_fail(1)) SWIG_fail
;
22426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22427 result
= (bool)(arg1
)->HasAttributes();
22429 wxPyEndAllowThreads(__tstate
);
22430 if (PyErr_Occurred()) SWIG_fail
;
22433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22441 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22442 PyObject
*resultobj
;
22443 wxListItem
*arg1
= (wxListItem
*) 0 ;
22445 PyObject
* obj0
= 0 ;
22446 char *kwnames
[] = {
22447 (char *) "self", NULL
22450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
22451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22452 if (SWIG_arg_fail(1)) SWIG_fail
;
22454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22455 result
= ((wxListItem
const *)arg1
)->GetTextColour();
22457 wxPyEndAllowThreads(__tstate
);
22458 if (PyErr_Occurred()) SWIG_fail
;
22461 wxColour
* resultptr
;
22462 resultptr
= new wxColour((wxColour
&)(result
));
22463 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22471 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22472 PyObject
*resultobj
;
22473 wxListItem
*arg1
= (wxListItem
*) 0 ;
22475 PyObject
* obj0
= 0 ;
22476 char *kwnames
[] = {
22477 (char *) "self", NULL
22480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22482 if (SWIG_arg_fail(1)) SWIG_fail
;
22484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22485 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
22487 wxPyEndAllowThreads(__tstate
);
22488 if (PyErr_Occurred()) SWIG_fail
;
22491 wxColour
* resultptr
;
22492 resultptr
= new wxColour((wxColour
&)(result
));
22493 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22501 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22502 PyObject
*resultobj
;
22503 wxListItem
*arg1
= (wxListItem
*) 0 ;
22505 PyObject
* obj0
= 0 ;
22506 char *kwnames
[] = {
22507 (char *) "self", NULL
22510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
22511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22512 if (SWIG_arg_fail(1)) SWIG_fail
;
22514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22515 result
= ((wxListItem
const *)arg1
)->GetFont();
22517 wxPyEndAllowThreads(__tstate
);
22518 if (PyErr_Occurred()) SWIG_fail
;
22521 wxFont
* resultptr
;
22522 resultptr
= new wxFont((wxFont
&)(result
));
22523 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22531 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22532 PyObject
*resultobj
;
22533 wxListItem
*arg1
= (wxListItem
*) 0 ;
22535 PyObject
* obj0
= 0 ;
22536 PyObject
* obj1
= 0 ;
22537 char *kwnames
[] = {
22538 (char *) "self",(char *) "m_mask", NULL
22541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22543 if (SWIG_arg_fail(1)) SWIG_fail
;
22545 arg2
= (long)(SWIG_As_long(obj1
));
22546 if (SWIG_arg_fail(2)) SWIG_fail
;
22548 if (arg1
) (arg1
)->m_mask
= arg2
;
22550 Py_INCREF(Py_None
); resultobj
= Py_None
;
22557 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22558 PyObject
*resultobj
;
22559 wxListItem
*arg1
= (wxListItem
*) 0 ;
22561 PyObject
* obj0
= 0 ;
22562 char *kwnames
[] = {
22563 (char *) "self", NULL
22566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
22567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22568 if (SWIG_arg_fail(1)) SWIG_fail
;
22569 result
= (long) ((arg1
)->m_mask
);
22572 resultobj
= SWIG_From_long((long)(result
));
22580 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22581 PyObject
*resultobj
;
22582 wxListItem
*arg1
= (wxListItem
*) 0 ;
22584 PyObject
* obj0
= 0 ;
22585 PyObject
* obj1
= 0 ;
22586 char *kwnames
[] = {
22587 (char *) "self",(char *) "m_itemId", NULL
22590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22592 if (SWIG_arg_fail(1)) SWIG_fail
;
22594 arg2
= (long)(SWIG_As_long(obj1
));
22595 if (SWIG_arg_fail(2)) SWIG_fail
;
22597 if (arg1
) (arg1
)->m_itemId
= arg2
;
22599 Py_INCREF(Py_None
); resultobj
= Py_None
;
22606 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22607 PyObject
*resultobj
;
22608 wxListItem
*arg1
= (wxListItem
*) 0 ;
22610 PyObject
* obj0
= 0 ;
22611 char *kwnames
[] = {
22612 (char *) "self", NULL
22615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
22616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22617 if (SWIG_arg_fail(1)) SWIG_fail
;
22618 result
= (long) ((arg1
)->m_itemId
);
22621 resultobj
= SWIG_From_long((long)(result
));
22629 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22630 PyObject
*resultobj
;
22631 wxListItem
*arg1
= (wxListItem
*) 0 ;
22633 PyObject
* obj0
= 0 ;
22634 PyObject
* obj1
= 0 ;
22635 char *kwnames
[] = {
22636 (char *) "self",(char *) "m_col", NULL
22639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22641 if (SWIG_arg_fail(1)) SWIG_fail
;
22643 arg2
= (int)(SWIG_As_int(obj1
));
22644 if (SWIG_arg_fail(2)) SWIG_fail
;
22646 if (arg1
) (arg1
)->m_col
= arg2
;
22648 Py_INCREF(Py_None
); resultobj
= Py_None
;
22655 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22656 PyObject
*resultobj
;
22657 wxListItem
*arg1
= (wxListItem
*) 0 ;
22659 PyObject
* obj0
= 0 ;
22660 char *kwnames
[] = {
22661 (char *) "self", NULL
22664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
22665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22666 if (SWIG_arg_fail(1)) SWIG_fail
;
22667 result
= (int) ((arg1
)->m_col
);
22670 resultobj
= SWIG_From_int((int)(result
));
22678 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22679 PyObject
*resultobj
;
22680 wxListItem
*arg1
= (wxListItem
*) 0 ;
22682 PyObject
* obj0
= 0 ;
22683 PyObject
* obj1
= 0 ;
22684 char *kwnames
[] = {
22685 (char *) "self",(char *) "m_state", NULL
22688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22690 if (SWIG_arg_fail(1)) SWIG_fail
;
22692 arg2
= (long)(SWIG_As_long(obj1
));
22693 if (SWIG_arg_fail(2)) SWIG_fail
;
22695 if (arg1
) (arg1
)->m_state
= arg2
;
22697 Py_INCREF(Py_None
); resultobj
= Py_None
;
22704 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22705 PyObject
*resultobj
;
22706 wxListItem
*arg1
= (wxListItem
*) 0 ;
22708 PyObject
* obj0
= 0 ;
22709 char *kwnames
[] = {
22710 (char *) "self", NULL
22713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
22714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22715 if (SWIG_arg_fail(1)) SWIG_fail
;
22716 result
= (long) ((arg1
)->m_state
);
22719 resultobj
= SWIG_From_long((long)(result
));
22727 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22728 PyObject
*resultobj
;
22729 wxListItem
*arg1
= (wxListItem
*) 0 ;
22731 PyObject
* obj0
= 0 ;
22732 PyObject
* obj1
= 0 ;
22733 char *kwnames
[] = {
22734 (char *) "self",(char *) "m_stateMask", NULL
22737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22739 if (SWIG_arg_fail(1)) SWIG_fail
;
22741 arg2
= (long)(SWIG_As_long(obj1
));
22742 if (SWIG_arg_fail(2)) SWIG_fail
;
22744 if (arg1
) (arg1
)->m_stateMask
= arg2
;
22746 Py_INCREF(Py_None
); resultobj
= Py_None
;
22753 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22754 PyObject
*resultobj
;
22755 wxListItem
*arg1
= (wxListItem
*) 0 ;
22757 PyObject
* obj0
= 0 ;
22758 char *kwnames
[] = {
22759 (char *) "self", NULL
22762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
22763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22764 if (SWIG_arg_fail(1)) SWIG_fail
;
22765 result
= (long) ((arg1
)->m_stateMask
);
22768 resultobj
= SWIG_From_long((long)(result
));
22776 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22777 PyObject
*resultobj
;
22778 wxListItem
*arg1
= (wxListItem
*) 0 ;
22779 wxString
*arg2
= (wxString
*) 0 ;
22780 bool temp2
= false ;
22781 PyObject
* obj0
= 0 ;
22782 PyObject
* obj1
= 0 ;
22783 char *kwnames
[] = {
22784 (char *) "self",(char *) "m_text", NULL
22787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22789 if (SWIG_arg_fail(1)) SWIG_fail
;
22791 arg2
= wxString_in_helper(obj1
);
22792 if (arg2
== NULL
) SWIG_fail
;
22795 if (arg1
) (arg1
)->m_text
= *arg2
;
22797 Py_INCREF(Py_None
); resultobj
= Py_None
;
22812 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22813 PyObject
*resultobj
;
22814 wxListItem
*arg1
= (wxListItem
*) 0 ;
22816 PyObject
* obj0
= 0 ;
22817 char *kwnames
[] = {
22818 (char *) "self", NULL
22821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
22822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22823 if (SWIG_arg_fail(1)) SWIG_fail
;
22824 result
= (wxString
*)& ((arg1
)->m_text
);
22828 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22830 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22839 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22840 PyObject
*resultobj
;
22841 wxListItem
*arg1
= (wxListItem
*) 0 ;
22843 PyObject
* obj0
= 0 ;
22844 PyObject
* obj1
= 0 ;
22845 char *kwnames
[] = {
22846 (char *) "self",(char *) "m_image", NULL
22849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22851 if (SWIG_arg_fail(1)) SWIG_fail
;
22853 arg2
= (int)(SWIG_As_int(obj1
));
22854 if (SWIG_arg_fail(2)) SWIG_fail
;
22856 if (arg1
) (arg1
)->m_image
= arg2
;
22858 Py_INCREF(Py_None
); resultobj
= Py_None
;
22865 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22866 PyObject
*resultobj
;
22867 wxListItem
*arg1
= (wxListItem
*) 0 ;
22869 PyObject
* obj0
= 0 ;
22870 char *kwnames
[] = {
22871 (char *) "self", NULL
22874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
22875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22876 if (SWIG_arg_fail(1)) SWIG_fail
;
22877 result
= (int) ((arg1
)->m_image
);
22880 resultobj
= SWIG_From_int((int)(result
));
22888 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22889 PyObject
*resultobj
;
22890 wxListItem
*arg1
= (wxListItem
*) 0 ;
22892 PyObject
* obj0
= 0 ;
22893 PyObject
* obj1
= 0 ;
22894 char *kwnames
[] = {
22895 (char *) "self",(char *) "m_data", NULL
22898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22900 if (SWIG_arg_fail(1)) SWIG_fail
;
22902 arg2
= (long)(SWIG_As_long(obj1
));
22903 if (SWIG_arg_fail(2)) SWIG_fail
;
22905 if (arg1
) (arg1
)->m_data
= arg2
;
22907 Py_INCREF(Py_None
); resultobj
= Py_None
;
22914 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22915 PyObject
*resultobj
;
22916 wxListItem
*arg1
= (wxListItem
*) 0 ;
22918 PyObject
* obj0
= 0 ;
22919 char *kwnames
[] = {
22920 (char *) "self", NULL
22923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
22924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22925 if (SWIG_arg_fail(1)) SWIG_fail
;
22926 result
= (long) ((arg1
)->m_data
);
22929 resultobj
= SWIG_From_long((long)(result
));
22937 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22938 PyObject
*resultobj
;
22939 wxListItem
*arg1
= (wxListItem
*) 0 ;
22941 PyObject
* obj0
= 0 ;
22942 PyObject
* obj1
= 0 ;
22943 char *kwnames
[] = {
22944 (char *) "self",(char *) "m_format", NULL
22947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22949 if (SWIG_arg_fail(1)) SWIG_fail
;
22951 arg2
= (int)(SWIG_As_int(obj1
));
22952 if (SWIG_arg_fail(2)) SWIG_fail
;
22954 if (arg1
) (arg1
)->m_format
= arg2
;
22956 Py_INCREF(Py_None
); resultobj
= Py_None
;
22963 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22964 PyObject
*resultobj
;
22965 wxListItem
*arg1
= (wxListItem
*) 0 ;
22967 PyObject
* obj0
= 0 ;
22968 char *kwnames
[] = {
22969 (char *) "self", NULL
22972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
22973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22974 if (SWIG_arg_fail(1)) SWIG_fail
;
22975 result
= (int) ((arg1
)->m_format
);
22978 resultobj
= SWIG_From_int((int)(result
));
22986 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22987 PyObject
*resultobj
;
22988 wxListItem
*arg1
= (wxListItem
*) 0 ;
22990 PyObject
* obj0
= 0 ;
22991 PyObject
* obj1
= 0 ;
22992 char *kwnames
[] = {
22993 (char *) "self",(char *) "m_width", NULL
22996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22998 if (SWIG_arg_fail(1)) SWIG_fail
;
23000 arg2
= (int)(SWIG_As_int(obj1
));
23001 if (SWIG_arg_fail(2)) SWIG_fail
;
23003 if (arg1
) (arg1
)->m_width
= arg2
;
23005 Py_INCREF(Py_None
); resultobj
= Py_None
;
23012 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23013 PyObject
*resultobj
;
23014 wxListItem
*arg1
= (wxListItem
*) 0 ;
23016 PyObject
* obj0
= 0 ;
23017 char *kwnames
[] = {
23018 (char *) "self", NULL
23021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
23022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23023 if (SWIG_arg_fail(1)) SWIG_fail
;
23024 result
= (int) ((arg1
)->m_width
);
23027 resultobj
= SWIG_From_int((int)(result
));
23035 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
23037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23038 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
23040 return Py_BuildValue((char *)"");
23042 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23043 PyObject
*resultobj
;
23044 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23045 int arg2
= (int) 0 ;
23046 wxListEvent
*result
;
23047 PyObject
* obj0
= 0 ;
23048 PyObject
* obj1
= 0 ;
23049 char *kwnames
[] = {
23050 (char *) "commandType",(char *) "id", NULL
23053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23056 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
23057 if (SWIG_arg_fail(1)) SWIG_fail
;
23062 arg2
= (int)(SWIG_As_int(obj1
));
23063 if (SWIG_arg_fail(2)) SWIG_fail
;
23067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23068 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
23070 wxPyEndAllowThreads(__tstate
);
23071 if (PyErr_Occurred()) SWIG_fail
;
23073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
23080 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23081 PyObject
*resultobj
;
23082 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23084 PyObject
* obj0
= 0 ;
23085 PyObject
* obj1
= 0 ;
23086 char *kwnames
[] = {
23087 (char *) "self",(char *) "m_code", NULL
23090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23092 if (SWIG_arg_fail(1)) SWIG_fail
;
23094 arg2
= (int)(SWIG_As_int(obj1
));
23095 if (SWIG_arg_fail(2)) SWIG_fail
;
23097 if (arg1
) (arg1
)->m_code
= arg2
;
23099 Py_INCREF(Py_None
); resultobj
= Py_None
;
23106 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23107 PyObject
*resultobj
;
23108 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23110 PyObject
* obj0
= 0 ;
23111 char *kwnames
[] = {
23112 (char *) "self", NULL
23115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
23116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23117 if (SWIG_arg_fail(1)) SWIG_fail
;
23118 result
= (int) ((arg1
)->m_code
);
23121 resultobj
= SWIG_From_int((int)(result
));
23129 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23130 PyObject
*resultobj
;
23131 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23133 PyObject
* obj0
= 0 ;
23134 PyObject
* obj1
= 0 ;
23135 char *kwnames
[] = {
23136 (char *) "self",(char *) "m_oldItemIndex", NULL
23139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23141 if (SWIG_arg_fail(1)) SWIG_fail
;
23143 arg2
= (long)(SWIG_As_long(obj1
));
23144 if (SWIG_arg_fail(2)) SWIG_fail
;
23146 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
23148 Py_INCREF(Py_None
); resultobj
= Py_None
;
23155 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23156 PyObject
*resultobj
;
23157 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23159 PyObject
* obj0
= 0 ;
23160 char *kwnames
[] = {
23161 (char *) "self", NULL
23164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
23165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23166 if (SWIG_arg_fail(1)) SWIG_fail
;
23167 result
= (long) ((arg1
)->m_oldItemIndex
);
23170 resultobj
= SWIG_From_long((long)(result
));
23178 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23179 PyObject
*resultobj
;
23180 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23182 PyObject
* obj0
= 0 ;
23183 PyObject
* obj1
= 0 ;
23184 char *kwnames
[] = {
23185 (char *) "self",(char *) "m_itemIndex", NULL
23188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23190 if (SWIG_arg_fail(1)) SWIG_fail
;
23192 arg2
= (long)(SWIG_As_long(obj1
));
23193 if (SWIG_arg_fail(2)) SWIG_fail
;
23195 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
23197 Py_INCREF(Py_None
); resultobj
= Py_None
;
23204 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23205 PyObject
*resultobj
;
23206 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23208 PyObject
* obj0
= 0 ;
23209 char *kwnames
[] = {
23210 (char *) "self", NULL
23213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
23214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23215 if (SWIG_arg_fail(1)) SWIG_fail
;
23216 result
= (long) ((arg1
)->m_itemIndex
);
23219 resultobj
= SWIG_From_long((long)(result
));
23227 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23228 PyObject
*resultobj
;
23229 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23231 PyObject
* obj0
= 0 ;
23232 PyObject
* obj1
= 0 ;
23233 char *kwnames
[] = {
23234 (char *) "self",(char *) "m_col", NULL
23237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23239 if (SWIG_arg_fail(1)) SWIG_fail
;
23241 arg2
= (int)(SWIG_As_int(obj1
));
23242 if (SWIG_arg_fail(2)) SWIG_fail
;
23244 if (arg1
) (arg1
)->m_col
= arg2
;
23246 Py_INCREF(Py_None
); resultobj
= Py_None
;
23253 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23254 PyObject
*resultobj
;
23255 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23257 PyObject
* obj0
= 0 ;
23258 char *kwnames
[] = {
23259 (char *) "self", NULL
23262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
23263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23264 if (SWIG_arg_fail(1)) SWIG_fail
;
23265 result
= (int) ((arg1
)->m_col
);
23268 resultobj
= SWIG_From_int((int)(result
));
23276 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23277 PyObject
*resultobj
;
23278 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23279 wxPoint
*arg2
= (wxPoint
*) 0 ;
23280 PyObject
* obj0
= 0 ;
23281 PyObject
* obj1
= 0 ;
23282 char *kwnames
[] = {
23283 (char *) "self",(char *) "m_pointDrag", NULL
23286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23288 if (SWIG_arg_fail(1)) SWIG_fail
;
23289 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
23290 if (SWIG_arg_fail(2)) SWIG_fail
;
23291 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
23293 Py_INCREF(Py_None
); resultobj
= Py_None
;
23300 static PyObject
*_wrap_ListEvent_m_pointDrag_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_pointDrag_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
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
23314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
23321 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23322 PyObject
*resultobj
;
23323 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23324 wxListItem
*result
;
23325 PyObject
* obj0
= 0 ;
23326 char *kwnames
[] = {
23327 (char *) "self", NULL
23330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
23331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23332 if (SWIG_arg_fail(1)) SWIG_fail
;
23333 result
= (wxListItem
*)& ((arg1
)->m_item
);
23336 resultobj
= wxPyMake_wxObject(result
, 0);
23344 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23345 PyObject
*resultobj
;
23346 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23348 PyObject
* obj0
= 0 ;
23349 char *kwnames
[] = {
23350 (char *) "self", NULL
23353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23355 if (SWIG_arg_fail(1)) SWIG_fail
;
23357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23358 result
= (int)(arg1
)->GetKeyCode();
23360 wxPyEndAllowThreads(__tstate
);
23361 if (PyErr_Occurred()) SWIG_fail
;
23364 resultobj
= SWIG_From_int((int)(result
));
23372 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23373 PyObject
*resultobj
;
23374 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23376 PyObject
* obj0
= 0 ;
23377 char *kwnames
[] = {
23378 (char *) "self", NULL
23381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
23382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23383 if (SWIG_arg_fail(1)) SWIG_fail
;
23385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23386 result
= (long)(arg1
)->GetIndex();
23388 wxPyEndAllowThreads(__tstate
);
23389 if (PyErr_Occurred()) SWIG_fail
;
23392 resultobj
= SWIG_From_long((long)(result
));
23400 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23401 PyObject
*resultobj
;
23402 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23404 PyObject
* obj0
= 0 ;
23405 char *kwnames
[] = {
23406 (char *) "self", NULL
23409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
23410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23411 if (SWIG_arg_fail(1)) SWIG_fail
;
23413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23414 result
= (int)(arg1
)->GetColumn();
23416 wxPyEndAllowThreads(__tstate
);
23417 if (PyErr_Occurred()) SWIG_fail
;
23420 resultobj
= SWIG_From_int((int)(result
));
23428 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23429 PyObject
*resultobj
;
23430 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23432 PyObject
* obj0
= 0 ;
23433 char *kwnames
[] = {
23434 (char *) "self", NULL
23437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23439 if (SWIG_arg_fail(1)) SWIG_fail
;
23441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23442 result
= (arg1
)->GetPoint();
23444 wxPyEndAllowThreads(__tstate
);
23445 if (PyErr_Occurred()) SWIG_fail
;
23448 wxPoint
* resultptr
;
23449 resultptr
= new wxPoint((wxPoint
&)(result
));
23450 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23458 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23459 PyObject
*resultobj
;
23460 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23462 PyObject
* obj0
= 0 ;
23463 char *kwnames
[] = {
23464 (char *) "self", NULL
23467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23469 if (SWIG_arg_fail(1)) SWIG_fail
;
23471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23473 wxString
const &_result_ref
= (arg1
)->GetLabel();
23474 result
= (wxString
*) &_result_ref
;
23477 wxPyEndAllowThreads(__tstate
);
23478 if (PyErr_Occurred()) SWIG_fail
;
23482 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23484 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23493 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23494 PyObject
*resultobj
;
23495 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23497 PyObject
* obj0
= 0 ;
23498 char *kwnames
[] = {
23499 (char *) "self", NULL
23502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
23503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23504 if (SWIG_arg_fail(1)) SWIG_fail
;
23506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23508 wxString
const &_result_ref
= (arg1
)->GetText();
23509 result
= (wxString
*) &_result_ref
;
23512 wxPyEndAllowThreads(__tstate
);
23513 if (PyErr_Occurred()) SWIG_fail
;
23517 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23519 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23528 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23529 PyObject
*resultobj
;
23530 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23532 PyObject
* obj0
= 0 ;
23533 char *kwnames
[] = {
23534 (char *) "self", NULL
23537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
23538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23539 if (SWIG_arg_fail(1)) SWIG_fail
;
23541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23542 result
= (int)(arg1
)->GetImage();
23544 wxPyEndAllowThreads(__tstate
);
23545 if (PyErr_Occurred()) SWIG_fail
;
23548 resultobj
= SWIG_From_int((int)(result
));
23556 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23557 PyObject
*resultobj
;
23558 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23560 PyObject
* obj0
= 0 ;
23561 char *kwnames
[] = {
23562 (char *) "self", NULL
23565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
23566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23567 if (SWIG_arg_fail(1)) SWIG_fail
;
23569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23570 result
= (long)(arg1
)->GetData();
23572 wxPyEndAllowThreads(__tstate
);
23573 if (PyErr_Occurred()) SWIG_fail
;
23576 resultobj
= SWIG_From_long((long)(result
));
23584 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23585 PyObject
*resultobj
;
23586 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23588 PyObject
* obj0
= 0 ;
23589 char *kwnames
[] = {
23590 (char *) "self", NULL
23593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
23594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23595 if (SWIG_arg_fail(1)) SWIG_fail
;
23597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23598 result
= (long)(arg1
)->GetMask();
23600 wxPyEndAllowThreads(__tstate
);
23601 if (PyErr_Occurred()) SWIG_fail
;
23604 resultobj
= SWIG_From_long((long)(result
));
23612 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23613 PyObject
*resultobj
;
23614 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23615 wxListItem
*result
;
23616 PyObject
* obj0
= 0 ;
23617 char *kwnames
[] = {
23618 (char *) "self", NULL
23621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23623 if (SWIG_arg_fail(1)) SWIG_fail
;
23625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23627 wxListItem
const &_result_ref
= (arg1
)->GetItem();
23628 result
= (wxListItem
*) &_result_ref
;
23631 wxPyEndAllowThreads(__tstate
);
23632 if (PyErr_Occurred()) SWIG_fail
;
23634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
23641 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23642 PyObject
*resultobj
;
23643 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23645 PyObject
* obj0
= 0 ;
23646 char *kwnames
[] = {
23647 (char *) "self", NULL
23650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
23651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23652 if (SWIG_arg_fail(1)) SWIG_fail
;
23654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23655 result
= (long)(arg1
)->GetCacheFrom();
23657 wxPyEndAllowThreads(__tstate
);
23658 if (PyErr_Occurred()) SWIG_fail
;
23661 resultobj
= SWIG_From_long((long)(result
));
23669 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23670 PyObject
*resultobj
;
23671 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23673 PyObject
* obj0
= 0 ;
23674 char *kwnames
[] = {
23675 (char *) "self", NULL
23678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
23679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23680 if (SWIG_arg_fail(1)) SWIG_fail
;
23682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23683 result
= (long)(arg1
)->GetCacheTo();
23685 wxPyEndAllowThreads(__tstate
);
23686 if (PyErr_Occurred()) SWIG_fail
;
23689 resultobj
= SWIG_From_long((long)(result
));
23697 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23698 PyObject
*resultobj
;
23699 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23701 PyObject
* obj0
= 0 ;
23702 char *kwnames
[] = {
23703 (char *) "self", NULL
23706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23708 if (SWIG_arg_fail(1)) SWIG_fail
;
23710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23711 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
23713 wxPyEndAllowThreads(__tstate
);
23714 if (PyErr_Occurred()) SWIG_fail
;
23717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23725 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23726 PyObject
*resultobj
;
23727 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23729 PyObject
* obj0
= 0 ;
23730 PyObject
* obj1
= 0 ;
23731 char *kwnames
[] = {
23732 (char *) "self",(char *) "editCancelled", NULL
23735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23737 if (SWIG_arg_fail(1)) SWIG_fail
;
23739 arg2
= (bool)(SWIG_As_bool(obj1
));
23740 if (SWIG_arg_fail(2)) SWIG_fail
;
23743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23744 (arg1
)->SetEditCanceled(arg2
);
23746 wxPyEndAllowThreads(__tstate
);
23747 if (PyErr_Occurred()) SWIG_fail
;
23749 Py_INCREF(Py_None
); resultobj
= Py_None
;
23756 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
23758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23759 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
23761 return Py_BuildValue((char *)"");
23763 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23764 PyObject
*resultobj
;
23765 wxWindow
*arg1
= (wxWindow
*) 0 ;
23766 int arg2
= (int) -1 ;
23767 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23768 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23769 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23770 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23771 long arg5
= (long) wxLC_ICON
;
23772 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23773 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23774 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23775 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23776 wxPyListCtrl
*result
;
23779 bool temp7
= false ;
23780 PyObject
* obj0
= 0 ;
23781 PyObject
* obj1
= 0 ;
23782 PyObject
* obj2
= 0 ;
23783 PyObject
* obj3
= 0 ;
23784 PyObject
* obj4
= 0 ;
23785 PyObject
* obj5
= 0 ;
23786 PyObject
* obj6
= 0 ;
23787 char *kwnames
[] = {
23788 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23793 if (SWIG_arg_fail(1)) SWIG_fail
;
23796 arg2
= (int)(SWIG_As_int(obj1
));
23797 if (SWIG_arg_fail(2)) SWIG_fail
;
23803 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23809 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23814 arg5
= (long)(SWIG_As_long(obj4
));
23815 if (SWIG_arg_fail(5)) SWIG_fail
;
23820 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23821 if (SWIG_arg_fail(6)) SWIG_fail
;
23822 if (arg6
== NULL
) {
23823 SWIG_null_ref("wxValidator");
23825 if (SWIG_arg_fail(6)) SWIG_fail
;
23830 arg7
= wxString_in_helper(obj6
);
23831 if (arg7
== NULL
) SWIG_fail
;
23836 if (!wxPyCheckForApp()) SWIG_fail
;
23837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23838 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23840 wxPyEndAllowThreads(__tstate
);
23841 if (PyErr_Occurred()) SWIG_fail
;
23843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23858 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23859 PyObject
*resultobj
;
23860 wxPyListCtrl
*result
;
23861 char *kwnames
[] = {
23865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
23867 if (!wxPyCheckForApp()) SWIG_fail
;
23868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23869 result
= (wxPyListCtrl
*)new wxPyListCtrl();
23871 wxPyEndAllowThreads(__tstate
);
23872 if (PyErr_Occurred()) SWIG_fail
;
23874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23881 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23882 PyObject
*resultobj
;
23883 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23884 wxWindow
*arg2
= (wxWindow
*) 0 ;
23885 int arg3
= (int) -1 ;
23886 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23887 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23888 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23889 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23890 long arg6
= (long) wxLC_ICON
;
23891 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23892 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23893 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23894 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23898 bool temp8
= false ;
23899 PyObject
* obj0
= 0 ;
23900 PyObject
* obj1
= 0 ;
23901 PyObject
* obj2
= 0 ;
23902 PyObject
* obj3
= 0 ;
23903 PyObject
* obj4
= 0 ;
23904 PyObject
* obj5
= 0 ;
23905 PyObject
* obj6
= 0 ;
23906 PyObject
* obj7
= 0 ;
23907 char *kwnames
[] = {
23908 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23913 if (SWIG_arg_fail(1)) SWIG_fail
;
23914 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23915 if (SWIG_arg_fail(2)) SWIG_fail
;
23918 arg3
= (int)(SWIG_As_int(obj2
));
23919 if (SWIG_arg_fail(3)) SWIG_fail
;
23925 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23931 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23936 arg6
= (long)(SWIG_As_long(obj5
));
23937 if (SWIG_arg_fail(6)) SWIG_fail
;
23942 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23943 if (SWIG_arg_fail(7)) SWIG_fail
;
23944 if (arg7
== NULL
) {
23945 SWIG_null_ref("wxValidator");
23947 if (SWIG_arg_fail(7)) SWIG_fail
;
23952 arg8
= wxString_in_helper(obj7
);
23953 if (arg8
== NULL
) SWIG_fail
;
23958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23959 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23961 wxPyEndAllowThreads(__tstate
);
23962 if (PyErr_Occurred()) SWIG_fail
;
23965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23981 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23982 PyObject
*resultobj
;
23983 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23984 PyObject
*arg2
= (PyObject
*) 0 ;
23985 PyObject
*arg3
= (PyObject
*) 0 ;
23986 PyObject
* obj0
= 0 ;
23987 PyObject
* obj1
= 0 ;
23988 PyObject
* obj2
= 0 ;
23989 char *kwnames
[] = {
23990 (char *) "self",(char *) "self",(char *) "_class", NULL
23993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23995 if (SWIG_arg_fail(1)) SWIG_fail
;
23999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24000 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24002 wxPyEndAllowThreads(__tstate
);
24003 if (PyErr_Occurred()) SWIG_fail
;
24005 Py_INCREF(Py_None
); resultobj
= Py_None
;
24012 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24013 PyObject
*resultobj
;
24014 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24015 wxColour
*arg2
= 0 ;
24018 PyObject
* obj0
= 0 ;
24019 PyObject
* obj1
= 0 ;
24020 char *kwnames
[] = {
24021 (char *) "self",(char *) "col", NULL
24024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24026 if (SWIG_arg_fail(1)) SWIG_fail
;
24029 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24033 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
24035 wxPyEndAllowThreads(__tstate
);
24036 if (PyErr_Occurred()) SWIG_fail
;
24039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24047 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24048 PyObject
*resultobj
;
24049 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24050 wxColour
*arg2
= 0 ;
24053 PyObject
* obj0
= 0 ;
24054 PyObject
* obj1
= 0 ;
24055 char *kwnames
[] = {
24056 (char *) "self",(char *) "col", NULL
24059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24061 if (SWIG_arg_fail(1)) SWIG_fail
;
24064 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24068 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24070 wxPyEndAllowThreads(__tstate
);
24071 if (PyErr_Occurred()) SWIG_fail
;
24074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24082 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24083 PyObject
*resultobj
;
24084 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24086 wxListItem
*result
;
24087 PyObject
* obj0
= 0 ;
24088 PyObject
* obj1
= 0 ;
24089 char *kwnames
[] = {
24090 (char *) "self",(char *) "col", NULL
24093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
24094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24095 if (SWIG_arg_fail(1)) SWIG_fail
;
24097 arg2
= (int)(SWIG_As_int(obj1
));
24098 if (SWIG_arg_fail(2)) SWIG_fail
;
24101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24102 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
24104 wxPyEndAllowThreads(__tstate
);
24105 if (PyErr_Occurred()) SWIG_fail
;
24108 resultobj
= wxPyMake_wxObject(result
, 0);
24116 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24117 PyObject
*resultobj
;
24118 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24120 wxListItem
*arg3
= 0 ;
24122 PyObject
* obj0
= 0 ;
24123 PyObject
* obj1
= 0 ;
24124 PyObject
* obj2
= 0 ;
24125 char *kwnames
[] = {
24126 (char *) "self",(char *) "col",(char *) "item", NULL
24129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24131 if (SWIG_arg_fail(1)) SWIG_fail
;
24133 arg2
= (int)(SWIG_As_int(obj1
));
24134 if (SWIG_arg_fail(2)) SWIG_fail
;
24137 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24138 if (SWIG_arg_fail(3)) SWIG_fail
;
24139 if (arg3
== NULL
) {
24140 SWIG_null_ref("wxListItem");
24142 if (SWIG_arg_fail(3)) SWIG_fail
;
24145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24146 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
24148 wxPyEndAllowThreads(__tstate
);
24149 if (PyErr_Occurred()) SWIG_fail
;
24152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24160 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24161 PyObject
*resultobj
;
24162 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24165 PyObject
* obj0
= 0 ;
24166 PyObject
* obj1
= 0 ;
24167 char *kwnames
[] = {
24168 (char *) "self",(char *) "col", NULL
24171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
24172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24173 if (SWIG_arg_fail(1)) SWIG_fail
;
24175 arg2
= (int)(SWIG_As_int(obj1
));
24176 if (SWIG_arg_fail(2)) SWIG_fail
;
24179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24180 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
24182 wxPyEndAllowThreads(__tstate
);
24183 if (PyErr_Occurred()) SWIG_fail
;
24186 resultobj
= SWIG_From_int((int)(result
));
24194 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24195 PyObject
*resultobj
;
24196 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24200 PyObject
* obj0
= 0 ;
24201 PyObject
* obj1
= 0 ;
24202 PyObject
* obj2
= 0 ;
24203 char *kwnames
[] = {
24204 (char *) "self",(char *) "col",(char *) "width", NULL
24207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24209 if (SWIG_arg_fail(1)) SWIG_fail
;
24211 arg2
= (int)(SWIG_As_int(obj1
));
24212 if (SWIG_arg_fail(2)) SWIG_fail
;
24215 arg3
= (int)(SWIG_As_int(obj2
));
24216 if (SWIG_arg_fail(3)) SWIG_fail
;
24219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24220 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
24222 wxPyEndAllowThreads(__tstate
);
24223 if (PyErr_Occurred()) SWIG_fail
;
24226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24234 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24235 PyObject
*resultobj
;
24236 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24238 PyObject
* obj0
= 0 ;
24239 char *kwnames
[] = {
24240 (char *) "self", NULL
24243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
24244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24245 if (SWIG_arg_fail(1)) SWIG_fail
;
24247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24248 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
24250 wxPyEndAllowThreads(__tstate
);
24251 if (PyErr_Occurred()) SWIG_fail
;
24254 resultobj
= SWIG_From_int((int)(result
));
24262 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24263 PyObject
*resultobj
;
24264 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24266 PyObject
* obj0
= 0 ;
24267 char *kwnames
[] = {
24268 (char *) "self", NULL
24271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
24272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24273 if (SWIG_arg_fail(1)) SWIG_fail
;
24275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24276 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
24278 wxPyEndAllowThreads(__tstate
);
24279 if (PyErr_Occurred()) SWIG_fail
;
24282 wxRect
* resultptr
;
24283 resultptr
= new wxRect((wxRect
&)(result
));
24284 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24292 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24293 PyObject
*resultobj
;
24294 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24296 int arg3
= (int) 0 ;
24297 wxListItem
*result
;
24298 PyObject
* obj0
= 0 ;
24299 PyObject
* obj1
= 0 ;
24300 PyObject
* obj2
= 0 ;
24301 char *kwnames
[] = {
24302 (char *) "self",(char *) "itemId",(char *) "col", NULL
24305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24307 if (SWIG_arg_fail(1)) SWIG_fail
;
24309 arg2
= (long)(SWIG_As_long(obj1
));
24310 if (SWIG_arg_fail(2)) SWIG_fail
;
24314 arg3
= (int)(SWIG_As_int(obj2
));
24315 if (SWIG_arg_fail(3)) SWIG_fail
;
24319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24320 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
24322 wxPyEndAllowThreads(__tstate
);
24323 if (PyErr_Occurred()) SWIG_fail
;
24326 resultobj
= wxPyMake_wxObject(result
, 0);
24334 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24335 PyObject
*resultobj
;
24336 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24337 wxListItem
*arg2
= 0 ;
24339 PyObject
* obj0
= 0 ;
24340 PyObject
* obj1
= 0 ;
24341 char *kwnames
[] = {
24342 (char *) "self",(char *) "info", NULL
24345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24347 if (SWIG_arg_fail(1)) SWIG_fail
;
24349 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24350 if (SWIG_arg_fail(2)) SWIG_fail
;
24351 if (arg2
== NULL
) {
24352 SWIG_null_ref("wxListItem");
24354 if (SWIG_arg_fail(2)) SWIG_fail
;
24357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24358 result
= (bool)(arg1
)->SetItem(*arg2
);
24360 wxPyEndAllowThreads(__tstate
);
24361 if (PyErr_Occurred()) SWIG_fail
;
24364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24372 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24373 PyObject
*resultobj
;
24374 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24377 wxString
*arg4
= 0 ;
24378 int arg5
= (int) -1 ;
24380 bool temp4
= false ;
24381 PyObject
* obj0
= 0 ;
24382 PyObject
* obj1
= 0 ;
24383 PyObject
* obj2
= 0 ;
24384 PyObject
* obj3
= 0 ;
24385 PyObject
* obj4
= 0 ;
24386 char *kwnames
[] = {
24387 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24392 if (SWIG_arg_fail(1)) SWIG_fail
;
24394 arg2
= (long)(SWIG_As_long(obj1
));
24395 if (SWIG_arg_fail(2)) SWIG_fail
;
24398 arg3
= (int)(SWIG_As_int(obj2
));
24399 if (SWIG_arg_fail(3)) SWIG_fail
;
24402 arg4
= wxString_in_helper(obj3
);
24403 if (arg4
== NULL
) SWIG_fail
;
24408 arg5
= (int)(SWIG_As_int(obj4
));
24409 if (SWIG_arg_fail(5)) SWIG_fail
;
24413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24414 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
24416 wxPyEndAllowThreads(__tstate
);
24417 if (PyErr_Occurred()) SWIG_fail
;
24420 resultobj
= SWIG_From_long((long)(result
));
24436 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24437 PyObject
*resultobj
;
24438 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24442 PyObject
* obj0
= 0 ;
24443 PyObject
* obj1
= 0 ;
24444 PyObject
* obj2
= 0 ;
24445 char *kwnames
[] = {
24446 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24451 if (SWIG_arg_fail(1)) SWIG_fail
;
24453 arg2
= (long)(SWIG_As_long(obj1
));
24454 if (SWIG_arg_fail(2)) SWIG_fail
;
24457 arg3
= (long)(SWIG_As_long(obj2
));
24458 if (SWIG_arg_fail(3)) SWIG_fail
;
24461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24462 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
24464 wxPyEndAllowThreads(__tstate
);
24465 if (PyErr_Occurred()) SWIG_fail
;
24468 resultobj
= SWIG_From_int((int)(result
));
24476 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24477 PyObject
*resultobj
;
24478 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24483 PyObject
* obj0
= 0 ;
24484 PyObject
* obj1
= 0 ;
24485 PyObject
* obj2
= 0 ;
24486 PyObject
* obj3
= 0 ;
24487 char *kwnames
[] = {
24488 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24493 if (SWIG_arg_fail(1)) SWIG_fail
;
24495 arg2
= (long)(SWIG_As_long(obj1
));
24496 if (SWIG_arg_fail(2)) SWIG_fail
;
24499 arg3
= (long)(SWIG_As_long(obj2
));
24500 if (SWIG_arg_fail(3)) SWIG_fail
;
24503 arg4
= (long)(SWIG_As_long(obj3
));
24504 if (SWIG_arg_fail(4)) SWIG_fail
;
24507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24508 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
24510 wxPyEndAllowThreads(__tstate
);
24511 if (PyErr_Occurred()) SWIG_fail
;
24514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24522 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24523 PyObject
*resultobj
;
24524 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24527 int arg4
= (int) -1 ;
24529 PyObject
* obj0
= 0 ;
24530 PyObject
* obj1
= 0 ;
24531 PyObject
* obj2
= 0 ;
24532 PyObject
* obj3
= 0 ;
24533 char *kwnames
[] = {
24534 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24539 if (SWIG_arg_fail(1)) SWIG_fail
;
24541 arg2
= (long)(SWIG_As_long(obj1
));
24542 if (SWIG_arg_fail(2)) SWIG_fail
;
24545 arg3
= (int)(SWIG_As_int(obj2
));
24546 if (SWIG_arg_fail(3)) SWIG_fail
;
24550 arg4
= (int)(SWIG_As_int(obj3
));
24551 if (SWIG_arg_fail(4)) SWIG_fail
;
24555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24556 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
24558 wxPyEndAllowThreads(__tstate
);
24559 if (PyErr_Occurred()) SWIG_fail
;
24562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24570 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24571 PyObject
*resultobj
;
24572 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24575 PyObject
* obj0
= 0 ;
24576 PyObject
* obj1
= 0 ;
24577 char *kwnames
[] = {
24578 (char *) "self",(char *) "item", NULL
24581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24583 if (SWIG_arg_fail(1)) SWIG_fail
;
24585 arg2
= (long)(SWIG_As_long(obj1
));
24586 if (SWIG_arg_fail(2)) SWIG_fail
;
24589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24590 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
24592 wxPyEndAllowThreads(__tstate
);
24593 if (PyErr_Occurred()) SWIG_fail
;
24597 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24599 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24608 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24609 PyObject
*resultobj
;
24610 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24612 wxString
*arg3
= 0 ;
24613 bool temp3
= false ;
24614 PyObject
* obj0
= 0 ;
24615 PyObject
* obj1
= 0 ;
24616 PyObject
* obj2
= 0 ;
24617 char *kwnames
[] = {
24618 (char *) "self",(char *) "item",(char *) "str", NULL
24621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24623 if (SWIG_arg_fail(1)) SWIG_fail
;
24625 arg2
= (long)(SWIG_As_long(obj1
));
24626 if (SWIG_arg_fail(2)) SWIG_fail
;
24629 arg3
= wxString_in_helper(obj2
);
24630 if (arg3
== NULL
) SWIG_fail
;
24634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24635 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
24637 wxPyEndAllowThreads(__tstate
);
24638 if (PyErr_Occurred()) SWIG_fail
;
24640 Py_INCREF(Py_None
); resultobj
= Py_None
;
24655 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24656 PyObject
*resultobj
;
24657 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24660 PyObject
* obj0
= 0 ;
24661 PyObject
* obj1
= 0 ;
24662 char *kwnames
[] = {
24663 (char *) "self",(char *) "item", NULL
24666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24668 if (SWIG_arg_fail(1)) SWIG_fail
;
24670 arg2
= (long)(SWIG_As_long(obj1
));
24671 if (SWIG_arg_fail(2)) SWIG_fail
;
24674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24675 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
24677 wxPyEndAllowThreads(__tstate
);
24678 if (PyErr_Occurred()) SWIG_fail
;
24681 resultobj
= SWIG_From_long((long)(result
));
24689 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24690 PyObject
*resultobj
;
24691 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24695 PyObject
* obj0
= 0 ;
24696 PyObject
* obj1
= 0 ;
24697 PyObject
* obj2
= 0 ;
24698 char *kwnames
[] = {
24699 (char *) "self",(char *) "item",(char *) "data", NULL
24702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24704 if (SWIG_arg_fail(1)) SWIG_fail
;
24706 arg2
= (long)(SWIG_As_long(obj1
));
24707 if (SWIG_arg_fail(2)) SWIG_fail
;
24710 arg3
= (long)(SWIG_As_long(obj2
));
24711 if (SWIG_arg_fail(3)) SWIG_fail
;
24714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24715 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
24717 wxPyEndAllowThreads(__tstate
);
24718 if (PyErr_Occurred()) SWIG_fail
;
24721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24729 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24730 PyObject
*resultobj
;
24731 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24734 PyObject
* obj0
= 0 ;
24735 PyObject
* obj1
= 0 ;
24736 char *kwnames
[] = {
24737 (char *) "self",(char *) "item", NULL
24740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24742 if (SWIG_arg_fail(1)) SWIG_fail
;
24744 arg2
= (long)(SWIG_As_long(obj1
));
24745 if (SWIG_arg_fail(2)) SWIG_fail
;
24748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24749 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
24751 wxPyEndAllowThreads(__tstate
);
24752 if (PyErr_Occurred()) SWIG_fail
;
24755 wxPoint
* resultptr
;
24756 resultptr
= new wxPoint((wxPoint
&)(result
));
24757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24765 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24766 PyObject
*resultobj
;
24767 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24769 int arg3
= (int) wxLIST_RECT_BOUNDS
;
24771 PyObject
* obj0
= 0 ;
24772 PyObject
* obj1
= 0 ;
24773 PyObject
* obj2
= 0 ;
24774 char *kwnames
[] = {
24775 (char *) "self",(char *) "item",(char *) "code", NULL
24778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24780 if (SWIG_arg_fail(1)) SWIG_fail
;
24782 arg2
= (long)(SWIG_As_long(obj1
));
24783 if (SWIG_arg_fail(2)) SWIG_fail
;
24787 arg3
= (int)(SWIG_As_int(obj2
));
24788 if (SWIG_arg_fail(3)) SWIG_fail
;
24792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24793 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
24795 wxPyEndAllowThreads(__tstate
);
24796 if (PyErr_Occurred()) SWIG_fail
;
24799 wxRect
* resultptr
;
24800 resultptr
= new wxRect((wxRect
&)(result
));
24801 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24809 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24810 PyObject
*resultobj
;
24811 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24813 wxPoint
*arg3
= 0 ;
24816 PyObject
* obj0
= 0 ;
24817 PyObject
* obj1
= 0 ;
24818 PyObject
* obj2
= 0 ;
24819 char *kwnames
[] = {
24820 (char *) "self",(char *) "item",(char *) "pos", NULL
24823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24825 if (SWIG_arg_fail(1)) SWIG_fail
;
24827 arg2
= (long)(SWIG_As_long(obj1
));
24828 if (SWIG_arg_fail(2)) SWIG_fail
;
24832 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24836 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
24838 wxPyEndAllowThreads(__tstate
);
24839 if (PyErr_Occurred()) SWIG_fail
;
24842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24850 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24851 PyObject
*resultobj
;
24852 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24854 PyObject
* obj0
= 0 ;
24855 char *kwnames
[] = {
24856 (char *) "self", NULL
24859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
24860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24861 if (SWIG_arg_fail(1)) SWIG_fail
;
24863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24864 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
24866 wxPyEndAllowThreads(__tstate
);
24867 if (PyErr_Occurred()) SWIG_fail
;
24870 resultobj
= SWIG_From_int((int)(result
));
24878 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24879 PyObject
*resultobj
;
24880 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24882 PyObject
* obj0
= 0 ;
24883 char *kwnames
[] = {
24884 (char *) "self", NULL
24887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
24888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24889 if (SWIG_arg_fail(1)) SWIG_fail
;
24891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24892 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
24894 wxPyEndAllowThreads(__tstate
);
24895 if (PyErr_Occurred()) SWIG_fail
;
24898 resultobj
= SWIG_From_int((int)(result
));
24906 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24907 PyObject
*resultobj
;
24908 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24910 PyObject
* obj0
= 0 ;
24911 char *kwnames
[] = {
24912 (char *) "self", NULL
24915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
24916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24917 if (SWIG_arg_fail(1)) SWIG_fail
;
24919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24920 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
24922 wxPyEndAllowThreads(__tstate
);
24923 if (PyErr_Occurred()) SWIG_fail
;
24926 wxSize
* resultptr
;
24927 resultptr
= new wxSize((wxSize
&)(result
));
24928 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24936 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24937 PyObject
*resultobj
;
24938 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24940 bool arg3
= (bool) false ;
24941 PyObject
* obj0
= 0 ;
24942 PyObject
* obj1
= 0 ;
24943 PyObject
* obj2
= 0 ;
24944 char *kwnames
[] = {
24945 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
24948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24950 if (SWIG_arg_fail(1)) SWIG_fail
;
24952 arg2
= (int)(SWIG_As_int(obj1
));
24953 if (SWIG_arg_fail(2)) SWIG_fail
;
24957 arg3
= (bool)(SWIG_As_bool(obj2
));
24958 if (SWIG_arg_fail(3)) SWIG_fail
;
24962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24963 (arg1
)->SetItemSpacing(arg2
,arg3
);
24965 wxPyEndAllowThreads(__tstate
);
24966 if (PyErr_Occurred()) SWIG_fail
;
24968 Py_INCREF(Py_None
); resultobj
= Py_None
;
24975 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24976 PyObject
*resultobj
;
24977 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24979 PyObject
* obj0
= 0 ;
24980 char *kwnames
[] = {
24981 (char *) "self", NULL
24984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
24985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24986 if (SWIG_arg_fail(1)) SWIG_fail
;
24988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24989 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
24991 wxPyEndAllowThreads(__tstate
);
24992 if (PyErr_Occurred()) SWIG_fail
;
24995 resultobj
= SWIG_From_int((int)(result
));
25003 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25004 PyObject
*resultobj
;
25005 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25007 PyObject
* obj0
= 0 ;
25008 char *kwnames
[] = {
25009 (char *) "self", NULL
25012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
25013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25014 if (SWIG_arg_fail(1)) SWIG_fail
;
25016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25017 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
25019 wxPyEndAllowThreads(__tstate
);
25020 if (PyErr_Occurred()) SWIG_fail
;
25023 wxColour
* resultptr
;
25024 resultptr
= new wxColour((wxColour
&)(result
));
25025 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25033 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25034 PyObject
*resultobj
;
25035 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25036 wxColour
*arg2
= 0 ;
25038 PyObject
* obj0
= 0 ;
25039 PyObject
* obj1
= 0 ;
25040 char *kwnames
[] = {
25041 (char *) "self",(char *) "col", NULL
25044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25046 if (SWIG_arg_fail(1)) SWIG_fail
;
25049 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25053 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25055 wxPyEndAllowThreads(__tstate
);
25056 if (PyErr_Occurred()) SWIG_fail
;
25058 Py_INCREF(Py_None
); resultobj
= Py_None
;
25065 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25066 PyObject
*resultobj
;
25067 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25069 PyObject
* obj0
= 0 ;
25070 char *kwnames
[] = {
25071 (char *) "self", NULL
25074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
25075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25076 if (SWIG_arg_fail(1)) SWIG_fail
;
25078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25079 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
25081 wxPyEndAllowThreads(__tstate
);
25082 if (PyErr_Occurred()) SWIG_fail
;
25085 resultobj
= SWIG_From_long((long)(result
));
25093 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25094 PyObject
*resultobj
;
25095 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25097 bool arg3
= (bool) true ;
25098 PyObject
* obj0
= 0 ;
25099 PyObject
* obj1
= 0 ;
25100 PyObject
* obj2
= 0 ;
25101 char *kwnames
[] = {
25102 (char *) "self",(char *) "style",(char *) "add", NULL
25105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25107 if (SWIG_arg_fail(1)) SWIG_fail
;
25109 arg2
= (long)(SWIG_As_long(obj1
));
25110 if (SWIG_arg_fail(2)) SWIG_fail
;
25114 arg3
= (bool)(SWIG_As_bool(obj2
));
25115 if (SWIG_arg_fail(3)) SWIG_fail
;
25119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25120 (arg1
)->SetSingleStyle(arg2
,arg3
);
25122 wxPyEndAllowThreads(__tstate
);
25123 if (PyErr_Occurred()) SWIG_fail
;
25125 Py_INCREF(Py_None
); resultobj
= Py_None
;
25132 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25133 PyObject
*resultobj
;
25134 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25136 PyObject
* obj0
= 0 ;
25137 PyObject
* obj1
= 0 ;
25138 char *kwnames
[] = {
25139 (char *) "self",(char *) "style", NULL
25142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
25143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25144 if (SWIG_arg_fail(1)) SWIG_fail
;
25146 arg2
= (long)(SWIG_As_long(obj1
));
25147 if (SWIG_arg_fail(2)) SWIG_fail
;
25150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25151 (arg1
)->SetWindowStyleFlag(arg2
);
25153 wxPyEndAllowThreads(__tstate
);
25154 if (PyErr_Occurred()) SWIG_fail
;
25156 Py_INCREF(Py_None
); resultobj
= Py_None
;
25163 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25164 PyObject
*resultobj
;
25165 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25167 int arg3
= (int) wxLIST_NEXT_ALL
;
25168 int arg4
= (int) wxLIST_STATE_DONTCARE
;
25170 PyObject
* obj0
= 0 ;
25171 PyObject
* obj1
= 0 ;
25172 PyObject
* obj2
= 0 ;
25173 PyObject
* obj3
= 0 ;
25174 char *kwnames
[] = {
25175 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25180 if (SWIG_arg_fail(1)) SWIG_fail
;
25182 arg2
= (long)(SWIG_As_long(obj1
));
25183 if (SWIG_arg_fail(2)) SWIG_fail
;
25187 arg3
= (int)(SWIG_As_int(obj2
));
25188 if (SWIG_arg_fail(3)) SWIG_fail
;
25193 arg4
= (int)(SWIG_As_int(obj3
));
25194 if (SWIG_arg_fail(4)) SWIG_fail
;
25198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25199 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
25201 wxPyEndAllowThreads(__tstate
);
25202 if (PyErr_Occurred()) SWIG_fail
;
25205 resultobj
= SWIG_From_long((long)(result
));
25213 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25214 PyObject
*resultobj
;
25215 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25217 wxImageList
*result
;
25218 PyObject
* obj0
= 0 ;
25219 PyObject
* obj1
= 0 ;
25220 char *kwnames
[] = {
25221 (char *) "self",(char *) "which", NULL
25224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25226 if (SWIG_arg_fail(1)) SWIG_fail
;
25228 arg2
= (int)(SWIG_As_int(obj1
));
25229 if (SWIG_arg_fail(2)) SWIG_fail
;
25232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25233 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
25235 wxPyEndAllowThreads(__tstate
);
25236 if (PyErr_Occurred()) SWIG_fail
;
25239 resultobj
= wxPyMake_wxObject(result
, 0);
25247 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25248 PyObject
*resultobj
;
25249 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25250 wxImageList
*arg2
= (wxImageList
*) 0 ;
25252 PyObject
* obj0
= 0 ;
25253 PyObject
* obj1
= 0 ;
25254 PyObject
* obj2
= 0 ;
25255 char *kwnames
[] = {
25256 (char *) "self",(char *) "imageList",(char *) "which", NULL
25259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25261 if (SWIG_arg_fail(1)) SWIG_fail
;
25262 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
25263 if (SWIG_arg_fail(2)) SWIG_fail
;
25265 arg3
= (int)(SWIG_As_int(obj2
));
25266 if (SWIG_arg_fail(3)) SWIG_fail
;
25269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25270 (arg1
)->SetImageList(arg2
,arg3
);
25272 wxPyEndAllowThreads(__tstate
);
25273 if (PyErr_Occurred()) SWIG_fail
;
25275 Py_INCREF(Py_None
); resultobj
= Py_None
;
25282 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25283 PyObject
*resultobj
;
25284 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25285 wxImageList
*arg2
= (wxImageList
*) 0 ;
25287 PyObject
* obj0
= 0 ;
25288 PyObject
* obj1
= 0 ;
25289 PyObject
* obj2
= 0 ;
25290 char *kwnames
[] = {
25291 (char *) "self",(char *) "imageList",(char *) "which", NULL
25294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25296 if (SWIG_arg_fail(1)) SWIG_fail
;
25297 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25298 if (SWIG_arg_fail(2)) SWIG_fail
;
25300 arg3
= (int)(SWIG_As_int(obj2
));
25301 if (SWIG_arg_fail(3)) SWIG_fail
;
25304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25305 (arg1
)->AssignImageList(arg2
,arg3
);
25307 wxPyEndAllowThreads(__tstate
);
25308 if (PyErr_Occurred()) SWIG_fail
;
25310 Py_INCREF(Py_None
); resultobj
= Py_None
;
25317 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25318 PyObject
*resultobj
;
25319 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25321 PyObject
* obj0
= 0 ;
25322 char *kwnames
[] = {
25323 (char *) "self", NULL
25326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
25327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25328 if (SWIG_arg_fail(1)) SWIG_fail
;
25330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25331 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
25333 wxPyEndAllowThreads(__tstate
);
25334 if (PyErr_Occurred()) SWIG_fail
;
25337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25345 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25346 PyObject
*resultobj
;
25347 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25349 PyObject
* obj0
= 0 ;
25350 char *kwnames
[] = {
25351 (char *) "self", NULL
25354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
25355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25356 if (SWIG_arg_fail(1)) SWIG_fail
;
25358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25359 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
25361 wxPyEndAllowThreads(__tstate
);
25362 if (PyErr_Occurred()) SWIG_fail
;
25365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25373 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25374 PyObject
*resultobj
;
25375 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25377 PyObject
* obj0
= 0 ;
25378 PyObject
* obj1
= 0 ;
25379 char *kwnames
[] = {
25380 (char *) "self",(char *) "item", NULL
25383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25385 if (SWIG_arg_fail(1)) SWIG_fail
;
25387 arg2
= (long)(SWIG_As_long(obj1
));
25388 if (SWIG_arg_fail(2)) SWIG_fail
;
25391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25392 (arg1
)->RefreshItem(arg2
);
25394 wxPyEndAllowThreads(__tstate
);
25395 if (PyErr_Occurred()) SWIG_fail
;
25397 Py_INCREF(Py_None
); resultobj
= Py_None
;
25404 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25405 PyObject
*resultobj
;
25406 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25409 PyObject
* obj0
= 0 ;
25410 PyObject
* obj1
= 0 ;
25411 PyObject
* obj2
= 0 ;
25412 char *kwnames
[] = {
25413 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25418 if (SWIG_arg_fail(1)) SWIG_fail
;
25420 arg2
= (long)(SWIG_As_long(obj1
));
25421 if (SWIG_arg_fail(2)) SWIG_fail
;
25424 arg3
= (long)(SWIG_As_long(obj2
));
25425 if (SWIG_arg_fail(3)) SWIG_fail
;
25428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25429 (arg1
)->RefreshItems(arg2
,arg3
);
25431 wxPyEndAllowThreads(__tstate
);
25432 if (PyErr_Occurred()) SWIG_fail
;
25434 Py_INCREF(Py_None
); resultobj
= Py_None
;
25441 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25442 PyObject
*resultobj
;
25443 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25444 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
25446 PyObject
* obj0
= 0 ;
25447 PyObject
* obj1
= 0 ;
25448 char *kwnames
[] = {
25449 (char *) "self",(char *) "flag", NULL
25452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
25453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25454 if (SWIG_arg_fail(1)) SWIG_fail
;
25457 arg2
= (int)(SWIG_As_int(obj1
));
25458 if (SWIG_arg_fail(2)) SWIG_fail
;
25462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25463 result
= (bool)(arg1
)->Arrange(arg2
);
25465 wxPyEndAllowThreads(__tstate
);
25466 if (PyErr_Occurred()) SWIG_fail
;
25469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25477 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25478 PyObject
*resultobj
;
25479 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25482 PyObject
* obj0
= 0 ;
25483 PyObject
* obj1
= 0 ;
25484 char *kwnames
[] = {
25485 (char *) "self",(char *) "item", NULL
25488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25490 if (SWIG_arg_fail(1)) SWIG_fail
;
25492 arg2
= (long)(SWIG_As_long(obj1
));
25493 if (SWIG_arg_fail(2)) SWIG_fail
;
25496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25497 result
= (bool)(arg1
)->DeleteItem(arg2
);
25499 wxPyEndAllowThreads(__tstate
);
25500 if (PyErr_Occurred()) SWIG_fail
;
25503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25511 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25512 PyObject
*resultobj
;
25513 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25515 PyObject
* obj0
= 0 ;
25516 char *kwnames
[] = {
25517 (char *) "self", NULL
25520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25522 if (SWIG_arg_fail(1)) SWIG_fail
;
25524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25525 result
= (bool)(arg1
)->DeleteAllItems();
25527 wxPyEndAllowThreads(__tstate
);
25528 if (PyErr_Occurred()) SWIG_fail
;
25531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25539 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25540 PyObject
*resultobj
;
25541 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25544 PyObject
* obj0
= 0 ;
25545 PyObject
* obj1
= 0 ;
25546 char *kwnames
[] = {
25547 (char *) "self",(char *) "col", NULL
25550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25552 if (SWIG_arg_fail(1)) SWIG_fail
;
25554 arg2
= (int)(SWIG_As_int(obj1
));
25555 if (SWIG_arg_fail(2)) SWIG_fail
;
25558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25559 result
= (bool)(arg1
)->DeleteColumn(arg2
);
25561 wxPyEndAllowThreads(__tstate
);
25562 if (PyErr_Occurred()) SWIG_fail
;
25565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25573 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25574 PyObject
*resultobj
;
25575 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25577 PyObject
* obj0
= 0 ;
25578 char *kwnames
[] = {
25579 (char *) "self", NULL
25582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
25583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25584 if (SWIG_arg_fail(1)) SWIG_fail
;
25586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25587 result
= (bool)(arg1
)->DeleteAllColumns();
25589 wxPyEndAllowThreads(__tstate
);
25590 if (PyErr_Occurred()) SWIG_fail
;
25593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25601 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25602 PyObject
*resultobj
;
25603 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25604 PyObject
* obj0
= 0 ;
25605 char *kwnames
[] = {
25606 (char *) "self", NULL
25609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
25610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25611 if (SWIG_arg_fail(1)) SWIG_fail
;
25613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25614 (arg1
)->ClearAll();
25616 wxPyEndAllowThreads(__tstate
);
25617 if (PyErr_Occurred()) SWIG_fail
;
25619 Py_INCREF(Py_None
); resultobj
= Py_None
;
25626 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25627 PyObject
*resultobj
;
25628 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25630 PyObject
* obj0
= 0 ;
25631 PyObject
* obj1
= 0 ;
25632 char *kwnames
[] = {
25633 (char *) "self",(char *) "item", NULL
25636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25638 if (SWIG_arg_fail(1)) SWIG_fail
;
25640 arg2
= (long)(SWIG_As_long(obj1
));
25641 if (SWIG_arg_fail(2)) SWIG_fail
;
25644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25645 (arg1
)->EditLabel(arg2
);
25647 wxPyEndAllowThreads(__tstate
);
25648 if (PyErr_Occurred()) SWIG_fail
;
25650 Py_INCREF(Py_None
); resultobj
= Py_None
;
25657 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25658 PyObject
*resultobj
;
25659 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25662 PyObject
* obj0
= 0 ;
25663 PyObject
* obj1
= 0 ;
25664 char *kwnames
[] = {
25665 (char *) "self",(char *) "item", NULL
25668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25670 if (SWIG_arg_fail(1)) SWIG_fail
;
25672 arg2
= (long)(SWIG_As_long(obj1
));
25673 if (SWIG_arg_fail(2)) SWIG_fail
;
25676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25677 result
= (bool)(arg1
)->EnsureVisible(arg2
);
25679 wxPyEndAllowThreads(__tstate
);
25680 if (PyErr_Occurred()) SWIG_fail
;
25683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25691 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25692 PyObject
*resultobj
;
25693 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25695 wxString
*arg3
= 0 ;
25696 bool arg4
= (bool) false ;
25698 bool temp3
= false ;
25699 PyObject
* obj0
= 0 ;
25700 PyObject
* obj1
= 0 ;
25701 PyObject
* obj2
= 0 ;
25702 PyObject
* obj3
= 0 ;
25703 char *kwnames
[] = {
25704 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25709 if (SWIG_arg_fail(1)) SWIG_fail
;
25711 arg2
= (long)(SWIG_As_long(obj1
));
25712 if (SWIG_arg_fail(2)) SWIG_fail
;
25715 arg3
= wxString_in_helper(obj2
);
25716 if (arg3
== NULL
) SWIG_fail
;
25721 arg4
= (bool)(SWIG_As_bool(obj3
));
25722 if (SWIG_arg_fail(4)) SWIG_fail
;
25726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25727 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
25729 wxPyEndAllowThreads(__tstate
);
25730 if (PyErr_Occurred()) SWIG_fail
;
25733 resultobj
= SWIG_From_long((long)(result
));
25749 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25750 PyObject
*resultobj
;
25751 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25755 PyObject
* obj0
= 0 ;
25756 PyObject
* obj1
= 0 ;
25757 PyObject
* obj2
= 0 ;
25758 char *kwnames
[] = {
25759 (char *) "self",(char *) "start",(char *) "data", NULL
25762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25764 if (SWIG_arg_fail(1)) SWIG_fail
;
25766 arg2
= (long)(SWIG_As_long(obj1
));
25767 if (SWIG_arg_fail(2)) SWIG_fail
;
25770 arg3
= (long)(SWIG_As_long(obj2
));
25771 if (SWIG_arg_fail(3)) SWIG_fail
;
25774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25775 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
25777 wxPyEndAllowThreads(__tstate
);
25778 if (PyErr_Occurred()) SWIG_fail
;
25781 resultobj
= SWIG_From_long((long)(result
));
25789 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25790 PyObject
*resultobj
;
25791 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25793 wxPoint
*arg3
= 0 ;
25797 PyObject
* obj0
= 0 ;
25798 PyObject
* obj1
= 0 ;
25799 PyObject
* obj2
= 0 ;
25800 PyObject
* obj3
= 0 ;
25801 char *kwnames
[] = {
25802 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25807 if (SWIG_arg_fail(1)) SWIG_fail
;
25809 arg2
= (long)(SWIG_As_long(obj1
));
25810 if (SWIG_arg_fail(2)) SWIG_fail
;
25814 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25817 arg4
= (int)(SWIG_As_int(obj3
));
25818 if (SWIG_arg_fail(4)) SWIG_fail
;
25821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25822 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
25824 wxPyEndAllowThreads(__tstate
);
25825 if (PyErr_Occurred()) SWIG_fail
;
25828 resultobj
= SWIG_From_long((long)(result
));
25836 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25837 PyObject
*resultobj
;
25838 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25839 wxPoint
*arg2
= 0 ;
25845 PyObject
* obj0
= 0 ;
25846 PyObject
* obj1
= 0 ;
25847 char *kwnames
[] = {
25848 (char *) "self",(char *) "point", NULL
25851 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25854 if (SWIG_arg_fail(1)) SWIG_fail
;
25857 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25861 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
25863 wxPyEndAllowThreads(__tstate
);
25864 if (PyErr_Occurred()) SWIG_fail
;
25867 resultobj
= SWIG_From_long((long)(result
));
25869 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25870 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25877 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25878 PyObject
*resultobj
;
25879 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25880 wxListItem
*arg2
= 0 ;
25882 PyObject
* obj0
= 0 ;
25883 PyObject
* obj1
= 0 ;
25884 char *kwnames
[] = {
25885 (char *) "self",(char *) "info", NULL
25888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25890 if (SWIG_arg_fail(1)) SWIG_fail
;
25892 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25893 if (SWIG_arg_fail(2)) SWIG_fail
;
25894 if (arg2
== NULL
) {
25895 SWIG_null_ref("wxListItem");
25897 if (SWIG_arg_fail(2)) SWIG_fail
;
25900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25901 result
= (long)(arg1
)->InsertItem(*arg2
);
25903 wxPyEndAllowThreads(__tstate
);
25904 if (PyErr_Occurred()) SWIG_fail
;
25907 resultobj
= SWIG_From_long((long)(result
));
25915 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25916 PyObject
*resultobj
;
25917 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25919 wxString
*arg3
= 0 ;
25921 bool temp3
= false ;
25922 PyObject
* obj0
= 0 ;
25923 PyObject
* obj1
= 0 ;
25924 PyObject
* obj2
= 0 ;
25925 char *kwnames
[] = {
25926 (char *) "self",(char *) "index",(char *) "label", NULL
25929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25931 if (SWIG_arg_fail(1)) SWIG_fail
;
25933 arg2
= (long)(SWIG_As_long(obj1
));
25934 if (SWIG_arg_fail(2)) SWIG_fail
;
25937 arg3
= wxString_in_helper(obj2
);
25938 if (arg3
== NULL
) SWIG_fail
;
25942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25943 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
25945 wxPyEndAllowThreads(__tstate
);
25946 if (PyErr_Occurred()) SWIG_fail
;
25949 resultobj
= SWIG_From_long((long)(result
));
25965 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25966 PyObject
*resultobj
;
25967 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25971 PyObject
* obj0
= 0 ;
25972 PyObject
* obj1
= 0 ;
25973 PyObject
* obj2
= 0 ;
25974 char *kwnames
[] = {
25975 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
25978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25980 if (SWIG_arg_fail(1)) SWIG_fail
;
25982 arg2
= (long)(SWIG_As_long(obj1
));
25983 if (SWIG_arg_fail(2)) SWIG_fail
;
25986 arg3
= (int)(SWIG_As_int(obj2
));
25987 if (SWIG_arg_fail(3)) SWIG_fail
;
25990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25991 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
25993 wxPyEndAllowThreads(__tstate
);
25994 if (PyErr_Occurred()) SWIG_fail
;
25997 resultobj
= SWIG_From_long((long)(result
));
26005 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26006 PyObject
*resultobj
;
26007 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26009 wxString
*arg3
= 0 ;
26012 bool temp3
= false ;
26013 PyObject
* obj0
= 0 ;
26014 PyObject
* obj1
= 0 ;
26015 PyObject
* obj2
= 0 ;
26016 PyObject
* obj3
= 0 ;
26017 char *kwnames
[] = {
26018 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26023 if (SWIG_arg_fail(1)) SWIG_fail
;
26025 arg2
= (long)(SWIG_As_long(obj1
));
26026 if (SWIG_arg_fail(2)) SWIG_fail
;
26029 arg3
= wxString_in_helper(obj2
);
26030 if (arg3
== NULL
) SWIG_fail
;
26034 arg4
= (int)(SWIG_As_int(obj3
));
26035 if (SWIG_arg_fail(4)) SWIG_fail
;
26038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26039 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
26041 wxPyEndAllowThreads(__tstate
);
26042 if (PyErr_Occurred()) SWIG_fail
;
26045 resultobj
= SWIG_From_long((long)(result
));
26061 static PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26062 PyObject
*resultobj
;
26063 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26065 wxListItem
*arg3
= 0 ;
26067 PyObject
* obj0
= 0 ;
26068 PyObject
* obj1
= 0 ;
26069 PyObject
* obj2
= 0 ;
26070 char *kwnames
[] = {
26071 (char *) "self",(char *) "col",(char *) "info", NULL
26074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26076 if (SWIG_arg_fail(1)) SWIG_fail
;
26078 arg2
= (long)(SWIG_As_long(obj1
));
26079 if (SWIG_arg_fail(2)) SWIG_fail
;
26082 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26083 if (SWIG_arg_fail(3)) SWIG_fail
;
26084 if (arg3
== NULL
) {
26085 SWIG_null_ref("wxListItem");
26087 if (SWIG_arg_fail(3)) SWIG_fail
;
26090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26091 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
26093 wxPyEndAllowThreads(__tstate
);
26094 if (PyErr_Occurred()) SWIG_fail
;
26097 resultobj
= SWIG_From_long((long)(result
));
26105 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26106 PyObject
*resultobj
;
26107 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26109 wxString
*arg3
= 0 ;
26110 int arg4
= (int) wxLIST_FORMAT_LEFT
;
26111 int arg5
= (int) -1 ;
26113 bool temp3
= false ;
26114 PyObject
* obj0
= 0 ;
26115 PyObject
* obj1
= 0 ;
26116 PyObject
* obj2
= 0 ;
26117 PyObject
* obj3
= 0 ;
26118 PyObject
* obj4
= 0 ;
26119 char *kwnames
[] = {
26120 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26125 if (SWIG_arg_fail(1)) SWIG_fail
;
26127 arg2
= (long)(SWIG_As_long(obj1
));
26128 if (SWIG_arg_fail(2)) SWIG_fail
;
26131 arg3
= wxString_in_helper(obj2
);
26132 if (arg3
== NULL
) SWIG_fail
;
26137 arg4
= (int)(SWIG_As_int(obj3
));
26138 if (SWIG_arg_fail(4)) SWIG_fail
;
26143 arg5
= (int)(SWIG_As_int(obj4
));
26144 if (SWIG_arg_fail(5)) SWIG_fail
;
26148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26149 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
26151 wxPyEndAllowThreads(__tstate
);
26152 if (PyErr_Occurred()) SWIG_fail
;
26155 resultobj
= SWIG_From_long((long)(result
));
26171 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26172 PyObject
*resultobj
;
26173 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26175 PyObject
* obj0
= 0 ;
26176 PyObject
* obj1
= 0 ;
26177 char *kwnames
[] = {
26178 (char *) "self",(char *) "count", NULL
26181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26183 if (SWIG_arg_fail(1)) SWIG_fail
;
26185 arg2
= (long)(SWIG_As_long(obj1
));
26186 if (SWIG_arg_fail(2)) SWIG_fail
;
26189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26190 (arg1
)->SetItemCount(arg2
);
26192 wxPyEndAllowThreads(__tstate
);
26193 if (PyErr_Occurred()) SWIG_fail
;
26195 Py_INCREF(Py_None
); resultobj
= Py_None
;
26202 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26203 PyObject
*resultobj
;
26204 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26208 PyObject
* obj0
= 0 ;
26209 PyObject
* obj1
= 0 ;
26210 PyObject
* obj2
= 0 ;
26211 char *kwnames
[] = {
26212 (char *) "self",(char *) "dx",(char *) "dy", NULL
26215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26217 if (SWIG_arg_fail(1)) SWIG_fail
;
26219 arg2
= (int)(SWIG_As_int(obj1
));
26220 if (SWIG_arg_fail(2)) SWIG_fail
;
26223 arg3
= (int)(SWIG_As_int(obj2
));
26224 if (SWIG_arg_fail(3)) SWIG_fail
;
26227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26228 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
26230 wxPyEndAllowThreads(__tstate
);
26231 if (PyErr_Occurred()) SWIG_fail
;
26234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26242 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26243 PyObject
*resultobj
;
26244 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26246 wxColour
*arg3
= 0 ;
26248 PyObject
* obj0
= 0 ;
26249 PyObject
* obj1
= 0 ;
26250 PyObject
* obj2
= 0 ;
26251 char *kwnames
[] = {
26252 (char *) "self",(char *) "item",(char *) "col", NULL
26255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26257 if (SWIG_arg_fail(1)) SWIG_fail
;
26259 arg2
= (long)(SWIG_As_long(obj1
));
26260 if (SWIG_arg_fail(2)) SWIG_fail
;
26264 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26268 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
26270 wxPyEndAllowThreads(__tstate
);
26271 if (PyErr_Occurred()) SWIG_fail
;
26273 Py_INCREF(Py_None
); resultobj
= Py_None
;
26280 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26281 PyObject
*resultobj
;
26282 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26285 PyObject
* obj0
= 0 ;
26286 PyObject
* obj1
= 0 ;
26287 char *kwnames
[] = {
26288 (char *) "self",(char *) "item", NULL
26291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26293 if (SWIG_arg_fail(1)) SWIG_fail
;
26295 arg2
= (long)(SWIG_As_long(obj1
));
26296 if (SWIG_arg_fail(2)) SWIG_fail
;
26299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26300 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
26302 wxPyEndAllowThreads(__tstate
);
26303 if (PyErr_Occurred()) SWIG_fail
;
26306 wxColour
* resultptr
;
26307 resultptr
= new wxColour((wxColour
&)(result
));
26308 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26316 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26317 PyObject
*resultobj
;
26318 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26320 wxColour
*arg3
= 0 ;
26322 PyObject
* obj0
= 0 ;
26323 PyObject
* obj1
= 0 ;
26324 PyObject
* obj2
= 0 ;
26325 char *kwnames
[] = {
26326 (char *) "self",(char *) "item",(char *) "col", NULL
26329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26331 if (SWIG_arg_fail(1)) SWIG_fail
;
26333 arg2
= (long)(SWIG_As_long(obj1
));
26334 if (SWIG_arg_fail(2)) SWIG_fail
;
26338 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26342 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
26344 wxPyEndAllowThreads(__tstate
);
26345 if (PyErr_Occurred()) SWIG_fail
;
26347 Py_INCREF(Py_None
); resultobj
= Py_None
;
26354 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26355 PyObject
*resultobj
;
26356 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26359 PyObject
* obj0
= 0 ;
26360 PyObject
* obj1
= 0 ;
26361 char *kwnames
[] = {
26362 (char *) "self",(char *) "item", NULL
26365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26367 if (SWIG_arg_fail(1)) SWIG_fail
;
26369 arg2
= (long)(SWIG_As_long(obj1
));
26370 if (SWIG_arg_fail(2)) SWIG_fail
;
26373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26374 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
26376 wxPyEndAllowThreads(__tstate
);
26377 if (PyErr_Occurred()) SWIG_fail
;
26380 wxColour
* resultptr
;
26381 resultptr
= new wxColour((wxColour
&)(result
));
26382 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26390 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26391 PyObject
*resultobj
;
26392 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26393 PyObject
*arg2
= (PyObject
*) 0 ;
26395 PyObject
* obj0
= 0 ;
26396 PyObject
* obj1
= 0 ;
26397 char *kwnames
[] = {
26398 (char *) "self",(char *) "func", NULL
26401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
26402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26403 if (SWIG_arg_fail(1)) SWIG_fail
;
26406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26407 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
26409 wxPyEndAllowThreads(__tstate
);
26410 if (PyErr_Occurred()) SWIG_fail
;
26413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26421 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26422 PyObject
*resultobj
;
26423 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26425 PyObject
* obj0
= 0 ;
26426 char *kwnames
[] = {
26427 (char *) "self", NULL
26430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
26431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26432 if (SWIG_arg_fail(1)) SWIG_fail
;
26434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26435 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
26437 wxPyEndAllowThreads(__tstate
);
26438 if (PyErr_Occurred()) SWIG_fail
;
26441 resultobj
= wxPyMake_wxObject(result
, 0);
26449 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26450 PyObject
*resultobj
;
26451 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26452 wxVisualAttributes result
;
26453 PyObject
* obj0
= 0 ;
26454 char *kwnames
[] = {
26455 (char *) "variant", NULL
26458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26461 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
26462 if (SWIG_arg_fail(1)) SWIG_fail
;
26466 if (!wxPyCheckForApp()) SWIG_fail
;
26467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26468 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26470 wxPyEndAllowThreads(__tstate
);
26471 if (PyErr_Occurred()) SWIG_fail
;
26474 wxVisualAttributes
* resultptr
;
26475 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
26476 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26484 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
26486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26487 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
26489 return Py_BuildValue((char *)"");
26491 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26492 PyObject
*resultobj
;
26493 wxWindow
*arg1
= (wxWindow
*) 0 ;
26494 int arg2
= (int) -1 ;
26495 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26496 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26497 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26498 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26499 long arg5
= (long) wxLC_REPORT
;
26500 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
26501 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
26502 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
26503 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26504 wxListView
*result
;
26507 bool temp7
= false ;
26508 PyObject
* obj0
= 0 ;
26509 PyObject
* obj1
= 0 ;
26510 PyObject
* obj2
= 0 ;
26511 PyObject
* obj3
= 0 ;
26512 PyObject
* obj4
= 0 ;
26513 PyObject
* obj5
= 0 ;
26514 PyObject
* obj6
= 0 ;
26515 char *kwnames
[] = {
26516 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26521 if (SWIG_arg_fail(1)) SWIG_fail
;
26524 arg2
= (int)(SWIG_As_int(obj1
));
26525 if (SWIG_arg_fail(2)) SWIG_fail
;
26531 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26537 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26542 arg5
= (long)(SWIG_As_long(obj4
));
26543 if (SWIG_arg_fail(5)) SWIG_fail
;
26548 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26549 if (SWIG_arg_fail(6)) SWIG_fail
;
26550 if (arg6
== NULL
) {
26551 SWIG_null_ref("wxValidator");
26553 if (SWIG_arg_fail(6)) SWIG_fail
;
26558 arg7
= wxString_in_helper(obj6
);
26559 if (arg7
== NULL
) SWIG_fail
;
26564 if (!wxPyCheckForApp()) SWIG_fail
;
26565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26566 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
26568 wxPyEndAllowThreads(__tstate
);
26569 if (PyErr_Occurred()) SWIG_fail
;
26571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26586 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26587 PyObject
*resultobj
;
26588 wxListView
*result
;
26589 char *kwnames
[] = {
26593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
26595 if (!wxPyCheckForApp()) SWIG_fail
;
26596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26597 result
= (wxListView
*)new wxListView();
26599 wxPyEndAllowThreads(__tstate
);
26600 if (PyErr_Occurred()) SWIG_fail
;
26602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26609 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26610 PyObject
*resultobj
;
26611 wxListView
*arg1
= (wxListView
*) 0 ;
26612 wxWindow
*arg2
= (wxWindow
*) 0 ;
26613 int arg3
= (int) -1 ;
26614 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26615 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26616 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26617 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26618 long arg6
= (long) wxLC_REPORT
;
26619 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
26620 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
26621 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
26622 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26626 bool temp8
= false ;
26627 PyObject
* obj0
= 0 ;
26628 PyObject
* obj1
= 0 ;
26629 PyObject
* obj2
= 0 ;
26630 PyObject
* obj3
= 0 ;
26631 PyObject
* obj4
= 0 ;
26632 PyObject
* obj5
= 0 ;
26633 PyObject
* obj6
= 0 ;
26634 PyObject
* obj7
= 0 ;
26635 char *kwnames
[] = {
26636 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
26640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26641 if (SWIG_arg_fail(1)) SWIG_fail
;
26642 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26643 if (SWIG_arg_fail(2)) SWIG_fail
;
26646 arg3
= (int)(SWIG_As_int(obj2
));
26647 if (SWIG_arg_fail(3)) SWIG_fail
;
26653 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26659 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26664 arg6
= (long)(SWIG_As_long(obj5
));
26665 if (SWIG_arg_fail(6)) SWIG_fail
;
26670 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26671 if (SWIG_arg_fail(7)) SWIG_fail
;
26672 if (arg7
== NULL
) {
26673 SWIG_null_ref("wxValidator");
26675 if (SWIG_arg_fail(7)) SWIG_fail
;
26680 arg8
= wxString_in_helper(obj7
);
26681 if (arg8
== NULL
) SWIG_fail
;
26686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26687 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
26689 wxPyEndAllowThreads(__tstate
);
26690 if (PyErr_Occurred()) SWIG_fail
;
26693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26709 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26710 PyObject
*resultobj
;
26711 wxListView
*arg1
= (wxListView
*) 0 ;
26713 bool arg3
= (bool) true ;
26714 PyObject
* obj0
= 0 ;
26715 PyObject
* obj1
= 0 ;
26716 PyObject
* obj2
= 0 ;
26717 char *kwnames
[] = {
26718 (char *) "self",(char *) "n",(char *) "on", NULL
26721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26723 if (SWIG_arg_fail(1)) SWIG_fail
;
26725 arg2
= (long)(SWIG_As_long(obj1
));
26726 if (SWIG_arg_fail(2)) SWIG_fail
;
26730 arg3
= (bool)(SWIG_As_bool(obj2
));
26731 if (SWIG_arg_fail(3)) SWIG_fail
;
26735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26736 (arg1
)->Select(arg2
,arg3
);
26738 wxPyEndAllowThreads(__tstate
);
26739 if (PyErr_Occurred()) SWIG_fail
;
26741 Py_INCREF(Py_None
); resultobj
= Py_None
;
26748 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26749 PyObject
*resultobj
;
26750 wxListView
*arg1
= (wxListView
*) 0 ;
26752 PyObject
* obj0
= 0 ;
26753 PyObject
* obj1
= 0 ;
26754 char *kwnames
[] = {
26755 (char *) "self",(char *) "index", NULL
26758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
26759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26760 if (SWIG_arg_fail(1)) SWIG_fail
;
26762 arg2
= (long)(SWIG_As_long(obj1
));
26763 if (SWIG_arg_fail(2)) SWIG_fail
;
26766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26767 (arg1
)->Focus(arg2
);
26769 wxPyEndAllowThreads(__tstate
);
26770 if (PyErr_Occurred()) SWIG_fail
;
26772 Py_INCREF(Py_None
); resultobj
= Py_None
;
26779 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26780 PyObject
*resultobj
;
26781 wxListView
*arg1
= (wxListView
*) 0 ;
26783 PyObject
* obj0
= 0 ;
26784 char *kwnames
[] = {
26785 (char *) "self", NULL
26788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
26789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26790 if (SWIG_arg_fail(1)) SWIG_fail
;
26792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26793 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
26795 wxPyEndAllowThreads(__tstate
);
26796 if (PyErr_Occurred()) SWIG_fail
;
26799 resultobj
= SWIG_From_long((long)(result
));
26807 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26808 PyObject
*resultobj
;
26809 wxListView
*arg1
= (wxListView
*) 0 ;
26812 PyObject
* obj0
= 0 ;
26813 PyObject
* obj1
= 0 ;
26814 char *kwnames
[] = {
26815 (char *) "self",(char *) "item", NULL
26818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26820 if (SWIG_arg_fail(1)) SWIG_fail
;
26822 arg2
= (long)(SWIG_As_long(obj1
));
26823 if (SWIG_arg_fail(2)) SWIG_fail
;
26826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26827 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
26829 wxPyEndAllowThreads(__tstate
);
26830 if (PyErr_Occurred()) SWIG_fail
;
26833 resultobj
= SWIG_From_long((long)(result
));
26841 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26842 PyObject
*resultobj
;
26843 wxListView
*arg1
= (wxListView
*) 0 ;
26845 PyObject
* obj0
= 0 ;
26846 char *kwnames
[] = {
26847 (char *) "self", NULL
26850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
26851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26852 if (SWIG_arg_fail(1)) SWIG_fail
;
26854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26855 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
26857 wxPyEndAllowThreads(__tstate
);
26858 if (PyErr_Occurred()) SWIG_fail
;
26861 resultobj
= SWIG_From_long((long)(result
));
26869 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26870 PyObject
*resultobj
;
26871 wxListView
*arg1
= (wxListView
*) 0 ;
26874 PyObject
* obj0
= 0 ;
26875 PyObject
* obj1
= 0 ;
26876 char *kwnames
[] = {
26877 (char *) "self",(char *) "index", NULL
26880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26882 if (SWIG_arg_fail(1)) SWIG_fail
;
26884 arg2
= (long)(SWIG_As_long(obj1
));
26885 if (SWIG_arg_fail(2)) SWIG_fail
;
26888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26889 result
= (bool)(arg1
)->IsSelected(arg2
);
26891 wxPyEndAllowThreads(__tstate
);
26892 if (PyErr_Occurred()) SWIG_fail
;
26895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26903 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26904 PyObject
*resultobj
;
26905 wxListView
*arg1
= (wxListView
*) 0 ;
26908 PyObject
* obj0
= 0 ;
26909 PyObject
* obj1
= 0 ;
26910 PyObject
* obj2
= 0 ;
26911 char *kwnames
[] = {
26912 (char *) "self",(char *) "col",(char *) "image", NULL
26915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26917 if (SWIG_arg_fail(1)) SWIG_fail
;
26919 arg2
= (int)(SWIG_As_int(obj1
));
26920 if (SWIG_arg_fail(2)) SWIG_fail
;
26923 arg3
= (int)(SWIG_As_int(obj2
));
26924 if (SWIG_arg_fail(3)) SWIG_fail
;
26927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26928 (arg1
)->SetColumnImage(arg2
,arg3
);
26930 wxPyEndAllowThreads(__tstate
);
26931 if (PyErr_Occurred()) SWIG_fail
;
26933 Py_INCREF(Py_None
); resultobj
= Py_None
;
26940 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26941 PyObject
*resultobj
;
26942 wxListView
*arg1
= (wxListView
*) 0 ;
26944 PyObject
* obj0
= 0 ;
26945 PyObject
* obj1
= 0 ;
26946 char *kwnames
[] = {
26947 (char *) "self",(char *) "col", NULL
26950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
26951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26952 if (SWIG_arg_fail(1)) SWIG_fail
;
26954 arg2
= (int)(SWIG_As_int(obj1
));
26955 if (SWIG_arg_fail(2)) SWIG_fail
;
26958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26959 (arg1
)->ClearColumnImage(arg2
);
26961 wxPyEndAllowThreads(__tstate
);
26962 if (PyErr_Occurred()) SWIG_fail
;
26964 Py_INCREF(Py_None
); resultobj
= Py_None
;
26971 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
26973 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26974 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
26976 return Py_BuildValue((char *)"");
26978 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
26979 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
26984 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
26989 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
26991 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
26998 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26999 PyObject
*resultobj
;
27000 wxTreeItemId
*result
;
27001 char *kwnames
[] = {
27005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
27007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27008 result
= (wxTreeItemId
*)new wxTreeItemId();
27010 wxPyEndAllowThreads(__tstate
);
27011 if (PyErr_Occurred()) SWIG_fail
;
27013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
27020 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27021 PyObject
*resultobj
;
27022 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27023 PyObject
* obj0
= 0 ;
27024 char *kwnames
[] = {
27025 (char *) "self", NULL
27028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
27029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27030 if (SWIG_arg_fail(1)) SWIG_fail
;
27032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27035 wxPyEndAllowThreads(__tstate
);
27036 if (PyErr_Occurred()) SWIG_fail
;
27038 Py_INCREF(Py_None
); resultobj
= Py_None
;
27045 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27046 PyObject
*resultobj
;
27047 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27049 PyObject
* obj0
= 0 ;
27050 char *kwnames
[] = {
27051 (char *) "self", NULL
27054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
27055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27056 if (SWIG_arg_fail(1)) SWIG_fail
;
27058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27059 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
27061 wxPyEndAllowThreads(__tstate
);
27062 if (PyErr_Occurred()) SWIG_fail
;
27065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27073 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27074 PyObject
*resultobj
;
27075 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27076 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27078 PyObject
* obj0
= 0 ;
27079 PyObject
* obj1
= 0 ;
27080 char *kwnames
[] = {
27081 (char *) "self",(char *) "other", NULL
27084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27086 if (SWIG_arg_fail(1)) SWIG_fail
;
27087 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27088 if (SWIG_arg_fail(2)) SWIG_fail
;
27090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27091 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
27093 wxPyEndAllowThreads(__tstate
);
27094 if (PyErr_Occurred()) SWIG_fail
;
27097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27105 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27106 PyObject
*resultobj
;
27107 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27108 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27110 PyObject
* obj0
= 0 ;
27111 PyObject
* obj1
= 0 ;
27112 char *kwnames
[] = {
27113 (char *) "self",(char *) "other", NULL
27116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27118 if (SWIG_arg_fail(1)) SWIG_fail
;
27119 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27120 if (SWIG_arg_fail(2)) SWIG_fail
;
27122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27123 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
27125 wxPyEndAllowThreads(__tstate
);
27126 if (PyErr_Occurred()) SWIG_fail
;
27129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27137 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27138 PyObject
*resultobj
;
27139 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27140 void *arg2
= (void *) 0 ;
27141 PyObject
* obj0
= 0 ;
27142 PyObject
* obj1
= 0 ;
27143 char *kwnames
[] = {
27144 (char *) "self",(char *) "m_pItem", NULL
27147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27149 if (SWIG_arg_fail(1)) SWIG_fail
;
27151 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
27152 SWIG_arg_fail(2);SWIG_fail
;
27155 if (arg1
) (arg1
)->m_pItem
= arg2
;
27157 Py_INCREF(Py_None
); resultobj
= Py_None
;
27164 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27165 PyObject
*resultobj
;
27166 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27168 PyObject
* obj0
= 0 ;
27169 char *kwnames
[] = {
27170 (char *) "self", NULL
27173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
27174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27175 if (SWIG_arg_fail(1)) SWIG_fail
;
27176 result
= (void *) ((arg1
)->m_pItem
);
27178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
27185 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
27187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27188 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
27190 return Py_BuildValue((char *)"");
27192 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27193 PyObject
*resultobj
;
27194 PyObject
*arg1
= (PyObject
*) NULL
;
27195 wxPyTreeItemData
*result
;
27196 PyObject
* obj0
= 0 ;
27197 char *kwnames
[] = {
27198 (char *) "obj", NULL
27201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
27206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27207 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
27209 wxPyEndAllowThreads(__tstate
);
27210 if (PyErr_Occurred()) SWIG_fail
;
27212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
27219 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27220 PyObject
*resultobj
;
27221 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27223 PyObject
* obj0
= 0 ;
27224 char *kwnames
[] = {
27225 (char *) "self", NULL
27228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
27229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27230 if (SWIG_arg_fail(1)) SWIG_fail
;
27232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27233 result
= (PyObject
*)(arg1
)->GetData();
27235 wxPyEndAllowThreads(__tstate
);
27236 if (PyErr_Occurred()) SWIG_fail
;
27238 resultobj
= result
;
27245 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27246 PyObject
*resultobj
;
27247 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27248 PyObject
*arg2
= (PyObject
*) 0 ;
27249 PyObject
* obj0
= 0 ;
27250 PyObject
* obj1
= 0 ;
27251 char *kwnames
[] = {
27252 (char *) "self",(char *) "obj", NULL
27255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27257 if (SWIG_arg_fail(1)) SWIG_fail
;
27260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27261 (arg1
)->SetData(arg2
);
27263 wxPyEndAllowThreads(__tstate
);
27264 if (PyErr_Occurred()) SWIG_fail
;
27266 Py_INCREF(Py_None
); resultobj
= Py_None
;
27273 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27274 PyObject
*resultobj
;
27275 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27276 wxTreeItemId
*result
;
27277 PyObject
* obj0
= 0 ;
27278 char *kwnames
[] = {
27279 (char *) "self", NULL
27282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
27283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27284 if (SWIG_arg_fail(1)) SWIG_fail
;
27286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27288 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
27289 result
= (wxTreeItemId
*) &_result_ref
;
27292 wxPyEndAllowThreads(__tstate
);
27293 if (PyErr_Occurred()) SWIG_fail
;
27295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
27302 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27303 PyObject
*resultobj
;
27304 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27305 wxTreeItemId
*arg2
= 0 ;
27306 PyObject
* obj0
= 0 ;
27307 PyObject
* obj1
= 0 ;
27308 char *kwnames
[] = {
27309 (char *) "self",(char *) "id", NULL
27312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27314 if (SWIG_arg_fail(1)) SWIG_fail
;
27316 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27317 if (SWIG_arg_fail(2)) SWIG_fail
;
27318 if (arg2
== NULL
) {
27319 SWIG_null_ref("wxTreeItemId");
27321 if (SWIG_arg_fail(2)) SWIG_fail
;
27324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27325 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
27327 wxPyEndAllowThreads(__tstate
);
27328 if (PyErr_Occurred()) SWIG_fail
;
27330 Py_INCREF(Py_None
); resultobj
= Py_None
;
27337 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27338 PyObject
*resultobj
;
27339 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27340 PyObject
* obj0
= 0 ;
27341 char *kwnames
[] = {
27342 (char *) "self", NULL
27345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
27346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27347 if (SWIG_arg_fail(1)) SWIG_fail
;
27349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27350 wxPyTreeItemData_Destroy(arg1
);
27352 wxPyEndAllowThreads(__tstate
);
27353 if (PyErr_Occurred()) SWIG_fail
;
27355 Py_INCREF(Py_None
); resultobj
= Py_None
;
27362 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
27364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27365 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
27367 return Py_BuildValue((char *)"");
27369 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27370 PyObject
*resultobj
;
27371 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27372 int arg2
= (int) 0 ;
27373 wxTreeEvent
*result
;
27374 PyObject
* obj0
= 0 ;
27375 PyObject
* obj1
= 0 ;
27376 char *kwnames
[] = {
27377 (char *) "commandType",(char *) "id", NULL
27380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27383 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
27384 if (SWIG_arg_fail(1)) SWIG_fail
;
27389 arg2
= (int)(SWIG_As_int(obj1
));
27390 if (SWIG_arg_fail(2)) SWIG_fail
;
27394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27395 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
27397 wxPyEndAllowThreads(__tstate
);
27398 if (PyErr_Occurred()) SWIG_fail
;
27400 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
27407 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27408 PyObject
*resultobj
;
27409 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27410 wxTreeItemId result
;
27411 PyObject
* obj0
= 0 ;
27412 char *kwnames
[] = {
27413 (char *) "self", NULL
27416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
27417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27418 if (SWIG_arg_fail(1)) SWIG_fail
;
27420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27421 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
27423 wxPyEndAllowThreads(__tstate
);
27424 if (PyErr_Occurred()) SWIG_fail
;
27427 wxTreeItemId
* resultptr
;
27428 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27429 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27437 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27438 PyObject
*resultobj
;
27439 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27440 wxTreeItemId
*arg2
= 0 ;
27441 PyObject
* obj0
= 0 ;
27442 PyObject
* obj1
= 0 ;
27443 char *kwnames
[] = {
27444 (char *) "self",(char *) "item", NULL
27447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27449 if (SWIG_arg_fail(1)) SWIG_fail
;
27451 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27452 if (SWIG_arg_fail(2)) SWIG_fail
;
27453 if (arg2
== NULL
) {
27454 SWIG_null_ref("wxTreeItemId");
27456 if (SWIG_arg_fail(2)) SWIG_fail
;
27459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27460 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
27462 wxPyEndAllowThreads(__tstate
);
27463 if (PyErr_Occurred()) SWIG_fail
;
27465 Py_INCREF(Py_None
); resultobj
= Py_None
;
27472 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27473 PyObject
*resultobj
;
27474 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27475 wxTreeItemId result
;
27476 PyObject
* obj0
= 0 ;
27477 char *kwnames
[] = {
27478 (char *) "self", NULL
27481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
27482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27483 if (SWIG_arg_fail(1)) SWIG_fail
;
27485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27486 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
27488 wxPyEndAllowThreads(__tstate
);
27489 if (PyErr_Occurred()) SWIG_fail
;
27492 wxTreeItemId
* resultptr
;
27493 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27494 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27502 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27503 PyObject
*resultobj
;
27504 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27505 wxTreeItemId
*arg2
= 0 ;
27506 PyObject
* obj0
= 0 ;
27507 PyObject
* obj1
= 0 ;
27508 char *kwnames
[] = {
27509 (char *) "self",(char *) "item", NULL
27512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27514 if (SWIG_arg_fail(1)) SWIG_fail
;
27516 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27517 if (SWIG_arg_fail(2)) SWIG_fail
;
27518 if (arg2
== NULL
) {
27519 SWIG_null_ref("wxTreeItemId");
27521 if (SWIG_arg_fail(2)) SWIG_fail
;
27524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27525 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
27527 wxPyEndAllowThreads(__tstate
);
27528 if (PyErr_Occurred()) SWIG_fail
;
27530 Py_INCREF(Py_None
); resultobj
= Py_None
;
27537 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27538 PyObject
*resultobj
;
27539 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27541 PyObject
* obj0
= 0 ;
27542 char *kwnames
[] = {
27543 (char *) "self", NULL
27546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
27547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27548 if (SWIG_arg_fail(1)) SWIG_fail
;
27550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27551 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
27553 wxPyEndAllowThreads(__tstate
);
27554 if (PyErr_Occurred()) SWIG_fail
;
27557 wxPoint
* resultptr
;
27558 resultptr
= new wxPoint((wxPoint
&)(result
));
27559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27567 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27568 PyObject
*resultobj
;
27569 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27570 wxPoint
*arg2
= 0 ;
27572 PyObject
* obj0
= 0 ;
27573 PyObject
* obj1
= 0 ;
27574 char *kwnames
[] = {
27575 (char *) "self",(char *) "pt", NULL
27578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
27579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27580 if (SWIG_arg_fail(1)) SWIG_fail
;
27583 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27587 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
27589 wxPyEndAllowThreads(__tstate
);
27590 if (PyErr_Occurred()) SWIG_fail
;
27592 Py_INCREF(Py_None
); resultobj
= Py_None
;
27599 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27600 PyObject
*resultobj
;
27601 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27602 wxKeyEvent
*result
;
27603 PyObject
* obj0
= 0 ;
27604 char *kwnames
[] = {
27605 (char *) "self", NULL
27608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
27609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27610 if (SWIG_arg_fail(1)) SWIG_fail
;
27612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27614 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
27615 result
= (wxKeyEvent
*) &_result_ref
;
27618 wxPyEndAllowThreads(__tstate
);
27619 if (PyErr_Occurred()) SWIG_fail
;
27621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
27628 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27629 PyObject
*resultobj
;
27630 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27632 PyObject
* obj0
= 0 ;
27633 char *kwnames
[] = {
27634 (char *) "self", NULL
27637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
27638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27639 if (SWIG_arg_fail(1)) SWIG_fail
;
27641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27642 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
27644 wxPyEndAllowThreads(__tstate
);
27645 if (PyErr_Occurred()) SWIG_fail
;
27648 resultobj
= SWIG_From_int((int)(result
));
27656 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27657 PyObject
*resultobj
;
27658 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27659 wxKeyEvent
*arg2
= 0 ;
27660 PyObject
* obj0
= 0 ;
27661 PyObject
* obj1
= 0 ;
27662 char *kwnames
[] = {
27663 (char *) "self",(char *) "evt", NULL
27666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27668 if (SWIG_arg_fail(1)) SWIG_fail
;
27670 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
27671 if (SWIG_arg_fail(2)) SWIG_fail
;
27672 if (arg2
== NULL
) {
27673 SWIG_null_ref("wxKeyEvent");
27675 if (SWIG_arg_fail(2)) SWIG_fail
;
27678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27679 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
27681 wxPyEndAllowThreads(__tstate
);
27682 if (PyErr_Occurred()) SWIG_fail
;
27684 Py_INCREF(Py_None
); resultobj
= Py_None
;
27691 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27692 PyObject
*resultobj
;
27693 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27695 PyObject
* obj0
= 0 ;
27696 char *kwnames
[] = {
27697 (char *) "self", NULL
27700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
27701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27702 if (SWIG_arg_fail(1)) SWIG_fail
;
27704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27706 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
27707 result
= (wxString
*) &_result_ref
;
27710 wxPyEndAllowThreads(__tstate
);
27711 if (PyErr_Occurred()) SWIG_fail
;
27715 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27717 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27726 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27727 PyObject
*resultobj
;
27728 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27729 wxString
*arg2
= 0 ;
27730 bool temp2
= false ;
27731 PyObject
* obj0
= 0 ;
27732 PyObject
* obj1
= 0 ;
27733 char *kwnames
[] = {
27734 (char *) "self",(char *) "label", NULL
27737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27739 if (SWIG_arg_fail(1)) SWIG_fail
;
27741 arg2
= wxString_in_helper(obj1
);
27742 if (arg2
== NULL
) SWIG_fail
;
27746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27747 (arg1
)->SetLabel((wxString
const &)*arg2
);
27749 wxPyEndAllowThreads(__tstate
);
27750 if (PyErr_Occurred()) SWIG_fail
;
27752 Py_INCREF(Py_None
); resultobj
= Py_None
;
27767 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27768 PyObject
*resultobj
;
27769 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27771 PyObject
* obj0
= 0 ;
27772 char *kwnames
[] = {
27773 (char *) "self", NULL
27776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
27777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27778 if (SWIG_arg_fail(1)) SWIG_fail
;
27780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27781 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
27783 wxPyEndAllowThreads(__tstate
);
27784 if (PyErr_Occurred()) SWIG_fail
;
27787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27795 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27796 PyObject
*resultobj
;
27797 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27799 PyObject
* obj0
= 0 ;
27800 PyObject
* obj1
= 0 ;
27801 char *kwnames
[] = {
27802 (char *) "self",(char *) "editCancelled", NULL
27805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
27806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27807 if (SWIG_arg_fail(1)) SWIG_fail
;
27809 arg2
= (bool)(SWIG_As_bool(obj1
));
27810 if (SWIG_arg_fail(2)) SWIG_fail
;
27813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27814 (arg1
)->SetEditCanceled(arg2
);
27816 wxPyEndAllowThreads(__tstate
);
27817 if (PyErr_Occurred()) SWIG_fail
;
27819 Py_INCREF(Py_None
); resultobj
= Py_None
;
27826 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27827 PyObject
*resultobj
;
27828 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27829 wxString
*arg2
= 0 ;
27830 bool temp2
= false ;
27831 PyObject
* obj0
= 0 ;
27832 PyObject
* obj1
= 0 ;
27833 char *kwnames
[] = {
27834 (char *) "self",(char *) "toolTip", NULL
27837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27839 if (SWIG_arg_fail(1)) SWIG_fail
;
27841 arg2
= wxString_in_helper(obj1
);
27842 if (arg2
== NULL
) SWIG_fail
;
27846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27847 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27849 wxPyEndAllowThreads(__tstate
);
27850 if (PyErr_Occurred()) SWIG_fail
;
27852 Py_INCREF(Py_None
); resultobj
= Py_None
;
27867 static PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27868 PyObject
*resultobj
;
27869 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27871 PyObject
* obj0
= 0 ;
27872 char *kwnames
[] = {
27873 (char *) "self", NULL
27876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetToolTip",kwnames
,&obj0
)) goto fail
;
27877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27878 if (SWIG_arg_fail(1)) SWIG_fail
;
27880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27881 result
= (arg1
)->GetToolTip();
27883 wxPyEndAllowThreads(__tstate
);
27884 if (PyErr_Occurred()) SWIG_fail
;
27888 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27890 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27899 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
27901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27902 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
27904 return Py_BuildValue((char *)"");
27906 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27907 PyObject
*resultobj
;
27908 wxWindow
*arg1
= (wxWindow
*) 0 ;
27909 int arg2
= (int) -1 ;
27910 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27911 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27912 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27913 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27914 long arg5
= (long) wxTR_DEFAULT_STYLE
;
27915 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27916 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27917 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
27918 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27919 wxPyTreeCtrl
*result
;
27922 bool temp7
= false ;
27923 PyObject
* obj0
= 0 ;
27924 PyObject
* obj1
= 0 ;
27925 PyObject
* obj2
= 0 ;
27926 PyObject
* obj3
= 0 ;
27927 PyObject
* obj4
= 0 ;
27928 PyObject
* obj5
= 0 ;
27929 PyObject
* obj6
= 0 ;
27930 char *kwnames
[] = {
27931 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27936 if (SWIG_arg_fail(1)) SWIG_fail
;
27939 arg2
= (int)(SWIG_As_int(obj1
));
27940 if (SWIG_arg_fail(2)) SWIG_fail
;
27946 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27952 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27957 arg5
= (long)(SWIG_As_long(obj4
));
27958 if (SWIG_arg_fail(5)) SWIG_fail
;
27963 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
27964 if (SWIG_arg_fail(6)) SWIG_fail
;
27965 if (arg6
== NULL
) {
27966 SWIG_null_ref("wxValidator");
27968 if (SWIG_arg_fail(6)) SWIG_fail
;
27973 arg7
= wxString_in_helper(obj6
);
27974 if (arg7
== NULL
) SWIG_fail
;
27979 if (!wxPyCheckForApp()) SWIG_fail
;
27980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27981 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27983 wxPyEndAllowThreads(__tstate
);
27984 if (PyErr_Occurred()) SWIG_fail
;
27986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28001 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28002 PyObject
*resultobj
;
28003 wxPyTreeCtrl
*result
;
28004 char *kwnames
[] = {
28008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
28010 if (!wxPyCheckForApp()) SWIG_fail
;
28011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28012 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
28014 wxPyEndAllowThreads(__tstate
);
28015 if (PyErr_Occurred()) SWIG_fail
;
28017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28024 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28025 PyObject
*resultobj
;
28026 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28027 wxWindow
*arg2
= (wxWindow
*) 0 ;
28028 int arg3
= (int) -1 ;
28029 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28030 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28031 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28032 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28033 long arg6
= (long) wxTR_DEFAULT_STYLE
;
28034 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28035 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28036 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
28037 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28041 bool temp8
= false ;
28042 PyObject
* obj0
= 0 ;
28043 PyObject
* obj1
= 0 ;
28044 PyObject
* obj2
= 0 ;
28045 PyObject
* obj3
= 0 ;
28046 PyObject
* obj4
= 0 ;
28047 PyObject
* obj5
= 0 ;
28048 PyObject
* obj6
= 0 ;
28049 PyObject
* obj7
= 0 ;
28050 char *kwnames
[] = {
28051 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
28055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28056 if (SWIG_arg_fail(1)) SWIG_fail
;
28057 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28058 if (SWIG_arg_fail(2)) SWIG_fail
;
28061 arg3
= (int)(SWIG_As_int(obj2
));
28062 if (SWIG_arg_fail(3)) SWIG_fail
;
28068 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28074 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28079 arg6
= (long)(SWIG_As_long(obj5
));
28080 if (SWIG_arg_fail(6)) SWIG_fail
;
28085 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28086 if (SWIG_arg_fail(7)) SWIG_fail
;
28087 if (arg7
== NULL
) {
28088 SWIG_null_ref("wxValidator");
28090 if (SWIG_arg_fail(7)) SWIG_fail
;
28095 arg8
= wxString_in_helper(obj7
);
28096 if (arg8
== NULL
) SWIG_fail
;
28101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28102 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28104 wxPyEndAllowThreads(__tstate
);
28105 if (PyErr_Occurred()) SWIG_fail
;
28108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28124 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28125 PyObject
*resultobj
;
28126 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28127 PyObject
*arg2
= (PyObject
*) 0 ;
28128 PyObject
*arg3
= (PyObject
*) 0 ;
28129 PyObject
* obj0
= 0 ;
28130 PyObject
* obj1
= 0 ;
28131 PyObject
* obj2
= 0 ;
28132 char *kwnames
[] = {
28133 (char *) "self",(char *) "self",(char *) "_class", NULL
28136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28138 if (SWIG_arg_fail(1)) SWIG_fail
;
28142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28143 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28145 wxPyEndAllowThreads(__tstate
);
28146 if (PyErr_Occurred()) SWIG_fail
;
28148 Py_INCREF(Py_None
); resultobj
= Py_None
;
28155 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28156 PyObject
*resultobj
;
28157 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28159 PyObject
* obj0
= 0 ;
28160 char *kwnames
[] = {
28161 (char *) "self", NULL
28164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
28165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28166 if (SWIG_arg_fail(1)) SWIG_fail
;
28168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28169 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
28171 wxPyEndAllowThreads(__tstate
);
28172 if (PyErr_Occurred()) SWIG_fail
;
28175 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28183 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28184 PyObject
*resultobj
;
28185 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28186 unsigned int result
;
28187 PyObject
* obj0
= 0 ;
28188 char *kwnames
[] = {
28189 (char *) "self", NULL
28192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
28193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28194 if (SWIG_arg_fail(1)) SWIG_fail
;
28196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28197 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
28199 wxPyEndAllowThreads(__tstate
);
28200 if (PyErr_Occurred()) SWIG_fail
;
28203 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28211 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28212 PyObject
*resultobj
;
28213 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28214 unsigned int arg2
;
28215 PyObject
* obj0
= 0 ;
28216 PyObject
* obj1
= 0 ;
28217 char *kwnames
[] = {
28218 (char *) "self",(char *) "indent", NULL
28221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
28222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28223 if (SWIG_arg_fail(1)) SWIG_fail
;
28225 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28226 if (SWIG_arg_fail(2)) SWIG_fail
;
28229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28230 (arg1
)->SetIndent(arg2
);
28232 wxPyEndAllowThreads(__tstate
);
28233 if (PyErr_Occurred()) SWIG_fail
;
28235 Py_INCREF(Py_None
); resultobj
= Py_None
;
28242 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28243 PyObject
*resultobj
;
28244 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28245 unsigned int result
;
28246 PyObject
* obj0
= 0 ;
28247 char *kwnames
[] = {
28248 (char *) "self", NULL
28251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
28252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28253 if (SWIG_arg_fail(1)) SWIG_fail
;
28255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28256 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
28258 wxPyEndAllowThreads(__tstate
);
28259 if (PyErr_Occurred()) SWIG_fail
;
28262 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28270 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28271 PyObject
*resultobj
;
28272 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28273 unsigned int arg2
;
28274 PyObject
* obj0
= 0 ;
28275 PyObject
* obj1
= 0 ;
28276 char *kwnames
[] = {
28277 (char *) "self",(char *) "spacing", NULL
28280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
28281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28282 if (SWIG_arg_fail(1)) SWIG_fail
;
28284 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28285 if (SWIG_arg_fail(2)) SWIG_fail
;
28288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28289 (arg1
)->SetSpacing(arg2
);
28291 wxPyEndAllowThreads(__tstate
);
28292 if (PyErr_Occurred()) SWIG_fail
;
28294 Py_INCREF(Py_None
); resultobj
= Py_None
;
28301 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28302 PyObject
*resultobj
;
28303 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28304 wxImageList
*result
;
28305 PyObject
* obj0
= 0 ;
28306 char *kwnames
[] = {
28307 (char *) "self", NULL
28310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
28311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28312 if (SWIG_arg_fail(1)) SWIG_fail
;
28314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28315 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
28317 wxPyEndAllowThreads(__tstate
);
28318 if (PyErr_Occurred()) SWIG_fail
;
28321 resultobj
= wxPyMake_wxObject(result
, 0);
28329 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28330 PyObject
*resultobj
;
28331 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28332 wxImageList
*result
;
28333 PyObject
* obj0
= 0 ;
28334 char *kwnames
[] = {
28335 (char *) "self", NULL
28338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
28339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28340 if (SWIG_arg_fail(1)) SWIG_fail
;
28342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28343 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
28345 wxPyEndAllowThreads(__tstate
);
28346 if (PyErr_Occurred()) SWIG_fail
;
28349 resultobj
= wxPyMake_wxObject(result
, 0);
28357 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28358 PyObject
*resultobj
;
28359 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28360 wxImageList
*arg2
= (wxImageList
*) 0 ;
28361 PyObject
* obj0
= 0 ;
28362 PyObject
* obj1
= 0 ;
28363 char *kwnames
[] = {
28364 (char *) "self",(char *) "imageList", NULL
28367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28369 if (SWIG_arg_fail(1)) SWIG_fail
;
28370 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28371 if (SWIG_arg_fail(2)) SWIG_fail
;
28373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28374 (arg1
)->SetImageList(arg2
);
28376 wxPyEndAllowThreads(__tstate
);
28377 if (PyErr_Occurred()) SWIG_fail
;
28379 Py_INCREF(Py_None
); resultobj
= Py_None
;
28386 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28387 PyObject
*resultobj
;
28388 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28389 wxImageList
*arg2
= (wxImageList
*) 0 ;
28390 PyObject
* obj0
= 0 ;
28391 PyObject
* obj1
= 0 ;
28392 char *kwnames
[] = {
28393 (char *) "self",(char *) "imageList", NULL
28396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28398 if (SWIG_arg_fail(1)) SWIG_fail
;
28399 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28400 if (SWIG_arg_fail(2)) SWIG_fail
;
28402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28403 (arg1
)->SetStateImageList(arg2
);
28405 wxPyEndAllowThreads(__tstate
);
28406 if (PyErr_Occurred()) SWIG_fail
;
28408 Py_INCREF(Py_None
); resultobj
= Py_None
;
28415 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28416 PyObject
*resultobj
;
28417 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28418 wxImageList
*arg2
= (wxImageList
*) 0 ;
28419 PyObject
* obj0
= 0 ;
28420 PyObject
* obj1
= 0 ;
28421 char *kwnames
[] = {
28422 (char *) "self",(char *) "imageList", NULL
28425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28427 if (SWIG_arg_fail(1)) SWIG_fail
;
28428 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28429 if (SWIG_arg_fail(2)) SWIG_fail
;
28431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28432 (arg1
)->AssignImageList(arg2
);
28434 wxPyEndAllowThreads(__tstate
);
28435 if (PyErr_Occurred()) SWIG_fail
;
28437 Py_INCREF(Py_None
); resultobj
= Py_None
;
28444 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28445 PyObject
*resultobj
;
28446 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28447 wxImageList
*arg2
= (wxImageList
*) 0 ;
28448 PyObject
* obj0
= 0 ;
28449 PyObject
* obj1
= 0 ;
28450 char *kwnames
[] = {
28451 (char *) "self",(char *) "imageList", NULL
28454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28456 if (SWIG_arg_fail(1)) SWIG_fail
;
28457 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28458 if (SWIG_arg_fail(2)) SWIG_fail
;
28460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28461 (arg1
)->AssignStateImageList(arg2
);
28463 wxPyEndAllowThreads(__tstate
);
28464 if (PyErr_Occurred()) SWIG_fail
;
28466 Py_INCREF(Py_None
); resultobj
= Py_None
;
28473 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28474 PyObject
*resultobj
;
28475 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28476 wxTreeItemId
*arg2
= 0 ;
28478 PyObject
* obj0
= 0 ;
28479 PyObject
* obj1
= 0 ;
28480 char *kwnames
[] = {
28481 (char *) "self",(char *) "item", NULL
28484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
28485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28486 if (SWIG_arg_fail(1)) SWIG_fail
;
28488 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28489 if (SWIG_arg_fail(2)) SWIG_fail
;
28490 if (arg2
== NULL
) {
28491 SWIG_null_ref("wxTreeItemId");
28493 if (SWIG_arg_fail(2)) SWIG_fail
;
28496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28497 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
28499 wxPyEndAllowThreads(__tstate
);
28500 if (PyErr_Occurred()) SWIG_fail
;
28504 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28506 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28515 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28516 PyObject
*resultobj
;
28517 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28518 wxTreeItemId
*arg2
= 0 ;
28519 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28521 PyObject
* obj0
= 0 ;
28522 PyObject
* obj1
= 0 ;
28523 PyObject
* obj2
= 0 ;
28524 char *kwnames
[] = {
28525 (char *) "self",(char *) "item",(char *) "which", NULL
28528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28530 if (SWIG_arg_fail(1)) SWIG_fail
;
28532 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28533 if (SWIG_arg_fail(2)) SWIG_fail
;
28534 if (arg2
== NULL
) {
28535 SWIG_null_ref("wxTreeItemId");
28537 if (SWIG_arg_fail(2)) SWIG_fail
;
28541 arg3
= (wxTreeItemIcon
)(SWIG_As_int(obj2
));
28542 if (SWIG_arg_fail(3)) SWIG_fail
;
28546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28547 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
28549 wxPyEndAllowThreads(__tstate
);
28550 if (PyErr_Occurred()) SWIG_fail
;
28553 resultobj
= SWIG_From_int((int)(result
));
28561 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28562 PyObject
*resultobj
;
28563 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28564 wxTreeItemId
*arg2
= 0 ;
28565 wxPyTreeItemData
*result
;
28566 PyObject
* obj0
= 0 ;
28567 PyObject
* obj1
= 0 ;
28568 char *kwnames
[] = {
28569 (char *) "self",(char *) "item", NULL
28572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
28573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28574 if (SWIG_arg_fail(1)) SWIG_fail
;
28576 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28577 if (SWIG_arg_fail(2)) SWIG_fail
;
28578 if (arg2
== NULL
) {
28579 SWIG_null_ref("wxTreeItemId");
28581 if (SWIG_arg_fail(2)) SWIG_fail
;
28584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28585 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
28587 wxPyEndAllowThreads(__tstate
);
28588 if (PyErr_Occurred()) SWIG_fail
;
28590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
28597 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28598 PyObject
*resultobj
;
28599 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28600 wxTreeItemId
*arg2
= 0 ;
28602 PyObject
* obj0
= 0 ;
28603 PyObject
* obj1
= 0 ;
28604 char *kwnames
[] = {
28605 (char *) "self",(char *) "item", NULL
28608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
28609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28610 if (SWIG_arg_fail(1)) SWIG_fail
;
28612 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28613 if (SWIG_arg_fail(2)) SWIG_fail
;
28614 if (arg2
== NULL
) {
28615 SWIG_null_ref("wxTreeItemId");
28617 if (SWIG_arg_fail(2)) SWIG_fail
;
28620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28621 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
28623 wxPyEndAllowThreads(__tstate
);
28624 if (PyErr_Occurred()) SWIG_fail
;
28626 resultobj
= result
;
28633 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28634 PyObject
*resultobj
;
28635 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28636 wxTreeItemId
*arg2
= 0 ;
28638 PyObject
* obj0
= 0 ;
28639 PyObject
* obj1
= 0 ;
28640 char *kwnames
[] = {
28641 (char *) "self",(char *) "item", NULL
28644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28646 if (SWIG_arg_fail(1)) SWIG_fail
;
28648 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28649 if (SWIG_arg_fail(2)) SWIG_fail
;
28650 if (arg2
== NULL
) {
28651 SWIG_null_ref("wxTreeItemId");
28653 if (SWIG_arg_fail(2)) SWIG_fail
;
28656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28657 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
28659 wxPyEndAllowThreads(__tstate
);
28660 if (PyErr_Occurred()) SWIG_fail
;
28663 wxColour
* resultptr
;
28664 resultptr
= new wxColour((wxColour
&)(result
));
28665 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28673 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28674 PyObject
*resultobj
;
28675 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28676 wxTreeItemId
*arg2
= 0 ;
28678 PyObject
* obj0
= 0 ;
28679 PyObject
* obj1
= 0 ;
28680 char *kwnames
[] = {
28681 (char *) "self",(char *) "item", NULL
28684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28686 if (SWIG_arg_fail(1)) SWIG_fail
;
28688 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28689 if (SWIG_arg_fail(2)) SWIG_fail
;
28690 if (arg2
== NULL
) {
28691 SWIG_null_ref("wxTreeItemId");
28693 if (SWIG_arg_fail(2)) SWIG_fail
;
28696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28697 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
28699 wxPyEndAllowThreads(__tstate
);
28700 if (PyErr_Occurred()) SWIG_fail
;
28703 wxColour
* resultptr
;
28704 resultptr
= new wxColour((wxColour
&)(result
));
28705 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28713 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28714 PyObject
*resultobj
;
28715 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28716 wxTreeItemId
*arg2
= 0 ;
28718 PyObject
* obj0
= 0 ;
28719 PyObject
* obj1
= 0 ;
28720 char *kwnames
[] = {
28721 (char *) "self",(char *) "item", NULL
28724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
28725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28726 if (SWIG_arg_fail(1)) SWIG_fail
;
28728 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28729 if (SWIG_arg_fail(2)) SWIG_fail
;
28730 if (arg2
== NULL
) {
28731 SWIG_null_ref("wxTreeItemId");
28733 if (SWIG_arg_fail(2)) SWIG_fail
;
28736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28737 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
28739 wxPyEndAllowThreads(__tstate
);
28740 if (PyErr_Occurred()) SWIG_fail
;
28743 wxFont
* resultptr
;
28744 resultptr
= new wxFont((wxFont
&)(result
));
28745 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
28753 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28754 PyObject
*resultobj
;
28755 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28756 wxTreeItemId
*arg2
= 0 ;
28757 wxString
*arg3
= 0 ;
28758 bool temp3
= false ;
28759 PyObject
* obj0
= 0 ;
28760 PyObject
* obj1
= 0 ;
28761 PyObject
* obj2
= 0 ;
28762 char *kwnames
[] = {
28763 (char *) "self",(char *) "item",(char *) "text", NULL
28766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28768 if (SWIG_arg_fail(1)) SWIG_fail
;
28770 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28771 if (SWIG_arg_fail(2)) SWIG_fail
;
28772 if (arg2
== NULL
) {
28773 SWIG_null_ref("wxTreeItemId");
28775 if (SWIG_arg_fail(2)) SWIG_fail
;
28778 arg3
= wxString_in_helper(obj2
);
28779 if (arg3
== NULL
) SWIG_fail
;
28783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28784 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
28786 wxPyEndAllowThreads(__tstate
);
28787 if (PyErr_Occurred()) SWIG_fail
;
28789 Py_INCREF(Py_None
); resultobj
= Py_None
;
28804 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28805 PyObject
*resultobj
;
28806 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28807 wxTreeItemId
*arg2
= 0 ;
28809 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28810 PyObject
* obj0
= 0 ;
28811 PyObject
* obj1
= 0 ;
28812 PyObject
* obj2
= 0 ;
28813 PyObject
* obj3
= 0 ;
28814 char *kwnames
[] = {
28815 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28820 if (SWIG_arg_fail(1)) SWIG_fail
;
28822 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28823 if (SWIG_arg_fail(2)) SWIG_fail
;
28824 if (arg2
== NULL
) {
28825 SWIG_null_ref("wxTreeItemId");
28827 if (SWIG_arg_fail(2)) SWIG_fail
;
28830 arg3
= (int)(SWIG_As_int(obj2
));
28831 if (SWIG_arg_fail(3)) SWIG_fail
;
28835 arg4
= (wxTreeItemIcon
)(SWIG_As_int(obj3
));
28836 if (SWIG_arg_fail(4)) SWIG_fail
;
28840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28841 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
28843 wxPyEndAllowThreads(__tstate
);
28844 if (PyErr_Occurred()) SWIG_fail
;
28846 Py_INCREF(Py_None
); resultobj
= Py_None
;
28853 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28854 PyObject
*resultobj
;
28855 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28856 wxTreeItemId
*arg2
= 0 ;
28857 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
28858 PyObject
* obj0
= 0 ;
28859 PyObject
* obj1
= 0 ;
28860 PyObject
* obj2
= 0 ;
28861 char *kwnames
[] = {
28862 (char *) "self",(char *) "item",(char *) "data", NULL
28865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
28876 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28877 if (SWIG_arg_fail(3)) SWIG_fail
;
28879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28880 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28882 wxPyEndAllowThreads(__tstate
);
28883 if (PyErr_Occurred()) SWIG_fail
;
28885 Py_INCREF(Py_None
); resultobj
= Py_None
;
28892 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28893 PyObject
*resultobj
;
28894 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28895 wxTreeItemId
*arg2
= 0 ;
28896 PyObject
*arg3
= (PyObject
*) 0 ;
28897 PyObject
* obj0
= 0 ;
28898 PyObject
* obj1
= 0 ;
28899 PyObject
* obj2
= 0 ;
28900 char *kwnames
[] = {
28901 (char *) "self",(char *) "item",(char *) "obj", NULL
28904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28906 if (SWIG_arg_fail(1)) SWIG_fail
;
28908 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28909 if (SWIG_arg_fail(2)) SWIG_fail
;
28910 if (arg2
== NULL
) {
28911 SWIG_null_ref("wxTreeItemId");
28913 if (SWIG_arg_fail(2)) SWIG_fail
;
28917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28918 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28920 wxPyEndAllowThreads(__tstate
);
28921 if (PyErr_Occurred()) SWIG_fail
;
28923 Py_INCREF(Py_None
); resultobj
= Py_None
;
28930 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28931 PyObject
*resultobj
;
28932 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28933 wxTreeItemId
*arg2
= 0 ;
28934 bool arg3
= (bool) true ;
28935 PyObject
* obj0
= 0 ;
28936 PyObject
* obj1
= 0 ;
28937 PyObject
* obj2
= 0 ;
28938 char *kwnames
[] = {
28939 (char *) "self",(char *) "item",(char *) "has", NULL
28942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28944 if (SWIG_arg_fail(1)) SWIG_fail
;
28946 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28947 if (SWIG_arg_fail(2)) SWIG_fail
;
28948 if (arg2
== NULL
) {
28949 SWIG_null_ref("wxTreeItemId");
28951 if (SWIG_arg_fail(2)) SWIG_fail
;
28955 arg3
= (bool)(SWIG_As_bool(obj2
));
28956 if (SWIG_arg_fail(3)) SWIG_fail
;
28960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28961 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
28963 wxPyEndAllowThreads(__tstate
);
28964 if (PyErr_Occurred()) SWIG_fail
;
28966 Py_INCREF(Py_None
); resultobj
= Py_None
;
28973 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28974 PyObject
*resultobj
;
28975 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28976 wxTreeItemId
*arg2
= 0 ;
28977 bool arg3
= (bool) true ;
28978 PyObject
* obj0
= 0 ;
28979 PyObject
* obj1
= 0 ;
28980 PyObject
* obj2
= 0 ;
28981 char *kwnames
[] = {
28982 (char *) "self",(char *) "item",(char *) "bold", NULL
28985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28987 if (SWIG_arg_fail(1)) SWIG_fail
;
28989 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28990 if (SWIG_arg_fail(2)) SWIG_fail
;
28991 if (arg2
== NULL
) {
28992 SWIG_null_ref("wxTreeItemId");
28994 if (SWIG_arg_fail(2)) SWIG_fail
;
28998 arg3
= (bool)(SWIG_As_bool(obj2
));
28999 if (SWIG_arg_fail(3)) SWIG_fail
;
29003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29004 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
29006 wxPyEndAllowThreads(__tstate
);
29007 if (PyErr_Occurred()) SWIG_fail
;
29009 Py_INCREF(Py_None
); resultobj
= Py_None
;
29016 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29017 PyObject
*resultobj
;
29018 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29019 wxTreeItemId
*arg2
= 0 ;
29020 bool arg3
= (bool) true ;
29021 PyObject
* obj0
= 0 ;
29022 PyObject
* obj1
= 0 ;
29023 PyObject
* obj2
= 0 ;
29024 char *kwnames
[] = {
29025 (char *) "self",(char *) "item",(char *) "highlight", NULL
29028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29030 if (SWIG_arg_fail(1)) SWIG_fail
;
29032 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29033 if (SWIG_arg_fail(2)) SWIG_fail
;
29034 if (arg2
== NULL
) {
29035 SWIG_null_ref("wxTreeItemId");
29037 if (SWIG_arg_fail(2)) SWIG_fail
;
29041 arg3
= (bool)(SWIG_As_bool(obj2
));
29042 if (SWIG_arg_fail(3)) SWIG_fail
;
29046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29047 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
29049 wxPyEndAllowThreads(__tstate
);
29050 if (PyErr_Occurred()) SWIG_fail
;
29052 Py_INCREF(Py_None
); resultobj
= Py_None
;
29059 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29060 PyObject
*resultobj
;
29061 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29062 wxTreeItemId
*arg2
= 0 ;
29063 wxColour
*arg3
= 0 ;
29065 PyObject
* obj0
= 0 ;
29066 PyObject
* obj1
= 0 ;
29067 PyObject
* obj2
= 0 ;
29068 char *kwnames
[] = {
29069 (char *) "self",(char *) "item",(char *) "col", NULL
29072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29074 if (SWIG_arg_fail(1)) SWIG_fail
;
29076 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29077 if (SWIG_arg_fail(2)) SWIG_fail
;
29078 if (arg2
== NULL
) {
29079 SWIG_null_ref("wxTreeItemId");
29081 if (SWIG_arg_fail(2)) SWIG_fail
;
29085 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29089 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29091 wxPyEndAllowThreads(__tstate
);
29092 if (PyErr_Occurred()) SWIG_fail
;
29094 Py_INCREF(Py_None
); resultobj
= Py_None
;
29101 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29102 PyObject
*resultobj
;
29103 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29104 wxTreeItemId
*arg2
= 0 ;
29105 wxColour
*arg3
= 0 ;
29107 PyObject
* obj0
= 0 ;
29108 PyObject
* obj1
= 0 ;
29109 PyObject
* obj2
= 0 ;
29110 char *kwnames
[] = {
29111 (char *) "self",(char *) "item",(char *) "col", NULL
29114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29116 if (SWIG_arg_fail(1)) SWIG_fail
;
29118 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29119 if (SWIG_arg_fail(2)) SWIG_fail
;
29120 if (arg2
== NULL
) {
29121 SWIG_null_ref("wxTreeItemId");
29123 if (SWIG_arg_fail(2)) SWIG_fail
;
29127 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29131 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29133 wxPyEndAllowThreads(__tstate
);
29134 if (PyErr_Occurred()) SWIG_fail
;
29136 Py_INCREF(Py_None
); resultobj
= Py_None
;
29143 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29144 PyObject
*resultobj
;
29145 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29146 wxTreeItemId
*arg2
= 0 ;
29148 PyObject
* obj0
= 0 ;
29149 PyObject
* obj1
= 0 ;
29150 PyObject
* obj2
= 0 ;
29151 char *kwnames
[] = {
29152 (char *) "self",(char *) "item",(char *) "font", NULL
29155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29157 if (SWIG_arg_fail(1)) SWIG_fail
;
29159 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29160 if (SWIG_arg_fail(2)) SWIG_fail
;
29161 if (arg2
== NULL
) {
29162 SWIG_null_ref("wxTreeItemId");
29164 if (SWIG_arg_fail(2)) SWIG_fail
;
29167 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29168 if (SWIG_arg_fail(3)) SWIG_fail
;
29169 if (arg3
== NULL
) {
29170 SWIG_null_ref("wxFont");
29172 if (SWIG_arg_fail(3)) SWIG_fail
;
29175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29176 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
29178 wxPyEndAllowThreads(__tstate
);
29179 if (PyErr_Occurred()) SWIG_fail
;
29181 Py_INCREF(Py_None
); resultobj
= Py_None
;
29188 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29189 PyObject
*resultobj
;
29190 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29191 wxTreeItemId
*arg2
= 0 ;
29193 PyObject
* obj0
= 0 ;
29194 PyObject
* obj1
= 0 ;
29195 char *kwnames
[] = {
29196 (char *) "self",(char *) "item", NULL
29199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29201 if (SWIG_arg_fail(1)) SWIG_fail
;
29203 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29204 if (SWIG_arg_fail(2)) SWIG_fail
;
29205 if (arg2
== NULL
) {
29206 SWIG_null_ref("wxTreeItemId");
29208 if (SWIG_arg_fail(2)) SWIG_fail
;
29211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29212 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
29214 wxPyEndAllowThreads(__tstate
);
29215 if (PyErr_Occurred()) SWIG_fail
;
29218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29226 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29227 PyObject
*resultobj
;
29228 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29229 wxTreeItemId
*arg2
= 0 ;
29231 PyObject
* obj0
= 0 ;
29232 PyObject
* obj1
= 0 ;
29233 char *kwnames
[] = {
29234 (char *) "self",(char *) "item", NULL
29237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
29238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29239 if (SWIG_arg_fail(1)) SWIG_fail
;
29241 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29242 if (SWIG_arg_fail(2)) SWIG_fail
;
29243 if (arg2
== NULL
) {
29244 SWIG_null_ref("wxTreeItemId");
29246 if (SWIG_arg_fail(2)) SWIG_fail
;
29249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29250 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
29252 wxPyEndAllowThreads(__tstate
);
29253 if (PyErr_Occurred()) SWIG_fail
;
29256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29264 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29265 PyObject
*resultobj
;
29266 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29267 wxTreeItemId
*arg2
= 0 ;
29269 PyObject
* obj0
= 0 ;
29270 PyObject
* obj1
= 0 ;
29271 char *kwnames
[] = {
29272 (char *) "self",(char *) "item", NULL
29275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
29276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29277 if (SWIG_arg_fail(1)) SWIG_fail
;
29279 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29280 if (SWIG_arg_fail(2)) SWIG_fail
;
29281 if (arg2
== NULL
) {
29282 SWIG_null_ref("wxTreeItemId");
29284 if (SWIG_arg_fail(2)) SWIG_fail
;
29287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29288 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
29290 wxPyEndAllowThreads(__tstate
);
29291 if (PyErr_Occurred()) SWIG_fail
;
29294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29302 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29303 PyObject
*resultobj
;
29304 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29305 wxTreeItemId
*arg2
= 0 ;
29307 PyObject
* obj0
= 0 ;
29308 PyObject
* obj1
= 0 ;
29309 char *kwnames
[] = {
29310 (char *) "self",(char *) "item", NULL
29313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
29314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29315 if (SWIG_arg_fail(1)) SWIG_fail
;
29317 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29318 if (SWIG_arg_fail(2)) SWIG_fail
;
29319 if (arg2
== NULL
) {
29320 SWIG_null_ref("wxTreeItemId");
29322 if (SWIG_arg_fail(2)) SWIG_fail
;
29325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29326 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
29328 wxPyEndAllowThreads(__tstate
);
29329 if (PyErr_Occurred()) SWIG_fail
;
29332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29340 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29341 PyObject
*resultobj
;
29342 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29343 wxTreeItemId
*arg2
= 0 ;
29345 PyObject
* obj0
= 0 ;
29346 PyObject
* obj1
= 0 ;
29347 char *kwnames
[] = {
29348 (char *) "self",(char *) "item", NULL
29351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
29352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29353 if (SWIG_arg_fail(1)) SWIG_fail
;
29355 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29356 if (SWIG_arg_fail(2)) SWIG_fail
;
29357 if (arg2
== NULL
) {
29358 SWIG_null_ref("wxTreeItemId");
29360 if (SWIG_arg_fail(2)) SWIG_fail
;
29363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29364 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
29366 wxPyEndAllowThreads(__tstate
);
29367 if (PyErr_Occurred()) SWIG_fail
;
29370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29378 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29379 PyObject
*resultobj
;
29380 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29381 wxTreeItemId
*arg2
= 0 ;
29382 bool arg3
= (bool) true ;
29384 PyObject
* obj0
= 0 ;
29385 PyObject
* obj1
= 0 ;
29386 PyObject
* obj2
= 0 ;
29387 char *kwnames
[] = {
29388 (char *) "self",(char *) "item",(char *) "recursively", NULL
29391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29393 if (SWIG_arg_fail(1)) SWIG_fail
;
29395 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29396 if (SWIG_arg_fail(2)) SWIG_fail
;
29397 if (arg2
== NULL
) {
29398 SWIG_null_ref("wxTreeItemId");
29400 if (SWIG_arg_fail(2)) SWIG_fail
;
29404 arg3
= (bool)(SWIG_As_bool(obj2
));
29405 if (SWIG_arg_fail(3)) SWIG_fail
;
29409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29410 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
29412 wxPyEndAllowThreads(__tstate
);
29413 if (PyErr_Occurred()) SWIG_fail
;
29416 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
29424 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29425 PyObject
*resultobj
;
29426 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29427 wxTreeItemId result
;
29428 PyObject
* obj0
= 0 ;
29429 char *kwnames
[] = {
29430 (char *) "self", NULL
29433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
29434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29435 if (SWIG_arg_fail(1)) SWIG_fail
;
29437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29438 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
29440 wxPyEndAllowThreads(__tstate
);
29441 if (PyErr_Occurred()) SWIG_fail
;
29444 wxTreeItemId
* resultptr
;
29445 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29446 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29454 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29455 PyObject
*resultobj
;
29456 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29457 wxTreeItemId result
;
29458 PyObject
* obj0
= 0 ;
29459 char *kwnames
[] = {
29460 (char *) "self", NULL
29463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
29464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29465 if (SWIG_arg_fail(1)) SWIG_fail
;
29467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29468 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
29470 wxPyEndAllowThreads(__tstate
);
29471 if (PyErr_Occurred()) SWIG_fail
;
29474 wxTreeItemId
* resultptr
;
29475 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29476 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29484 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29485 PyObject
*resultobj
;
29486 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29488 PyObject
* obj0
= 0 ;
29489 char *kwnames
[] = {
29490 (char *) "self", NULL
29493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
29494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29495 if (SWIG_arg_fail(1)) SWIG_fail
;
29497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29498 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
29500 wxPyEndAllowThreads(__tstate
);
29501 if (PyErr_Occurred()) SWIG_fail
;
29503 resultobj
= result
;
29510 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29511 PyObject
*resultobj
;
29512 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29513 wxTreeItemId
*arg2
= 0 ;
29514 wxTreeItemId result
;
29515 PyObject
* obj0
= 0 ;
29516 PyObject
* obj1
= 0 ;
29517 char *kwnames
[] = {
29518 (char *) "self",(char *) "item", NULL
29521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29523 if (SWIG_arg_fail(1)) SWIG_fail
;
29525 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29526 if (SWIG_arg_fail(2)) SWIG_fail
;
29527 if (arg2
== NULL
) {
29528 SWIG_null_ref("wxTreeItemId");
29530 if (SWIG_arg_fail(2)) SWIG_fail
;
29533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29534 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
29536 wxPyEndAllowThreads(__tstate
);
29537 if (PyErr_Occurred()) SWIG_fail
;
29540 wxTreeItemId
* resultptr
;
29541 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29542 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29550 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29551 PyObject
*resultobj
;
29552 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29553 wxTreeItemId
*arg2
= 0 ;
29555 PyObject
* obj0
= 0 ;
29556 PyObject
* obj1
= 0 ;
29557 char *kwnames
[] = {
29558 (char *) "self",(char *) "item", NULL
29561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29563 if (SWIG_arg_fail(1)) SWIG_fail
;
29565 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29566 if (SWIG_arg_fail(2)) SWIG_fail
;
29567 if (arg2
== NULL
) {
29568 SWIG_null_ref("wxTreeItemId");
29570 if (SWIG_arg_fail(2)) SWIG_fail
;
29573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29574 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
29576 wxPyEndAllowThreads(__tstate
);
29577 if (PyErr_Occurred()) SWIG_fail
;
29579 resultobj
= result
;
29586 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29587 PyObject
*resultobj
;
29588 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29589 wxTreeItemId
*arg2
= 0 ;
29590 void *arg3
= (void *) 0 ;
29592 PyObject
* obj0
= 0 ;
29593 PyObject
* obj1
= 0 ;
29594 PyObject
* obj2
= 0 ;
29595 char *kwnames
[] = {
29596 (char *) "self",(char *) "item",(char *) "cookie", NULL
29599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29601 if (SWIG_arg_fail(1)) SWIG_fail
;
29603 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29604 if (SWIG_arg_fail(2)) SWIG_fail
;
29605 if (arg2
== NULL
) {
29606 SWIG_null_ref("wxTreeItemId");
29608 if (SWIG_arg_fail(2)) SWIG_fail
;
29611 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
29612 SWIG_arg_fail(3);SWIG_fail
;
29616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29617 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29619 wxPyEndAllowThreads(__tstate
);
29620 if (PyErr_Occurred()) SWIG_fail
;
29622 resultobj
= result
;
29629 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29630 PyObject
*resultobj
;
29631 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29632 wxTreeItemId
*arg2
= 0 ;
29633 wxTreeItemId result
;
29634 PyObject
* obj0
= 0 ;
29635 PyObject
* obj1
= 0 ;
29636 char *kwnames
[] = {
29637 (char *) "self",(char *) "item", NULL
29640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29642 if (SWIG_arg_fail(1)) SWIG_fail
;
29644 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29645 if (SWIG_arg_fail(2)) SWIG_fail
;
29646 if (arg2
== NULL
) {
29647 SWIG_null_ref("wxTreeItemId");
29649 if (SWIG_arg_fail(2)) SWIG_fail
;
29652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29653 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
29655 wxPyEndAllowThreads(__tstate
);
29656 if (PyErr_Occurred()) SWIG_fail
;
29659 wxTreeItemId
* resultptr
;
29660 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29661 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29669 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29670 PyObject
*resultobj
;
29671 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29672 wxTreeItemId
*arg2
= 0 ;
29673 wxTreeItemId result
;
29674 PyObject
* obj0
= 0 ;
29675 PyObject
* obj1
= 0 ;
29676 char *kwnames
[] = {
29677 (char *) "self",(char *) "item", NULL
29680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29682 if (SWIG_arg_fail(1)) SWIG_fail
;
29684 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29685 if (SWIG_arg_fail(2)) SWIG_fail
;
29686 if (arg2
== NULL
) {
29687 SWIG_null_ref("wxTreeItemId");
29689 if (SWIG_arg_fail(2)) SWIG_fail
;
29692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29693 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
29695 wxPyEndAllowThreads(__tstate
);
29696 if (PyErr_Occurred()) SWIG_fail
;
29699 wxTreeItemId
* resultptr
;
29700 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29701 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29709 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29710 PyObject
*resultobj
;
29711 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29712 wxTreeItemId
*arg2
= 0 ;
29713 wxTreeItemId result
;
29714 PyObject
* obj0
= 0 ;
29715 PyObject
* obj1
= 0 ;
29716 char *kwnames
[] = {
29717 (char *) "self",(char *) "item", NULL
29720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29722 if (SWIG_arg_fail(1)) SWIG_fail
;
29724 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29725 if (SWIG_arg_fail(2)) SWIG_fail
;
29726 if (arg2
== NULL
) {
29727 SWIG_null_ref("wxTreeItemId");
29729 if (SWIG_arg_fail(2)) SWIG_fail
;
29732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29733 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
29735 wxPyEndAllowThreads(__tstate
);
29736 if (PyErr_Occurred()) SWIG_fail
;
29739 wxTreeItemId
* resultptr
;
29740 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29741 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29749 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29750 PyObject
*resultobj
;
29751 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29752 wxTreeItemId result
;
29753 PyObject
* obj0
= 0 ;
29754 char *kwnames
[] = {
29755 (char *) "self", NULL
29758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
29759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29760 if (SWIG_arg_fail(1)) SWIG_fail
;
29762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29763 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
29765 wxPyEndAllowThreads(__tstate
);
29766 if (PyErr_Occurred()) SWIG_fail
;
29769 wxTreeItemId
* resultptr
;
29770 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29771 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29779 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29780 PyObject
*resultobj
;
29781 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29782 wxTreeItemId
*arg2
= 0 ;
29783 wxTreeItemId result
;
29784 PyObject
* obj0
= 0 ;
29785 PyObject
* obj1
= 0 ;
29786 char *kwnames
[] = {
29787 (char *) "self",(char *) "item", NULL
29790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29792 if (SWIG_arg_fail(1)) SWIG_fail
;
29794 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29795 if (SWIG_arg_fail(2)) SWIG_fail
;
29796 if (arg2
== NULL
) {
29797 SWIG_null_ref("wxTreeItemId");
29799 if (SWIG_arg_fail(2)) SWIG_fail
;
29802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29803 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
29805 wxPyEndAllowThreads(__tstate
);
29806 if (PyErr_Occurred()) SWIG_fail
;
29809 wxTreeItemId
* resultptr
;
29810 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29811 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29819 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29820 PyObject
*resultobj
;
29821 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29822 wxTreeItemId
*arg2
= 0 ;
29823 wxTreeItemId result
;
29824 PyObject
* obj0
= 0 ;
29825 PyObject
* obj1
= 0 ;
29826 char *kwnames
[] = {
29827 (char *) "self",(char *) "item", NULL
29830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29832 if (SWIG_arg_fail(1)) SWIG_fail
;
29834 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29835 if (SWIG_arg_fail(2)) SWIG_fail
;
29836 if (arg2
== NULL
) {
29837 SWIG_null_ref("wxTreeItemId");
29839 if (SWIG_arg_fail(2)) SWIG_fail
;
29842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29843 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
29845 wxPyEndAllowThreads(__tstate
);
29846 if (PyErr_Occurred()) SWIG_fail
;
29849 wxTreeItemId
* resultptr
;
29850 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29851 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29859 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29860 PyObject
*resultobj
;
29861 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29862 wxString
*arg2
= 0 ;
29863 int arg3
= (int) -1 ;
29864 int arg4
= (int) -1 ;
29865 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
29866 wxTreeItemId result
;
29867 bool temp2
= false ;
29868 PyObject
* obj0
= 0 ;
29869 PyObject
* obj1
= 0 ;
29870 PyObject
* obj2
= 0 ;
29871 PyObject
* obj3
= 0 ;
29872 PyObject
* obj4
= 0 ;
29873 char *kwnames
[] = {
29874 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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 arg2
= wxString_in_helper(obj1
);
29882 if (arg2
== NULL
) SWIG_fail
;
29887 arg3
= (int)(SWIG_As_int(obj2
));
29888 if (SWIG_arg_fail(3)) SWIG_fail
;
29893 arg4
= (int)(SWIG_As_int(obj3
));
29894 if (SWIG_arg_fail(4)) SWIG_fail
;
29898 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29899 if (SWIG_arg_fail(5)) SWIG_fail
;
29902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29903 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29905 wxPyEndAllowThreads(__tstate
);
29906 if (PyErr_Occurred()) SWIG_fail
;
29909 wxTreeItemId
* resultptr
;
29910 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29911 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29927 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29928 PyObject
*resultobj
;
29929 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29930 wxTreeItemId
*arg2
= 0 ;
29931 wxString
*arg3
= 0 ;
29932 int arg4
= (int) -1 ;
29933 int arg5
= (int) -1 ;
29934 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
29935 wxTreeItemId result
;
29936 bool temp3
= false ;
29937 PyObject
* obj0
= 0 ;
29938 PyObject
* obj1
= 0 ;
29939 PyObject
* obj2
= 0 ;
29940 PyObject
* obj3
= 0 ;
29941 PyObject
* obj4
= 0 ;
29942 PyObject
* obj5
= 0 ;
29943 char *kwnames
[] = {
29944 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29949 if (SWIG_arg_fail(1)) SWIG_fail
;
29951 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29952 if (SWIG_arg_fail(2)) SWIG_fail
;
29953 if (arg2
== NULL
) {
29954 SWIG_null_ref("wxTreeItemId");
29956 if (SWIG_arg_fail(2)) SWIG_fail
;
29959 arg3
= wxString_in_helper(obj2
);
29960 if (arg3
== NULL
) SWIG_fail
;
29965 arg4
= (int)(SWIG_As_int(obj3
));
29966 if (SWIG_arg_fail(4)) SWIG_fail
;
29971 arg5
= (int)(SWIG_As_int(obj4
));
29972 if (SWIG_arg_fail(5)) SWIG_fail
;
29976 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29977 if (SWIG_arg_fail(6)) SWIG_fail
;
29980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29981 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
29983 wxPyEndAllowThreads(__tstate
);
29984 if (PyErr_Occurred()) SWIG_fail
;
29987 wxTreeItemId
* resultptr
;
29988 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29989 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30005 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30006 PyObject
*resultobj
;
30007 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30008 wxTreeItemId
*arg2
= 0 ;
30009 wxTreeItemId
*arg3
= 0 ;
30010 wxString
*arg4
= 0 ;
30011 int arg5
= (int) -1 ;
30012 int arg6
= (int) -1 ;
30013 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30014 wxTreeItemId result
;
30015 bool temp4
= false ;
30016 PyObject
* obj0
= 0 ;
30017 PyObject
* obj1
= 0 ;
30018 PyObject
* obj2
= 0 ;
30019 PyObject
* obj3
= 0 ;
30020 PyObject
* obj4
= 0 ;
30021 PyObject
* obj5
= 0 ;
30022 PyObject
* obj6
= 0 ;
30023 char *kwnames
[] = {
30024 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30029 if (SWIG_arg_fail(1)) SWIG_fail
;
30031 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30032 if (SWIG_arg_fail(2)) SWIG_fail
;
30033 if (arg2
== NULL
) {
30034 SWIG_null_ref("wxTreeItemId");
30036 if (SWIG_arg_fail(2)) SWIG_fail
;
30039 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30040 if (SWIG_arg_fail(3)) SWIG_fail
;
30041 if (arg3
== NULL
) {
30042 SWIG_null_ref("wxTreeItemId");
30044 if (SWIG_arg_fail(3)) SWIG_fail
;
30047 arg4
= wxString_in_helper(obj3
);
30048 if (arg4
== NULL
) SWIG_fail
;
30053 arg5
= (int)(SWIG_As_int(obj4
));
30054 if (SWIG_arg_fail(5)) SWIG_fail
;
30059 arg6
= (int)(SWIG_As_int(obj5
));
30060 if (SWIG_arg_fail(6)) SWIG_fail
;
30064 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30065 if (SWIG_arg_fail(7)) SWIG_fail
;
30068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30069 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30071 wxPyEndAllowThreads(__tstate
);
30072 if (PyErr_Occurred()) SWIG_fail
;
30075 wxTreeItemId
* resultptr
;
30076 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30077 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30093 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30094 PyObject
*resultobj
;
30095 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30096 wxTreeItemId
*arg2
= 0 ;
30098 wxString
*arg4
= 0 ;
30099 int arg5
= (int) -1 ;
30100 int arg6
= (int) -1 ;
30101 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30102 wxTreeItemId result
;
30103 bool temp4
= false ;
30104 PyObject
* obj0
= 0 ;
30105 PyObject
* obj1
= 0 ;
30106 PyObject
* obj2
= 0 ;
30107 PyObject
* obj3
= 0 ;
30108 PyObject
* obj4
= 0 ;
30109 PyObject
* obj5
= 0 ;
30110 PyObject
* obj6
= 0 ;
30111 char *kwnames
[] = {
30112 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30117 if (SWIG_arg_fail(1)) SWIG_fail
;
30119 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30120 if (SWIG_arg_fail(2)) SWIG_fail
;
30121 if (arg2
== NULL
) {
30122 SWIG_null_ref("wxTreeItemId");
30124 if (SWIG_arg_fail(2)) SWIG_fail
;
30127 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
30128 if (SWIG_arg_fail(3)) SWIG_fail
;
30131 arg4
= wxString_in_helper(obj3
);
30132 if (arg4
== NULL
) SWIG_fail
;
30137 arg5
= (int)(SWIG_As_int(obj4
));
30138 if (SWIG_arg_fail(5)) SWIG_fail
;
30143 arg6
= (int)(SWIG_As_int(obj5
));
30144 if (SWIG_arg_fail(6)) SWIG_fail
;
30148 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30149 if (SWIG_arg_fail(7)) SWIG_fail
;
30152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30153 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30155 wxPyEndAllowThreads(__tstate
);
30156 if (PyErr_Occurred()) SWIG_fail
;
30159 wxTreeItemId
* resultptr
;
30160 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30161 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30177 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30178 PyObject
*resultobj
;
30179 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30180 wxTreeItemId
*arg2
= 0 ;
30181 wxString
*arg3
= 0 ;
30182 int arg4
= (int) -1 ;
30183 int arg5
= (int) -1 ;
30184 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30185 wxTreeItemId result
;
30186 bool temp3
= false ;
30187 PyObject
* obj0
= 0 ;
30188 PyObject
* obj1
= 0 ;
30189 PyObject
* obj2
= 0 ;
30190 PyObject
* obj3
= 0 ;
30191 PyObject
* obj4
= 0 ;
30192 PyObject
* obj5
= 0 ;
30193 char *kwnames
[] = {
30194 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30199 if (SWIG_arg_fail(1)) SWIG_fail
;
30201 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30202 if (SWIG_arg_fail(2)) SWIG_fail
;
30203 if (arg2
== NULL
) {
30204 SWIG_null_ref("wxTreeItemId");
30206 if (SWIG_arg_fail(2)) SWIG_fail
;
30209 arg3
= wxString_in_helper(obj2
);
30210 if (arg3
== NULL
) SWIG_fail
;
30215 arg4
= (int)(SWIG_As_int(obj3
));
30216 if (SWIG_arg_fail(4)) SWIG_fail
;
30221 arg5
= (int)(SWIG_As_int(obj4
));
30222 if (SWIG_arg_fail(5)) SWIG_fail
;
30226 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30227 if (SWIG_arg_fail(6)) SWIG_fail
;
30230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30231 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30233 wxPyEndAllowThreads(__tstate
);
30234 if (PyErr_Occurred()) SWIG_fail
;
30237 wxTreeItemId
* resultptr
;
30238 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30239 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30255 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30256 PyObject
*resultobj
;
30257 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30258 wxTreeItemId
*arg2
= 0 ;
30259 PyObject
* obj0
= 0 ;
30260 PyObject
* obj1
= 0 ;
30261 char *kwnames
[] = {
30262 (char *) "self",(char *) "item", NULL
30265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30267 if (SWIG_arg_fail(1)) SWIG_fail
;
30269 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30270 if (SWIG_arg_fail(2)) SWIG_fail
;
30271 if (arg2
== NULL
) {
30272 SWIG_null_ref("wxTreeItemId");
30274 if (SWIG_arg_fail(2)) SWIG_fail
;
30277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30278 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
30280 wxPyEndAllowThreads(__tstate
);
30281 if (PyErr_Occurred()) SWIG_fail
;
30283 Py_INCREF(Py_None
); resultobj
= Py_None
;
30290 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30291 PyObject
*resultobj
;
30292 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30293 wxTreeItemId
*arg2
= 0 ;
30294 PyObject
* obj0
= 0 ;
30295 PyObject
* obj1
= 0 ;
30296 char *kwnames
[] = {
30297 (char *) "self",(char *) "item", NULL
30300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30302 if (SWIG_arg_fail(1)) SWIG_fail
;
30304 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30305 if (SWIG_arg_fail(2)) SWIG_fail
;
30306 if (arg2
== NULL
) {
30307 SWIG_null_ref("wxTreeItemId");
30309 if (SWIG_arg_fail(2)) SWIG_fail
;
30312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30313 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
30315 wxPyEndAllowThreads(__tstate
);
30316 if (PyErr_Occurred()) SWIG_fail
;
30318 Py_INCREF(Py_None
); resultobj
= Py_None
;
30325 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30326 PyObject
*resultobj
;
30327 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30328 PyObject
* obj0
= 0 ;
30329 char *kwnames
[] = {
30330 (char *) "self", NULL
30333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
30334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30335 if (SWIG_arg_fail(1)) SWIG_fail
;
30337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30338 (arg1
)->DeleteAllItems();
30340 wxPyEndAllowThreads(__tstate
);
30341 if (PyErr_Occurred()) SWIG_fail
;
30343 Py_INCREF(Py_None
); resultobj
= Py_None
;
30350 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30351 PyObject
*resultobj
;
30352 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30353 wxTreeItemId
*arg2
= 0 ;
30354 PyObject
* obj0
= 0 ;
30355 PyObject
* obj1
= 0 ;
30356 char *kwnames
[] = {
30357 (char *) "self",(char *) "item", NULL
30360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
30361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30362 if (SWIG_arg_fail(1)) SWIG_fail
;
30364 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30365 if (SWIG_arg_fail(2)) SWIG_fail
;
30366 if (arg2
== NULL
) {
30367 SWIG_null_ref("wxTreeItemId");
30369 if (SWIG_arg_fail(2)) SWIG_fail
;
30372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30373 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
30375 wxPyEndAllowThreads(__tstate
);
30376 if (PyErr_Occurred()) SWIG_fail
;
30378 Py_INCREF(Py_None
); resultobj
= Py_None
;
30385 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30386 PyObject
*resultobj
;
30387 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30388 wxTreeItemId
*arg2
= 0 ;
30389 PyObject
* obj0
= 0 ;
30390 PyObject
* obj1
= 0 ;
30391 char *kwnames
[] = {
30392 (char *) "self",(char *) "item", NULL
30395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
30396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30397 if (SWIG_arg_fail(1)) SWIG_fail
;
30399 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30400 if (SWIG_arg_fail(2)) SWIG_fail
;
30401 if (arg2
== NULL
) {
30402 SWIG_null_ref("wxTreeItemId");
30404 if (SWIG_arg_fail(2)) SWIG_fail
;
30407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30408 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
30410 wxPyEndAllowThreads(__tstate
);
30411 if (PyErr_Occurred()) SWIG_fail
;
30413 Py_INCREF(Py_None
); resultobj
= Py_None
;
30420 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30421 PyObject
*resultobj
;
30422 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30423 wxTreeItemId
*arg2
= 0 ;
30424 PyObject
* obj0
= 0 ;
30425 PyObject
* obj1
= 0 ;
30426 char *kwnames
[] = {
30427 (char *) "self",(char *) "item", NULL
30430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
30431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30432 if (SWIG_arg_fail(1)) SWIG_fail
;
30434 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30435 if (SWIG_arg_fail(2)) SWIG_fail
;
30436 if (arg2
== NULL
) {
30437 SWIG_null_ref("wxTreeItemId");
30439 if (SWIG_arg_fail(2)) SWIG_fail
;
30442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30443 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
30445 wxPyEndAllowThreads(__tstate
);
30446 if (PyErr_Occurred()) SWIG_fail
;
30448 Py_INCREF(Py_None
); resultobj
= Py_None
;
30455 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30456 PyObject
*resultobj
;
30457 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30458 wxTreeItemId
*arg2
= 0 ;
30459 PyObject
* obj0
= 0 ;
30460 PyObject
* obj1
= 0 ;
30461 char *kwnames
[] = {
30462 (char *) "self",(char *) "item", NULL
30465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
30466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30467 if (SWIG_arg_fail(1)) SWIG_fail
;
30469 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30470 if (SWIG_arg_fail(2)) SWIG_fail
;
30471 if (arg2
== NULL
) {
30472 SWIG_null_ref("wxTreeItemId");
30474 if (SWIG_arg_fail(2)) SWIG_fail
;
30477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30478 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
30480 wxPyEndAllowThreads(__tstate
);
30481 if (PyErr_Occurred()) SWIG_fail
;
30483 Py_INCREF(Py_None
); resultobj
= Py_None
;
30490 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30491 PyObject
*resultobj
;
30492 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30493 PyObject
* obj0
= 0 ;
30494 char *kwnames
[] = {
30495 (char *) "self", NULL
30498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
30499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30500 if (SWIG_arg_fail(1)) SWIG_fail
;
30502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30503 (arg1
)->Unselect();
30505 wxPyEndAllowThreads(__tstate
);
30506 if (PyErr_Occurred()) SWIG_fail
;
30508 Py_INCREF(Py_None
); resultobj
= Py_None
;
30515 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30516 PyObject
*resultobj
;
30517 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30518 wxTreeItemId
*arg2
= 0 ;
30519 PyObject
* obj0
= 0 ;
30520 PyObject
* obj1
= 0 ;
30521 char *kwnames
[] = {
30522 (char *) "self",(char *) "item", NULL
30525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30527 if (SWIG_arg_fail(1)) SWIG_fail
;
30529 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30530 if (SWIG_arg_fail(2)) SWIG_fail
;
30531 if (arg2
== NULL
) {
30532 SWIG_null_ref("wxTreeItemId");
30534 if (SWIG_arg_fail(2)) SWIG_fail
;
30537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30538 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
30540 wxPyEndAllowThreads(__tstate
);
30541 if (PyErr_Occurred()) SWIG_fail
;
30543 Py_INCREF(Py_None
); resultobj
= Py_None
;
30550 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30551 PyObject
*resultobj
;
30552 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30553 PyObject
* obj0
= 0 ;
30554 char *kwnames
[] = {
30555 (char *) "self", NULL
30558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
30559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30560 if (SWIG_arg_fail(1)) SWIG_fail
;
30562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30563 (arg1
)->UnselectAll();
30565 wxPyEndAllowThreads(__tstate
);
30566 if (PyErr_Occurred()) SWIG_fail
;
30568 Py_INCREF(Py_None
); resultobj
= Py_None
;
30575 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30576 PyObject
*resultobj
;
30577 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30578 wxTreeItemId
*arg2
= 0 ;
30579 bool arg3
= (bool) true ;
30580 PyObject
* obj0
= 0 ;
30581 PyObject
* obj1
= 0 ;
30582 PyObject
* obj2
= 0 ;
30583 char *kwnames
[] = {
30584 (char *) "self",(char *) "item",(char *) "select", NULL
30587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30589 if (SWIG_arg_fail(1)) SWIG_fail
;
30591 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30592 if (SWIG_arg_fail(2)) SWIG_fail
;
30593 if (arg2
== NULL
) {
30594 SWIG_null_ref("wxTreeItemId");
30596 if (SWIG_arg_fail(2)) SWIG_fail
;
30600 arg3
= (bool)(SWIG_As_bool(obj2
));
30601 if (SWIG_arg_fail(3)) SWIG_fail
;
30605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30606 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
30608 wxPyEndAllowThreads(__tstate
);
30609 if (PyErr_Occurred()) SWIG_fail
;
30611 Py_INCREF(Py_None
); resultobj
= Py_None
;
30618 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30619 PyObject
*resultobj
;
30620 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30621 wxTreeItemId
*arg2
= 0 ;
30622 PyObject
* obj0
= 0 ;
30623 PyObject
* obj1
= 0 ;
30624 char *kwnames
[] = {
30625 (char *) "self",(char *) "item", NULL
30628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30630 if (SWIG_arg_fail(1)) SWIG_fail
;
30632 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30633 if (SWIG_arg_fail(2)) SWIG_fail
;
30634 if (arg2
== NULL
) {
30635 SWIG_null_ref("wxTreeItemId");
30637 if (SWIG_arg_fail(2)) SWIG_fail
;
30640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30641 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
30643 wxPyEndAllowThreads(__tstate
);
30644 if (PyErr_Occurred()) SWIG_fail
;
30646 Py_INCREF(Py_None
); resultobj
= Py_None
;
30653 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30654 PyObject
*resultobj
;
30655 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30656 wxTreeItemId
*arg2
= 0 ;
30657 PyObject
* obj0
= 0 ;
30658 PyObject
* obj1
= 0 ;
30659 char *kwnames
[] = {
30660 (char *) "self",(char *) "item", NULL
30663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30665 if (SWIG_arg_fail(1)) SWIG_fail
;
30667 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30668 if (SWIG_arg_fail(2)) SWIG_fail
;
30669 if (arg2
== NULL
) {
30670 SWIG_null_ref("wxTreeItemId");
30672 if (SWIG_arg_fail(2)) SWIG_fail
;
30675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30676 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
30678 wxPyEndAllowThreads(__tstate
);
30679 if (PyErr_Occurred()) SWIG_fail
;
30681 Py_INCREF(Py_None
); resultobj
= Py_None
;
30688 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30689 PyObject
*resultobj
;
30690 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30691 wxTreeItemId
*arg2
= 0 ;
30692 PyObject
* obj0
= 0 ;
30693 PyObject
* obj1
= 0 ;
30694 char *kwnames
[] = {
30695 (char *) "self",(char *) "item", NULL
30698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
30699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30700 if (SWIG_arg_fail(1)) SWIG_fail
;
30702 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30703 if (SWIG_arg_fail(2)) SWIG_fail
;
30704 if (arg2
== NULL
) {
30705 SWIG_null_ref("wxTreeItemId");
30707 if (SWIG_arg_fail(2)) SWIG_fail
;
30710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30711 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
30713 wxPyEndAllowThreads(__tstate
);
30714 if (PyErr_Occurred()) SWIG_fail
;
30716 Py_INCREF(Py_None
); resultobj
= Py_None
;
30723 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30724 PyObject
*resultobj
;
30725 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30726 wxTreeItemId
*arg2
= 0 ;
30727 PyObject
* obj0
= 0 ;
30728 PyObject
* obj1
= 0 ;
30729 char *kwnames
[] = {
30730 (char *) "self",(char *) "item", NULL
30733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30735 if (SWIG_arg_fail(1)) SWIG_fail
;
30737 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30738 if (SWIG_arg_fail(2)) SWIG_fail
;
30739 if (arg2
== NULL
) {
30740 SWIG_null_ref("wxTreeItemId");
30742 if (SWIG_arg_fail(2)) SWIG_fail
;
30745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30746 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
30748 wxPyEndAllowThreads(__tstate
);
30749 if (PyErr_Occurred()) SWIG_fail
;
30751 Py_INCREF(Py_None
); resultobj
= Py_None
;
30758 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30759 PyObject
*resultobj
;
30760 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30761 wxTextCtrl
*result
;
30762 PyObject
* obj0
= 0 ;
30763 char *kwnames
[] = {
30764 (char *) "self", NULL
30767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
30768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30769 if (SWIG_arg_fail(1)) SWIG_fail
;
30771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30772 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
30774 wxPyEndAllowThreads(__tstate
);
30775 if (PyErr_Occurred()) SWIG_fail
;
30778 resultobj
= wxPyMake_wxObject(result
, 0);
30786 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30787 PyObject
*resultobj
;
30788 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30789 wxTreeItemId
*arg2
= 0 ;
30790 PyObject
* obj0
= 0 ;
30791 PyObject
* obj1
= 0 ;
30792 char *kwnames
[] = {
30793 (char *) "self",(char *) "item", NULL
30796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30798 if (SWIG_arg_fail(1)) SWIG_fail
;
30800 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30801 if (SWIG_arg_fail(2)) SWIG_fail
;
30802 if (arg2
== NULL
) {
30803 SWIG_null_ref("wxTreeItemId");
30805 if (SWIG_arg_fail(2)) SWIG_fail
;
30808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30809 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
30811 wxPyEndAllowThreads(__tstate
);
30812 if (PyErr_Occurred()) SWIG_fail
;
30814 Py_INCREF(Py_None
); resultobj
= Py_None
;
30821 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30822 PyObject
*resultobj
;
30823 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30824 wxPoint
*arg2
= 0 ;
30826 wxTreeItemId result
;
30830 PyObject
* obj0
= 0 ;
30831 PyObject
* obj1
= 0 ;
30832 char *kwnames
[] = {
30833 (char *) "self",(char *) "point", NULL
30836 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30839 if (SWIG_arg_fail(1)) SWIG_fail
;
30842 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30846 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30848 wxPyEndAllowThreads(__tstate
);
30849 if (PyErr_Occurred()) SWIG_fail
;
30852 wxTreeItemId
* resultptr
;
30853 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30854 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30856 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30857 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30864 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30865 PyObject
*resultobj
;
30866 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30867 wxTreeItemId
*arg2
= 0 ;
30868 bool arg3
= (bool) false ;
30870 PyObject
* obj0
= 0 ;
30871 PyObject
* obj1
= 0 ;
30872 PyObject
* obj2
= 0 ;
30873 char *kwnames
[] = {
30874 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30879 if (SWIG_arg_fail(1)) SWIG_fail
;
30881 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30882 if (SWIG_arg_fail(2)) SWIG_fail
;
30883 if (arg2
== NULL
) {
30884 SWIG_null_ref("wxTreeItemId");
30886 if (SWIG_arg_fail(2)) SWIG_fail
;
30890 arg3
= (bool)(SWIG_As_bool(obj2
));
30891 if (SWIG_arg_fail(3)) SWIG_fail
;
30895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30896 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30898 wxPyEndAllowThreads(__tstate
);
30899 if (PyErr_Occurred()) SWIG_fail
;
30901 resultobj
= result
;
30908 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30909 PyObject
*resultobj
;
30910 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
30911 wxVisualAttributes result
;
30912 PyObject
* obj0
= 0 ;
30913 char *kwnames
[] = {
30914 (char *) "variant", NULL
30917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30920 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
30921 if (SWIG_arg_fail(1)) SWIG_fail
;
30925 if (!wxPyCheckForApp()) SWIG_fail
;
30926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30927 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
30929 wxPyEndAllowThreads(__tstate
);
30930 if (PyErr_Occurred()) SWIG_fail
;
30933 wxVisualAttributes
* resultptr
;
30934 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
30935 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30943 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
30945 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30946 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
30948 return Py_BuildValue((char *)"");
30950 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
30951 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
30956 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
30961 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
30963 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
30970 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30971 PyObject
*resultobj
;
30972 wxWindow
*arg1
= (wxWindow
*) 0 ;
30973 int arg2
= (int) (int)-1 ;
30974 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
30975 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
30976 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30977 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30978 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30979 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30980 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
30981 wxString
const &arg7_defvalue
= wxPyEmptyString
;
30982 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30983 int arg8
= (int) 0 ;
30984 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
30985 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
30986 wxGenericDirCtrl
*result
;
30987 bool temp3
= false ;
30990 bool temp7
= false ;
30991 bool temp9
= false ;
30992 PyObject
* obj0
= 0 ;
30993 PyObject
* obj1
= 0 ;
30994 PyObject
* obj2
= 0 ;
30995 PyObject
* obj3
= 0 ;
30996 PyObject
* obj4
= 0 ;
30997 PyObject
* obj5
= 0 ;
30998 PyObject
* obj6
= 0 ;
30999 PyObject
* obj7
= 0 ;
31000 PyObject
* obj8
= 0 ;
31001 char *kwnames
[] = {
31002 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
31006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31007 if (SWIG_arg_fail(1)) SWIG_fail
;
31010 arg2
= (int const)(SWIG_As_int(obj1
));
31011 if (SWIG_arg_fail(2)) SWIG_fail
;
31016 arg3
= wxString_in_helper(obj2
);
31017 if (arg3
== NULL
) SWIG_fail
;
31024 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31030 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31035 arg6
= (long)(SWIG_As_long(obj5
));
31036 if (SWIG_arg_fail(6)) SWIG_fail
;
31041 arg7
= wxString_in_helper(obj6
);
31042 if (arg7
== NULL
) SWIG_fail
;
31048 arg8
= (int)(SWIG_As_int(obj7
));
31049 if (SWIG_arg_fail(8)) SWIG_fail
;
31054 arg9
= wxString_in_helper(obj8
);
31055 if (arg9
== NULL
) SWIG_fail
;
31060 if (!wxPyCheckForApp()) SWIG_fail
;
31061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31062 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
31064 wxPyEndAllowThreads(__tstate
);
31065 if (PyErr_Occurred()) SWIG_fail
;
31067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31098 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31099 PyObject
*resultobj
;
31100 wxGenericDirCtrl
*result
;
31101 char *kwnames
[] = {
31105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
31107 if (!wxPyCheckForApp()) SWIG_fail
;
31108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31109 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
31111 wxPyEndAllowThreads(__tstate
);
31112 if (PyErr_Occurred()) SWIG_fail
;
31114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31121 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31122 PyObject
*resultobj
;
31123 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31124 wxWindow
*arg2
= (wxWindow
*) 0 ;
31125 int arg3
= (int) (int)-1 ;
31126 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
31127 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31128 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
31129 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
31130 wxSize
const &arg6_defvalue
= wxDefaultSize
;
31131 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
31132 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31133 wxString
const &arg8_defvalue
= wxPyEmptyString
;
31134 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31135 int arg9
= (int) 0 ;
31136 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
31137 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
31139 bool temp4
= false ;
31142 bool temp8
= false ;
31143 bool temp10
= false ;
31144 PyObject
* obj0
= 0 ;
31145 PyObject
* obj1
= 0 ;
31146 PyObject
* obj2
= 0 ;
31147 PyObject
* obj3
= 0 ;
31148 PyObject
* obj4
= 0 ;
31149 PyObject
* obj5
= 0 ;
31150 PyObject
* obj6
= 0 ;
31151 PyObject
* obj7
= 0 ;
31152 PyObject
* obj8
= 0 ;
31153 PyObject
* obj9
= 0 ;
31154 char *kwnames
[] = {
31155 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
31159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31160 if (SWIG_arg_fail(1)) SWIG_fail
;
31161 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31162 if (SWIG_arg_fail(2)) SWIG_fail
;
31165 arg3
= (int const)(SWIG_As_int(obj2
));
31166 if (SWIG_arg_fail(3)) SWIG_fail
;
31171 arg4
= wxString_in_helper(obj3
);
31172 if (arg4
== NULL
) SWIG_fail
;
31179 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
31185 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
31190 arg7
= (long)(SWIG_As_long(obj6
));
31191 if (SWIG_arg_fail(7)) SWIG_fail
;
31196 arg8
= wxString_in_helper(obj7
);
31197 if (arg8
== NULL
) SWIG_fail
;
31203 arg9
= (int)(SWIG_As_int(obj8
));
31204 if (SWIG_arg_fail(9)) SWIG_fail
;
31209 arg10
= wxString_in_helper(obj9
);
31210 if (arg10
== NULL
) SWIG_fail
;
31215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31216 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
31218 wxPyEndAllowThreads(__tstate
);
31219 if (PyErr_Occurred()) SWIG_fail
;
31222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31254 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31255 PyObject
*resultobj
;
31256 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31257 wxString
*arg2
= 0 ;
31259 bool temp2
= false ;
31260 PyObject
* obj0
= 0 ;
31261 PyObject
* obj1
= 0 ;
31262 char *kwnames
[] = {
31263 (char *) "self",(char *) "path", NULL
31266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31268 if (SWIG_arg_fail(1)) SWIG_fail
;
31270 arg2
= wxString_in_helper(obj1
);
31271 if (arg2
== NULL
) SWIG_fail
;
31275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31276 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
31278 wxPyEndAllowThreads(__tstate
);
31279 if (PyErr_Occurred()) SWIG_fail
;
31282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31298 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31299 PyObject
*resultobj
;
31300 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31302 PyObject
* obj0
= 0 ;
31303 char *kwnames
[] = {
31304 (char *) "self", NULL
31307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
31308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31309 if (SWIG_arg_fail(1)) SWIG_fail
;
31311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31312 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
31314 wxPyEndAllowThreads(__tstate
);
31315 if (PyErr_Occurred()) SWIG_fail
;
31319 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31321 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31330 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31331 PyObject
*resultobj
;
31332 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31333 wxString
*arg2
= 0 ;
31334 bool temp2
= false ;
31335 PyObject
* obj0
= 0 ;
31336 PyObject
* obj1
= 0 ;
31337 char *kwnames
[] = {
31338 (char *) "self",(char *) "path", NULL
31341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31343 if (SWIG_arg_fail(1)) SWIG_fail
;
31345 arg2
= wxString_in_helper(obj1
);
31346 if (arg2
== NULL
) SWIG_fail
;
31350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31351 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
31353 wxPyEndAllowThreads(__tstate
);
31354 if (PyErr_Occurred()) SWIG_fail
;
31356 Py_INCREF(Py_None
); resultobj
= Py_None
;
31371 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31372 PyObject
*resultobj
;
31373 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31375 PyObject
* obj0
= 0 ;
31376 char *kwnames
[] = {
31377 (char *) "self", NULL
31380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
31381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31382 if (SWIG_arg_fail(1)) SWIG_fail
;
31384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31385 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
31387 wxPyEndAllowThreads(__tstate
);
31388 if (PyErr_Occurred()) SWIG_fail
;
31392 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31394 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31403 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31404 PyObject
*resultobj
;
31405 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31407 PyObject
* obj0
= 0 ;
31408 char *kwnames
[] = {
31409 (char *) "self", NULL
31412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
31413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31414 if (SWIG_arg_fail(1)) SWIG_fail
;
31416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31417 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
31419 wxPyEndAllowThreads(__tstate
);
31420 if (PyErr_Occurred()) SWIG_fail
;
31424 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31426 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31435 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31436 PyObject
*resultobj
;
31437 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31438 wxString
*arg2
= 0 ;
31439 bool temp2
= false ;
31440 PyObject
* obj0
= 0 ;
31441 PyObject
* obj1
= 0 ;
31442 char *kwnames
[] = {
31443 (char *) "self",(char *) "path", NULL
31446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31448 if (SWIG_arg_fail(1)) SWIG_fail
;
31450 arg2
= wxString_in_helper(obj1
);
31451 if (arg2
== NULL
) SWIG_fail
;
31455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31456 (arg1
)->SetPath((wxString
const &)*arg2
);
31458 wxPyEndAllowThreads(__tstate
);
31459 if (PyErr_Occurred()) SWIG_fail
;
31461 Py_INCREF(Py_None
); resultobj
= Py_None
;
31476 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31477 PyObject
*resultobj
;
31478 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31480 PyObject
* obj0
= 0 ;
31481 PyObject
* obj1
= 0 ;
31482 char *kwnames
[] = {
31483 (char *) "self",(char *) "show", NULL
31486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
31487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31488 if (SWIG_arg_fail(1)) SWIG_fail
;
31490 arg2
= (bool)(SWIG_As_bool(obj1
));
31491 if (SWIG_arg_fail(2)) SWIG_fail
;
31494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31495 (arg1
)->ShowHidden(arg2
);
31497 wxPyEndAllowThreads(__tstate
);
31498 if (PyErr_Occurred()) SWIG_fail
;
31500 Py_INCREF(Py_None
); resultobj
= Py_None
;
31507 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31508 PyObject
*resultobj
;
31509 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31511 PyObject
* obj0
= 0 ;
31512 char *kwnames
[] = {
31513 (char *) "self", NULL
31516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
31517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31518 if (SWIG_arg_fail(1)) SWIG_fail
;
31520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31521 result
= (bool)(arg1
)->GetShowHidden();
31523 wxPyEndAllowThreads(__tstate
);
31524 if (PyErr_Occurred()) SWIG_fail
;
31527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31535 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31536 PyObject
*resultobj
;
31537 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31539 PyObject
* obj0
= 0 ;
31540 char *kwnames
[] = {
31541 (char *) "self", NULL
31544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
31545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31546 if (SWIG_arg_fail(1)) SWIG_fail
;
31548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31549 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
31551 wxPyEndAllowThreads(__tstate
);
31552 if (PyErr_Occurred()) SWIG_fail
;
31556 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31558 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31567 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31568 PyObject
*resultobj
;
31569 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31570 wxString
*arg2
= 0 ;
31571 bool temp2
= false ;
31572 PyObject
* obj0
= 0 ;
31573 PyObject
* obj1
= 0 ;
31574 char *kwnames
[] = {
31575 (char *) "self",(char *) "filter", NULL
31578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
31579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31580 if (SWIG_arg_fail(1)) SWIG_fail
;
31582 arg2
= wxString_in_helper(obj1
);
31583 if (arg2
== NULL
) SWIG_fail
;
31587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31588 (arg1
)->SetFilter((wxString
const &)*arg2
);
31590 wxPyEndAllowThreads(__tstate
);
31591 if (PyErr_Occurred()) SWIG_fail
;
31593 Py_INCREF(Py_None
); resultobj
= Py_None
;
31608 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31609 PyObject
*resultobj
;
31610 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31612 PyObject
* obj0
= 0 ;
31613 char *kwnames
[] = {
31614 (char *) "self", NULL
31617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
31618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31619 if (SWIG_arg_fail(1)) SWIG_fail
;
31621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31622 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
31624 wxPyEndAllowThreads(__tstate
);
31625 if (PyErr_Occurred()) SWIG_fail
;
31628 resultobj
= SWIG_From_int((int)(result
));
31636 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31637 PyObject
*resultobj
;
31638 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31640 PyObject
* obj0
= 0 ;
31641 PyObject
* obj1
= 0 ;
31642 char *kwnames
[] = {
31643 (char *) "self",(char *) "n", NULL
31646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
31647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31648 if (SWIG_arg_fail(1)) SWIG_fail
;
31650 arg2
= (int)(SWIG_As_int(obj1
));
31651 if (SWIG_arg_fail(2)) SWIG_fail
;
31654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31655 (arg1
)->SetFilterIndex(arg2
);
31657 wxPyEndAllowThreads(__tstate
);
31658 if (PyErr_Occurred()) SWIG_fail
;
31660 Py_INCREF(Py_None
); resultobj
= Py_None
;
31667 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31668 PyObject
*resultobj
;
31669 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31670 wxTreeItemId result
;
31671 PyObject
* obj0
= 0 ;
31672 char *kwnames
[] = {
31673 (char *) "self", NULL
31676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
31677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31678 if (SWIG_arg_fail(1)) SWIG_fail
;
31680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31681 result
= (arg1
)->GetRootId();
31683 wxPyEndAllowThreads(__tstate
);
31684 if (PyErr_Occurred()) SWIG_fail
;
31687 wxTreeItemId
* resultptr
;
31688 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31689 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31697 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31698 PyObject
*resultobj
;
31699 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31700 wxPyTreeCtrl
*result
;
31701 PyObject
* obj0
= 0 ;
31702 char *kwnames
[] = {
31703 (char *) "self", NULL
31706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
31707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31708 if (SWIG_arg_fail(1)) SWIG_fail
;
31710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31711 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
31713 wxPyEndAllowThreads(__tstate
);
31714 if (PyErr_Occurred()) SWIG_fail
;
31717 resultobj
= wxPyMake_wxObject(result
, 0);
31725 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31726 PyObject
*resultobj
;
31727 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31728 wxDirFilterListCtrl
*result
;
31729 PyObject
* obj0
= 0 ;
31730 char *kwnames
[] = {
31731 (char *) "self", NULL
31734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
31735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31736 if (SWIG_arg_fail(1)) SWIG_fail
;
31738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31739 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
31741 wxPyEndAllowThreads(__tstate
);
31742 if (PyErr_Occurred()) SWIG_fail
;
31744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
31751 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31752 PyObject
*resultobj
;
31753 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31754 wxTreeItemId arg2
;
31755 wxString
*arg3
= 0 ;
31757 wxTreeItemId result
;
31758 bool temp3
= false ;
31761 PyObject
* obj0
= 0 ;
31762 PyObject
* obj1
= 0 ;
31763 PyObject
* obj2
= 0 ;
31764 char *kwnames
[] = {
31765 (char *) "self",(char *) "parentId",(char *) "path", NULL
31768 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
31769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31771 if (SWIG_arg_fail(1)) SWIG_fail
;
31773 wxTreeItemId
* argp
;
31774 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
31775 if (SWIG_arg_fail(2)) SWIG_fail
;
31776 if (argp
== NULL
) {
31777 SWIG_null_ref("wxTreeItemId");
31779 if (SWIG_arg_fail(2)) SWIG_fail
;
31783 arg3
= wxString_in_helper(obj2
);
31784 if (arg3
== NULL
) SWIG_fail
;
31788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31789 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
31791 wxPyEndAllowThreads(__tstate
);
31792 if (PyErr_Occurred()) SWIG_fail
;
31795 wxTreeItemId
* resultptr
;
31796 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31797 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31799 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
31800 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
31815 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31816 PyObject
*resultobj
;
31817 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31818 PyObject
* obj0
= 0 ;
31819 char *kwnames
[] = {
31820 (char *) "self", NULL
31823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
31824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31825 if (SWIG_arg_fail(1)) SWIG_fail
;
31827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31828 (arg1
)->DoResize();
31830 wxPyEndAllowThreads(__tstate
);
31831 if (PyErr_Occurred()) SWIG_fail
;
31833 Py_INCREF(Py_None
); resultobj
= Py_None
;
31840 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31841 PyObject
*resultobj
;
31842 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31843 PyObject
* obj0
= 0 ;
31844 char *kwnames
[] = {
31845 (char *) "self", NULL
31848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
31849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31850 if (SWIG_arg_fail(1)) SWIG_fail
;
31852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31853 (arg1
)->ReCreateTree();
31855 wxPyEndAllowThreads(__tstate
);
31856 if (PyErr_Occurred()) SWIG_fail
;
31858 Py_INCREF(Py_None
); resultobj
= Py_None
;
31865 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
31867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31868 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
31870 return Py_BuildValue((char *)"");
31872 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31873 PyObject
*resultobj
;
31874 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31875 int arg2
= (int) (int)-1 ;
31876 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31877 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31878 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31879 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31880 long arg5
= (long) 0 ;
31881 wxDirFilterListCtrl
*result
;
31884 PyObject
* obj0
= 0 ;
31885 PyObject
* obj1
= 0 ;
31886 PyObject
* obj2
= 0 ;
31887 PyObject
* obj3
= 0 ;
31888 PyObject
* obj4
= 0 ;
31889 char *kwnames
[] = {
31890 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31895 if (SWIG_arg_fail(1)) SWIG_fail
;
31898 arg2
= (int const)(SWIG_As_int(obj1
));
31899 if (SWIG_arg_fail(2)) SWIG_fail
;
31905 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31911 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31916 arg5
= (long)(SWIG_As_long(obj4
));
31917 if (SWIG_arg_fail(5)) SWIG_fail
;
31921 if (!wxPyCheckForApp()) SWIG_fail
;
31922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31923 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
31925 wxPyEndAllowThreads(__tstate
);
31926 if (PyErr_Occurred()) SWIG_fail
;
31928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31935 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31936 PyObject
*resultobj
;
31937 wxDirFilterListCtrl
*result
;
31938 char *kwnames
[] = {
31942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
31944 if (!wxPyCheckForApp()) SWIG_fail
;
31945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31946 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
31948 wxPyEndAllowThreads(__tstate
);
31949 if (PyErr_Occurred()) SWIG_fail
;
31951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31958 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31959 PyObject
*resultobj
;
31960 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
31961 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
31962 int arg3
= (int) (int)-1 ;
31963 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31964 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31965 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31966 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31967 long arg6
= (long) 0 ;
31971 PyObject
* obj0
= 0 ;
31972 PyObject
* obj1
= 0 ;
31973 PyObject
* obj2
= 0 ;
31974 PyObject
* obj3
= 0 ;
31975 PyObject
* obj4
= 0 ;
31976 PyObject
* obj5
= 0 ;
31977 char *kwnames
[] = {
31978 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31983 if (SWIG_arg_fail(1)) SWIG_fail
;
31984 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31985 if (SWIG_arg_fail(2)) SWIG_fail
;
31988 arg3
= (int const)(SWIG_As_int(obj2
));
31989 if (SWIG_arg_fail(3)) SWIG_fail
;
31995 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32001 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32006 arg6
= (long)(SWIG_As_long(obj5
));
32007 if (SWIG_arg_fail(6)) SWIG_fail
;
32011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32012 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
32014 wxPyEndAllowThreads(__tstate
);
32015 if (PyErr_Occurred()) SWIG_fail
;
32018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32026 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32027 PyObject
*resultobj
;
32028 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32029 wxString
*arg2
= 0 ;
32031 bool temp2
= false ;
32032 PyObject
* obj0
= 0 ;
32033 PyObject
* obj1
= 0 ;
32034 PyObject
* obj2
= 0 ;
32035 char *kwnames
[] = {
32036 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32041 if (SWIG_arg_fail(1)) SWIG_fail
;
32043 arg2
= wxString_in_helper(obj1
);
32044 if (arg2
== NULL
) SWIG_fail
;
32048 arg3
= (int)(SWIG_As_int(obj2
));
32049 if (SWIG_arg_fail(3)) SWIG_fail
;
32052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32053 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
32055 wxPyEndAllowThreads(__tstate
);
32056 if (PyErr_Occurred()) SWIG_fail
;
32058 Py_INCREF(Py_None
); resultobj
= Py_None
;
32073 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
32075 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32076 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
32078 return Py_BuildValue((char *)"");
32080 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32081 PyObject
*resultobj
;
32082 wxWindow
*arg1
= (wxWindow
*) 0 ;
32083 int arg2
= (int) (int)-1 ;
32084 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32085 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32086 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32087 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32088 long arg5
= (long) 0 ;
32089 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32090 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32091 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32092 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32093 wxPyControl
*result
;
32096 bool temp7
= false ;
32097 PyObject
* obj0
= 0 ;
32098 PyObject
* obj1
= 0 ;
32099 PyObject
* obj2
= 0 ;
32100 PyObject
* obj3
= 0 ;
32101 PyObject
* obj4
= 0 ;
32102 PyObject
* obj5
= 0 ;
32103 PyObject
* obj6
= 0 ;
32104 char *kwnames
[] = {
32105 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32110 if (SWIG_arg_fail(1)) SWIG_fail
;
32113 arg2
= (int const)(SWIG_As_int(obj1
));
32114 if (SWIG_arg_fail(2)) SWIG_fail
;
32120 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32126 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32131 arg5
= (long)(SWIG_As_long(obj4
));
32132 if (SWIG_arg_fail(5)) SWIG_fail
;
32137 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32138 if (SWIG_arg_fail(6)) SWIG_fail
;
32139 if (arg6
== NULL
) {
32140 SWIG_null_ref("wxValidator");
32142 if (SWIG_arg_fail(6)) SWIG_fail
;
32147 arg7
= wxString_in_helper(obj6
);
32148 if (arg7
== NULL
) SWIG_fail
;
32153 if (!wxPyCheckForApp()) SWIG_fail
;
32154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32155 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32157 wxPyEndAllowThreads(__tstate
);
32158 if (PyErr_Occurred()) SWIG_fail
;
32160 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32175 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32176 PyObject
*resultobj
;
32177 wxPyControl
*result
;
32178 char *kwnames
[] = {
32182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
32184 if (!wxPyCheckForApp()) SWIG_fail
;
32185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32186 result
= (wxPyControl
*)new wxPyControl();
32188 wxPyEndAllowThreads(__tstate
);
32189 if (PyErr_Occurred()) SWIG_fail
;
32191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32198 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32199 PyObject
*resultobj
;
32200 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32201 PyObject
*arg2
= (PyObject
*) 0 ;
32202 PyObject
*arg3
= (PyObject
*) 0 ;
32203 PyObject
* obj0
= 0 ;
32204 PyObject
* obj1
= 0 ;
32205 PyObject
* obj2
= 0 ;
32206 char *kwnames
[] = {
32207 (char *) "self",(char *) "self",(char *) "_class", NULL
32210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32212 if (SWIG_arg_fail(1)) SWIG_fail
;
32216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32217 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32219 wxPyEndAllowThreads(__tstate
);
32220 if (PyErr_Occurred()) SWIG_fail
;
32222 Py_INCREF(Py_None
); resultobj
= Py_None
;
32229 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32230 PyObject
*resultobj
;
32231 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32234 PyObject
* obj0
= 0 ;
32235 PyObject
* obj1
= 0 ;
32236 char *kwnames
[] = {
32237 (char *) "self",(char *) "size", NULL
32240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32242 if (SWIG_arg_fail(1)) SWIG_fail
;
32245 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32249 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
32251 wxPyEndAllowThreads(__tstate
);
32252 if (PyErr_Occurred()) SWIG_fail
;
32254 Py_INCREF(Py_None
); resultobj
= Py_None
;
32261 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32262 PyObject
*resultobj
;
32263 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32268 PyObject
* obj0
= 0 ;
32269 PyObject
* obj1
= 0 ;
32270 PyObject
* obj2
= 0 ;
32271 PyObject
* obj3
= 0 ;
32272 PyObject
* obj4
= 0 ;
32273 char *kwnames
[] = {
32274 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32279 if (SWIG_arg_fail(1)) SWIG_fail
;
32281 arg2
= (int)(SWIG_As_int(obj1
));
32282 if (SWIG_arg_fail(2)) SWIG_fail
;
32285 arg3
= (int)(SWIG_As_int(obj2
));
32286 if (SWIG_arg_fail(3)) SWIG_fail
;
32289 arg4
= (int)(SWIG_As_int(obj3
));
32290 if (SWIG_arg_fail(4)) SWIG_fail
;
32293 arg5
= (int)(SWIG_As_int(obj4
));
32294 if (SWIG_arg_fail(5)) SWIG_fail
;
32297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32298 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
32300 wxPyEndAllowThreads(__tstate
);
32301 if (PyErr_Occurred()) SWIG_fail
;
32303 Py_INCREF(Py_None
); resultobj
= Py_None
;
32310 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32311 PyObject
*resultobj
;
32312 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32317 int arg6
= (int) wxSIZE_AUTO
;
32318 PyObject
* obj0
= 0 ;
32319 PyObject
* obj1
= 0 ;
32320 PyObject
* obj2
= 0 ;
32321 PyObject
* obj3
= 0 ;
32322 PyObject
* obj4
= 0 ;
32323 PyObject
* obj5
= 0 ;
32324 char *kwnames
[] = {
32325 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32330 if (SWIG_arg_fail(1)) SWIG_fail
;
32332 arg2
= (int)(SWIG_As_int(obj1
));
32333 if (SWIG_arg_fail(2)) SWIG_fail
;
32336 arg3
= (int)(SWIG_As_int(obj2
));
32337 if (SWIG_arg_fail(3)) SWIG_fail
;
32340 arg4
= (int)(SWIG_As_int(obj3
));
32341 if (SWIG_arg_fail(4)) SWIG_fail
;
32344 arg5
= (int)(SWIG_As_int(obj4
));
32345 if (SWIG_arg_fail(5)) SWIG_fail
;
32349 arg6
= (int)(SWIG_As_int(obj5
));
32350 if (SWIG_arg_fail(6)) SWIG_fail
;
32354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32355 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
32357 wxPyEndAllowThreads(__tstate
);
32358 if (PyErr_Occurred()) SWIG_fail
;
32360 Py_INCREF(Py_None
); resultobj
= Py_None
;
32367 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32368 PyObject
*resultobj
;
32369 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32372 PyObject
* obj0
= 0 ;
32373 PyObject
* obj1
= 0 ;
32374 PyObject
* obj2
= 0 ;
32375 char *kwnames
[] = {
32376 (char *) "self",(char *) "width",(char *) "height", NULL
32379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32381 if (SWIG_arg_fail(1)) SWIG_fail
;
32383 arg2
= (int)(SWIG_As_int(obj1
));
32384 if (SWIG_arg_fail(2)) SWIG_fail
;
32387 arg3
= (int)(SWIG_As_int(obj2
));
32388 if (SWIG_arg_fail(3)) SWIG_fail
;
32391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32392 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
32394 wxPyEndAllowThreads(__tstate
);
32395 if (PyErr_Occurred()) SWIG_fail
;
32397 Py_INCREF(Py_None
); resultobj
= Py_None
;
32404 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32405 PyObject
*resultobj
;
32406 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32409 PyObject
* obj0
= 0 ;
32410 PyObject
* obj1
= 0 ;
32411 PyObject
* obj2
= 0 ;
32412 char *kwnames
[] = {
32413 (char *) "self",(char *) "x",(char *) "y", NULL
32416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32418 if (SWIG_arg_fail(1)) SWIG_fail
;
32420 arg2
= (int)(SWIG_As_int(obj1
));
32421 if (SWIG_arg_fail(2)) SWIG_fail
;
32424 arg3
= (int)(SWIG_As_int(obj2
));
32425 if (SWIG_arg_fail(3)) SWIG_fail
;
32428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32429 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
32431 wxPyEndAllowThreads(__tstate
);
32432 if (PyErr_Occurred()) SWIG_fail
;
32434 Py_INCREF(Py_None
); resultobj
= Py_None
;
32441 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32442 PyObject
*resultobj
;
32443 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32444 int *arg2
= (int *) 0 ;
32445 int *arg3
= (int *) 0 ;
32450 PyObject
* obj0
= 0 ;
32451 char *kwnames
[] = {
32452 (char *) "self", NULL
32455 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32456 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
32458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32459 if (SWIG_arg_fail(1)) SWIG_fail
;
32461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32462 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
32464 wxPyEndAllowThreads(__tstate
);
32465 if (PyErr_Occurred()) SWIG_fail
;
32467 Py_INCREF(Py_None
); resultobj
= Py_None
;
32468 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32469 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32470 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32471 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32478 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32479 PyObject
*resultobj
;
32480 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32481 int *arg2
= (int *) 0 ;
32482 int *arg3
= (int *) 0 ;
32487 PyObject
* obj0
= 0 ;
32488 char *kwnames
[] = {
32489 (char *) "self", NULL
32492 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32493 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
32495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32496 if (SWIG_arg_fail(1)) SWIG_fail
;
32498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32499 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
32501 wxPyEndAllowThreads(__tstate
);
32502 if (PyErr_Occurred()) SWIG_fail
;
32504 Py_INCREF(Py_None
); resultobj
= Py_None
;
32505 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32506 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32507 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32508 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32515 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32516 PyObject
*resultobj
;
32517 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32518 int *arg2
= (int *) 0 ;
32519 int *arg3
= (int *) 0 ;
32524 PyObject
* obj0
= 0 ;
32525 char *kwnames
[] = {
32526 (char *) "self", NULL
32529 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32530 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
32532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32533 if (SWIG_arg_fail(1)) SWIG_fail
;
32535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32536 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
32538 wxPyEndAllowThreads(__tstate
);
32539 if (PyErr_Occurred()) SWIG_fail
;
32541 Py_INCREF(Py_None
); resultobj
= Py_None
;
32542 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32543 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32544 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32545 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32552 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32553 PyObject
*resultobj
;
32554 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32556 PyObject
* obj0
= 0 ;
32557 char *kwnames
[] = {
32558 (char *) "self", NULL
32561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
32562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32563 if (SWIG_arg_fail(1)) SWIG_fail
;
32565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32566 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
32568 wxPyEndAllowThreads(__tstate
);
32569 if (PyErr_Occurred()) SWIG_fail
;
32572 wxSize
* resultptr
;
32573 resultptr
= new wxSize((wxSize
&)(result
));
32574 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32582 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32583 PyObject
*resultobj
;
32584 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32586 PyObject
* obj0
= 0 ;
32587 char *kwnames
[] = {
32588 (char *) "self", NULL
32591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
32592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32593 if (SWIG_arg_fail(1)) SWIG_fail
;
32595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32596 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
32598 wxPyEndAllowThreads(__tstate
);
32599 if (PyErr_Occurred()) SWIG_fail
;
32602 wxSize
* resultptr
;
32603 resultptr
= new wxSize((wxSize
&)(result
));
32604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32612 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32613 PyObject
*resultobj
;
32614 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32615 PyObject
* obj0
= 0 ;
32616 char *kwnames
[] = {
32617 (char *) "self", NULL
32620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
32621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32622 if (SWIG_arg_fail(1)) SWIG_fail
;
32624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32625 (arg1
)->base_InitDialog();
32627 wxPyEndAllowThreads(__tstate
);
32628 if (PyErr_Occurred()) SWIG_fail
;
32630 Py_INCREF(Py_None
); resultobj
= Py_None
;
32637 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32638 PyObject
*resultobj
;
32639 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32641 PyObject
* obj0
= 0 ;
32642 char *kwnames
[] = {
32643 (char *) "self", NULL
32646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
32647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32648 if (SWIG_arg_fail(1)) SWIG_fail
;
32650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32651 result
= (bool)(arg1
)->base_TransferDataToWindow();
32653 wxPyEndAllowThreads(__tstate
);
32654 if (PyErr_Occurred()) SWIG_fail
;
32657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32665 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32666 PyObject
*resultobj
;
32667 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32669 PyObject
* obj0
= 0 ;
32670 char *kwnames
[] = {
32671 (char *) "self", NULL
32674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
32675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32676 if (SWIG_arg_fail(1)) SWIG_fail
;
32678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32679 result
= (bool)(arg1
)->base_TransferDataFromWindow();
32681 wxPyEndAllowThreads(__tstate
);
32682 if (PyErr_Occurred()) SWIG_fail
;
32685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32693 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32694 PyObject
*resultobj
;
32695 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32697 PyObject
* obj0
= 0 ;
32698 char *kwnames
[] = {
32699 (char *) "self", NULL
32702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
32703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32704 if (SWIG_arg_fail(1)) SWIG_fail
;
32706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32707 result
= (bool)(arg1
)->base_Validate();
32709 wxPyEndAllowThreads(__tstate
);
32710 if (PyErr_Occurred()) SWIG_fail
;
32713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32721 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32722 PyObject
*resultobj
;
32723 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32725 PyObject
* obj0
= 0 ;
32726 char *kwnames
[] = {
32727 (char *) "self", NULL
32730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
32731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32732 if (SWIG_arg_fail(1)) SWIG_fail
;
32734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32735 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
32737 wxPyEndAllowThreads(__tstate
);
32738 if (PyErr_Occurred()) SWIG_fail
;
32741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32749 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32750 PyObject
*resultobj
;
32751 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32753 PyObject
* obj0
= 0 ;
32754 char *kwnames
[] = {
32755 (char *) "self", NULL
32758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
32759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32760 if (SWIG_arg_fail(1)) SWIG_fail
;
32762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32763 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
32765 wxPyEndAllowThreads(__tstate
);
32766 if (PyErr_Occurred()) SWIG_fail
;
32769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32777 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32778 PyObject
*resultobj
;
32779 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32781 PyObject
* obj0
= 0 ;
32782 char *kwnames
[] = {
32783 (char *) "self", NULL
32786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
32787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32788 if (SWIG_arg_fail(1)) SWIG_fail
;
32790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32791 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
32793 wxPyEndAllowThreads(__tstate
);
32794 if (PyErr_Occurred()) SWIG_fail
;
32797 wxSize
* resultptr
;
32798 resultptr
= new wxSize((wxSize
&)(result
));
32799 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32807 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32808 PyObject
*resultobj
;
32809 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32810 wxWindow
*arg2
= (wxWindow
*) 0 ;
32811 PyObject
* obj0
= 0 ;
32812 PyObject
* obj1
= 0 ;
32813 char *kwnames
[] = {
32814 (char *) "self",(char *) "child", NULL
32817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32819 if (SWIG_arg_fail(1)) SWIG_fail
;
32820 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32821 if (SWIG_arg_fail(2)) SWIG_fail
;
32823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32824 (arg1
)->base_AddChild(arg2
);
32826 wxPyEndAllowThreads(__tstate
);
32827 if (PyErr_Occurred()) SWIG_fail
;
32829 Py_INCREF(Py_None
); resultobj
= Py_None
;
32836 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32837 PyObject
*resultobj
;
32838 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32839 wxWindow
*arg2
= (wxWindow
*) 0 ;
32840 PyObject
* obj0
= 0 ;
32841 PyObject
* obj1
= 0 ;
32842 char *kwnames
[] = {
32843 (char *) "self",(char *) "child", NULL
32846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32848 if (SWIG_arg_fail(1)) SWIG_fail
;
32849 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32850 if (SWIG_arg_fail(2)) SWIG_fail
;
32852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32853 (arg1
)->base_RemoveChild(arg2
);
32855 wxPyEndAllowThreads(__tstate
);
32856 if (PyErr_Occurred()) SWIG_fail
;
32858 Py_INCREF(Py_None
); resultobj
= Py_None
;
32865 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32866 PyObject
*resultobj
;
32867 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32869 PyObject
* obj0
= 0 ;
32870 char *kwnames
[] = {
32871 (char *) "self", NULL
32874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32876 if (SWIG_arg_fail(1)) SWIG_fail
;
32878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32879 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
32881 wxPyEndAllowThreads(__tstate
);
32882 if (PyErr_Occurred()) SWIG_fail
;
32885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32893 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32894 PyObject
*resultobj
;
32895 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32896 wxVisualAttributes result
;
32897 PyObject
* obj0
= 0 ;
32898 char *kwnames
[] = {
32899 (char *) "self", NULL
32902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32904 if (SWIG_arg_fail(1)) SWIG_fail
;
32906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32907 result
= (arg1
)->base_GetDefaultAttributes();
32909 wxPyEndAllowThreads(__tstate
);
32910 if (PyErr_Occurred()) SWIG_fail
;
32913 wxVisualAttributes
* resultptr
;
32914 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
32915 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
32923 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
32925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32926 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
32928 return Py_BuildValue((char *)"");
32930 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32931 PyObject
*resultobj
;
32932 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32933 int arg2
= (int) 0 ;
32934 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32935 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32936 wxHelpEvent
*result
;
32938 PyObject
* obj0
= 0 ;
32939 PyObject
* obj1
= 0 ;
32940 PyObject
* obj2
= 0 ;
32941 char *kwnames
[] = {
32942 (char *) "type",(char *) "winid",(char *) "pt", NULL
32945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32948 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
32949 if (SWIG_arg_fail(1)) SWIG_fail
;
32954 arg2
= (int)(SWIG_As_int(obj1
));
32955 if (SWIG_arg_fail(2)) SWIG_fail
;
32961 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32966 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
32968 wxPyEndAllowThreads(__tstate
);
32969 if (PyErr_Occurred()) SWIG_fail
;
32971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
32978 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32979 PyObject
*resultobj
;
32980 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
32982 PyObject
* obj0
= 0 ;
32983 char *kwnames
[] = {
32984 (char *) "self", NULL
32987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
32988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
32989 if (SWIG_arg_fail(1)) SWIG_fail
;
32991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32992 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
32994 wxPyEndAllowThreads(__tstate
);
32995 if (PyErr_Occurred()) SWIG_fail
;
32998 wxPoint
* resultptr
;
32999 resultptr
= new wxPoint((wxPoint
const &)(result
));
33000 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
33008 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33009 PyObject
*resultobj
;
33010 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33011 wxPoint
*arg2
= 0 ;
33013 PyObject
* obj0
= 0 ;
33014 PyObject
* obj1
= 0 ;
33015 char *kwnames
[] = {
33016 (char *) "self",(char *) "pos", NULL
33019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33021 if (SWIG_arg_fail(1)) SWIG_fail
;
33024 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33028 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
33030 wxPyEndAllowThreads(__tstate
);
33031 if (PyErr_Occurred()) SWIG_fail
;
33033 Py_INCREF(Py_None
); resultobj
= Py_None
;
33040 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33041 PyObject
*resultobj
;
33042 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33044 PyObject
* obj0
= 0 ;
33045 char *kwnames
[] = {
33046 (char *) "self", NULL
33049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
33050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33051 if (SWIG_arg_fail(1)) SWIG_fail
;
33053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33055 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
33056 result
= (wxString
*) &_result_ref
;
33059 wxPyEndAllowThreads(__tstate
);
33060 if (PyErr_Occurred()) SWIG_fail
;
33064 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33066 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33075 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33076 PyObject
*resultobj
;
33077 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33078 wxString
*arg2
= 0 ;
33079 bool temp2
= false ;
33080 PyObject
* obj0
= 0 ;
33081 PyObject
* obj1
= 0 ;
33082 char *kwnames
[] = {
33083 (char *) "self",(char *) "link", NULL
33086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
33087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33088 if (SWIG_arg_fail(1)) SWIG_fail
;
33090 arg2
= wxString_in_helper(obj1
);
33091 if (arg2
== NULL
) SWIG_fail
;
33095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33096 (arg1
)->SetLink((wxString
const &)*arg2
);
33098 wxPyEndAllowThreads(__tstate
);
33099 if (PyErr_Occurred()) SWIG_fail
;
33101 Py_INCREF(Py_None
); resultobj
= Py_None
;
33116 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33117 PyObject
*resultobj
;
33118 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33120 PyObject
* obj0
= 0 ;
33121 char *kwnames
[] = {
33122 (char *) "self", NULL
33125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
33126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33127 if (SWIG_arg_fail(1)) SWIG_fail
;
33129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33131 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
33132 result
= (wxString
*) &_result_ref
;
33135 wxPyEndAllowThreads(__tstate
);
33136 if (PyErr_Occurred()) SWIG_fail
;
33140 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33142 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33151 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33152 PyObject
*resultobj
;
33153 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33154 wxString
*arg2
= 0 ;
33155 bool temp2
= false ;
33156 PyObject
* obj0
= 0 ;
33157 PyObject
* obj1
= 0 ;
33158 char *kwnames
[] = {
33159 (char *) "self",(char *) "target", NULL
33162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
33163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33164 if (SWIG_arg_fail(1)) SWIG_fail
;
33166 arg2
= wxString_in_helper(obj1
);
33167 if (arg2
== NULL
) SWIG_fail
;
33171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33172 (arg1
)->SetTarget((wxString
const &)*arg2
);
33174 wxPyEndAllowThreads(__tstate
);
33175 if (PyErr_Occurred()) SWIG_fail
;
33177 Py_INCREF(Py_None
); resultobj
= Py_None
;
33192 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
33194 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33195 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
33197 return Py_BuildValue((char *)"");
33199 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33200 PyObject
*resultobj
;
33201 wxWindow
*arg1
= (wxWindow
*) NULL
;
33202 bool arg2
= (bool) true ;
33203 wxContextHelp
*result
;
33204 PyObject
* obj0
= 0 ;
33205 PyObject
* obj1
= 0 ;
33206 char *kwnames
[] = {
33207 (char *) "window",(char *) "doNow", NULL
33210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33213 if (SWIG_arg_fail(1)) SWIG_fail
;
33217 arg2
= (bool)(SWIG_As_bool(obj1
));
33218 if (SWIG_arg_fail(2)) SWIG_fail
;
33222 if (!wxPyCheckForApp()) SWIG_fail
;
33223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33224 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
33226 wxPyEndAllowThreads(__tstate
);
33227 if (PyErr_Occurred()) SWIG_fail
;
33229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
33236 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33237 PyObject
*resultobj
;
33238 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33239 PyObject
* obj0
= 0 ;
33240 char *kwnames
[] = {
33241 (char *) "self", NULL
33244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
33245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33246 if (SWIG_arg_fail(1)) SWIG_fail
;
33248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33251 wxPyEndAllowThreads(__tstate
);
33252 if (PyErr_Occurred()) SWIG_fail
;
33254 Py_INCREF(Py_None
); resultobj
= Py_None
;
33261 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33262 PyObject
*resultobj
;
33263 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33264 wxWindow
*arg2
= (wxWindow
*) NULL
;
33266 PyObject
* obj0
= 0 ;
33267 PyObject
* obj1
= 0 ;
33268 char *kwnames
[] = {
33269 (char *) "self",(char *) "window", NULL
33272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33274 if (SWIG_arg_fail(1)) SWIG_fail
;
33276 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33277 if (SWIG_arg_fail(2)) SWIG_fail
;
33280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33281 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
33283 wxPyEndAllowThreads(__tstate
);
33284 if (PyErr_Occurred()) SWIG_fail
;
33287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33295 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33296 PyObject
*resultobj
;
33297 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33299 PyObject
* obj0
= 0 ;
33300 char *kwnames
[] = {
33301 (char *) "self", NULL
33304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
33305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33306 if (SWIG_arg_fail(1)) SWIG_fail
;
33308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33309 result
= (bool)(arg1
)->EndContextHelp();
33311 wxPyEndAllowThreads(__tstate
);
33312 if (PyErr_Occurred()) SWIG_fail
;
33315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33323 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
33325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33326 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
33328 return Py_BuildValue((char *)"");
33330 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33331 PyObject
*resultobj
;
33332 wxWindow
*arg1
= (wxWindow
*) 0 ;
33333 int arg2
= (int) wxID_CONTEXT_HELP
;
33334 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33335 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33336 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33337 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33338 long arg5
= (long) wxBU_AUTODRAW
;
33339 wxContextHelpButton
*result
;
33342 PyObject
* obj0
= 0 ;
33343 PyObject
* obj1
= 0 ;
33344 PyObject
* obj2
= 0 ;
33345 PyObject
* obj3
= 0 ;
33346 PyObject
* obj4
= 0 ;
33347 char *kwnames
[] = {
33348 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33353 if (SWIG_arg_fail(1)) SWIG_fail
;
33356 arg2
= (int)(SWIG_As_int(obj1
));
33357 if (SWIG_arg_fail(2)) SWIG_fail
;
33363 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33369 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33374 arg5
= (long)(SWIG_As_long(obj4
));
33375 if (SWIG_arg_fail(5)) SWIG_fail
;
33379 if (!wxPyCheckForApp()) SWIG_fail
;
33380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33381 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33383 wxPyEndAllowThreads(__tstate
);
33384 if (PyErr_Occurred()) SWIG_fail
;
33386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
33393 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
33395 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33396 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
33398 return Py_BuildValue((char *)"");
33400 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33401 PyObject
*resultobj
;
33402 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33403 wxHelpProvider
*result
;
33404 PyObject
* obj0
= 0 ;
33405 char *kwnames
[] = {
33406 (char *) "helpProvider", NULL
33409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
33410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33411 if (SWIG_arg_fail(1)) SWIG_fail
;
33413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33414 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
33416 wxPyEndAllowThreads(__tstate
);
33417 if (PyErr_Occurred()) SWIG_fail
;
33419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33426 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33427 PyObject
*resultobj
;
33428 wxHelpProvider
*result
;
33429 char *kwnames
[] = {
33433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
33435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33436 result
= (wxHelpProvider
*)wxHelpProvider::Get();
33438 wxPyEndAllowThreads(__tstate
);
33439 if (PyErr_Occurred()) SWIG_fail
;
33441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33448 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33449 PyObject
*resultobj
;
33450 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33451 wxWindow
*arg2
= (wxWindow
*) 0 ;
33453 PyObject
* obj0
= 0 ;
33454 PyObject
* obj1
= 0 ;
33455 char *kwnames
[] = {
33456 (char *) "self",(char *) "window", NULL
33459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33461 if (SWIG_arg_fail(1)) SWIG_fail
;
33462 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33463 if (SWIG_arg_fail(2)) SWIG_fail
;
33465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33466 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
33468 wxPyEndAllowThreads(__tstate
);
33469 if (PyErr_Occurred()) SWIG_fail
;
33473 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33475 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33484 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33485 PyObject
*resultobj
;
33486 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33487 wxWindow
*arg2
= (wxWindow
*) 0 ;
33489 PyObject
* obj0
= 0 ;
33490 PyObject
* obj1
= 0 ;
33491 char *kwnames
[] = {
33492 (char *) "self",(char *) "window", NULL
33495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33497 if (SWIG_arg_fail(1)) SWIG_fail
;
33498 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33499 if (SWIG_arg_fail(2)) SWIG_fail
;
33501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33502 result
= (bool)(arg1
)->ShowHelp(arg2
);
33504 wxPyEndAllowThreads(__tstate
);
33505 if (PyErr_Occurred()) SWIG_fail
;
33508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33516 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33517 PyObject
*resultobj
;
33518 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33519 wxWindow
*arg2
= (wxWindow
*) 0 ;
33520 wxString
*arg3
= 0 ;
33521 bool temp3
= false ;
33522 PyObject
* obj0
= 0 ;
33523 PyObject
* obj1
= 0 ;
33524 PyObject
* obj2
= 0 ;
33525 char *kwnames
[] = {
33526 (char *) "self",(char *) "window",(char *) "text", NULL
33529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33531 if (SWIG_arg_fail(1)) SWIG_fail
;
33532 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33533 if (SWIG_arg_fail(2)) SWIG_fail
;
33535 arg3
= wxString_in_helper(obj2
);
33536 if (arg3
== NULL
) SWIG_fail
;
33540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33541 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33543 wxPyEndAllowThreads(__tstate
);
33544 if (PyErr_Occurred()) SWIG_fail
;
33546 Py_INCREF(Py_None
); resultobj
= Py_None
;
33561 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33562 PyObject
*resultobj
;
33563 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33565 wxString
*arg3
= 0 ;
33566 bool temp3
= false ;
33567 PyObject
* obj0
= 0 ;
33568 PyObject
* obj1
= 0 ;
33569 PyObject
* obj2
= 0 ;
33570 char *kwnames
[] = {
33571 (char *) "self",(char *) "id",(char *) "text", NULL
33574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33576 if (SWIG_arg_fail(1)) SWIG_fail
;
33578 arg2
= (int)(SWIG_As_int(obj1
));
33579 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_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33609 PyObject
*resultobj
;
33610 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33611 wxWindow
*arg2
= (wxWindow
*) 0 ;
33612 PyObject
* obj0
= 0 ;
33613 PyObject
* obj1
= 0 ;
33614 char *kwnames
[] = {
33615 (char *) "self",(char *) "window", NULL
33618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33620 if (SWIG_arg_fail(1)) SWIG_fail
;
33621 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33622 if (SWIG_arg_fail(2)) SWIG_fail
;
33624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33625 (arg1
)->RemoveHelp(arg2
);
33627 wxPyEndAllowThreads(__tstate
);
33628 if (PyErr_Occurred()) SWIG_fail
;
33630 Py_INCREF(Py_None
); resultobj
= Py_None
;
33637 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33638 PyObject
*resultobj
;
33639 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33640 PyObject
* obj0
= 0 ;
33641 char *kwnames
[] = {
33642 (char *) "self", NULL
33645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
33646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33647 if (SWIG_arg_fail(1)) SWIG_fail
;
33649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33650 wxHelpProvider_Destroy(arg1
);
33652 wxPyEndAllowThreads(__tstate
);
33653 if (PyErr_Occurred()) SWIG_fail
;
33655 Py_INCREF(Py_None
); resultobj
= Py_None
;
33662 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33664 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33665 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
33667 return Py_BuildValue((char *)"");
33669 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33670 PyObject
*resultobj
;
33671 wxSimpleHelpProvider
*result
;
33672 char *kwnames
[] = {
33676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
33678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33679 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
33681 wxPyEndAllowThreads(__tstate
);
33682 if (PyErr_Occurred()) SWIG_fail
;
33684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
33691 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33693 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33694 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
33696 return Py_BuildValue((char *)"");
33698 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33699 PyObject
*resultobj
;
33700 wxBitmap
*arg1
= 0 ;
33701 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33702 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33703 wxGenericDragImage
*result
;
33704 PyObject
* obj0
= 0 ;
33705 PyObject
* obj1
= 0 ;
33706 char *kwnames
[] = {
33707 (char *) "image",(char *) "cursor", NULL
33710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
33712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33713 if (SWIG_arg_fail(1)) SWIG_fail
;
33714 if (arg1
== NULL
) {
33715 SWIG_null_ref("wxBitmap");
33717 if (SWIG_arg_fail(1)) SWIG_fail
;
33721 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33722 if (SWIG_arg_fail(2)) SWIG_fail
;
33723 if (arg2
== NULL
) {
33724 SWIG_null_ref("wxCursor");
33726 if (SWIG_arg_fail(2)) SWIG_fail
;
33730 if (!wxPyCheckForApp()) SWIG_fail
;
33731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33732 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
33734 wxPyEndAllowThreads(__tstate
);
33735 if (PyErr_Occurred()) SWIG_fail
;
33737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33744 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33745 PyObject
*resultobj
;
33747 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33748 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33749 wxGenericDragImage
*result
;
33750 PyObject
* obj0
= 0 ;
33751 PyObject
* obj1
= 0 ;
33752 char *kwnames
[] = {
33753 (char *) "image",(char *) "cursor", NULL
33756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
33758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
33759 if (SWIG_arg_fail(1)) SWIG_fail
;
33760 if (arg1
== NULL
) {
33761 SWIG_null_ref("wxIcon");
33763 if (SWIG_arg_fail(1)) SWIG_fail
;
33767 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33768 if (SWIG_arg_fail(2)) SWIG_fail
;
33769 if (arg2
== NULL
) {
33770 SWIG_null_ref("wxCursor");
33772 if (SWIG_arg_fail(2)) SWIG_fail
;
33776 if (!wxPyCheckForApp()) SWIG_fail
;
33777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33778 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
33780 wxPyEndAllowThreads(__tstate
);
33781 if (PyErr_Occurred()) SWIG_fail
;
33783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33790 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33791 PyObject
*resultobj
;
33792 wxString
*arg1
= 0 ;
33793 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33794 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33795 wxGenericDragImage
*result
;
33796 bool temp1
= false ;
33797 PyObject
* obj0
= 0 ;
33798 PyObject
* obj1
= 0 ;
33799 char *kwnames
[] = {
33800 (char *) "str",(char *) "cursor", NULL
33803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
33805 arg1
= wxString_in_helper(obj0
);
33806 if (arg1
== NULL
) SWIG_fail
;
33811 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33812 if (SWIG_arg_fail(2)) SWIG_fail
;
33813 if (arg2
== NULL
) {
33814 SWIG_null_ref("wxCursor");
33816 if (SWIG_arg_fail(2)) SWIG_fail
;
33820 if (!wxPyCheckForApp()) SWIG_fail
;
33821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33822 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
33824 wxPyEndAllowThreads(__tstate
);
33825 if (PyErr_Occurred()) SWIG_fail
;
33827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33842 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33843 PyObject
*resultobj
;
33844 wxPyTreeCtrl
*arg1
= 0 ;
33845 wxTreeItemId
*arg2
= 0 ;
33846 wxGenericDragImage
*result
;
33847 PyObject
* obj0
= 0 ;
33848 PyObject
* obj1
= 0 ;
33849 char *kwnames
[] = {
33850 (char *) "treeCtrl",(char *) "id", NULL
33853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33856 if (SWIG_arg_fail(1)) SWIG_fail
;
33857 if (arg1
== NULL
) {
33858 SWIG_null_ref("wxPyTreeCtrl");
33860 if (SWIG_arg_fail(1)) SWIG_fail
;
33863 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
33864 if (SWIG_arg_fail(2)) SWIG_fail
;
33865 if (arg2
== NULL
) {
33866 SWIG_null_ref("wxTreeItemId");
33868 if (SWIG_arg_fail(2)) SWIG_fail
;
33871 if (!wxPyCheckForApp()) SWIG_fail
;
33872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33873 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
33875 wxPyEndAllowThreads(__tstate
);
33876 if (PyErr_Occurred()) SWIG_fail
;
33878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33885 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33886 PyObject
*resultobj
;
33887 wxPyListCtrl
*arg1
= 0 ;
33889 wxGenericDragImage
*result
;
33890 PyObject
* obj0
= 0 ;
33891 PyObject
* obj1
= 0 ;
33892 char *kwnames
[] = {
33893 (char *) "listCtrl",(char *) "id", NULL
33896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33899 if (SWIG_arg_fail(1)) SWIG_fail
;
33900 if (arg1
== NULL
) {
33901 SWIG_null_ref("wxPyListCtrl");
33903 if (SWIG_arg_fail(1)) SWIG_fail
;
33906 arg2
= (long)(SWIG_As_long(obj1
));
33907 if (SWIG_arg_fail(2)) SWIG_fail
;
33910 if (!wxPyCheckForApp()) SWIG_fail
;
33911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33912 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
33914 wxPyEndAllowThreads(__tstate
);
33915 if (PyErr_Occurred()) SWIG_fail
;
33917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33924 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33925 PyObject
*resultobj
;
33926 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33927 PyObject
* obj0
= 0 ;
33928 char *kwnames
[] = {
33929 (char *) "self", NULL
33932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
33933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33934 if (SWIG_arg_fail(1)) SWIG_fail
;
33936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33939 wxPyEndAllowThreads(__tstate
);
33940 if (PyErr_Occurred()) SWIG_fail
;
33942 Py_INCREF(Py_None
); resultobj
= Py_None
;
33949 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33950 PyObject
*resultobj
;
33951 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33952 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33953 PyObject
* obj0
= 0 ;
33954 PyObject
* obj1
= 0 ;
33955 char *kwnames
[] = {
33956 (char *) "self",(char *) "bitmap", NULL
33959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33961 if (SWIG_arg_fail(1)) SWIG_fail
;
33962 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33963 if (SWIG_arg_fail(2)) SWIG_fail
;
33965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33966 (arg1
)->SetBackingBitmap(arg2
);
33968 wxPyEndAllowThreads(__tstate
);
33969 if (PyErr_Occurred()) SWIG_fail
;
33971 Py_INCREF(Py_None
); resultobj
= Py_None
;
33978 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33979 PyObject
*resultobj
;
33980 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33981 wxPoint
*arg2
= 0 ;
33982 wxWindow
*arg3
= (wxWindow
*) 0 ;
33983 bool arg4
= (bool) false ;
33984 wxRect
*arg5
= (wxRect
*) NULL
;
33987 PyObject
* obj0
= 0 ;
33988 PyObject
* obj1
= 0 ;
33989 PyObject
* obj2
= 0 ;
33990 PyObject
* obj3
= 0 ;
33991 PyObject
* obj4
= 0 ;
33992 char *kwnames
[] = {
33993 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
33996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33998 if (SWIG_arg_fail(1)) SWIG_fail
;
34001 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34003 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34004 if (SWIG_arg_fail(3)) SWIG_fail
;
34007 arg4
= (bool)(SWIG_As_bool(obj3
));
34008 if (SWIG_arg_fail(4)) SWIG_fail
;
34012 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
34013 if (SWIG_arg_fail(5)) SWIG_fail
;
34016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34017 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
34019 wxPyEndAllowThreads(__tstate
);
34020 if (PyErr_Occurred()) SWIG_fail
;
34023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34031 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34032 PyObject
*resultobj
;
34033 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34034 wxPoint
*arg2
= 0 ;
34035 wxWindow
*arg3
= (wxWindow
*) 0 ;
34036 wxWindow
*arg4
= (wxWindow
*) 0 ;
34039 PyObject
* obj0
= 0 ;
34040 PyObject
* obj1
= 0 ;
34041 PyObject
* obj2
= 0 ;
34042 PyObject
* obj3
= 0 ;
34043 char *kwnames
[] = {
34044 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34049 if (SWIG_arg_fail(1)) SWIG_fail
;
34052 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34054 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34055 if (SWIG_arg_fail(3)) SWIG_fail
;
34056 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34057 if (SWIG_arg_fail(4)) SWIG_fail
;
34059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34060 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
34062 wxPyEndAllowThreads(__tstate
);
34063 if (PyErr_Occurred()) SWIG_fail
;
34066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34074 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34075 PyObject
*resultobj
;
34076 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34078 PyObject
* obj0
= 0 ;
34079 char *kwnames
[] = {
34080 (char *) "self", NULL
34083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
34084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34085 if (SWIG_arg_fail(1)) SWIG_fail
;
34087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34088 result
= (bool)(arg1
)->EndDrag();
34090 wxPyEndAllowThreads(__tstate
);
34091 if (PyErr_Occurred()) SWIG_fail
;
34094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34102 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34103 PyObject
*resultobj
;
34104 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34105 wxPoint
*arg2
= 0 ;
34108 PyObject
* obj0
= 0 ;
34109 PyObject
* obj1
= 0 ;
34110 char *kwnames
[] = {
34111 (char *) "self",(char *) "pt", NULL
34114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
34115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34116 if (SWIG_arg_fail(1)) SWIG_fail
;
34119 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34123 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
34125 wxPyEndAllowThreads(__tstate
);
34126 if (PyErr_Occurred()) SWIG_fail
;
34129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34137 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34138 PyObject
*resultobj
;
34139 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34141 PyObject
* obj0
= 0 ;
34142 char *kwnames
[] = {
34143 (char *) "self", NULL
34146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
34147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34148 if (SWIG_arg_fail(1)) SWIG_fail
;
34150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34151 result
= (bool)(arg1
)->Show();
34153 wxPyEndAllowThreads(__tstate
);
34154 if (PyErr_Occurred()) SWIG_fail
;
34157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34165 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34166 PyObject
*resultobj
;
34167 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34169 PyObject
* obj0
= 0 ;
34170 char *kwnames
[] = {
34171 (char *) "self", NULL
34174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
34175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34176 if (SWIG_arg_fail(1)) SWIG_fail
;
34178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34179 result
= (bool)(arg1
)->Hide();
34181 wxPyEndAllowThreads(__tstate
);
34182 if (PyErr_Occurred()) SWIG_fail
;
34185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34193 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34194 PyObject
*resultobj
;
34195 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34196 wxPoint
*arg2
= 0 ;
34199 PyObject
* obj0
= 0 ;
34200 PyObject
* obj1
= 0 ;
34201 char *kwnames
[] = {
34202 (char *) "self",(char *) "pos", NULL
34205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
34206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34207 if (SWIG_arg_fail(1)) SWIG_fail
;
34210 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34214 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
34216 wxPyEndAllowThreads(__tstate
);
34217 if (PyErr_Occurred()) SWIG_fail
;
34220 wxRect
* resultptr
;
34221 resultptr
= new wxRect((wxRect
&)(result
));
34222 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
34230 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34231 PyObject
*resultobj
;
34232 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34234 wxPoint
*arg3
= 0 ;
34237 PyObject
* obj0
= 0 ;
34238 PyObject
* obj1
= 0 ;
34239 PyObject
* obj2
= 0 ;
34240 char *kwnames
[] = {
34241 (char *) "self",(char *) "dc",(char *) "pos", NULL
34244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34246 if (SWIG_arg_fail(1)) SWIG_fail
;
34248 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34249 if (SWIG_arg_fail(2)) SWIG_fail
;
34250 if (arg2
== NULL
) {
34251 SWIG_null_ref("wxDC");
34253 if (SWIG_arg_fail(2)) SWIG_fail
;
34257 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34261 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
34263 wxPyEndAllowThreads(__tstate
);
34264 if (PyErr_Occurred()) SWIG_fail
;
34267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34275 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34276 PyObject
*resultobj
;
34277 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34279 wxMemoryDC
*arg3
= 0 ;
34285 PyObject
* obj0
= 0 ;
34286 PyObject
* obj1
= 0 ;
34287 PyObject
* obj2
= 0 ;
34288 PyObject
* obj3
= 0 ;
34289 PyObject
* obj4
= 0 ;
34290 char *kwnames
[] = {
34291 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34296 if (SWIG_arg_fail(1)) SWIG_fail
;
34298 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34299 if (SWIG_arg_fail(2)) SWIG_fail
;
34300 if (arg2
== NULL
) {
34301 SWIG_null_ref("wxDC");
34303 if (SWIG_arg_fail(2)) SWIG_fail
;
34306 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
34307 if (SWIG_arg_fail(3)) SWIG_fail
;
34308 if (arg3
== NULL
) {
34309 SWIG_null_ref("wxMemoryDC");
34311 if (SWIG_arg_fail(3)) SWIG_fail
;
34315 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34319 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
34322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34323 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
34325 wxPyEndAllowThreads(__tstate
);
34326 if (PyErr_Occurred()) SWIG_fail
;
34329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34337 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34338 PyObject
*resultobj
;
34339 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34340 wxPoint
*arg2
= 0 ;
34341 wxPoint
*arg3
= 0 ;
34347 PyObject
* obj0
= 0 ;
34348 PyObject
* obj1
= 0 ;
34349 PyObject
* obj2
= 0 ;
34350 PyObject
* obj3
= 0 ;
34351 PyObject
* obj4
= 0 ;
34352 char *kwnames
[] = {
34353 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34358 if (SWIG_arg_fail(1)) SWIG_fail
;
34361 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34365 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34368 arg4
= (bool)(SWIG_As_bool(obj3
));
34369 if (SWIG_arg_fail(4)) SWIG_fail
;
34372 arg5
= (bool)(SWIG_As_bool(obj4
));
34373 if (SWIG_arg_fail(5)) SWIG_fail
;
34376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34377 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
34379 wxPyEndAllowThreads(__tstate
);
34380 if (PyErr_Occurred()) SWIG_fail
;
34383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34391 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
34393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34394 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
34396 return Py_BuildValue((char *)"");
34398 static int _wrap_DatePickerCtrlNameStr_set(PyObject
*) {
34399 PyErr_SetString(PyExc_TypeError
,"Variable DatePickerCtrlNameStr is read-only.");
34404 static PyObject
*_wrap_DatePickerCtrlNameStr_get(void) {
34409 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34411 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34418 static PyObject
*_wrap_new_DatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34419 PyObject
*resultobj
;
34420 wxWindow
*arg1
= (wxWindow
*) 0 ;
34421 int arg2
= (int) -1 ;
34422 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
34423 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
34424 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34425 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34426 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34427 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34428 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34429 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34430 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34431 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
34432 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34433 wxDatePickerCtrl
*result
;
34436 bool temp8
= false ;
34437 PyObject
* obj0
= 0 ;
34438 PyObject
* obj1
= 0 ;
34439 PyObject
* obj2
= 0 ;
34440 PyObject
* obj3
= 0 ;
34441 PyObject
* obj4
= 0 ;
34442 PyObject
* obj5
= 0 ;
34443 PyObject
* obj6
= 0 ;
34444 PyObject
* obj7
= 0 ;
34445 char *kwnames
[] = {
34446 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
34450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34451 if (SWIG_arg_fail(1)) SWIG_fail
;
34454 arg2
= (int)(SWIG_As_int(obj1
));
34455 if (SWIG_arg_fail(2)) SWIG_fail
;
34460 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34461 if (SWIG_arg_fail(3)) SWIG_fail
;
34462 if (arg3
== NULL
) {
34463 SWIG_null_ref("wxDateTime");
34465 if (SWIG_arg_fail(3)) SWIG_fail
;
34471 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34477 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34482 arg6
= (long)(SWIG_As_long(obj5
));
34483 if (SWIG_arg_fail(6)) SWIG_fail
;
34488 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34489 if (SWIG_arg_fail(7)) SWIG_fail
;
34490 if (arg7
== NULL
) {
34491 SWIG_null_ref("wxValidator");
34493 if (SWIG_arg_fail(7)) SWIG_fail
;
34498 arg8
= wxString_in_helper(obj7
);
34499 if (arg8
== NULL
) SWIG_fail
;
34504 if (!wxPyCheckForApp()) SWIG_fail
;
34505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34506 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34508 wxPyEndAllowThreads(__tstate
);
34509 if (PyErr_Occurred()) SWIG_fail
;
34511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34526 static PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34527 PyObject
*resultobj
;
34528 wxDatePickerCtrl
*result
;
34529 char *kwnames
[] = {
34533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDatePickerCtrl",kwnames
)) goto fail
;
34535 if (!wxPyCheckForApp()) SWIG_fail
;
34536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34537 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
34539 wxPyEndAllowThreads(__tstate
);
34540 if (PyErr_Occurred()) SWIG_fail
;
34542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34549 static PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34550 PyObject
*resultobj
;
34551 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34552 wxWindow
*arg2
= (wxWindow
*) 0 ;
34553 int arg3
= (int) -1 ;
34554 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
34555 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
34556 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
34557 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
34558 wxSize
const &arg6_defvalue
= wxDefaultSize
;
34559 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
34560 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34561 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
34562 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
34563 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
34564 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
34568 bool temp9
= false ;
34569 PyObject
* obj0
= 0 ;
34570 PyObject
* obj1
= 0 ;
34571 PyObject
* obj2
= 0 ;
34572 PyObject
* obj3
= 0 ;
34573 PyObject
* obj4
= 0 ;
34574 PyObject
* obj5
= 0 ;
34575 PyObject
* obj6
= 0 ;
34576 PyObject
* obj7
= 0 ;
34577 PyObject
* obj8
= 0 ;
34578 char *kwnames
[] = {
34579 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
34583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34584 if (SWIG_arg_fail(1)) SWIG_fail
;
34585 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34586 if (SWIG_arg_fail(2)) SWIG_fail
;
34589 arg3
= (int)(SWIG_As_int(obj2
));
34590 if (SWIG_arg_fail(3)) SWIG_fail
;
34595 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34596 if (SWIG_arg_fail(4)) SWIG_fail
;
34597 if (arg4
== NULL
) {
34598 SWIG_null_ref("wxDateTime");
34600 if (SWIG_arg_fail(4)) SWIG_fail
;
34606 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
34612 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
34617 arg7
= (long)(SWIG_As_long(obj6
));
34618 if (SWIG_arg_fail(7)) SWIG_fail
;
34623 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34624 if (SWIG_arg_fail(8)) SWIG_fail
;
34625 if (arg8
== NULL
) {
34626 SWIG_null_ref("wxValidator");
34628 if (SWIG_arg_fail(8)) SWIG_fail
;
34633 arg9
= wxString_in_helper(obj8
);
34634 if (arg9
== NULL
) SWIG_fail
;
34639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34640 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
34642 wxPyEndAllowThreads(__tstate
);
34643 if (PyErr_Occurred()) SWIG_fail
;
34646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34662 static PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34663 PyObject
*resultobj
;
34664 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34665 wxDateTime
*arg2
= 0 ;
34666 PyObject
* obj0
= 0 ;
34667 PyObject
* obj1
= 0 ;
34668 char *kwnames
[] = {
34669 (char *) "self",(char *) "dt", NULL
34672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
34673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34674 if (SWIG_arg_fail(1)) SWIG_fail
;
34676 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34677 if (SWIG_arg_fail(2)) SWIG_fail
;
34678 if (arg2
== NULL
) {
34679 SWIG_null_ref("wxDateTime");
34681 if (SWIG_arg_fail(2)) SWIG_fail
;
34684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34685 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
34687 wxPyEndAllowThreads(__tstate
);
34688 if (PyErr_Occurred()) SWIG_fail
;
34690 Py_INCREF(Py_None
); resultobj
= Py_None
;
34697 static PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34698 PyObject
*resultobj
;
34699 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34701 PyObject
* obj0
= 0 ;
34702 char *kwnames
[] = {
34703 (char *) "self", NULL
34706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
34707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34708 if (SWIG_arg_fail(1)) SWIG_fail
;
34710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34711 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
34713 wxPyEndAllowThreads(__tstate
);
34714 if (PyErr_Occurred()) SWIG_fail
;
34717 wxDateTime
* resultptr
;
34718 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34719 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34727 static PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34728 PyObject
*resultobj
;
34729 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34730 wxDateTime
*arg2
= 0 ;
34731 wxDateTime
*arg3
= 0 ;
34732 PyObject
* obj0
= 0 ;
34733 PyObject
* obj1
= 0 ;
34734 PyObject
* obj2
= 0 ;
34735 char *kwnames
[] = {
34736 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34741 if (SWIG_arg_fail(1)) SWIG_fail
;
34743 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34744 if (SWIG_arg_fail(2)) SWIG_fail
;
34745 if (arg2
== NULL
) {
34746 SWIG_null_ref("wxDateTime");
34748 if (SWIG_arg_fail(2)) SWIG_fail
;
34751 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34752 if (SWIG_arg_fail(3)) SWIG_fail
;
34753 if (arg3
== NULL
) {
34754 SWIG_null_ref("wxDateTime");
34756 if (SWIG_arg_fail(3)) SWIG_fail
;
34759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34760 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
34762 wxPyEndAllowThreads(__tstate
);
34763 if (PyErr_Occurred()) SWIG_fail
;
34765 Py_INCREF(Py_None
); resultobj
= Py_None
;
34772 static PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34773 PyObject
*resultobj
;
34774 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34776 PyObject
* obj0
= 0 ;
34777 char *kwnames
[] = {
34778 (char *) "self", NULL
34781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames
,&obj0
)) goto fail
;
34782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34783 if (SWIG_arg_fail(1)) SWIG_fail
;
34785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34786 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
34788 wxPyEndAllowThreads(__tstate
);
34789 if (PyErr_Occurred()) SWIG_fail
;
34792 wxDateTime
* resultptr
;
34793 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34794 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34802 static PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34803 PyObject
*resultobj
;
34804 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34806 PyObject
* obj0
= 0 ;
34807 char *kwnames
[] = {
34808 (char *) "self", NULL
34811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames
,&obj0
)) goto fail
;
34812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34813 if (SWIG_arg_fail(1)) SWIG_fail
;
34815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34816 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
34818 wxPyEndAllowThreads(__tstate
);
34819 if (PyErr_Occurred()) SWIG_fail
;
34822 wxDateTime
* resultptr
;
34823 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34824 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34832 static PyObject
* DatePickerCtrl_swigregister(PyObject
*, PyObject
*args
) {
34834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34835 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl
, obj
);
34837 return Py_BuildValue((char *)"");
34839 static PyMethodDef SwigMethods
[] = {
34840 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34841 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34842 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34843 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34844 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34845 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34846 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
34847 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34848 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34849 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34850 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34851 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34852 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34853 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34854 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34855 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34856 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34857 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34858 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34859 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34860 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34861 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
34862 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34863 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34864 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34865 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34866 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34867 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34868 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34869 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34870 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34871 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34872 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34873 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
34874 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34875 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34876 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34877 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34878 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
34879 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34880 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34881 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34882 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34883 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34884 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34885 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34886 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34887 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34888 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34889 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34890 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34891 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34892 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34893 { (char *)"ComboBox_GetMark", (PyCFunction
) _wrap_ComboBox_GetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34894 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34895 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34896 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34897 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34898 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34899 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34900 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34901 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34902 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34903 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34904 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34905 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34906 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34907 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34908 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34909 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
34910 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34911 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34912 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34913 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34914 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34915 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34916 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34917 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34918 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34919 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34920 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34921 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34922 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34923 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
34924 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34925 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34926 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34927 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34928 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
34929 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34930 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34931 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34932 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34933 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34934 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34935 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
34936 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34937 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34938 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34939 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34940 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
34941 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34942 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34943 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34944 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34945 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34946 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34947 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34948 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
34949 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34950 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34951 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34952 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34953 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34954 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34955 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34956 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34957 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34958 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34959 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34960 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34961 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34962 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34963 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34964 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34965 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34966 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34967 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34968 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34969 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34970 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34971 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
34972 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34973 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34974 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34975 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34976 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34977 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34978 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34979 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34980 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
34981 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34982 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34983 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34984 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34985 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34986 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34987 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34988 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34989 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34990 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34991 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34992 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34993 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34994 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34995 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34996 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34997 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34998 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34999 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35000 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35001 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35002 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35003 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35004 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35005 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35006 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35007 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35008 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35009 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35010 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35011 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
35012 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35013 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35014 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35015 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35016 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35017 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35018 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35019 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35020 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35021 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35022 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35023 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35024 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35025 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35026 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35027 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35028 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35029 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35030 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35031 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35032 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35033 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35034 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35035 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35036 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35037 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35038 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35039 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35040 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35041 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35042 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35043 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35044 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35045 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35046 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35047 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35048 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35049 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35050 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35051 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35052 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35053 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35054 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35055 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35056 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35057 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35058 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35059 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35060 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35061 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35062 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35063 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35064 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35065 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35066 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35067 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
35068 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35069 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35070 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35071 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35072 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
35073 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35074 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35075 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35076 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35077 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35078 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35079 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35080 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35081 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35082 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35083 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35084 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
35085 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35086 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35087 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35088 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35089 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35090 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35091 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35092 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35093 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35094 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35095 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35096 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35097 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
35098 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35099 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35100 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35102 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35103 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35104 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35105 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35106 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35107 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35108 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35109 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
35110 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35111 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35112 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35113 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
35114 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35115 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35116 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35117 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35118 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35119 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35120 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35121 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35122 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35123 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35124 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35125 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35126 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35127 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35128 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35129 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35130 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35131 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
35132 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35133 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35134 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35135 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35136 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35137 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35138 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
35139 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35140 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35142 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35144 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35147 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35150 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35151 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35152 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35155 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35156 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35157 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35158 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35159 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35161 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35162 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35163 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35164 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
35165 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35169 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
35173 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35174 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35175 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35177 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35178 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35179 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35180 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35181 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35186 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35187 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35189 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35194 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
35195 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35200 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
35201 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35202 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35203 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35204 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35205 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35206 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35207 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35208 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
) _wrap_Notebook_GetThemeBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35210 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
35212 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35213 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
35214 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35215 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35218 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
35220 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
35222 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35226 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
) _wrap_Choicebook_GetChoiceCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
35229 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
35231 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
35236 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
35241 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35243 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35244 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35245 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35246 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35247 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35248 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35249 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35250 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35251 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35252 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35253 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35254 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35255 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35256 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35257 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35258 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35259 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35260 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35261 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35262 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35263 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35264 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35265 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35266 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35267 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35268 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35269 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35270 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
35271 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35272 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35273 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35274 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35275 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35276 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35277 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35278 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35279 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35280 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35281 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35282 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35283 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35284 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35285 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35286 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35287 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35288 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35289 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35290 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35291 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35292 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35293 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35294 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35295 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35296 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35297 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35298 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35299 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35300 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35301 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35302 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35303 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35304 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35305 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35306 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35307 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35308 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35309 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35310 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35311 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35312 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35313 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35314 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35315 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
35316 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35317 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35318 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35319 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35320 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35321 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
35322 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35323 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35324 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35325 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35326 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35327 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35328 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35329 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35330 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35331 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35332 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35333 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
35334 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35335 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35336 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35337 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35338 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35339 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35340 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35341 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35342 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35343 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35344 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35345 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35346 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35347 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35348 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35349 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35350 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35351 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35352 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35353 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35354 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35355 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35356 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35357 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35358 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35359 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35360 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35361 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35362 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35363 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35364 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35365 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35366 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35367 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35368 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35369 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35370 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35371 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35372 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35373 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35374 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35375 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35376 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35377 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35378 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35379 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35380 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35381 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35382 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35383 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35384 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35385 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
35386 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35387 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35388 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35389 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35390 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35391 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35392 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35393 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35394 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35395 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35396 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35397 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35398 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35399 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35400 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35401 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35402 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35403 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35404 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35405 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35406 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35407 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35408 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35409 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35410 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35411 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
35413 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35414 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35415 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35416 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35417 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35418 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35419 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35420 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35421 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35422 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35423 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35424 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35425 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35426 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35427 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35428 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35429 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35430 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35431 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35432 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35433 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35434 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35435 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35436 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35438 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35439 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35440 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35441 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35442 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35443 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35444 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35445 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35446 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35447 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35448 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35450 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35451 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35452 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35453 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35454 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35455 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35456 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35457 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35458 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35459 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35460 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35461 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35462 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35463 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35464 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35465 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35466 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35467 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35468 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35469 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35470 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35471 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35472 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35473 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35474 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35475 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35476 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35477 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35478 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35479 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35480 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35481 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35482 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35483 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
35484 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35485 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35486 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35487 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35488 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35489 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35490 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35491 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35492 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35493 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35494 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35495 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
35496 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35497 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35498 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35499 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35500 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35501 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35502 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35503 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
35504 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35505 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35506 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35507 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35508 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35509 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35510 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
35511 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35512 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35513 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35514 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35515 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35516 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35517 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35518 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35519 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35520 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35521 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35522 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35523 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35524 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35525 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35526 { (char *)"TreeEvent_GetToolTip", (PyCFunction
) _wrap_TreeEvent_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35527 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
35528 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35529 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35530 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35531 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35532 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35533 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35534 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35535 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35536 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35537 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35538 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35539 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35540 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35541 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35542 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35543 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35544 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35545 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35546 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35547 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35548 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35549 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35550 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35551 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35552 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35553 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35554 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35555 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35556 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35557 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35558 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35559 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35560 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35561 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35562 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35563 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35564 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35565 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35566 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35567 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35568 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35569 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35570 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35571 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35572 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35573 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35574 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35575 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35576 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35577 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35578 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35579 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35580 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35581 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35582 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35583 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35584 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35585 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35586 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35587 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35588 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35589 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35590 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35591 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35592 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35593 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35594 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35595 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35596 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35597 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35598 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35599 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35600 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35601 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35602 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35603 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
35604 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35605 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35606 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35607 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35608 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35609 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35610 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35611 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35612 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35613 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35614 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35615 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35616 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35617 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35618 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35619 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35620 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35621 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35622 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35623 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35624 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35625 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
35626 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35627 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35628 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35629 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35630 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
35631 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35632 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35633 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35634 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35635 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35636 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35637 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35638 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35639 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35640 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35641 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35642 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35643 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35644 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35645 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35646 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35647 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35648 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35649 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35650 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35651 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35652 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35653 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35654 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35655 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
35656 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35657 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35658 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35659 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35660 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35661 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35662 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35663 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
35664 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35665 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35666 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35667 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35668 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
35669 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35670 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
35671 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35672 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35673 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35674 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35675 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35676 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35677 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35678 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35679 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
35680 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35681 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
35682 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35683 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35684 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35685 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35686 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35687 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35688 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35689 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35690 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35691 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35692 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35693 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35694 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35695 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35696 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35697 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35698 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35699 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
35700 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35701 { (char *)"new_PreDatePickerCtrl", (PyCFunction
) _wrap_new_PreDatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35702 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35703 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35704 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
) _wrap_DatePickerCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35705 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35706 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetLowerLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35707 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetUpperLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35708 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
35709 { NULL
, NULL
, 0, NULL
}
35713 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35715 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
35716 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
35718 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
35719 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35721 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
35722 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35724 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
35725 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35727 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
35728 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
35730 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
35731 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35733 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
35734 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
35736 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
35737 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
35739 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
35740 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
35742 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
35743 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35745 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
35746 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
35748 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
35749 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
35751 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
35752 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
35754 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
35755 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
35757 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
35758 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35760 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
35761 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35763 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
35764 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
35766 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
35767 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
35769 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
35770 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
35772 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
35773 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
35775 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
35776 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
35778 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
35779 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35781 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
35782 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
35784 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
35785 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35787 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
35788 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35790 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
35791 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35793 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
35794 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
35796 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
35797 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
35799 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
35800 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35802 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
35803 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35805 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
35806 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
35808 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
35809 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
35811 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
35812 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
35814 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
35815 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
35817 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
35818 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
35820 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
35821 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
35823 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
35824 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
35826 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
35827 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
35829 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
35830 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35832 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
35833 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35835 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
35836 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35838 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
35839 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35841 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
35842 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35844 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
35845 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
35847 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
35848 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
35850 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
35851 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35853 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
35854 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
35856 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
35857 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
35859 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
35860 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35862 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
35863 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35865 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
35866 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35868 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
35869 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
35871 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
35872 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
35874 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
35875 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35877 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
35878 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
35880 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
35881 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35883 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
35884 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35886 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
35887 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
35889 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
35890 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35892 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
35893 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35895 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
35896 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
35898 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
35899 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
35901 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
35902 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
35904 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
35905 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
35907 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
35908 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
35910 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
35911 return (void *)((wxControl
*) ((wxPyControl
*) x
));
35913 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
35914 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
35916 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
35917 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35919 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
35920 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
35922 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
35923 return (void *)((wxControl
*) ((wxComboBox
*) x
));
35925 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
35926 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
35928 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
35929 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
35931 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
35932 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
35934 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
35935 return (void *)((wxControl
*) ((wxGauge
*) x
));
35937 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
35938 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
35940 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
35941 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35943 static void *_p_wxListbookTo_p_wxControl(void *x
) {
35944 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
35946 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
35947 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
35949 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
35950 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
35952 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
35953 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
35955 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
35956 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35958 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
35959 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35961 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
35962 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35964 static void *_p_wxListViewTo_p_wxControl(void *x
) {
35965 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
35967 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
35968 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
35970 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
35971 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
35973 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
35974 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
35976 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
35977 return (void *)((wxControl
*) ((wxStaticText
*) x
));
35979 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
35980 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
35982 static void *_p_wxSliderTo_p_wxControl(void *x
) {
35983 return (void *)((wxControl
*) ((wxSlider
*) x
));
35985 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
35986 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
35988 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
35989 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
35991 static void *_p_wxButtonTo_p_wxControl(void *x
) {
35992 return (void *)((wxControl
*) ((wxButton
*) x
));
35994 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
35995 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
35997 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
35998 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
36000 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
36001 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
36003 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
36004 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
36006 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
36007 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36009 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
36010 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36012 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
36013 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36015 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
36016 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
36018 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
36019 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36021 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
36022 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36024 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
36025 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36027 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
36028 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36030 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
36031 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36033 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
36034 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
36036 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
36037 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
36039 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
36040 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
36042 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
36043 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36045 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
36046 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
36048 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
36049 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
36051 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
36052 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36054 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
36055 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
36057 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
36058 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36060 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
36061 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36063 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
36064 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
36066 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
36067 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
36069 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
36070 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36072 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
36073 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36075 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
36076 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36078 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
36079 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36081 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
36082 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36084 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
36085 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
36087 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
36088 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36090 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
36091 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36093 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
36094 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36096 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
36097 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36099 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
36100 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36102 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
36103 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36105 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
36106 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36108 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
36109 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36111 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
36112 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36114 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
36115 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36117 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
36118 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36120 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
36121 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36123 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
36124 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36126 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
36127 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36129 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
36130 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36132 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
36133 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36135 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
36136 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36138 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
36139 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36141 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
36142 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36144 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
36145 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36147 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
36148 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36150 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
36151 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36153 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
36154 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36156 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
36157 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36159 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
36160 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36162 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
36163 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36165 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
36166 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
36168 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
36169 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
36171 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
36172 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36174 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
36175 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36177 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
36178 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
36180 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36181 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36183 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36184 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36186 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36187 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36189 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36190 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36192 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36193 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36195 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
36196 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36198 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36199 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36201 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36202 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36204 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36205 return (void *)((wxObject
*) ((wxSizer
*) x
));
36207 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36208 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36210 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
36211 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36213 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
36214 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36216 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36217 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36219 static void *_p_wxEventTo_p_wxObject(void *x
) {
36220 return (void *)((wxObject
*) ((wxEvent
*) x
));
36222 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36223 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36225 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36226 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36228 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36229 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36231 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
36232 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36234 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
36235 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36237 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
36238 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36240 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36241 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36243 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36244 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36246 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36247 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36249 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36250 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36252 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36253 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36255 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36256 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36258 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
36259 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36261 static void *_p_wxControlTo_p_wxObject(void *x
) {
36262 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36264 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
36265 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36267 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
36268 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36270 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
36271 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36273 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
36274 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36276 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
36277 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36279 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36280 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36282 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
36283 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36285 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36286 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36288 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36289 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36291 static void *_p_wxListViewTo_p_wxObject(void *x
) {
36292 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36294 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
36295 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36297 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
36298 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36300 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36301 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36303 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36304 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36306 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
36307 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36309 static void *_p_wxListbookTo_p_wxObject(void *x
) {
36310 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36312 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36313 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36315 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
36316 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36318 static void *_p_wxSliderTo_p_wxObject(void *x
) {
36319 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36321 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36322 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36324 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
36325 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
36327 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36328 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36330 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36331 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36333 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36334 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36336 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36337 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36339 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36340 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36342 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36343 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36345 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36346 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36348 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36349 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36351 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
36352 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36354 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
36355 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
36357 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
36358 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36360 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36361 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36363 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36364 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36366 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36367 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36369 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36370 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36372 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36373 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36375 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36376 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36378 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36379 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36381 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36382 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36384 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36385 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36387 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36388 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36390 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36391 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36393 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36394 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36396 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36397 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36399 static void *_p_wxListEventTo_p_wxObject(void *x
) {
36400 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
36402 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
36403 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36405 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
36406 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36408 static void *_p_wxButtonTo_p_wxObject(void *x
) {
36409 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36411 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
36412 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36414 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
36415 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36417 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
36418 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36420 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36421 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36423 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36424 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36426 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
36427 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36429 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
36430 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36432 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
36433 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36435 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
36436 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
36438 static void *_p_wxListItemTo_p_wxObject(void *x
) {
36439 return (void *)((wxObject
*) ((wxListItem
*) x
));
36441 static void *_p_wxImageTo_p_wxObject(void *x
) {
36442 return (void *)((wxObject
*) ((wxImage
*) x
));
36444 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
36445 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
36447 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36448 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36450 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
36451 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36453 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
36454 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
36456 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
36457 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36459 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
36460 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36462 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
36463 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36465 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
36466 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36468 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36469 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36471 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36472 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36474 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36475 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36477 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36478 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36480 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36481 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36483 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36484 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36486 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36487 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36489 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36490 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36492 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36493 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36495 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36496 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36498 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36499 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36501 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36502 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36504 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36505 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36507 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
36508 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36510 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
36511 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36513 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36514 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36516 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36517 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36519 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
36520 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36522 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36523 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36525 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36526 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36528 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36529 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36531 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
36532 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36534 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36535 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36537 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
36538 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
36540 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
36541 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36543 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36544 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36546 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36547 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36549 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
36550 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
36552 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36553 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36555 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
36556 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
36558 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
36559 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36561 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
36562 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
36564 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
36565 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
36567 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36568 return (void *)((wxWindow
*) ((wxControl
*) x
));
36570 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
36571 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
36573 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
36574 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36576 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
36577 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
36579 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
36580 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
36582 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
36583 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
36585 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
36586 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
36588 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
36589 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
36591 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36592 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36594 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
36595 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
36597 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
36598 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
36600 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
36601 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36603 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
36604 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36606 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
36607 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
36609 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
36610 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
36612 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
36613 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
36615 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
36616 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36618 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
36619 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36621 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
36622 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36624 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
36625 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36627 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
36628 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36630 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
36631 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
36633 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
36634 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
36636 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
36637 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
36639 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
36640 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
36642 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
36643 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
36645 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
36646 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
36648 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
36649 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
36651 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
36652 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36654 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
36655 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36657 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
36658 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
36660 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
36661 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
36663 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36664 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36666 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36667 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36669 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36670 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36672 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
36673 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36675 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
36676 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36678 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
36679 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
36681 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
36682 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36684 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
36685 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36687 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
36688 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36690 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
36691 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36693 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
36694 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36696 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
36697 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36699 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
36700 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
36702 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
36703 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36705 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
36706 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
36708 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
36709 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36711 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
36712 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36714 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
36715 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36717 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
36718 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
36720 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
36721 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36723 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
36724 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36726 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
36727 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36729 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
36730 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
36732 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
36733 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
36735 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
36736 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
36738 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
36739 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
36741 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}};
36742 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}};
36743 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}};
36744 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}};
36745 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}};
36746 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}};
36747 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}};
36748 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}};
36749 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}};
36750 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}};
36751 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}};
36752 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}};
36753 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}};
36754 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}};
36755 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}};
36756 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}};
36757 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}};
36758 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}};
36759 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}};
36760 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}};
36761 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}};
36762 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}};
36763 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}};
36764 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}};
36765 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}};
36766 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}};
36767 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}};
36768 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}};
36769 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}};
36770 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}};
36771 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}};
36772 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}};
36773 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}};
36774 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}};
36775 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}};
36776 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}};
36777 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}};
36778 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}};
36779 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}};
36780 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}};
36781 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}};
36782 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}};
36783 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}};
36784 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}};
36785 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}};
36786 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}};
36787 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}};
36788 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}};
36789 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}};
36790 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}};
36791 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}};
36792 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}};
36793 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}};
36794 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}};
36795 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}};
36796 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}};
36797 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}};
36798 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}};
36799 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}};
36800 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}};
36801 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}};
36802 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}};
36803 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}};
36804 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}};
36805 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}};
36806 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}};
36807 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}};
36808 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}};
36809 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}};
36810 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}};
36811 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}};
36812 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}};
36813 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}};
36814 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}};
36815 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}};
36816 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}};
36817 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}};
36818 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}};
36819 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}};
36820 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}};
36821 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}};
36822 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}};
36823 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}};
36824 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}};
36825 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}};
36826 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}};
36827 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}};
36828 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}};
36829 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}};
36830 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}};
36831 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}};
36832 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}};
36833 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}};
36834 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}};
36835 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}};
36836 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}};
36837 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}};
36838 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}};
36840 static swig_type_info
*swig_types_initial
[] = {
36841 _swigt__p_wxTextUrlEvent
,
36843 _swigt__p_wxCheckBox
,
36844 _swigt__p_wxPyTreeCtrl
,
36846 _swigt__p_wxGenericDirCtrl
,
36848 _swigt__p_wxItemContainer
,
36849 _swigt__p_wxPyListCtrl
,
36850 _swigt__p_wxPyTreeItemData
,
36851 _swigt__p_wxDirFilterListCtrl
,
36852 _swigt__p_wxStaticLine
,
36853 _swigt__p_wxControl
,
36854 _swigt__p_wxPyControl
,
36856 _swigt__p_wxToolBarBase
,
36858 _swigt__p_wxToggleButton
,
36859 _swigt__p_wxRadioButton
,
36860 _swigt__p_wxChoice
,
36861 _swigt__p_wxMemoryDC
,
36863 _swigt__std__ptrdiff_t
,
36864 _swigt__p_wxListItemAttr
,
36869 _swigt__p_wxListView
,
36871 _swigt__p_wxVisualAttributes
,
36872 _swigt__p_wxTextCtrl
,
36873 _swigt__p_wxNotebook
,
36874 _swigt__p_wxChoicebook
,
36875 _swigt__p_wxNotifyEvent
,
36876 _swigt__p_wxArrayString
,
36877 _swigt__p_form_ops_t
,
36878 _swigt__p_wxListbook
,
36879 _swigt__p_wxStaticBitmap
,
36880 _swigt__p_wxSlider
,
36881 _swigt__p_wxStaticBox
,
36882 _swigt__p_wxArrayInt
,
36883 _swigt__p_wxContextHelp
,
36885 _swigt__p_wxDuplexMode
,
36886 _swigt__p_wxBookCtrlBase
,
36887 _swigt__p_wxEvtHandler
,
36888 _swigt__p_wxListEvent
,
36889 _swigt__p_wxCheckListBox
,
36890 _swigt__p_wxListBox
,
36891 _swigt__p_wxSpinButton
,
36892 _swigt__p_wxButton
,
36893 _swigt__p_wxBitmapButton
,
36895 _swigt__p_wxContextHelpButton
,
36896 _swigt__p_wxRadioBox
,
36897 _swigt__p_wxScrollBar
,
36899 _swigt__p_wxComboBox
,
36900 _swigt__p_wxTreeItemId
,
36901 _swigt__p_wxHelpEvent
,
36902 _swigt__p_wxListItem
,
36903 _swigt__p_wxNotebookSizer
,
36904 _swigt__p_wxSpinEvent
,
36905 _swigt__p_wxGenericDragImage
,
36906 _swigt__p_wxSpinCtrl
,
36907 _swigt__p_wxPaperSize
,
36908 _swigt__p_wxImageList
,
36909 _swigt__p_wxHelpProvider
,
36910 _swigt__p_wxTextAttr
,
36911 _swigt__p_wxSimpleHelpProvider
,
36912 _swigt__p_wxChoicebookEvent
,
36913 _swigt__p_wxListbookEvent
,
36914 _swigt__p_wxNotebookEvent
,
36916 _swigt__p_wxObject
,
36917 _swigt__p_wxCursor
,
36918 _swigt__p_wxDateTime
,
36919 _swigt__p_wxKeyEvent
,
36920 _swigt__p_unsigned_long
,
36921 _swigt__p_wxWindow
,
36922 _swigt__p_wxString
,
36923 _swigt__p_wxBitmap
,
36924 _swigt__unsigned_int
,
36925 _swigt__p_unsigned_int
,
36926 _swigt__p_unsigned_char
,
36927 _swigt__p_wxMouseEvent
,
36928 _swigt__p_wxBookCtrlBaseEvent
,
36929 _swigt__p_wxTreeEvent
,
36930 _swigt__p_wxCommandEvent
,
36931 _swigt__p_wxStaticText
,
36932 _swigt__p_wxDatePickerCtrl
,
36933 _swigt__p_wxControlWithItems
,
36934 _swigt__p_wxToolBarToolBase
,
36935 _swigt__p_wxColour
,
36936 _swigt__p_wxToolBar
,
36937 _swigt__p_wxBookCtrlSizer
,
36938 _swigt__p_wxValidator
,
36943 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36945 static swig_const_info swig_const_table
[] = {
36946 {0, 0, 0, 0.0, 0, 0}};
36957 /* Python-specific SWIG API */
36958 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36959 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36960 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36962 /* -----------------------------------------------------------------------------
36963 * global variable support code.
36964 * ----------------------------------------------------------------------------- */
36966 typedef struct swig_globalvar
{
36967 char *name
; /* Name of global variable */
36968 PyObject
*(*get_attr
)(); /* Return the current value */
36969 int (*set_attr
)(PyObject
*); /* Set the value */
36970 struct swig_globalvar
*next
;
36973 typedef struct swig_varlinkobject
{
36975 swig_globalvar
*vars
;
36976 } swig_varlinkobject
;
36979 swig_varlink_repr(swig_varlinkobject
*v
) {
36981 return PyString_FromString("<Swig global variables>");
36985 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
36986 swig_globalvar
*var
;
36988 fprintf(fp
,"Swig global variables { ");
36989 for (var
= v
->vars
; var
; var
=var
->next
) {
36990 fprintf(fp
,"%s", var
->name
);
36991 if (var
->next
) fprintf(fp
,", ");
36993 fprintf(fp
," }\n");
36998 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36999 swig_globalvar
*var
= v
->vars
;
37001 if (strcmp(var
->name
,n
) == 0) {
37002 return (*var
->get_attr
)();
37006 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37011 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
37012 swig_globalvar
*var
= v
->vars
;
37014 if (strcmp(var
->name
,n
) == 0) {
37015 return (*var
->set_attr
)(p
);
37019 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37023 static PyTypeObject varlinktype
= {
37024 PyObject_HEAD_INIT(0)
37025 0, /* Number of items in variable part (ob_size) */
37026 (char *)"swigvarlink", /* Type name (tp_name) */
37027 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
37028 0, /* Itemsize (tp_itemsize) */
37029 0, /* Deallocator (tp_dealloc) */
37030 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
37031 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
37032 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
37033 0, /* tp_compare */
37034 (reprfunc
) swig_varlink_repr
, /* tp_repr */
37035 0, /* tp_as_number */
37036 0, /* tp_as_sequence */
37037 0, /* tp_as_mapping */
37041 0, /* tp_getattro */
37042 0, /* tp_setattro */
37043 0, /* tp_as_buffer */
37046 #if PY_VERSION_HEX >= 0x02000000
37047 0, /* tp_traverse */
37050 #if PY_VERSION_HEX >= 0x02010000
37051 0, /* tp_richcompare */
37052 0, /* tp_weaklistoffset */
37054 #if PY_VERSION_HEX >= 0x02020000
37055 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37057 #if PY_VERSION_HEX >= 0x02030000
37060 #ifdef COUNT_ALLOCS
37061 0,0,0,0 /* tp_alloc -> tp_next */
37065 /* Create a variable linking object for use later */
37067 SWIG_Python_newvarlink(void) {
37068 swig_varlinkobject
*result
= 0;
37069 result
= PyMem_NEW(swig_varlinkobject
,1);
37070 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
37071 result
->ob_type
= &varlinktype
;
37073 result
->ob_refcnt
= 0;
37074 Py_XINCREF((PyObject
*) result
);
37075 return ((PyObject
*) result
);
37079 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
37080 swig_varlinkobject
*v
;
37081 swig_globalvar
*gv
;
37082 v
= (swig_varlinkobject
*) p
;
37083 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
37084 gv
->name
= (char *) malloc(strlen(name
)+1);
37085 strcpy(gv
->name
,name
);
37086 gv
->get_attr
= get_attr
;
37087 gv
->set_attr
= set_attr
;
37088 gv
->next
= v
->vars
;
37092 /* -----------------------------------------------------------------------------
37093 * constants/methods manipulation
37094 * ----------------------------------------------------------------------------- */
37096 /* Install Constants */
37098 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
37101 for (i
= 0; constants
[i
].type
; i
++) {
37102 switch(constants
[i
].type
) {
37104 obj
= PyInt_FromLong(constants
[i
].lvalue
);
37106 case SWIG_PY_FLOAT
:
37107 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
37109 case SWIG_PY_STRING
:
37110 if (constants
[i
].pvalue
) {
37111 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
37113 Py_INCREF(Py_None
);
37117 case SWIG_PY_POINTER
:
37118 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37120 case SWIG_PY_BINARY
:
37121 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37128 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
37134 /* -----------------------------------------------------------------------------*/
37135 /* Fix SwigMethods to carry the callback ptrs when needed */
37136 /* -----------------------------------------------------------------------------*/
37139 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37140 swig_const_info
*const_table
,
37141 swig_type_info
**types
,
37142 swig_type_info
**types_initial
) {
37144 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37145 char *c
= methods
[i
].ml_doc
;
37146 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37148 swig_const_info
*ci
= 0;
37149 char *name
= c
+ 10;
37150 for (j
= 0; const_table
[j
].type
; j
++) {
37151 if (strncmp(const_table
[j
].name
, name
,
37152 strlen(const_table
[j
].name
)) == 0) {
37153 ci
= &(const_table
[j
]);
37158 size_t shift
= (ci
->ptype
) - types
;
37159 swig_type_info
*ty
= types_initial
[shift
];
37160 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37161 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37162 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37164 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
37165 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37167 strncpy(buff
, "swig_ptr: ", 10);
37169 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37170 methods
[i
].ml_doc
= ndoc
;
37176 /* -----------------------------------------------------------------------------*
37177 * Initialize type list
37178 * -----------------------------------------------------------------------------*/
37180 #if PY_MAJOR_VERSION < 2
37181 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37182 is copied out of Python/modsupport.c in python version 2.3.4 */
37184 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
37187 if (!PyModule_Check(m
)) {
37188 PyErr_SetString(PyExc_TypeError
,
37189 "PyModule_AddObject() needs module as first arg");
37193 PyErr_SetString(PyExc_TypeError
,
37194 "PyModule_AddObject() needs non-NULL value");
37198 dict
= PyModule_GetDict(m
);
37199 if (dict
== NULL
) {
37200 /* Internal error -- modules must have a dict! */
37201 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
37202 PyModule_GetName(m
));
37205 if (PyDict_SetItemString(dict
, name
, o
))
37212 static swig_type_info
**
37213 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
37214 static PyMethodDef swig_empty_runtime_method_table
[] = {
37216 NULL
, NULL
, 0, NULL
37220 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
37221 swig_empty_runtime_method_table
);
37222 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
37223 if (pointer
&& module) {
37224 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
37226 return type_list_handle
;
37229 static swig_type_info
**
37230 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
37231 swig_type_info
**type_pointer
;
37233 /* first check if module already created */
37234 type_pointer
= SWIG_Python_GetTypeListHandle();
37235 if (type_pointer
) {
37236 return type_pointer
;
37238 /* create a new module and variable */
37239 return SWIG_Python_SetTypeListHandle(type_list_handle
);
37247 /* -----------------------------------------------------------------------------*
37248 * Partial Init method
37249 * -----------------------------------------------------------------------------*/
37251 #ifdef SWIG_LINK_RUNTIME
37255 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37261 SWIGEXPORT(void) SWIG_init(void) {
37262 static PyObject
*SWIG_globals
= 0;
37263 static int typeinit
= 0;
37266 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
37268 /* Fix SwigMethods to carry the callback ptrs when needed */
37269 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
37271 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37272 d
= PyModule_GetDict(m
);
37275 #ifdef SWIG_LINK_RUNTIME
37276 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
37278 # ifndef SWIG_STATIC_RUNTIME
37279 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
37282 for (i
= 0; swig_types_initial
[i
]; i
++) {
37283 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
37287 SWIG_InstallConstants(d
,swig_const_table
);
37289 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
37290 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
37292 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT
)));
37295 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)(wxBU_TOP
)));
37298 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT
)));
37301 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM
)));
37304 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK
)));
37307 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT
)));
37310 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW
)));
37312 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
37314 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE
)));
37317 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE
)));
37320 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
37323 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED
)));
37326 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED
)));
37329 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED
)));
37331 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
37332 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
37333 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
37335 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL
)));
37338 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL
)));
37341 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH
)));
37344 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR
)));
37346 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
37347 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
37348 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
37349 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
37350 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
37352 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL
)));
37355 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL
)));
37358 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY
)));
37361 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE
)));
37364 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB
)));
37367 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT
)));
37370 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER
)));
37373 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT
)));
37376 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE
)));
37379 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)(wxTE_RICH
)));
37382 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER
)));
37385 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD
)));
37388 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL
)));
37391 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL
)));
37394 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP
)));
37397 PyDict_SetItemString(d
,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP
)));
37400 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP
)));
37403 PyDict_SetItemString(d
,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP
)));
37406 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP
)));
37409 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2
)));
37412 PyDict_SetItemString(d
,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE
)));
37415 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT
)));
37418 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT
)));
37421 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE
)));
37424 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER
)));
37427 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT
)));
37430 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED
)));
37433 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR
)));
37436 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
37439 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE
)));
37442 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE
)));
37445 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT
)));
37448 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC
)));
37451 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE
)));
37454 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT
)));
37457 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT
)));
37460 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT
)));
37463 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT
)));
37466 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS
)));
37469 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN
)));
37472 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE
)));
37475 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT
)));
37478 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW
)));
37481 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND
)));
37484 PyDict_SetItemString(d
,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord
)));
37487 PyDict_SetItemString(d
,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord
)));
37489 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
37490 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
37491 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
37492 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
37493 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
37494 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
37495 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
37497 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL
)));
37500 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL
)));
37503 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS
)));
37506 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP
)));
37508 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
37509 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
37510 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
37511 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
37513 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL
)));
37516 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL
)));
37519 PyDict_SetItemString(d
,"SL_TICKS", SWIG_From_int((int)(wxSL_TICKS
)));
37522 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS
)));
37525 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS
)));
37528 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT
)));
37531 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)(wxSL_TOP
)));
37534 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT
)));
37537 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM
)));
37540 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH
)));
37543 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE
)));
37546 PyDict_SetItemString(d
,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE
)));
37548 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
37549 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
37550 SWIG_addvarlink(SWIG_globals
,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get
, _wrap_NotebookNameStr_set
);
37552 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH
)));
37555 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)(wxNB_TOP
)));
37558 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT
)));
37561 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT
)));
37564 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM
)));
37567 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE
)));
37570 PyDict_SetItemString(d
,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME
)));
37573 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE
)));
37576 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON
)));
37579 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL
)));
37582 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM
)));
37584 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
37585 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
37587 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT
)));
37590 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)(wxLB_TOP
)));
37593 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM
)));
37596 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT
)));
37599 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT
)));
37602 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK
)));
37604 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
37605 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
37607 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT
)));
37610 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP
)));
37613 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM
)));
37616 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT
)));
37619 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT
)));
37622 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK
)));
37624 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
37625 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
37627 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON
)));
37630 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR
)));
37633 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL
)));
37636 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL
)));
37639 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL
)));
37642 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS
)));
37645 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT
)));
37648 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE
)));
37651 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS
)));
37654 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT
)));
37657 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER
)));
37660 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN
)));
37663 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT
)));
37666 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT
)));
37668 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
37670 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES
)));
37673 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES
)));
37676 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)(wxLC_ICON
)));
37679 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON
)));
37682 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)(wxLC_LIST
)));
37685 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT
)));
37688 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP
)));
37691 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT
)));
37694 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE
)));
37697 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL
)));
37700 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS
)));
37703 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER
)));
37706 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER
)));
37709 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL
)));
37712 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING
)));
37715 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING
)));
37718 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE
)));
37721 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN
)));
37724 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT
)));
37727 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE
)));
37730 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT
)));
37733 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE
)));
37736 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA
)));
37739 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM
)));
37742 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH
)));
37745 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT
)));
37748 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE
)));
37751 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED
)));
37754 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED
)));
37757 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED
)));
37760 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT
)));
37763 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED
)));
37766 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED
)));
37769 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE
)));
37772 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED
)));
37775 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE
)));
37778 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE
)));
37781 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW
)));
37784 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE
)));
37787 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON
)));
37790 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL
)));
37793 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT
)));
37796 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON
)));
37799 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT
)));
37802 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT
)));
37805 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM
)));
37808 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE
)));
37811 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL
)));
37814 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW
)));
37817 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT
)));
37820 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT
)));
37823 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT
)));
37826 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT
)));
37829 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP
)));
37832 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID
)));
37835 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT
)));
37838 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT
)));
37841 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE
)));
37844 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER
)));
37847 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE
)));
37850 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER
)));
37853 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS
)));
37856 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON
)));
37859 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL
)));
37862 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP
)));
37865 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN
)));
37868 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT
)));
37871 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT
)));
37873 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
37874 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
37875 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
37876 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
37877 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
37878 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
37879 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
37880 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
37881 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
37882 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
37883 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
37884 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
37885 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
37886 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
37887 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
37888 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
37889 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
37890 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
37891 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
37892 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
37893 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
37894 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
37896 // Map renamed classes back to their common name for OOR
37897 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37899 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
37901 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS
)));
37904 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS
)));
37907 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES
)));
37910 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT
)));
37913 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE
)));
37916 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE
)));
37919 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED
)));
37922 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
37925 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS
)));
37928 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT
)));
37931 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES
)));
37934 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT
)));
37937 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE
)));
37940 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS
)));
37943 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS
)));
37946 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS
)));
37949 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal
)));
37952 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected
)));
37955 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded
)));
37958 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded
)));
37961 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max
)));
37964 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE
)));
37967 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW
)));
37970 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE
)));
37973 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON
)));
37976 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON
)));
37979 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT
)));
37982 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL
)));
37985 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT
)));
37988 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON
)));
37991 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT
)));
37994 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT
)));
37997 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART
)));
38000 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART
)));
38003 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM
)));
38005 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
38006 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
38007 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
38008 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
38009 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
38010 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
38011 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
38012 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
38013 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
38014 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
38015 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
38016 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
38017 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
38018 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
38019 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
38020 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
38021 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
38022 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
38023 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
38024 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
38025 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
38027 // Map renamed classes back to their common name for OOR
38028 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38029 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38031 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
38033 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY
)));
38036 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST
)));
38039 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS
)));
38042 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL
)));
38045 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS
)));
38048 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP
)));
38051 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP
)));
38053 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
38054 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
38056 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38058 SWIG_addvarlink(SWIG_globals
,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get
, _wrap_DatePickerCtrlNameStr_set
);
38060 PyDict_SetItemString(d
,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT
)));
38063 PyDict_SetItemString(d
,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN
)));
38066 PyDict_SetItemString(d
,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN
)));
38069 PyDict_SetItemString(d
,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY
)));
38072 PyDict_SetItemString(d
,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE
)));